github.com/aavshr/aws-sdk-go@v1.41.3/service/servicequotas/api.go (about)

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package servicequotas
     4  
     5  import (
     6  	"fmt"
     7  	"time"
     8  
     9  	"github.com/aavshr/aws-sdk-go/aws"
    10  	"github.com/aavshr/aws-sdk-go/aws/awsutil"
    11  	"github.com/aavshr/aws-sdk-go/aws/request"
    12  	"github.com/aavshr/aws-sdk-go/private/protocol"
    13  	"github.com/aavshr/aws-sdk-go/private/protocol/jsonrpc"
    14  )
    15  
    16  const opAssociateServiceQuotaTemplate = "AssociateServiceQuotaTemplate"
    17  
    18  // AssociateServiceQuotaTemplateRequest generates a "aws/request.Request" representing the
    19  // client's request for the AssociateServiceQuotaTemplate operation. The "output" return
    20  // value will be populated with the request's response once the request completes
    21  // successfully.
    22  //
    23  // Use "Send" method on the returned Request to send the API call to the service.
    24  // the "output" return value is not valid until after Send returns without error.
    25  //
    26  // See AssociateServiceQuotaTemplate for more information on using the AssociateServiceQuotaTemplate
    27  // API call, and error handling.
    28  //
    29  // This method is useful when you want to inject custom logic or configuration
    30  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
    31  //
    32  //
    33  //    // Example sending a request using the AssociateServiceQuotaTemplateRequest method.
    34  //    req, resp := client.AssociateServiceQuotaTemplateRequest(params)
    35  //
    36  //    err := req.Send()
    37  //    if err == nil { // resp is now filled
    38  //        fmt.Println(resp)
    39  //    }
    40  //
    41  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplate
    42  func (c *ServiceQuotas) AssociateServiceQuotaTemplateRequest(input *AssociateServiceQuotaTemplateInput) (req *request.Request, output *AssociateServiceQuotaTemplateOutput) {
    43  	op := &request.Operation{
    44  		Name:       opAssociateServiceQuotaTemplate,
    45  		HTTPMethod: "POST",
    46  		HTTPPath:   "/",
    47  	}
    48  
    49  	if input == nil {
    50  		input = &AssociateServiceQuotaTemplateInput{}
    51  	}
    52  
    53  	output = &AssociateServiceQuotaTemplateOutput{}
    54  	req = c.newRequest(op, input, output)
    55  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
    56  	return
    57  }
    58  
    59  // AssociateServiceQuotaTemplate API operation for Service Quotas.
    60  //
    61  // Associates your quota request template with your organization. When a new
    62  // account is created in your organization, the quota increase requests in the
    63  // template are automatically applied to the account. You can add a quota increase
    64  // request for any adjustable quota to your template.
    65  //
    66  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
    67  // with awserr.Error's Code and Message methods to get detailed information about
    68  // the error.
    69  //
    70  // See the AWS API reference guide for Service Quotas's
    71  // API operation AssociateServiceQuotaTemplate for usage and error information.
    72  //
    73  // Returned Error Types:
    74  //   * DependencyAccessDeniedException
    75  //   You can't perform this action because a dependency does not have access.
    76  //
    77  //   * AccessDeniedException
    78  //   You do not have sufficient permission to perform this action.
    79  //
    80  //   * ServiceException
    81  //   Something went wrong.
    82  //
    83  //   * TooManyRequestsException
    84  //   Due to throttling, the request was denied. Slow down the rate of request
    85  //   calls, or request an increase for this quota.
    86  //
    87  //   * AWSServiceAccessNotEnabledException
    88  //   The action you attempted is not allowed unless Service Access with Service
    89  //   Quotas is enabled in your organization.
    90  //
    91  //   * OrganizationNotInAllFeaturesModeException
    92  //   The organization that your account belongs to is not in All Features mode.
    93  //
    94  //   * TemplatesNotAvailableInRegionException
    95  //   The Service Quotas template is not available in this AWS Region.
    96  //
    97  //   * NoAvailableOrganizationException
    98  //   The account making this call is not a member of an organization.
    99  //
   100  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplate
   101  func (c *ServiceQuotas) AssociateServiceQuotaTemplate(input *AssociateServiceQuotaTemplateInput) (*AssociateServiceQuotaTemplateOutput, error) {
   102  	req, out := c.AssociateServiceQuotaTemplateRequest(input)
   103  	return out, req.Send()
   104  }
   105  
   106  // AssociateServiceQuotaTemplateWithContext is the same as AssociateServiceQuotaTemplate with the addition of
   107  // the ability to pass a context and additional request options.
   108  //
   109  // See AssociateServiceQuotaTemplate for details on how to use this API operation.
   110  //
   111  // The context must be non-nil and will be used for request cancellation. If
   112  // the context is nil a panic will occur. In the future the SDK may create
   113  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   114  // for more information on using Contexts.
   115  func (c *ServiceQuotas) AssociateServiceQuotaTemplateWithContext(ctx aws.Context, input *AssociateServiceQuotaTemplateInput, opts ...request.Option) (*AssociateServiceQuotaTemplateOutput, error) {
   116  	req, out := c.AssociateServiceQuotaTemplateRequest(input)
   117  	req.SetContext(ctx)
   118  	req.ApplyOptions(opts...)
   119  	return out, req.Send()
   120  }
   121  
   122  const opDeleteServiceQuotaIncreaseRequestFromTemplate = "DeleteServiceQuotaIncreaseRequestFromTemplate"
   123  
   124  // DeleteServiceQuotaIncreaseRequestFromTemplateRequest generates a "aws/request.Request" representing the
   125  // client's request for the DeleteServiceQuotaIncreaseRequestFromTemplate operation. The "output" return
   126  // value will be populated with the request's response once the request completes
   127  // successfully.
   128  //
   129  // Use "Send" method on the returned Request to send the API call to the service.
   130  // the "output" return value is not valid until after Send returns without error.
   131  //
   132  // See DeleteServiceQuotaIncreaseRequestFromTemplate for more information on using the DeleteServiceQuotaIncreaseRequestFromTemplate
   133  // API call, and error handling.
   134  //
   135  // This method is useful when you want to inject custom logic or configuration
   136  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   137  //
   138  //
   139  //    // Example sending a request using the DeleteServiceQuotaIncreaseRequestFromTemplateRequest method.
   140  //    req, resp := client.DeleteServiceQuotaIncreaseRequestFromTemplateRequest(params)
   141  //
   142  //    err := req.Send()
   143  //    if err == nil { // resp is now filled
   144  //        fmt.Println(resp)
   145  //    }
   146  //
   147  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplate
   148  func (c *ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input *DeleteServiceQuotaIncreaseRequestFromTemplateInput) (req *request.Request, output *DeleteServiceQuotaIncreaseRequestFromTemplateOutput) {
   149  	op := &request.Operation{
   150  		Name:       opDeleteServiceQuotaIncreaseRequestFromTemplate,
   151  		HTTPMethod: "POST",
   152  		HTTPPath:   "/",
   153  	}
   154  
   155  	if input == nil {
   156  		input = &DeleteServiceQuotaIncreaseRequestFromTemplateInput{}
   157  	}
   158  
   159  	output = &DeleteServiceQuotaIncreaseRequestFromTemplateOutput{}
   160  	req = c.newRequest(op, input, output)
   161  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   162  	return
   163  }
   164  
   165  // DeleteServiceQuotaIncreaseRequestFromTemplate API operation for Service Quotas.
   166  //
   167  // Deletes the quota increase request for the specified quota from your quota
   168  // request template.
   169  //
   170  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   171  // with awserr.Error's Code and Message methods to get detailed information about
   172  // the error.
   173  //
   174  // See the AWS API reference guide for Service Quotas's
   175  // API operation DeleteServiceQuotaIncreaseRequestFromTemplate for usage and error information.
   176  //
   177  // Returned Error Types:
   178  //   * AccessDeniedException
   179  //   You do not have sufficient permission to perform this action.
   180  //
   181  //   * ServiceException
   182  //   Something went wrong.
   183  //
   184  //   * DependencyAccessDeniedException
   185  //   You can't perform this action because a dependency does not have access.
   186  //
   187  //   * TooManyRequestsException
   188  //   Due to throttling, the request was denied. Slow down the rate of request
   189  //   calls, or request an increase for this quota.
   190  //
   191  //   * NoSuchResourceException
   192  //   The specified resource does not exist.
   193  //
   194  //   * IllegalArgumentException
   195  //   Invalid input was provided.
   196  //
   197  //   * AWSServiceAccessNotEnabledException
   198  //   The action you attempted is not allowed unless Service Access with Service
   199  //   Quotas is enabled in your organization.
   200  //
   201  //   * TemplatesNotAvailableInRegionException
   202  //   The Service Quotas template is not available in this AWS Region.
   203  //
   204  //   * NoAvailableOrganizationException
   205  //   The account making this call is not a member of an organization.
   206  //
   207  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplate
   208  func (c *ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplate(input *DeleteServiceQuotaIncreaseRequestFromTemplateInput) (*DeleteServiceQuotaIncreaseRequestFromTemplateOutput, error) {
   209  	req, out := c.DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input)
   210  	return out, req.Send()
   211  }
   212  
   213  // DeleteServiceQuotaIncreaseRequestFromTemplateWithContext is the same as DeleteServiceQuotaIncreaseRequestFromTemplate with the addition of
   214  // the ability to pass a context and additional request options.
   215  //
   216  // See DeleteServiceQuotaIncreaseRequestFromTemplate for details on how to use this API operation.
   217  //
   218  // The context must be non-nil and will be used for request cancellation. If
   219  // the context is nil a panic will occur. In the future the SDK may create
   220  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   221  // for more information on using Contexts.
   222  func (c *ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplateWithContext(ctx aws.Context, input *DeleteServiceQuotaIncreaseRequestFromTemplateInput, opts ...request.Option) (*DeleteServiceQuotaIncreaseRequestFromTemplateOutput, error) {
   223  	req, out := c.DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input)
   224  	req.SetContext(ctx)
   225  	req.ApplyOptions(opts...)
   226  	return out, req.Send()
   227  }
   228  
   229  const opDisassociateServiceQuotaTemplate = "DisassociateServiceQuotaTemplate"
   230  
   231  // DisassociateServiceQuotaTemplateRequest generates a "aws/request.Request" representing the
   232  // client's request for the DisassociateServiceQuotaTemplate operation. The "output" return
   233  // value will be populated with the request's response once the request completes
   234  // successfully.
   235  //
   236  // Use "Send" method on the returned Request to send the API call to the service.
   237  // the "output" return value is not valid until after Send returns without error.
   238  //
   239  // See DisassociateServiceQuotaTemplate for more information on using the DisassociateServiceQuotaTemplate
   240  // API call, and error handling.
   241  //
   242  // This method is useful when you want to inject custom logic or configuration
   243  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   244  //
   245  //
   246  //    // Example sending a request using the DisassociateServiceQuotaTemplateRequest method.
   247  //    req, resp := client.DisassociateServiceQuotaTemplateRequest(params)
   248  //
   249  //    err := req.Send()
   250  //    if err == nil { // resp is now filled
   251  //        fmt.Println(resp)
   252  //    }
   253  //
   254  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplate
   255  func (c *ServiceQuotas) DisassociateServiceQuotaTemplateRequest(input *DisassociateServiceQuotaTemplateInput) (req *request.Request, output *DisassociateServiceQuotaTemplateOutput) {
   256  	op := &request.Operation{
   257  		Name:       opDisassociateServiceQuotaTemplate,
   258  		HTTPMethod: "POST",
   259  		HTTPPath:   "/",
   260  	}
   261  
   262  	if input == nil {
   263  		input = &DisassociateServiceQuotaTemplateInput{}
   264  	}
   265  
   266  	output = &DisassociateServiceQuotaTemplateOutput{}
   267  	req = c.newRequest(op, input, output)
   268  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   269  	return
   270  }
   271  
   272  // DisassociateServiceQuotaTemplate API operation for Service Quotas.
   273  //
   274  // Disables your quota request template. After a template is disabled, the quota
   275  // increase requests in the template are not applied to new accounts in your
   276  // organization. Disabling a quota request template does not apply its quota
   277  // increase requests.
   278  //
   279  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   280  // with awserr.Error's Code and Message methods to get detailed information about
   281  // the error.
   282  //
   283  // See the AWS API reference guide for Service Quotas's
   284  // API operation DisassociateServiceQuotaTemplate for usage and error information.
   285  //
   286  // Returned Error Types:
   287  //   * DependencyAccessDeniedException
   288  //   You can't perform this action because a dependency does not have access.
   289  //
   290  //   * ServiceQuotaTemplateNotInUseException
   291  //   The quota request template is not associated with your organization.
   292  //
   293  //   * AccessDeniedException
   294  //   You do not have sufficient permission to perform this action.
   295  //
   296  //   * ServiceException
   297  //   Something went wrong.
   298  //
   299  //   * TooManyRequestsException
   300  //   Due to throttling, the request was denied. Slow down the rate of request
   301  //   calls, or request an increase for this quota.
   302  //
   303  //   * AWSServiceAccessNotEnabledException
   304  //   The action you attempted is not allowed unless Service Access with Service
   305  //   Quotas is enabled in your organization.
   306  //
   307  //   * TemplatesNotAvailableInRegionException
   308  //   The Service Quotas template is not available in this AWS Region.
   309  //
   310  //   * NoAvailableOrganizationException
   311  //   The account making this call is not a member of an organization.
   312  //
   313  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplate
   314  func (c *ServiceQuotas) DisassociateServiceQuotaTemplate(input *DisassociateServiceQuotaTemplateInput) (*DisassociateServiceQuotaTemplateOutput, error) {
   315  	req, out := c.DisassociateServiceQuotaTemplateRequest(input)
   316  	return out, req.Send()
   317  }
   318  
   319  // DisassociateServiceQuotaTemplateWithContext is the same as DisassociateServiceQuotaTemplate with the addition of
   320  // the ability to pass a context and additional request options.
   321  //
   322  // See DisassociateServiceQuotaTemplate for details on how to use this API operation.
   323  //
   324  // The context must be non-nil and will be used for request cancellation. If
   325  // the context is nil a panic will occur. In the future the SDK may create
   326  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   327  // for more information on using Contexts.
   328  func (c *ServiceQuotas) DisassociateServiceQuotaTemplateWithContext(ctx aws.Context, input *DisassociateServiceQuotaTemplateInput, opts ...request.Option) (*DisassociateServiceQuotaTemplateOutput, error) {
   329  	req, out := c.DisassociateServiceQuotaTemplateRequest(input)
   330  	req.SetContext(ctx)
   331  	req.ApplyOptions(opts...)
   332  	return out, req.Send()
   333  }
   334  
   335  const opGetAWSDefaultServiceQuota = "GetAWSDefaultServiceQuota"
   336  
   337  // GetAWSDefaultServiceQuotaRequest generates a "aws/request.Request" representing the
   338  // client's request for the GetAWSDefaultServiceQuota operation. The "output" return
   339  // value will be populated with the request's response once the request completes
   340  // successfully.
   341  //
   342  // Use "Send" method on the returned Request to send the API call to the service.
   343  // the "output" return value is not valid until after Send returns without error.
   344  //
   345  // See GetAWSDefaultServiceQuota for more information on using the GetAWSDefaultServiceQuota
   346  // API call, and error handling.
   347  //
   348  // This method is useful when you want to inject custom logic or configuration
   349  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   350  //
   351  //
   352  //    // Example sending a request using the GetAWSDefaultServiceQuotaRequest method.
   353  //    req, resp := client.GetAWSDefaultServiceQuotaRequest(params)
   354  //
   355  //    err := req.Send()
   356  //    if err == nil { // resp is now filled
   357  //        fmt.Println(resp)
   358  //    }
   359  //
   360  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota
   361  func (c *ServiceQuotas) GetAWSDefaultServiceQuotaRequest(input *GetAWSDefaultServiceQuotaInput) (req *request.Request, output *GetAWSDefaultServiceQuotaOutput) {
   362  	op := &request.Operation{
   363  		Name:       opGetAWSDefaultServiceQuota,
   364  		HTTPMethod: "POST",
   365  		HTTPPath:   "/",
   366  	}
   367  
   368  	if input == nil {
   369  		input = &GetAWSDefaultServiceQuotaInput{}
   370  	}
   371  
   372  	output = &GetAWSDefaultServiceQuotaOutput{}
   373  	req = c.newRequest(op, input, output)
   374  	return
   375  }
   376  
   377  // GetAWSDefaultServiceQuota API operation for Service Quotas.
   378  //
   379  // Retrieves the default value for the specified quota. The default value does
   380  // not reflect any quota increases.
   381  //
   382  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   383  // with awserr.Error's Code and Message methods to get detailed information about
   384  // the error.
   385  //
   386  // See the AWS API reference guide for Service Quotas's
   387  // API operation GetAWSDefaultServiceQuota for usage and error information.
   388  //
   389  // Returned Error Types:
   390  //   * AccessDeniedException
   391  //   You do not have sufficient permission to perform this action.
   392  //
   393  //   * NoSuchResourceException
   394  //   The specified resource does not exist.
   395  //
   396  //   * IllegalArgumentException
   397  //   Invalid input was provided.
   398  //
   399  //   * ServiceException
   400  //   Something went wrong.
   401  //
   402  //   * TooManyRequestsException
   403  //   Due to throttling, the request was denied. Slow down the rate of request
   404  //   calls, or request an increase for this quota.
   405  //
   406  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota
   407  func (c *ServiceQuotas) GetAWSDefaultServiceQuota(input *GetAWSDefaultServiceQuotaInput) (*GetAWSDefaultServiceQuotaOutput, error) {
   408  	req, out := c.GetAWSDefaultServiceQuotaRequest(input)
   409  	return out, req.Send()
   410  }
   411  
   412  // GetAWSDefaultServiceQuotaWithContext is the same as GetAWSDefaultServiceQuota with the addition of
   413  // the ability to pass a context and additional request options.
   414  //
   415  // See GetAWSDefaultServiceQuota for details on how to use this API operation.
   416  //
   417  // The context must be non-nil and will be used for request cancellation. If
   418  // the context is nil a panic will occur. In the future the SDK may create
   419  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   420  // for more information on using Contexts.
   421  func (c *ServiceQuotas) GetAWSDefaultServiceQuotaWithContext(ctx aws.Context, input *GetAWSDefaultServiceQuotaInput, opts ...request.Option) (*GetAWSDefaultServiceQuotaOutput, error) {
   422  	req, out := c.GetAWSDefaultServiceQuotaRequest(input)
   423  	req.SetContext(ctx)
   424  	req.ApplyOptions(opts...)
   425  	return out, req.Send()
   426  }
   427  
   428  const opGetAssociationForServiceQuotaTemplate = "GetAssociationForServiceQuotaTemplate"
   429  
   430  // GetAssociationForServiceQuotaTemplateRequest generates a "aws/request.Request" representing the
   431  // client's request for the GetAssociationForServiceQuotaTemplate operation. The "output" return
   432  // value will be populated with the request's response once the request completes
   433  // successfully.
   434  //
   435  // Use "Send" method on the returned Request to send the API call to the service.
   436  // the "output" return value is not valid until after Send returns without error.
   437  //
   438  // See GetAssociationForServiceQuotaTemplate for more information on using the GetAssociationForServiceQuotaTemplate
   439  // API call, and error handling.
   440  //
   441  // This method is useful when you want to inject custom logic or configuration
   442  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   443  //
   444  //
   445  //    // Example sending a request using the GetAssociationForServiceQuotaTemplateRequest method.
   446  //    req, resp := client.GetAssociationForServiceQuotaTemplateRequest(params)
   447  //
   448  //    err := req.Send()
   449  //    if err == nil { // resp is now filled
   450  //        fmt.Println(resp)
   451  //    }
   452  //
   453  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplate
   454  func (c *ServiceQuotas) GetAssociationForServiceQuotaTemplateRequest(input *GetAssociationForServiceQuotaTemplateInput) (req *request.Request, output *GetAssociationForServiceQuotaTemplateOutput) {
   455  	op := &request.Operation{
   456  		Name:       opGetAssociationForServiceQuotaTemplate,
   457  		HTTPMethod: "POST",
   458  		HTTPPath:   "/",
   459  	}
   460  
   461  	if input == nil {
   462  		input = &GetAssociationForServiceQuotaTemplateInput{}
   463  	}
   464  
   465  	output = &GetAssociationForServiceQuotaTemplateOutput{}
   466  	req = c.newRequest(op, input, output)
   467  	return
   468  }
   469  
   470  // GetAssociationForServiceQuotaTemplate API operation for Service Quotas.
   471  //
   472  // Retrieves the status of the association for the quota request template.
   473  //
   474  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   475  // with awserr.Error's Code and Message methods to get detailed information about
   476  // the error.
   477  //
   478  // See the AWS API reference guide for Service Quotas's
   479  // API operation GetAssociationForServiceQuotaTemplate for usage and error information.
   480  //
   481  // Returned Error Types:
   482  //   * DependencyAccessDeniedException
   483  //   You can't perform this action because a dependency does not have access.
   484  //
   485  //   * ServiceQuotaTemplateNotInUseException
   486  //   The quota request template is not associated with your organization.
   487  //
   488  //   * AccessDeniedException
   489  //   You do not have sufficient permission to perform this action.
   490  //
   491  //   * ServiceException
   492  //   Something went wrong.
   493  //
   494  //   * TooManyRequestsException
   495  //   Due to throttling, the request was denied. Slow down the rate of request
   496  //   calls, or request an increase for this quota.
   497  //
   498  //   * AWSServiceAccessNotEnabledException
   499  //   The action you attempted is not allowed unless Service Access with Service
   500  //   Quotas is enabled in your organization.
   501  //
   502  //   * TemplatesNotAvailableInRegionException
   503  //   The Service Quotas template is not available in this AWS Region.
   504  //
   505  //   * NoAvailableOrganizationException
   506  //   The account making this call is not a member of an organization.
   507  //
   508  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplate
   509  func (c *ServiceQuotas) GetAssociationForServiceQuotaTemplate(input *GetAssociationForServiceQuotaTemplateInput) (*GetAssociationForServiceQuotaTemplateOutput, error) {
   510  	req, out := c.GetAssociationForServiceQuotaTemplateRequest(input)
   511  	return out, req.Send()
   512  }
   513  
   514  // GetAssociationForServiceQuotaTemplateWithContext is the same as GetAssociationForServiceQuotaTemplate with the addition of
   515  // the ability to pass a context and additional request options.
   516  //
   517  // See GetAssociationForServiceQuotaTemplate for details on how to use this API operation.
   518  //
   519  // The context must be non-nil and will be used for request cancellation. If
   520  // the context is nil a panic will occur. In the future the SDK may create
   521  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   522  // for more information on using Contexts.
   523  func (c *ServiceQuotas) GetAssociationForServiceQuotaTemplateWithContext(ctx aws.Context, input *GetAssociationForServiceQuotaTemplateInput, opts ...request.Option) (*GetAssociationForServiceQuotaTemplateOutput, error) {
   524  	req, out := c.GetAssociationForServiceQuotaTemplateRequest(input)
   525  	req.SetContext(ctx)
   526  	req.ApplyOptions(opts...)
   527  	return out, req.Send()
   528  }
   529  
   530  const opGetRequestedServiceQuotaChange = "GetRequestedServiceQuotaChange"
   531  
   532  // GetRequestedServiceQuotaChangeRequest generates a "aws/request.Request" representing the
   533  // client's request for the GetRequestedServiceQuotaChange operation. The "output" return
   534  // value will be populated with the request's response once the request completes
   535  // successfully.
   536  //
   537  // Use "Send" method on the returned Request to send the API call to the service.
   538  // the "output" return value is not valid until after Send returns without error.
   539  //
   540  // See GetRequestedServiceQuotaChange for more information on using the GetRequestedServiceQuotaChange
   541  // API call, and error handling.
   542  //
   543  // This method is useful when you want to inject custom logic or configuration
   544  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   545  //
   546  //
   547  //    // Example sending a request using the GetRequestedServiceQuotaChangeRequest method.
   548  //    req, resp := client.GetRequestedServiceQuotaChangeRequest(params)
   549  //
   550  //    err := req.Send()
   551  //    if err == nil { // resp is now filled
   552  //        fmt.Println(resp)
   553  //    }
   554  //
   555  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChange
   556  func (c *ServiceQuotas) GetRequestedServiceQuotaChangeRequest(input *GetRequestedServiceQuotaChangeInput) (req *request.Request, output *GetRequestedServiceQuotaChangeOutput) {
   557  	op := &request.Operation{
   558  		Name:       opGetRequestedServiceQuotaChange,
   559  		HTTPMethod: "POST",
   560  		HTTPPath:   "/",
   561  	}
   562  
   563  	if input == nil {
   564  		input = &GetRequestedServiceQuotaChangeInput{}
   565  	}
   566  
   567  	output = &GetRequestedServiceQuotaChangeOutput{}
   568  	req = c.newRequest(op, input, output)
   569  	return
   570  }
   571  
   572  // GetRequestedServiceQuotaChange API operation for Service Quotas.
   573  //
   574  // Retrieves information about the specified quota increase request.
   575  //
   576  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   577  // with awserr.Error's Code and Message methods to get detailed information about
   578  // the error.
   579  //
   580  // See the AWS API reference guide for Service Quotas's
   581  // API operation GetRequestedServiceQuotaChange for usage and error information.
   582  //
   583  // Returned Error Types:
   584  //   * AccessDeniedException
   585  //   You do not have sufficient permission to perform this action.
   586  //
   587  //   * NoSuchResourceException
   588  //   The specified resource does not exist.
   589  //
   590  //   * IllegalArgumentException
   591  //   Invalid input was provided.
   592  //
   593  //   * ServiceException
   594  //   Something went wrong.
   595  //
   596  //   * TooManyRequestsException
   597  //   Due to throttling, the request was denied. Slow down the rate of request
   598  //   calls, or request an increase for this quota.
   599  //
   600  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChange
   601  func (c *ServiceQuotas) GetRequestedServiceQuotaChange(input *GetRequestedServiceQuotaChangeInput) (*GetRequestedServiceQuotaChangeOutput, error) {
   602  	req, out := c.GetRequestedServiceQuotaChangeRequest(input)
   603  	return out, req.Send()
   604  }
   605  
   606  // GetRequestedServiceQuotaChangeWithContext is the same as GetRequestedServiceQuotaChange with the addition of
   607  // the ability to pass a context and additional request options.
   608  //
   609  // See GetRequestedServiceQuotaChange for details on how to use this API operation.
   610  //
   611  // The context must be non-nil and will be used for request cancellation. If
   612  // the context is nil a panic will occur. In the future the SDK may create
   613  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   614  // for more information on using Contexts.
   615  func (c *ServiceQuotas) GetRequestedServiceQuotaChangeWithContext(ctx aws.Context, input *GetRequestedServiceQuotaChangeInput, opts ...request.Option) (*GetRequestedServiceQuotaChangeOutput, error) {
   616  	req, out := c.GetRequestedServiceQuotaChangeRequest(input)
   617  	req.SetContext(ctx)
   618  	req.ApplyOptions(opts...)
   619  	return out, req.Send()
   620  }
   621  
   622  const opGetServiceQuota = "GetServiceQuota"
   623  
   624  // GetServiceQuotaRequest generates a "aws/request.Request" representing the
   625  // client's request for the GetServiceQuota operation. The "output" return
   626  // value will be populated with the request's response once the request completes
   627  // successfully.
   628  //
   629  // Use "Send" method on the returned Request to send the API call to the service.
   630  // the "output" return value is not valid until after Send returns without error.
   631  //
   632  // See GetServiceQuota for more information on using the GetServiceQuota
   633  // API call, and error handling.
   634  //
   635  // This method is useful when you want to inject custom logic or configuration
   636  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   637  //
   638  //
   639  //    // Example sending a request using the GetServiceQuotaRequest method.
   640  //    req, resp := client.GetServiceQuotaRequest(params)
   641  //
   642  //    err := req.Send()
   643  //    if err == nil { // resp is now filled
   644  //        fmt.Println(resp)
   645  //    }
   646  //
   647  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota
   648  func (c *ServiceQuotas) GetServiceQuotaRequest(input *GetServiceQuotaInput) (req *request.Request, output *GetServiceQuotaOutput) {
   649  	op := &request.Operation{
   650  		Name:       opGetServiceQuota,
   651  		HTTPMethod: "POST",
   652  		HTTPPath:   "/",
   653  	}
   654  
   655  	if input == nil {
   656  		input = &GetServiceQuotaInput{}
   657  	}
   658  
   659  	output = &GetServiceQuotaOutput{}
   660  	req = c.newRequest(op, input, output)
   661  	return
   662  }
   663  
   664  // GetServiceQuota API operation for Service Quotas.
   665  //
   666  // Retrieves the applied quota value for the specified quota. For some quotas,
   667  // only the default values are available. If the applied quota value is not
   668  // available for a quota, the quota is not retrieved.
   669  //
   670  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   671  // with awserr.Error's Code and Message methods to get detailed information about
   672  // the error.
   673  //
   674  // See the AWS API reference guide for Service Quotas's
   675  // API operation GetServiceQuota for usage and error information.
   676  //
   677  // Returned Error Types:
   678  //   * AccessDeniedException
   679  //   You do not have sufficient permission to perform this action.
   680  //
   681  //   * NoSuchResourceException
   682  //   The specified resource does not exist.
   683  //
   684  //   * IllegalArgumentException
   685  //   Invalid input was provided.
   686  //
   687  //   * ServiceException
   688  //   Something went wrong.
   689  //
   690  //   * TooManyRequestsException
   691  //   Due to throttling, the request was denied. Slow down the rate of request
   692  //   calls, or request an increase for this quota.
   693  //
   694  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota
   695  func (c *ServiceQuotas) GetServiceQuota(input *GetServiceQuotaInput) (*GetServiceQuotaOutput, error) {
   696  	req, out := c.GetServiceQuotaRequest(input)
   697  	return out, req.Send()
   698  }
   699  
   700  // GetServiceQuotaWithContext is the same as GetServiceQuota with the addition of
   701  // the ability to pass a context and additional request options.
   702  //
   703  // See GetServiceQuota for details on how to use this API operation.
   704  //
   705  // The context must be non-nil and will be used for request cancellation. If
   706  // the context is nil a panic will occur. In the future the SDK may create
   707  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   708  // for more information on using Contexts.
   709  func (c *ServiceQuotas) GetServiceQuotaWithContext(ctx aws.Context, input *GetServiceQuotaInput, opts ...request.Option) (*GetServiceQuotaOutput, error) {
   710  	req, out := c.GetServiceQuotaRequest(input)
   711  	req.SetContext(ctx)
   712  	req.ApplyOptions(opts...)
   713  	return out, req.Send()
   714  }
   715  
   716  const opGetServiceQuotaIncreaseRequestFromTemplate = "GetServiceQuotaIncreaseRequestFromTemplate"
   717  
   718  // GetServiceQuotaIncreaseRequestFromTemplateRequest generates a "aws/request.Request" representing the
   719  // client's request for the GetServiceQuotaIncreaseRequestFromTemplate operation. The "output" return
   720  // value will be populated with the request's response once the request completes
   721  // successfully.
   722  //
   723  // Use "Send" method on the returned Request to send the API call to the service.
   724  // the "output" return value is not valid until after Send returns without error.
   725  //
   726  // See GetServiceQuotaIncreaseRequestFromTemplate for more information on using the GetServiceQuotaIncreaseRequestFromTemplate
   727  // API call, and error handling.
   728  //
   729  // This method is useful when you want to inject custom logic or configuration
   730  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   731  //
   732  //
   733  //    // Example sending a request using the GetServiceQuotaIncreaseRequestFromTemplateRequest method.
   734  //    req, resp := client.GetServiceQuotaIncreaseRequestFromTemplateRequest(params)
   735  //
   736  //    err := req.Send()
   737  //    if err == nil { // resp is now filled
   738  //        fmt.Println(resp)
   739  //    }
   740  //
   741  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplate
   742  func (c *ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplateRequest(input *GetServiceQuotaIncreaseRequestFromTemplateInput) (req *request.Request, output *GetServiceQuotaIncreaseRequestFromTemplateOutput) {
   743  	op := &request.Operation{
   744  		Name:       opGetServiceQuotaIncreaseRequestFromTemplate,
   745  		HTTPMethod: "POST",
   746  		HTTPPath:   "/",
   747  	}
   748  
   749  	if input == nil {
   750  		input = &GetServiceQuotaIncreaseRequestFromTemplateInput{}
   751  	}
   752  
   753  	output = &GetServiceQuotaIncreaseRequestFromTemplateOutput{}
   754  	req = c.newRequest(op, input, output)
   755  	return
   756  }
   757  
   758  // GetServiceQuotaIncreaseRequestFromTemplate API operation for Service Quotas.
   759  //
   760  // Retrieves information about the specified quota increase request in your
   761  // quota request template.
   762  //
   763  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   764  // with awserr.Error's Code and Message methods to get detailed information about
   765  // the error.
   766  //
   767  // See the AWS API reference guide for Service Quotas's
   768  // API operation GetServiceQuotaIncreaseRequestFromTemplate for usage and error information.
   769  //
   770  // Returned Error Types:
   771  //   * AccessDeniedException
   772  //   You do not have sufficient permission to perform this action.
   773  //
   774  //   * DependencyAccessDeniedException
   775  //   You can't perform this action because a dependency does not have access.
   776  //
   777  //   * ServiceException
   778  //   Something went wrong.
   779  //
   780  //   * TooManyRequestsException
   781  //   Due to throttling, the request was denied. Slow down the rate of request
   782  //   calls, or request an increase for this quota.
   783  //
   784  //   * NoSuchResourceException
   785  //   The specified resource does not exist.
   786  //
   787  //   * IllegalArgumentException
   788  //   Invalid input was provided.
   789  //
   790  //   * AWSServiceAccessNotEnabledException
   791  //   The action you attempted is not allowed unless Service Access with Service
   792  //   Quotas is enabled in your organization.
   793  //
   794  //   * TemplatesNotAvailableInRegionException
   795  //   The Service Quotas template is not available in this AWS Region.
   796  //
   797  //   * NoAvailableOrganizationException
   798  //   The account making this call is not a member of an organization.
   799  //
   800  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplate
   801  func (c *ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplate(input *GetServiceQuotaIncreaseRequestFromTemplateInput) (*GetServiceQuotaIncreaseRequestFromTemplateOutput, error) {
   802  	req, out := c.GetServiceQuotaIncreaseRequestFromTemplateRequest(input)
   803  	return out, req.Send()
   804  }
   805  
   806  // GetServiceQuotaIncreaseRequestFromTemplateWithContext is the same as GetServiceQuotaIncreaseRequestFromTemplate with the addition of
   807  // the ability to pass a context and additional request options.
   808  //
   809  // See GetServiceQuotaIncreaseRequestFromTemplate for details on how to use this API operation.
   810  //
   811  // The context must be non-nil and will be used for request cancellation. If
   812  // the context is nil a panic will occur. In the future the SDK may create
   813  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   814  // for more information on using Contexts.
   815  func (c *ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplateWithContext(ctx aws.Context, input *GetServiceQuotaIncreaseRequestFromTemplateInput, opts ...request.Option) (*GetServiceQuotaIncreaseRequestFromTemplateOutput, error) {
   816  	req, out := c.GetServiceQuotaIncreaseRequestFromTemplateRequest(input)
   817  	req.SetContext(ctx)
   818  	req.ApplyOptions(opts...)
   819  	return out, req.Send()
   820  }
   821  
   822  const opListAWSDefaultServiceQuotas = "ListAWSDefaultServiceQuotas"
   823  
   824  // ListAWSDefaultServiceQuotasRequest generates a "aws/request.Request" representing the
   825  // client's request for the ListAWSDefaultServiceQuotas operation. The "output" return
   826  // value will be populated with the request's response once the request completes
   827  // successfully.
   828  //
   829  // Use "Send" method on the returned Request to send the API call to the service.
   830  // the "output" return value is not valid until after Send returns without error.
   831  //
   832  // See ListAWSDefaultServiceQuotas for more information on using the ListAWSDefaultServiceQuotas
   833  // API call, and error handling.
   834  //
   835  // This method is useful when you want to inject custom logic or configuration
   836  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   837  //
   838  //
   839  //    // Example sending a request using the ListAWSDefaultServiceQuotasRequest method.
   840  //    req, resp := client.ListAWSDefaultServiceQuotasRequest(params)
   841  //
   842  //    err := req.Send()
   843  //    if err == nil { // resp is now filled
   844  //        fmt.Println(resp)
   845  //    }
   846  //
   847  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas
   848  func (c *ServiceQuotas) ListAWSDefaultServiceQuotasRequest(input *ListAWSDefaultServiceQuotasInput) (req *request.Request, output *ListAWSDefaultServiceQuotasOutput) {
   849  	op := &request.Operation{
   850  		Name:       opListAWSDefaultServiceQuotas,
   851  		HTTPMethod: "POST",
   852  		HTTPPath:   "/",
   853  		Paginator: &request.Paginator{
   854  			InputTokens:     []string{"NextToken"},
   855  			OutputTokens:    []string{"NextToken"},
   856  			LimitToken:      "MaxResults",
   857  			TruncationToken: "",
   858  		},
   859  	}
   860  
   861  	if input == nil {
   862  		input = &ListAWSDefaultServiceQuotasInput{}
   863  	}
   864  
   865  	output = &ListAWSDefaultServiceQuotasOutput{}
   866  	req = c.newRequest(op, input, output)
   867  	return
   868  }
   869  
   870  // ListAWSDefaultServiceQuotas API operation for Service Quotas.
   871  //
   872  // Lists the default values for the quotas for the specified AWS service. A
   873  // default value does not reflect any quota increases.
   874  //
   875  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   876  // with awserr.Error's Code and Message methods to get detailed information about
   877  // the error.
   878  //
   879  // See the AWS API reference guide for Service Quotas's
   880  // API operation ListAWSDefaultServiceQuotas for usage and error information.
   881  //
   882  // Returned Error Types:
   883  //   * AccessDeniedException
   884  //   You do not have sufficient permission to perform this action.
   885  //
   886  //   * NoSuchResourceException
   887  //   The specified resource does not exist.
   888  //
   889  //   * IllegalArgumentException
   890  //   Invalid input was provided.
   891  //
   892  //   * InvalidPaginationTokenException
   893  //   Invalid input was provided.
   894  //
   895  //   * ServiceException
   896  //   Something went wrong.
   897  //
   898  //   * TooManyRequestsException
   899  //   Due to throttling, the request was denied. Slow down the rate of request
   900  //   calls, or request an increase for this quota.
   901  //
   902  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas
   903  func (c *ServiceQuotas) ListAWSDefaultServiceQuotas(input *ListAWSDefaultServiceQuotasInput) (*ListAWSDefaultServiceQuotasOutput, error) {
   904  	req, out := c.ListAWSDefaultServiceQuotasRequest(input)
   905  	return out, req.Send()
   906  }
   907  
   908  // ListAWSDefaultServiceQuotasWithContext is the same as ListAWSDefaultServiceQuotas with the addition of
   909  // the ability to pass a context and additional request options.
   910  //
   911  // See ListAWSDefaultServiceQuotas for details on how to use this API operation.
   912  //
   913  // The context must be non-nil and will be used for request cancellation. If
   914  // the context is nil a panic will occur. In the future the SDK may create
   915  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   916  // for more information on using Contexts.
   917  func (c *ServiceQuotas) ListAWSDefaultServiceQuotasWithContext(ctx aws.Context, input *ListAWSDefaultServiceQuotasInput, opts ...request.Option) (*ListAWSDefaultServiceQuotasOutput, error) {
   918  	req, out := c.ListAWSDefaultServiceQuotasRequest(input)
   919  	req.SetContext(ctx)
   920  	req.ApplyOptions(opts...)
   921  	return out, req.Send()
   922  }
   923  
   924  // ListAWSDefaultServiceQuotasPages iterates over the pages of a ListAWSDefaultServiceQuotas operation,
   925  // calling the "fn" function with the response data for each page. To stop
   926  // iterating, return false from the fn function.
   927  //
   928  // See ListAWSDefaultServiceQuotas method for more information on how to use this operation.
   929  //
   930  // Note: This operation can generate multiple requests to a service.
   931  //
   932  //    // Example iterating over at most 3 pages of a ListAWSDefaultServiceQuotas operation.
   933  //    pageNum := 0
   934  //    err := client.ListAWSDefaultServiceQuotasPages(params,
   935  //        func(page *servicequotas.ListAWSDefaultServiceQuotasOutput, lastPage bool) bool {
   936  //            pageNum++
   937  //            fmt.Println(page)
   938  //            return pageNum <= 3
   939  //        })
   940  //
   941  func (c *ServiceQuotas) ListAWSDefaultServiceQuotasPages(input *ListAWSDefaultServiceQuotasInput, fn func(*ListAWSDefaultServiceQuotasOutput, bool) bool) error {
   942  	return c.ListAWSDefaultServiceQuotasPagesWithContext(aws.BackgroundContext(), input, fn)
   943  }
   944  
   945  // ListAWSDefaultServiceQuotasPagesWithContext same as ListAWSDefaultServiceQuotasPages except
   946  // it takes a Context and allows setting request options on the pages.
   947  //
   948  // The context must be non-nil and will be used for request cancellation. If
   949  // the context is nil a panic will occur. In the future the SDK may create
   950  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   951  // for more information on using Contexts.
   952  func (c *ServiceQuotas) ListAWSDefaultServiceQuotasPagesWithContext(ctx aws.Context, input *ListAWSDefaultServiceQuotasInput, fn func(*ListAWSDefaultServiceQuotasOutput, bool) bool, opts ...request.Option) error {
   953  	p := request.Pagination{
   954  		NewRequest: func() (*request.Request, error) {
   955  			var inCpy *ListAWSDefaultServiceQuotasInput
   956  			if input != nil {
   957  				tmp := *input
   958  				inCpy = &tmp
   959  			}
   960  			req, _ := c.ListAWSDefaultServiceQuotasRequest(inCpy)
   961  			req.SetContext(ctx)
   962  			req.ApplyOptions(opts...)
   963  			return req, nil
   964  		},
   965  	}
   966  
   967  	for p.Next() {
   968  		if !fn(p.Page().(*ListAWSDefaultServiceQuotasOutput), !p.HasNextPage()) {
   969  			break
   970  		}
   971  	}
   972  
   973  	return p.Err()
   974  }
   975  
   976  const opListRequestedServiceQuotaChangeHistory = "ListRequestedServiceQuotaChangeHistory"
   977  
   978  // ListRequestedServiceQuotaChangeHistoryRequest generates a "aws/request.Request" representing the
   979  // client's request for the ListRequestedServiceQuotaChangeHistory operation. The "output" return
   980  // value will be populated with the request's response once the request completes
   981  // successfully.
   982  //
   983  // Use "Send" method on the returned Request to send the API call to the service.
   984  // the "output" return value is not valid until after Send returns without error.
   985  //
   986  // See ListRequestedServiceQuotaChangeHistory for more information on using the ListRequestedServiceQuotaChangeHistory
   987  // API call, and error handling.
   988  //
   989  // This method is useful when you want to inject custom logic or configuration
   990  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   991  //
   992  //
   993  //    // Example sending a request using the ListRequestedServiceQuotaChangeHistoryRequest method.
   994  //    req, resp := client.ListRequestedServiceQuotaChangeHistoryRequest(params)
   995  //
   996  //    err := req.Send()
   997  //    if err == nil { // resp is now filled
   998  //        fmt.Println(resp)
   999  //    }
  1000  //
  1001  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistory
  1002  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryRequest(input *ListRequestedServiceQuotaChangeHistoryInput) (req *request.Request, output *ListRequestedServiceQuotaChangeHistoryOutput) {
  1003  	op := &request.Operation{
  1004  		Name:       opListRequestedServiceQuotaChangeHistory,
  1005  		HTTPMethod: "POST",
  1006  		HTTPPath:   "/",
  1007  		Paginator: &request.Paginator{
  1008  			InputTokens:     []string{"NextToken"},
  1009  			OutputTokens:    []string{"NextToken"},
  1010  			LimitToken:      "MaxResults",
  1011  			TruncationToken: "",
  1012  		},
  1013  	}
  1014  
  1015  	if input == nil {
  1016  		input = &ListRequestedServiceQuotaChangeHistoryInput{}
  1017  	}
  1018  
  1019  	output = &ListRequestedServiceQuotaChangeHistoryOutput{}
  1020  	req = c.newRequest(op, input, output)
  1021  	return
  1022  }
  1023  
  1024  // ListRequestedServiceQuotaChangeHistory API operation for Service Quotas.
  1025  //
  1026  // Retrieves the quota increase requests for the specified service.
  1027  //
  1028  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1029  // with awserr.Error's Code and Message methods to get detailed information about
  1030  // the error.
  1031  //
  1032  // See the AWS API reference guide for Service Quotas's
  1033  // API operation ListRequestedServiceQuotaChangeHistory for usage and error information.
  1034  //
  1035  // Returned Error Types:
  1036  //   * AccessDeniedException
  1037  //   You do not have sufficient permission to perform this action.
  1038  //
  1039  //   * NoSuchResourceException
  1040  //   The specified resource does not exist.
  1041  //
  1042  //   * IllegalArgumentException
  1043  //   Invalid input was provided.
  1044  //
  1045  //   * InvalidPaginationTokenException
  1046  //   Invalid input was provided.
  1047  //
  1048  //   * ServiceException
  1049  //   Something went wrong.
  1050  //
  1051  //   * TooManyRequestsException
  1052  //   Due to throttling, the request was denied. Slow down the rate of request
  1053  //   calls, or request an increase for this quota.
  1054  //
  1055  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistory
  1056  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistory(input *ListRequestedServiceQuotaChangeHistoryInput) (*ListRequestedServiceQuotaChangeHistoryOutput, error) {
  1057  	req, out := c.ListRequestedServiceQuotaChangeHistoryRequest(input)
  1058  	return out, req.Send()
  1059  }
  1060  
  1061  // ListRequestedServiceQuotaChangeHistoryWithContext is the same as ListRequestedServiceQuotaChangeHistory with the addition of
  1062  // the ability to pass a context and additional request options.
  1063  //
  1064  // See ListRequestedServiceQuotaChangeHistory for details on how to use this API operation.
  1065  //
  1066  // The context must be non-nil and will be used for request cancellation. If
  1067  // the context is nil a panic will occur. In the future the SDK may create
  1068  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1069  // for more information on using Contexts.
  1070  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryWithContext(ctx aws.Context, input *ListRequestedServiceQuotaChangeHistoryInput, opts ...request.Option) (*ListRequestedServiceQuotaChangeHistoryOutput, error) {
  1071  	req, out := c.ListRequestedServiceQuotaChangeHistoryRequest(input)
  1072  	req.SetContext(ctx)
  1073  	req.ApplyOptions(opts...)
  1074  	return out, req.Send()
  1075  }
  1076  
  1077  // ListRequestedServiceQuotaChangeHistoryPages iterates over the pages of a ListRequestedServiceQuotaChangeHistory operation,
  1078  // calling the "fn" function with the response data for each page. To stop
  1079  // iterating, return false from the fn function.
  1080  //
  1081  // See ListRequestedServiceQuotaChangeHistory method for more information on how to use this operation.
  1082  //
  1083  // Note: This operation can generate multiple requests to a service.
  1084  //
  1085  //    // Example iterating over at most 3 pages of a ListRequestedServiceQuotaChangeHistory operation.
  1086  //    pageNum := 0
  1087  //    err := client.ListRequestedServiceQuotaChangeHistoryPages(params,
  1088  //        func(page *servicequotas.ListRequestedServiceQuotaChangeHistoryOutput, lastPage bool) bool {
  1089  //            pageNum++
  1090  //            fmt.Println(page)
  1091  //            return pageNum <= 3
  1092  //        })
  1093  //
  1094  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryPages(input *ListRequestedServiceQuotaChangeHistoryInput, fn func(*ListRequestedServiceQuotaChangeHistoryOutput, bool) bool) error {
  1095  	return c.ListRequestedServiceQuotaChangeHistoryPagesWithContext(aws.BackgroundContext(), input, fn)
  1096  }
  1097  
  1098  // ListRequestedServiceQuotaChangeHistoryPagesWithContext same as ListRequestedServiceQuotaChangeHistoryPages except
  1099  // it takes a Context and allows setting request options on the pages.
  1100  //
  1101  // The context must be non-nil and will be used for request cancellation. If
  1102  // the context is nil a panic will occur. In the future the SDK may create
  1103  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1104  // for more information on using Contexts.
  1105  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryPagesWithContext(ctx aws.Context, input *ListRequestedServiceQuotaChangeHistoryInput, fn func(*ListRequestedServiceQuotaChangeHistoryOutput, bool) bool, opts ...request.Option) error {
  1106  	p := request.Pagination{
  1107  		NewRequest: func() (*request.Request, error) {
  1108  			var inCpy *ListRequestedServiceQuotaChangeHistoryInput
  1109  			if input != nil {
  1110  				tmp := *input
  1111  				inCpy = &tmp
  1112  			}
  1113  			req, _ := c.ListRequestedServiceQuotaChangeHistoryRequest(inCpy)
  1114  			req.SetContext(ctx)
  1115  			req.ApplyOptions(opts...)
  1116  			return req, nil
  1117  		},
  1118  	}
  1119  
  1120  	for p.Next() {
  1121  		if !fn(p.Page().(*ListRequestedServiceQuotaChangeHistoryOutput), !p.HasNextPage()) {
  1122  			break
  1123  		}
  1124  	}
  1125  
  1126  	return p.Err()
  1127  }
  1128  
  1129  const opListRequestedServiceQuotaChangeHistoryByQuota = "ListRequestedServiceQuotaChangeHistoryByQuota"
  1130  
  1131  // ListRequestedServiceQuotaChangeHistoryByQuotaRequest generates a "aws/request.Request" representing the
  1132  // client's request for the ListRequestedServiceQuotaChangeHistoryByQuota operation. The "output" return
  1133  // value will be populated with the request's response once the request completes
  1134  // successfully.
  1135  //
  1136  // Use "Send" method on the returned Request to send the API call to the service.
  1137  // the "output" return value is not valid until after Send returns without error.
  1138  //
  1139  // See ListRequestedServiceQuotaChangeHistoryByQuota for more information on using the ListRequestedServiceQuotaChangeHistoryByQuota
  1140  // API call, and error handling.
  1141  //
  1142  // This method is useful when you want to inject custom logic or configuration
  1143  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1144  //
  1145  //
  1146  //    // Example sending a request using the ListRequestedServiceQuotaChangeHistoryByQuotaRequest method.
  1147  //    req, resp := client.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(params)
  1148  //
  1149  //    err := req.Send()
  1150  //    if err == nil { // resp is now filled
  1151  //        fmt.Println(resp)
  1152  //    }
  1153  //
  1154  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota
  1155  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput) (req *request.Request, output *ListRequestedServiceQuotaChangeHistoryByQuotaOutput) {
  1156  	op := &request.Operation{
  1157  		Name:       opListRequestedServiceQuotaChangeHistoryByQuota,
  1158  		HTTPMethod: "POST",
  1159  		HTTPPath:   "/",
  1160  		Paginator: &request.Paginator{
  1161  			InputTokens:     []string{"NextToken"},
  1162  			OutputTokens:    []string{"NextToken"},
  1163  			LimitToken:      "MaxResults",
  1164  			TruncationToken: "",
  1165  		},
  1166  	}
  1167  
  1168  	if input == nil {
  1169  		input = &ListRequestedServiceQuotaChangeHistoryByQuotaInput{}
  1170  	}
  1171  
  1172  	output = &ListRequestedServiceQuotaChangeHistoryByQuotaOutput{}
  1173  	req = c.newRequest(op, input, output)
  1174  	return
  1175  }
  1176  
  1177  // ListRequestedServiceQuotaChangeHistoryByQuota API operation for Service Quotas.
  1178  //
  1179  // Retrieves the quota increase requests for the specified quota.
  1180  //
  1181  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1182  // with awserr.Error's Code and Message methods to get detailed information about
  1183  // the error.
  1184  //
  1185  // See the AWS API reference guide for Service Quotas's
  1186  // API operation ListRequestedServiceQuotaChangeHistoryByQuota for usage and error information.
  1187  //
  1188  // Returned Error Types:
  1189  //   * AccessDeniedException
  1190  //   You do not have sufficient permission to perform this action.
  1191  //
  1192  //   * NoSuchResourceException
  1193  //   The specified resource does not exist.
  1194  //
  1195  //   * IllegalArgumentException
  1196  //   Invalid input was provided.
  1197  //
  1198  //   * InvalidPaginationTokenException
  1199  //   Invalid input was provided.
  1200  //
  1201  //   * ServiceException
  1202  //   Something went wrong.
  1203  //
  1204  //   * TooManyRequestsException
  1205  //   Due to throttling, the request was denied. Slow down the rate of request
  1206  //   calls, or request an increase for this quota.
  1207  //
  1208  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota
  1209  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuota(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error) {
  1210  	req, out := c.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input)
  1211  	return out, req.Send()
  1212  }
  1213  
  1214  // ListRequestedServiceQuotaChangeHistoryByQuotaWithContext is the same as ListRequestedServiceQuotaChangeHistoryByQuota with the addition of
  1215  // the ability to pass a context and additional request options.
  1216  //
  1217  // See ListRequestedServiceQuotaChangeHistoryByQuota for details on how to use this API operation.
  1218  //
  1219  // The context must be non-nil and will be used for request cancellation. If
  1220  // the context is nil a panic will occur. In the future the SDK may create
  1221  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1222  // for more information on using Contexts.
  1223  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaWithContext(ctx aws.Context, input *ListRequestedServiceQuotaChangeHistoryByQuotaInput, opts ...request.Option) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error) {
  1224  	req, out := c.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input)
  1225  	req.SetContext(ctx)
  1226  	req.ApplyOptions(opts...)
  1227  	return out, req.Send()
  1228  }
  1229  
  1230  // ListRequestedServiceQuotaChangeHistoryByQuotaPages iterates over the pages of a ListRequestedServiceQuotaChangeHistoryByQuota operation,
  1231  // calling the "fn" function with the response data for each page. To stop
  1232  // iterating, return false from the fn function.
  1233  //
  1234  // See ListRequestedServiceQuotaChangeHistoryByQuota method for more information on how to use this operation.
  1235  //
  1236  // Note: This operation can generate multiple requests to a service.
  1237  //
  1238  //    // Example iterating over at most 3 pages of a ListRequestedServiceQuotaChangeHistoryByQuota operation.
  1239  //    pageNum := 0
  1240  //    err := client.ListRequestedServiceQuotaChangeHistoryByQuotaPages(params,
  1241  //        func(page *servicequotas.ListRequestedServiceQuotaChangeHistoryByQuotaOutput, lastPage bool) bool {
  1242  //            pageNum++
  1243  //            fmt.Println(page)
  1244  //            return pageNum <= 3
  1245  //        })
  1246  //
  1247  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaPages(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput, fn func(*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, bool) bool) error {
  1248  	return c.ListRequestedServiceQuotaChangeHistoryByQuotaPagesWithContext(aws.BackgroundContext(), input, fn)
  1249  }
  1250  
  1251  // ListRequestedServiceQuotaChangeHistoryByQuotaPagesWithContext same as ListRequestedServiceQuotaChangeHistoryByQuotaPages except
  1252  // it takes a Context and allows setting request options on the pages.
  1253  //
  1254  // The context must be non-nil and will be used for request cancellation. If
  1255  // the context is nil a panic will occur. In the future the SDK may create
  1256  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1257  // for more information on using Contexts.
  1258  func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaPagesWithContext(ctx aws.Context, input *ListRequestedServiceQuotaChangeHistoryByQuotaInput, fn func(*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, bool) bool, opts ...request.Option) error {
  1259  	p := request.Pagination{
  1260  		NewRequest: func() (*request.Request, error) {
  1261  			var inCpy *ListRequestedServiceQuotaChangeHistoryByQuotaInput
  1262  			if input != nil {
  1263  				tmp := *input
  1264  				inCpy = &tmp
  1265  			}
  1266  			req, _ := c.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(inCpy)
  1267  			req.SetContext(ctx)
  1268  			req.ApplyOptions(opts...)
  1269  			return req, nil
  1270  		},
  1271  	}
  1272  
  1273  	for p.Next() {
  1274  		if !fn(p.Page().(*ListRequestedServiceQuotaChangeHistoryByQuotaOutput), !p.HasNextPage()) {
  1275  			break
  1276  		}
  1277  	}
  1278  
  1279  	return p.Err()
  1280  }
  1281  
  1282  const opListServiceQuotaIncreaseRequestsInTemplate = "ListServiceQuotaIncreaseRequestsInTemplate"
  1283  
  1284  // ListServiceQuotaIncreaseRequestsInTemplateRequest generates a "aws/request.Request" representing the
  1285  // client's request for the ListServiceQuotaIncreaseRequestsInTemplate operation. The "output" return
  1286  // value will be populated with the request's response once the request completes
  1287  // successfully.
  1288  //
  1289  // Use "Send" method on the returned Request to send the API call to the service.
  1290  // the "output" return value is not valid until after Send returns without error.
  1291  //
  1292  // See ListServiceQuotaIncreaseRequestsInTemplate for more information on using the ListServiceQuotaIncreaseRequestsInTemplate
  1293  // API call, and error handling.
  1294  //
  1295  // This method is useful when you want to inject custom logic or configuration
  1296  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1297  //
  1298  //
  1299  //    // Example sending a request using the ListServiceQuotaIncreaseRequestsInTemplateRequest method.
  1300  //    req, resp := client.ListServiceQuotaIncreaseRequestsInTemplateRequest(params)
  1301  //
  1302  //    err := req.Send()
  1303  //    if err == nil { // resp is now filled
  1304  //        fmt.Println(resp)
  1305  //    }
  1306  //
  1307  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplate
  1308  func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplateRequest(input *ListServiceQuotaIncreaseRequestsInTemplateInput) (req *request.Request, output *ListServiceQuotaIncreaseRequestsInTemplateOutput) {
  1309  	op := &request.Operation{
  1310  		Name:       opListServiceQuotaIncreaseRequestsInTemplate,
  1311  		HTTPMethod: "POST",
  1312  		HTTPPath:   "/",
  1313  		Paginator: &request.Paginator{
  1314  			InputTokens:     []string{"NextToken"},
  1315  			OutputTokens:    []string{"NextToken"},
  1316  			LimitToken:      "MaxResults",
  1317  			TruncationToken: "",
  1318  		},
  1319  	}
  1320  
  1321  	if input == nil {
  1322  		input = &ListServiceQuotaIncreaseRequestsInTemplateInput{}
  1323  	}
  1324  
  1325  	output = &ListServiceQuotaIncreaseRequestsInTemplateOutput{}
  1326  	req = c.newRequest(op, input, output)
  1327  	return
  1328  }
  1329  
  1330  // ListServiceQuotaIncreaseRequestsInTemplate API operation for Service Quotas.
  1331  //
  1332  // Lists the quota increase requests in the specified quota request template.
  1333  //
  1334  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1335  // with awserr.Error's Code and Message methods to get detailed information about
  1336  // the error.
  1337  //
  1338  // See the AWS API reference guide for Service Quotas's
  1339  // API operation ListServiceQuotaIncreaseRequestsInTemplate for usage and error information.
  1340  //
  1341  // Returned Error Types:
  1342  //   * AccessDeniedException
  1343  //   You do not have sufficient permission to perform this action.
  1344  //
  1345  //   * DependencyAccessDeniedException
  1346  //   You can't perform this action because a dependency does not have access.
  1347  //
  1348  //   * ServiceException
  1349  //   Something went wrong.
  1350  //
  1351  //   * TooManyRequestsException
  1352  //   Due to throttling, the request was denied. Slow down the rate of request
  1353  //   calls, or request an increase for this quota.
  1354  //
  1355  //   * IllegalArgumentException
  1356  //   Invalid input was provided.
  1357  //
  1358  //   * AWSServiceAccessNotEnabledException
  1359  //   The action you attempted is not allowed unless Service Access with Service
  1360  //   Quotas is enabled in your organization.
  1361  //
  1362  //   * TemplatesNotAvailableInRegionException
  1363  //   The Service Quotas template is not available in this AWS Region.
  1364  //
  1365  //   * NoAvailableOrganizationException
  1366  //   The account making this call is not a member of an organization.
  1367  //
  1368  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplate
  1369  func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplate(input *ListServiceQuotaIncreaseRequestsInTemplateInput) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error) {
  1370  	req, out := c.ListServiceQuotaIncreaseRequestsInTemplateRequest(input)
  1371  	return out, req.Send()
  1372  }
  1373  
  1374  // ListServiceQuotaIncreaseRequestsInTemplateWithContext is the same as ListServiceQuotaIncreaseRequestsInTemplate with the addition of
  1375  // the ability to pass a context and additional request options.
  1376  //
  1377  // See ListServiceQuotaIncreaseRequestsInTemplate for details on how to use this API operation.
  1378  //
  1379  // The context must be non-nil and will be used for request cancellation. If
  1380  // the context is nil a panic will occur. In the future the SDK may create
  1381  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1382  // for more information on using Contexts.
  1383  func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplateWithContext(ctx aws.Context, input *ListServiceQuotaIncreaseRequestsInTemplateInput, opts ...request.Option) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error) {
  1384  	req, out := c.ListServiceQuotaIncreaseRequestsInTemplateRequest(input)
  1385  	req.SetContext(ctx)
  1386  	req.ApplyOptions(opts...)
  1387  	return out, req.Send()
  1388  }
  1389  
  1390  // ListServiceQuotaIncreaseRequestsInTemplatePages iterates over the pages of a ListServiceQuotaIncreaseRequestsInTemplate operation,
  1391  // calling the "fn" function with the response data for each page. To stop
  1392  // iterating, return false from the fn function.
  1393  //
  1394  // See ListServiceQuotaIncreaseRequestsInTemplate method for more information on how to use this operation.
  1395  //
  1396  // Note: This operation can generate multiple requests to a service.
  1397  //
  1398  //    // Example iterating over at most 3 pages of a ListServiceQuotaIncreaseRequestsInTemplate operation.
  1399  //    pageNum := 0
  1400  //    err := client.ListServiceQuotaIncreaseRequestsInTemplatePages(params,
  1401  //        func(page *servicequotas.ListServiceQuotaIncreaseRequestsInTemplateOutput, lastPage bool) bool {
  1402  //            pageNum++
  1403  //            fmt.Println(page)
  1404  //            return pageNum <= 3
  1405  //        })
  1406  //
  1407  func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplatePages(input *ListServiceQuotaIncreaseRequestsInTemplateInput, fn func(*ListServiceQuotaIncreaseRequestsInTemplateOutput, bool) bool) error {
  1408  	return c.ListServiceQuotaIncreaseRequestsInTemplatePagesWithContext(aws.BackgroundContext(), input, fn)
  1409  }
  1410  
  1411  // ListServiceQuotaIncreaseRequestsInTemplatePagesWithContext same as ListServiceQuotaIncreaseRequestsInTemplatePages except
  1412  // it takes a Context and allows setting request options on the pages.
  1413  //
  1414  // The context must be non-nil and will be used for request cancellation. If
  1415  // the context is nil a panic will occur. In the future the SDK may create
  1416  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1417  // for more information on using Contexts.
  1418  func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplatePagesWithContext(ctx aws.Context, input *ListServiceQuotaIncreaseRequestsInTemplateInput, fn func(*ListServiceQuotaIncreaseRequestsInTemplateOutput, bool) bool, opts ...request.Option) error {
  1419  	p := request.Pagination{
  1420  		NewRequest: func() (*request.Request, error) {
  1421  			var inCpy *ListServiceQuotaIncreaseRequestsInTemplateInput
  1422  			if input != nil {
  1423  				tmp := *input
  1424  				inCpy = &tmp
  1425  			}
  1426  			req, _ := c.ListServiceQuotaIncreaseRequestsInTemplateRequest(inCpy)
  1427  			req.SetContext(ctx)
  1428  			req.ApplyOptions(opts...)
  1429  			return req, nil
  1430  		},
  1431  	}
  1432  
  1433  	for p.Next() {
  1434  		if !fn(p.Page().(*ListServiceQuotaIncreaseRequestsInTemplateOutput), !p.HasNextPage()) {
  1435  			break
  1436  		}
  1437  	}
  1438  
  1439  	return p.Err()
  1440  }
  1441  
  1442  const opListServiceQuotas = "ListServiceQuotas"
  1443  
  1444  // ListServiceQuotasRequest generates a "aws/request.Request" representing the
  1445  // client's request for the ListServiceQuotas operation. The "output" return
  1446  // value will be populated with the request's response once the request completes
  1447  // successfully.
  1448  //
  1449  // Use "Send" method on the returned Request to send the API call to the service.
  1450  // the "output" return value is not valid until after Send returns without error.
  1451  //
  1452  // See ListServiceQuotas for more information on using the ListServiceQuotas
  1453  // API call, and error handling.
  1454  //
  1455  // This method is useful when you want to inject custom logic or configuration
  1456  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1457  //
  1458  //
  1459  //    // Example sending a request using the ListServiceQuotasRequest method.
  1460  //    req, resp := client.ListServiceQuotasRequest(params)
  1461  //
  1462  //    err := req.Send()
  1463  //    if err == nil { // resp is now filled
  1464  //        fmt.Println(resp)
  1465  //    }
  1466  //
  1467  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas
  1468  func (c *ServiceQuotas) ListServiceQuotasRequest(input *ListServiceQuotasInput) (req *request.Request, output *ListServiceQuotasOutput) {
  1469  	op := &request.Operation{
  1470  		Name:       opListServiceQuotas,
  1471  		HTTPMethod: "POST",
  1472  		HTTPPath:   "/",
  1473  		Paginator: &request.Paginator{
  1474  			InputTokens:     []string{"NextToken"},
  1475  			OutputTokens:    []string{"NextToken"},
  1476  			LimitToken:      "MaxResults",
  1477  			TruncationToken: "",
  1478  		},
  1479  	}
  1480  
  1481  	if input == nil {
  1482  		input = &ListServiceQuotasInput{}
  1483  	}
  1484  
  1485  	output = &ListServiceQuotasOutput{}
  1486  	req = c.newRequest(op, input, output)
  1487  	return
  1488  }
  1489  
  1490  // ListServiceQuotas API operation for Service Quotas.
  1491  //
  1492  // Lists the applied quota values for the specified AWS service. For some quotas,
  1493  // only the default values are available. If the applied quota value is not
  1494  // available for a quota, the quota is not retrieved.
  1495  //
  1496  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1497  // with awserr.Error's Code and Message methods to get detailed information about
  1498  // the error.
  1499  //
  1500  // See the AWS API reference guide for Service Quotas's
  1501  // API operation ListServiceQuotas for usage and error information.
  1502  //
  1503  // Returned Error Types:
  1504  //   * AccessDeniedException
  1505  //   You do not have sufficient permission to perform this action.
  1506  //
  1507  //   * NoSuchResourceException
  1508  //   The specified resource does not exist.
  1509  //
  1510  //   * IllegalArgumentException
  1511  //   Invalid input was provided.
  1512  //
  1513  //   * InvalidPaginationTokenException
  1514  //   Invalid input was provided.
  1515  //
  1516  //   * ServiceException
  1517  //   Something went wrong.
  1518  //
  1519  //   * TooManyRequestsException
  1520  //   Due to throttling, the request was denied. Slow down the rate of request
  1521  //   calls, or request an increase for this quota.
  1522  //
  1523  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas
  1524  func (c *ServiceQuotas) ListServiceQuotas(input *ListServiceQuotasInput) (*ListServiceQuotasOutput, error) {
  1525  	req, out := c.ListServiceQuotasRequest(input)
  1526  	return out, req.Send()
  1527  }
  1528  
  1529  // ListServiceQuotasWithContext is the same as ListServiceQuotas with the addition of
  1530  // the ability to pass a context and additional request options.
  1531  //
  1532  // See ListServiceQuotas for details on how to use this API operation.
  1533  //
  1534  // The context must be non-nil and will be used for request cancellation. If
  1535  // the context is nil a panic will occur. In the future the SDK may create
  1536  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1537  // for more information on using Contexts.
  1538  func (c *ServiceQuotas) ListServiceQuotasWithContext(ctx aws.Context, input *ListServiceQuotasInput, opts ...request.Option) (*ListServiceQuotasOutput, error) {
  1539  	req, out := c.ListServiceQuotasRequest(input)
  1540  	req.SetContext(ctx)
  1541  	req.ApplyOptions(opts...)
  1542  	return out, req.Send()
  1543  }
  1544  
  1545  // ListServiceQuotasPages iterates over the pages of a ListServiceQuotas operation,
  1546  // calling the "fn" function with the response data for each page. To stop
  1547  // iterating, return false from the fn function.
  1548  //
  1549  // See ListServiceQuotas method for more information on how to use this operation.
  1550  //
  1551  // Note: This operation can generate multiple requests to a service.
  1552  //
  1553  //    // Example iterating over at most 3 pages of a ListServiceQuotas operation.
  1554  //    pageNum := 0
  1555  //    err := client.ListServiceQuotasPages(params,
  1556  //        func(page *servicequotas.ListServiceQuotasOutput, lastPage bool) bool {
  1557  //            pageNum++
  1558  //            fmt.Println(page)
  1559  //            return pageNum <= 3
  1560  //        })
  1561  //
  1562  func (c *ServiceQuotas) ListServiceQuotasPages(input *ListServiceQuotasInput, fn func(*ListServiceQuotasOutput, bool) bool) error {
  1563  	return c.ListServiceQuotasPagesWithContext(aws.BackgroundContext(), input, fn)
  1564  }
  1565  
  1566  // ListServiceQuotasPagesWithContext same as ListServiceQuotasPages except
  1567  // it takes a Context and allows setting request options on the pages.
  1568  //
  1569  // The context must be non-nil and will be used for request cancellation. If
  1570  // the context is nil a panic will occur. In the future the SDK may create
  1571  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1572  // for more information on using Contexts.
  1573  func (c *ServiceQuotas) ListServiceQuotasPagesWithContext(ctx aws.Context, input *ListServiceQuotasInput, fn func(*ListServiceQuotasOutput, bool) bool, opts ...request.Option) error {
  1574  	p := request.Pagination{
  1575  		NewRequest: func() (*request.Request, error) {
  1576  			var inCpy *ListServiceQuotasInput
  1577  			if input != nil {
  1578  				tmp := *input
  1579  				inCpy = &tmp
  1580  			}
  1581  			req, _ := c.ListServiceQuotasRequest(inCpy)
  1582  			req.SetContext(ctx)
  1583  			req.ApplyOptions(opts...)
  1584  			return req, nil
  1585  		},
  1586  	}
  1587  
  1588  	for p.Next() {
  1589  		if !fn(p.Page().(*ListServiceQuotasOutput), !p.HasNextPage()) {
  1590  			break
  1591  		}
  1592  	}
  1593  
  1594  	return p.Err()
  1595  }
  1596  
  1597  const opListServices = "ListServices"
  1598  
  1599  // ListServicesRequest generates a "aws/request.Request" representing the
  1600  // client's request for the ListServices operation. The "output" return
  1601  // value will be populated with the request's response once the request completes
  1602  // successfully.
  1603  //
  1604  // Use "Send" method on the returned Request to send the API call to the service.
  1605  // the "output" return value is not valid until after Send returns without error.
  1606  //
  1607  // See ListServices for more information on using the ListServices
  1608  // API call, and error handling.
  1609  //
  1610  // This method is useful when you want to inject custom logic or configuration
  1611  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1612  //
  1613  //
  1614  //    // Example sending a request using the ListServicesRequest method.
  1615  //    req, resp := client.ListServicesRequest(params)
  1616  //
  1617  //    err := req.Send()
  1618  //    if err == nil { // resp is now filled
  1619  //        fmt.Println(resp)
  1620  //    }
  1621  //
  1622  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServices
  1623  func (c *ServiceQuotas) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput) {
  1624  	op := &request.Operation{
  1625  		Name:       opListServices,
  1626  		HTTPMethod: "POST",
  1627  		HTTPPath:   "/",
  1628  		Paginator: &request.Paginator{
  1629  			InputTokens:     []string{"NextToken"},
  1630  			OutputTokens:    []string{"NextToken"},
  1631  			LimitToken:      "MaxResults",
  1632  			TruncationToken: "",
  1633  		},
  1634  	}
  1635  
  1636  	if input == nil {
  1637  		input = &ListServicesInput{}
  1638  	}
  1639  
  1640  	output = &ListServicesOutput{}
  1641  	req = c.newRequest(op, input, output)
  1642  	return
  1643  }
  1644  
  1645  // ListServices API operation for Service Quotas.
  1646  //
  1647  // Lists the names and codes for the services integrated with Service Quotas.
  1648  //
  1649  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1650  // with awserr.Error's Code and Message methods to get detailed information about
  1651  // the error.
  1652  //
  1653  // See the AWS API reference guide for Service Quotas's
  1654  // API operation ListServices for usage and error information.
  1655  //
  1656  // Returned Error Types:
  1657  //   * AccessDeniedException
  1658  //   You do not have sufficient permission to perform this action.
  1659  //
  1660  //   * IllegalArgumentException
  1661  //   Invalid input was provided.
  1662  //
  1663  //   * InvalidPaginationTokenException
  1664  //   Invalid input was provided.
  1665  //
  1666  //   * ServiceException
  1667  //   Something went wrong.
  1668  //
  1669  //   * TooManyRequestsException
  1670  //   Due to throttling, the request was denied. Slow down the rate of request
  1671  //   calls, or request an increase for this quota.
  1672  //
  1673  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServices
  1674  func (c *ServiceQuotas) ListServices(input *ListServicesInput) (*ListServicesOutput, error) {
  1675  	req, out := c.ListServicesRequest(input)
  1676  	return out, req.Send()
  1677  }
  1678  
  1679  // ListServicesWithContext is the same as ListServices with the addition of
  1680  // the ability to pass a context and additional request options.
  1681  //
  1682  // See ListServices for details on how to use this API operation.
  1683  //
  1684  // The context must be non-nil and will be used for request cancellation. If
  1685  // the context is nil a panic will occur. In the future the SDK may create
  1686  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1687  // for more information on using Contexts.
  1688  func (c *ServiceQuotas) ListServicesWithContext(ctx aws.Context, input *ListServicesInput, opts ...request.Option) (*ListServicesOutput, error) {
  1689  	req, out := c.ListServicesRequest(input)
  1690  	req.SetContext(ctx)
  1691  	req.ApplyOptions(opts...)
  1692  	return out, req.Send()
  1693  }
  1694  
  1695  // ListServicesPages iterates over the pages of a ListServices operation,
  1696  // calling the "fn" function with the response data for each page. To stop
  1697  // iterating, return false from the fn function.
  1698  //
  1699  // See ListServices method for more information on how to use this operation.
  1700  //
  1701  // Note: This operation can generate multiple requests to a service.
  1702  //
  1703  //    // Example iterating over at most 3 pages of a ListServices operation.
  1704  //    pageNum := 0
  1705  //    err := client.ListServicesPages(params,
  1706  //        func(page *servicequotas.ListServicesOutput, lastPage bool) bool {
  1707  //            pageNum++
  1708  //            fmt.Println(page)
  1709  //            return pageNum <= 3
  1710  //        })
  1711  //
  1712  func (c *ServiceQuotas) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error {
  1713  	return c.ListServicesPagesWithContext(aws.BackgroundContext(), input, fn)
  1714  }
  1715  
  1716  // ListServicesPagesWithContext same as ListServicesPages except
  1717  // it takes a Context and allows setting request options on the pages.
  1718  //
  1719  // The context must be non-nil and will be used for request cancellation. If
  1720  // the context is nil a panic will occur. In the future the SDK may create
  1721  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1722  // for more information on using Contexts.
  1723  func (c *ServiceQuotas) ListServicesPagesWithContext(ctx aws.Context, input *ListServicesInput, fn func(*ListServicesOutput, bool) bool, opts ...request.Option) error {
  1724  	p := request.Pagination{
  1725  		NewRequest: func() (*request.Request, error) {
  1726  			var inCpy *ListServicesInput
  1727  			if input != nil {
  1728  				tmp := *input
  1729  				inCpy = &tmp
  1730  			}
  1731  			req, _ := c.ListServicesRequest(inCpy)
  1732  			req.SetContext(ctx)
  1733  			req.ApplyOptions(opts...)
  1734  			return req, nil
  1735  		},
  1736  	}
  1737  
  1738  	for p.Next() {
  1739  		if !fn(p.Page().(*ListServicesOutput), !p.HasNextPage()) {
  1740  			break
  1741  		}
  1742  	}
  1743  
  1744  	return p.Err()
  1745  }
  1746  
  1747  const opListTagsForResource = "ListTagsForResource"
  1748  
  1749  // ListTagsForResourceRequest generates a "aws/request.Request" representing the
  1750  // client's request for the ListTagsForResource operation. The "output" return
  1751  // value will be populated with the request's response once the request completes
  1752  // successfully.
  1753  //
  1754  // Use "Send" method on the returned Request to send the API call to the service.
  1755  // the "output" return value is not valid until after Send returns without error.
  1756  //
  1757  // See ListTagsForResource for more information on using the ListTagsForResource
  1758  // API call, and error handling.
  1759  //
  1760  // This method is useful when you want to inject custom logic or configuration
  1761  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1762  //
  1763  //
  1764  //    // Example sending a request using the ListTagsForResourceRequest method.
  1765  //    req, resp := client.ListTagsForResourceRequest(params)
  1766  //
  1767  //    err := req.Send()
  1768  //    if err == nil { // resp is now filled
  1769  //        fmt.Println(resp)
  1770  //    }
  1771  //
  1772  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListTagsForResource
  1773  func (c *ServiceQuotas) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
  1774  	op := &request.Operation{
  1775  		Name:       opListTagsForResource,
  1776  		HTTPMethod: "POST",
  1777  		HTTPPath:   "/",
  1778  	}
  1779  
  1780  	if input == nil {
  1781  		input = &ListTagsForResourceInput{}
  1782  	}
  1783  
  1784  	output = &ListTagsForResourceOutput{}
  1785  	req = c.newRequest(op, input, output)
  1786  	return
  1787  }
  1788  
  1789  // ListTagsForResource API operation for Service Quotas.
  1790  //
  1791  // Returns a list of the tags assigned to the specified applied quota.
  1792  //
  1793  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1794  // with awserr.Error's Code and Message methods to get detailed information about
  1795  // the error.
  1796  //
  1797  // See the AWS API reference guide for Service Quotas's
  1798  // API operation ListTagsForResource for usage and error information.
  1799  //
  1800  // Returned Error Types:
  1801  //   * TooManyRequestsException
  1802  //   Due to throttling, the request was denied. Slow down the rate of request
  1803  //   calls, or request an increase for this quota.
  1804  //
  1805  //   * NoSuchResourceException
  1806  //   The specified resource does not exist.
  1807  //
  1808  //   * IllegalArgumentException
  1809  //   Invalid input was provided.
  1810  //
  1811  //   * AccessDeniedException
  1812  //   You do not have sufficient permission to perform this action.
  1813  //
  1814  //   * ServiceException
  1815  //   Something went wrong.
  1816  //
  1817  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListTagsForResource
  1818  func (c *ServiceQuotas) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
  1819  	req, out := c.ListTagsForResourceRequest(input)
  1820  	return out, req.Send()
  1821  }
  1822  
  1823  // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
  1824  // the ability to pass a context and additional request options.
  1825  //
  1826  // See ListTagsForResource for details on how to use this API operation.
  1827  //
  1828  // The context must be non-nil and will be used for request cancellation. If
  1829  // the context is nil a panic will occur. In the future the SDK may create
  1830  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1831  // for more information on using Contexts.
  1832  func (c *ServiceQuotas) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
  1833  	req, out := c.ListTagsForResourceRequest(input)
  1834  	req.SetContext(ctx)
  1835  	req.ApplyOptions(opts...)
  1836  	return out, req.Send()
  1837  }
  1838  
  1839  const opPutServiceQuotaIncreaseRequestIntoTemplate = "PutServiceQuotaIncreaseRequestIntoTemplate"
  1840  
  1841  // PutServiceQuotaIncreaseRequestIntoTemplateRequest generates a "aws/request.Request" representing the
  1842  // client's request for the PutServiceQuotaIncreaseRequestIntoTemplate operation. The "output" return
  1843  // value will be populated with the request's response once the request completes
  1844  // successfully.
  1845  //
  1846  // Use "Send" method on the returned Request to send the API call to the service.
  1847  // the "output" return value is not valid until after Send returns without error.
  1848  //
  1849  // See PutServiceQuotaIncreaseRequestIntoTemplate for more information on using the PutServiceQuotaIncreaseRequestIntoTemplate
  1850  // API call, and error handling.
  1851  //
  1852  // This method is useful when you want to inject custom logic or configuration
  1853  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1854  //
  1855  //
  1856  //    // Example sending a request using the PutServiceQuotaIncreaseRequestIntoTemplateRequest method.
  1857  //    req, resp := client.PutServiceQuotaIncreaseRequestIntoTemplateRequest(params)
  1858  //
  1859  //    err := req.Send()
  1860  //    if err == nil { // resp is now filled
  1861  //        fmt.Println(resp)
  1862  //    }
  1863  //
  1864  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplate
  1865  func (c *ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplateRequest(input *PutServiceQuotaIncreaseRequestIntoTemplateInput) (req *request.Request, output *PutServiceQuotaIncreaseRequestIntoTemplateOutput) {
  1866  	op := &request.Operation{
  1867  		Name:       opPutServiceQuotaIncreaseRequestIntoTemplate,
  1868  		HTTPMethod: "POST",
  1869  		HTTPPath:   "/",
  1870  	}
  1871  
  1872  	if input == nil {
  1873  		input = &PutServiceQuotaIncreaseRequestIntoTemplateInput{}
  1874  	}
  1875  
  1876  	output = &PutServiceQuotaIncreaseRequestIntoTemplateOutput{}
  1877  	req = c.newRequest(op, input, output)
  1878  	return
  1879  }
  1880  
  1881  // PutServiceQuotaIncreaseRequestIntoTemplate API operation for Service Quotas.
  1882  //
  1883  // Adds a quota increase request to your quota request template.
  1884  //
  1885  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1886  // with awserr.Error's Code and Message methods to get detailed information about
  1887  // the error.
  1888  //
  1889  // See the AWS API reference guide for Service Quotas's
  1890  // API operation PutServiceQuotaIncreaseRequestIntoTemplate for usage and error information.
  1891  //
  1892  // Returned Error Types:
  1893  //   * AccessDeniedException
  1894  //   You do not have sufficient permission to perform this action.
  1895  //
  1896  //   * DependencyAccessDeniedException
  1897  //   You can't perform this action because a dependency does not have access.
  1898  //
  1899  //   * ServiceException
  1900  //   Something went wrong.
  1901  //
  1902  //   * TooManyRequestsException
  1903  //   Due to throttling, the request was denied. Slow down the rate of request
  1904  //   calls, or request an increase for this quota.
  1905  //
  1906  //   * IllegalArgumentException
  1907  //   Invalid input was provided.
  1908  //
  1909  //   * QuotaExceededException
  1910  //   You have exceeded your service quota. To perform the requested action, remove
  1911  //   some of the relevant resources, or use Service Quotas to request a service
  1912  //   quota increase.
  1913  //
  1914  //   * NoSuchResourceException
  1915  //   The specified resource does not exist.
  1916  //
  1917  //   * AWSServiceAccessNotEnabledException
  1918  //   The action you attempted is not allowed unless Service Access with Service
  1919  //   Quotas is enabled in your organization.
  1920  //
  1921  //   * TemplatesNotAvailableInRegionException
  1922  //   The Service Quotas template is not available in this AWS Region.
  1923  //
  1924  //   * NoAvailableOrganizationException
  1925  //   The account making this call is not a member of an organization.
  1926  //
  1927  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplate
  1928  func (c *ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplate(input *PutServiceQuotaIncreaseRequestIntoTemplateInput) (*PutServiceQuotaIncreaseRequestIntoTemplateOutput, error) {
  1929  	req, out := c.PutServiceQuotaIncreaseRequestIntoTemplateRequest(input)
  1930  	return out, req.Send()
  1931  }
  1932  
  1933  // PutServiceQuotaIncreaseRequestIntoTemplateWithContext is the same as PutServiceQuotaIncreaseRequestIntoTemplate with the addition of
  1934  // the ability to pass a context and additional request options.
  1935  //
  1936  // See PutServiceQuotaIncreaseRequestIntoTemplate for details on how to use this API operation.
  1937  //
  1938  // The context must be non-nil and will be used for request cancellation. If
  1939  // the context is nil a panic will occur. In the future the SDK may create
  1940  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1941  // for more information on using Contexts.
  1942  func (c *ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplateWithContext(ctx aws.Context, input *PutServiceQuotaIncreaseRequestIntoTemplateInput, opts ...request.Option) (*PutServiceQuotaIncreaseRequestIntoTemplateOutput, error) {
  1943  	req, out := c.PutServiceQuotaIncreaseRequestIntoTemplateRequest(input)
  1944  	req.SetContext(ctx)
  1945  	req.ApplyOptions(opts...)
  1946  	return out, req.Send()
  1947  }
  1948  
  1949  const opRequestServiceQuotaIncrease = "RequestServiceQuotaIncrease"
  1950  
  1951  // RequestServiceQuotaIncreaseRequest generates a "aws/request.Request" representing the
  1952  // client's request for the RequestServiceQuotaIncrease operation. The "output" return
  1953  // value will be populated with the request's response once the request completes
  1954  // successfully.
  1955  //
  1956  // Use "Send" method on the returned Request to send the API call to the service.
  1957  // the "output" return value is not valid until after Send returns without error.
  1958  //
  1959  // See RequestServiceQuotaIncrease for more information on using the RequestServiceQuotaIncrease
  1960  // API call, and error handling.
  1961  //
  1962  // This method is useful when you want to inject custom logic or configuration
  1963  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1964  //
  1965  //
  1966  //    // Example sending a request using the RequestServiceQuotaIncreaseRequest method.
  1967  //    req, resp := client.RequestServiceQuotaIncreaseRequest(params)
  1968  //
  1969  //    err := req.Send()
  1970  //    if err == nil { // resp is now filled
  1971  //        fmt.Println(resp)
  1972  //    }
  1973  //
  1974  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncrease
  1975  func (c *ServiceQuotas) RequestServiceQuotaIncreaseRequest(input *RequestServiceQuotaIncreaseInput) (req *request.Request, output *RequestServiceQuotaIncreaseOutput) {
  1976  	op := &request.Operation{
  1977  		Name:       opRequestServiceQuotaIncrease,
  1978  		HTTPMethod: "POST",
  1979  		HTTPPath:   "/",
  1980  	}
  1981  
  1982  	if input == nil {
  1983  		input = &RequestServiceQuotaIncreaseInput{}
  1984  	}
  1985  
  1986  	output = &RequestServiceQuotaIncreaseOutput{}
  1987  	req = c.newRequest(op, input, output)
  1988  	return
  1989  }
  1990  
  1991  // RequestServiceQuotaIncrease API operation for Service Quotas.
  1992  //
  1993  // Submits a quota increase request for the specified quota.
  1994  //
  1995  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1996  // with awserr.Error's Code and Message methods to get detailed information about
  1997  // the error.
  1998  //
  1999  // See the AWS API reference guide for Service Quotas's
  2000  // API operation RequestServiceQuotaIncrease for usage and error information.
  2001  //
  2002  // Returned Error Types:
  2003  //   * DependencyAccessDeniedException
  2004  //   You can't perform this action because a dependency does not have access.
  2005  //
  2006  //   * QuotaExceededException
  2007  //   You have exceeded your service quota. To perform the requested action, remove
  2008  //   some of the relevant resources, or use Service Quotas to request a service
  2009  //   quota increase.
  2010  //
  2011  //   * ResourceAlreadyExistsException
  2012  //   The specified resource already exists.
  2013  //
  2014  //   * AccessDeniedException
  2015  //   You do not have sufficient permission to perform this action.
  2016  //
  2017  //   * NoSuchResourceException
  2018  //   The specified resource does not exist.
  2019  //
  2020  //   * IllegalArgumentException
  2021  //   Invalid input was provided.
  2022  //
  2023  //   * InvalidResourceStateException
  2024  //   The resource is in an invalid state.
  2025  //
  2026  //   * ServiceException
  2027  //   Something went wrong.
  2028  //
  2029  //   * TooManyRequestsException
  2030  //   Due to throttling, the request was denied. Slow down the rate of request
  2031  //   calls, or request an increase for this quota.
  2032  //
  2033  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncrease
  2034  func (c *ServiceQuotas) RequestServiceQuotaIncrease(input *RequestServiceQuotaIncreaseInput) (*RequestServiceQuotaIncreaseOutput, error) {
  2035  	req, out := c.RequestServiceQuotaIncreaseRequest(input)
  2036  	return out, req.Send()
  2037  }
  2038  
  2039  // RequestServiceQuotaIncreaseWithContext is the same as RequestServiceQuotaIncrease with the addition of
  2040  // the ability to pass a context and additional request options.
  2041  //
  2042  // See RequestServiceQuotaIncrease for details on how to use this API operation.
  2043  //
  2044  // The context must be non-nil and will be used for request cancellation. If
  2045  // the context is nil a panic will occur. In the future the SDK may create
  2046  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2047  // for more information on using Contexts.
  2048  func (c *ServiceQuotas) RequestServiceQuotaIncreaseWithContext(ctx aws.Context, input *RequestServiceQuotaIncreaseInput, opts ...request.Option) (*RequestServiceQuotaIncreaseOutput, error) {
  2049  	req, out := c.RequestServiceQuotaIncreaseRequest(input)
  2050  	req.SetContext(ctx)
  2051  	req.ApplyOptions(opts...)
  2052  	return out, req.Send()
  2053  }
  2054  
  2055  const opTagResource = "TagResource"
  2056  
  2057  // TagResourceRequest generates a "aws/request.Request" representing the
  2058  // client's request for the TagResource operation. The "output" return
  2059  // value will be populated with the request's response once the request completes
  2060  // successfully.
  2061  //
  2062  // Use "Send" method on the returned Request to send the API call to the service.
  2063  // the "output" return value is not valid until after Send returns without error.
  2064  //
  2065  // See TagResource for more information on using the TagResource
  2066  // API call, and error handling.
  2067  //
  2068  // This method is useful when you want to inject custom logic or configuration
  2069  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2070  //
  2071  //
  2072  //    // Example sending a request using the TagResourceRequest method.
  2073  //    req, resp := client.TagResourceRequest(params)
  2074  //
  2075  //    err := req.Send()
  2076  //    if err == nil { // resp is now filled
  2077  //        fmt.Println(resp)
  2078  //    }
  2079  //
  2080  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TagResource
  2081  func (c *ServiceQuotas) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
  2082  	op := &request.Operation{
  2083  		Name:       opTagResource,
  2084  		HTTPMethod: "POST",
  2085  		HTTPPath:   "/",
  2086  	}
  2087  
  2088  	if input == nil {
  2089  		input = &TagResourceInput{}
  2090  	}
  2091  
  2092  	output = &TagResourceOutput{}
  2093  	req = c.newRequest(op, input, output)
  2094  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2095  	return
  2096  }
  2097  
  2098  // TagResource API operation for Service Quotas.
  2099  //
  2100  // Adds tags to the specified applied quota. You can include one or more tags
  2101  // to add to the quota.
  2102  //
  2103  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2104  // with awserr.Error's Code and Message methods to get detailed information about
  2105  // the error.
  2106  //
  2107  // See the AWS API reference guide for Service Quotas's
  2108  // API operation TagResource for usage and error information.
  2109  //
  2110  // Returned Error Types:
  2111  //   * TooManyRequestsException
  2112  //   Due to throttling, the request was denied. Slow down the rate of request
  2113  //   calls, or request an increase for this quota.
  2114  //
  2115  //   * NoSuchResourceException
  2116  //   The specified resource does not exist.
  2117  //
  2118  //   * TooManyTagsException
  2119  //   You've exceeded the number of tags allowed for a resource. For more information,
  2120  //   see Tag restrictions (https://docs.aws.amazon.com/servicequotas/latest/userguide/sq-tagging.html#sq-tagging-restrictions)
  2121  //   in the Service Quotas User Guide.
  2122  //
  2123  //   * TagPolicyViolationException
  2124  //   The specified tag is a reserved word and cannot be used.
  2125  //
  2126  //   * IllegalArgumentException
  2127  //   Invalid input was provided.
  2128  //
  2129  //   * AccessDeniedException
  2130  //   You do not have sufficient permission to perform this action.
  2131  //
  2132  //   * ServiceException
  2133  //   Something went wrong.
  2134  //
  2135  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TagResource
  2136  func (c *ServiceQuotas) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
  2137  	req, out := c.TagResourceRequest(input)
  2138  	return out, req.Send()
  2139  }
  2140  
  2141  // TagResourceWithContext is the same as TagResource with the addition of
  2142  // the ability to pass a context and additional request options.
  2143  //
  2144  // See TagResource for details on how to use this API operation.
  2145  //
  2146  // The context must be non-nil and will be used for request cancellation. If
  2147  // the context is nil a panic will occur. In the future the SDK may create
  2148  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2149  // for more information on using Contexts.
  2150  func (c *ServiceQuotas) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
  2151  	req, out := c.TagResourceRequest(input)
  2152  	req.SetContext(ctx)
  2153  	req.ApplyOptions(opts...)
  2154  	return out, req.Send()
  2155  }
  2156  
  2157  const opUntagResource = "UntagResource"
  2158  
  2159  // UntagResourceRequest generates a "aws/request.Request" representing the
  2160  // client's request for the UntagResource operation. The "output" return
  2161  // value will be populated with the request's response once the request completes
  2162  // successfully.
  2163  //
  2164  // Use "Send" method on the returned Request to send the API call to the service.
  2165  // the "output" return value is not valid until after Send returns without error.
  2166  //
  2167  // See UntagResource for more information on using the UntagResource
  2168  // API call, and error handling.
  2169  //
  2170  // This method is useful when you want to inject custom logic or configuration
  2171  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2172  //
  2173  //
  2174  //    // Example sending a request using the UntagResourceRequest method.
  2175  //    req, resp := client.UntagResourceRequest(params)
  2176  //
  2177  //    err := req.Send()
  2178  //    if err == nil { // resp is now filled
  2179  //        fmt.Println(resp)
  2180  //    }
  2181  //
  2182  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UntagResource
  2183  func (c *ServiceQuotas) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
  2184  	op := &request.Operation{
  2185  		Name:       opUntagResource,
  2186  		HTTPMethod: "POST",
  2187  		HTTPPath:   "/",
  2188  	}
  2189  
  2190  	if input == nil {
  2191  		input = &UntagResourceInput{}
  2192  	}
  2193  
  2194  	output = &UntagResourceOutput{}
  2195  	req = c.newRequest(op, input, output)
  2196  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2197  	return
  2198  }
  2199  
  2200  // UntagResource API operation for Service Quotas.
  2201  //
  2202  // Removes tags from the specified applied quota. You can specify one or more
  2203  // tags to remove.
  2204  //
  2205  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2206  // with awserr.Error's Code and Message methods to get detailed information about
  2207  // the error.
  2208  //
  2209  // See the AWS API reference guide for Service Quotas's
  2210  // API operation UntagResource for usage and error information.
  2211  //
  2212  // Returned Error Types:
  2213  //   * TooManyRequestsException
  2214  //   Due to throttling, the request was denied. Slow down the rate of request
  2215  //   calls, or request an increase for this quota.
  2216  //
  2217  //   * NoSuchResourceException
  2218  //   The specified resource does not exist.
  2219  //
  2220  //   * IllegalArgumentException
  2221  //   Invalid input was provided.
  2222  //
  2223  //   * AccessDeniedException
  2224  //   You do not have sufficient permission to perform this action.
  2225  //
  2226  //   * ServiceException
  2227  //   Something went wrong.
  2228  //
  2229  // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UntagResource
  2230  func (c *ServiceQuotas) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
  2231  	req, out := c.UntagResourceRequest(input)
  2232  	return out, req.Send()
  2233  }
  2234  
  2235  // UntagResourceWithContext is the same as UntagResource with the addition of
  2236  // the ability to pass a context and additional request options.
  2237  //
  2238  // See UntagResource for details on how to use this API operation.
  2239  //
  2240  // The context must be non-nil and will be used for request cancellation. If
  2241  // the context is nil a panic will occur. In the future the SDK may create
  2242  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2243  // for more information on using Contexts.
  2244  func (c *ServiceQuotas) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
  2245  	req, out := c.UntagResourceRequest(input)
  2246  	req.SetContext(ctx)
  2247  	req.ApplyOptions(opts...)
  2248  	return out, req.Send()
  2249  }
  2250  
  2251  // The action you attempted is not allowed unless Service Access with Service
  2252  // Quotas is enabled in your organization.
  2253  type AWSServiceAccessNotEnabledException struct {
  2254  	_            struct{}                  `type:"structure"`
  2255  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  2256  
  2257  	Message_ *string `locationName:"Message" type:"string"`
  2258  }
  2259  
  2260  // String returns the string representation.
  2261  //
  2262  // API parameter values that are decorated as "sensitive" in the API will not
  2263  // be included in the string output. The member name will be present, but the
  2264  // value will be replaced with "sensitive".
  2265  func (s AWSServiceAccessNotEnabledException) String() string {
  2266  	return awsutil.Prettify(s)
  2267  }
  2268  
  2269  // GoString returns the string representation.
  2270  //
  2271  // API parameter values that are decorated as "sensitive" in the API will not
  2272  // be included in the string output. The member name will be present, but the
  2273  // value will be replaced with "sensitive".
  2274  func (s AWSServiceAccessNotEnabledException) GoString() string {
  2275  	return s.String()
  2276  }
  2277  
  2278  func newErrorAWSServiceAccessNotEnabledException(v protocol.ResponseMetadata) error {
  2279  	return &AWSServiceAccessNotEnabledException{
  2280  		RespMetadata: v,
  2281  	}
  2282  }
  2283  
  2284  // Code returns the exception type name.
  2285  func (s *AWSServiceAccessNotEnabledException) Code() string {
  2286  	return "AWSServiceAccessNotEnabledException"
  2287  }
  2288  
  2289  // Message returns the exception's message.
  2290  func (s *AWSServiceAccessNotEnabledException) Message() string {
  2291  	if s.Message_ != nil {
  2292  		return *s.Message_
  2293  	}
  2294  	return ""
  2295  }
  2296  
  2297  // OrigErr always returns nil, satisfies awserr.Error interface.
  2298  func (s *AWSServiceAccessNotEnabledException) OrigErr() error {
  2299  	return nil
  2300  }
  2301  
  2302  func (s *AWSServiceAccessNotEnabledException) Error() string {
  2303  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  2304  }
  2305  
  2306  // Status code returns the HTTP status code for the request's response error.
  2307  func (s *AWSServiceAccessNotEnabledException) StatusCode() int {
  2308  	return s.RespMetadata.StatusCode
  2309  }
  2310  
  2311  // RequestID returns the service's response RequestID for request.
  2312  func (s *AWSServiceAccessNotEnabledException) RequestID() string {
  2313  	return s.RespMetadata.RequestID
  2314  }
  2315  
  2316  // You do not have sufficient permission to perform this action.
  2317  type AccessDeniedException struct {
  2318  	_            struct{}                  `type:"structure"`
  2319  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  2320  
  2321  	Message_ *string `locationName:"Message" type:"string"`
  2322  }
  2323  
  2324  // String returns the string representation.
  2325  //
  2326  // API parameter values that are decorated as "sensitive" in the API will not
  2327  // be included in the string output. The member name will be present, but the
  2328  // value will be replaced with "sensitive".
  2329  func (s AccessDeniedException) String() string {
  2330  	return awsutil.Prettify(s)
  2331  }
  2332  
  2333  // GoString returns the string representation.
  2334  //
  2335  // API parameter values that are decorated as "sensitive" in the API will not
  2336  // be included in the string output. The member name will be present, but the
  2337  // value will be replaced with "sensitive".
  2338  func (s AccessDeniedException) GoString() string {
  2339  	return s.String()
  2340  }
  2341  
  2342  func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
  2343  	return &AccessDeniedException{
  2344  		RespMetadata: v,
  2345  	}
  2346  }
  2347  
  2348  // Code returns the exception type name.
  2349  func (s *AccessDeniedException) Code() string {
  2350  	return "AccessDeniedException"
  2351  }
  2352  
  2353  // Message returns the exception's message.
  2354  func (s *AccessDeniedException) Message() string {
  2355  	if s.Message_ != nil {
  2356  		return *s.Message_
  2357  	}
  2358  	return ""
  2359  }
  2360  
  2361  // OrigErr always returns nil, satisfies awserr.Error interface.
  2362  func (s *AccessDeniedException) OrigErr() error {
  2363  	return nil
  2364  }
  2365  
  2366  func (s *AccessDeniedException) Error() string {
  2367  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  2368  }
  2369  
  2370  // Status code returns the HTTP status code for the request's response error.
  2371  func (s *AccessDeniedException) StatusCode() int {
  2372  	return s.RespMetadata.StatusCode
  2373  }
  2374  
  2375  // RequestID returns the service's response RequestID for request.
  2376  func (s *AccessDeniedException) RequestID() string {
  2377  	return s.RespMetadata.RequestID
  2378  }
  2379  
  2380  type AssociateServiceQuotaTemplateInput struct {
  2381  	_ struct{} `type:"structure"`
  2382  }
  2383  
  2384  // String returns the string representation.
  2385  //
  2386  // API parameter values that are decorated as "sensitive" in the API will not
  2387  // be included in the string output. The member name will be present, but the
  2388  // value will be replaced with "sensitive".
  2389  func (s AssociateServiceQuotaTemplateInput) String() string {
  2390  	return awsutil.Prettify(s)
  2391  }
  2392  
  2393  // GoString returns the string representation.
  2394  //
  2395  // API parameter values that are decorated as "sensitive" in the API will not
  2396  // be included in the string output. The member name will be present, but the
  2397  // value will be replaced with "sensitive".
  2398  func (s AssociateServiceQuotaTemplateInput) GoString() string {
  2399  	return s.String()
  2400  }
  2401  
  2402  type AssociateServiceQuotaTemplateOutput struct {
  2403  	_ struct{} `type:"structure"`
  2404  }
  2405  
  2406  // String returns the string representation.
  2407  //
  2408  // API parameter values that are decorated as "sensitive" in the API will not
  2409  // be included in the string output. The member name will be present, but the
  2410  // value will be replaced with "sensitive".
  2411  func (s AssociateServiceQuotaTemplateOutput) String() string {
  2412  	return awsutil.Prettify(s)
  2413  }
  2414  
  2415  // GoString returns the string representation.
  2416  //
  2417  // API parameter values that are decorated as "sensitive" in the API will not
  2418  // be included in the string output. The member name will be present, but the
  2419  // value will be replaced with "sensitive".
  2420  func (s AssociateServiceQuotaTemplateOutput) GoString() string {
  2421  	return s.String()
  2422  }
  2423  
  2424  type DeleteServiceQuotaIncreaseRequestFromTemplateInput struct {
  2425  	_ struct{} `type:"structure"`
  2426  
  2427  	// The AWS Region.
  2428  	//
  2429  	// AwsRegion is a required field
  2430  	AwsRegion *string `min:"1" type:"string" required:"true"`
  2431  
  2432  	// The quota identifier.
  2433  	//
  2434  	// QuotaCode is a required field
  2435  	QuotaCode *string `min:"1" type:"string" required:"true"`
  2436  
  2437  	// The service identifier.
  2438  	//
  2439  	// ServiceCode is a required field
  2440  	ServiceCode *string `min:"1" type:"string" required:"true"`
  2441  }
  2442  
  2443  // String returns the string representation.
  2444  //
  2445  // API parameter values that are decorated as "sensitive" in the API will not
  2446  // be included in the string output. The member name will be present, but the
  2447  // value will be replaced with "sensitive".
  2448  func (s DeleteServiceQuotaIncreaseRequestFromTemplateInput) String() string {
  2449  	return awsutil.Prettify(s)
  2450  }
  2451  
  2452  // GoString returns the string representation.
  2453  //
  2454  // API parameter values that are decorated as "sensitive" in the API will not
  2455  // be included in the string output. The member name will be present, but the
  2456  // value will be replaced with "sensitive".
  2457  func (s DeleteServiceQuotaIncreaseRequestFromTemplateInput) GoString() string {
  2458  	return s.String()
  2459  }
  2460  
  2461  // Validate inspects the fields of the type to determine if they are valid.
  2462  func (s *DeleteServiceQuotaIncreaseRequestFromTemplateInput) Validate() error {
  2463  	invalidParams := request.ErrInvalidParams{Context: "DeleteServiceQuotaIncreaseRequestFromTemplateInput"}
  2464  	if s.AwsRegion == nil {
  2465  		invalidParams.Add(request.NewErrParamRequired("AwsRegion"))
  2466  	}
  2467  	if s.AwsRegion != nil && len(*s.AwsRegion) < 1 {
  2468  		invalidParams.Add(request.NewErrParamMinLen("AwsRegion", 1))
  2469  	}
  2470  	if s.QuotaCode == nil {
  2471  		invalidParams.Add(request.NewErrParamRequired("QuotaCode"))
  2472  	}
  2473  	if s.QuotaCode != nil && len(*s.QuotaCode) < 1 {
  2474  		invalidParams.Add(request.NewErrParamMinLen("QuotaCode", 1))
  2475  	}
  2476  	if s.ServiceCode == nil {
  2477  		invalidParams.Add(request.NewErrParamRequired("ServiceCode"))
  2478  	}
  2479  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  2480  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  2481  	}
  2482  
  2483  	if invalidParams.Len() > 0 {
  2484  		return invalidParams
  2485  	}
  2486  	return nil
  2487  }
  2488  
  2489  // SetAwsRegion sets the AwsRegion field's value.
  2490  func (s *DeleteServiceQuotaIncreaseRequestFromTemplateInput) SetAwsRegion(v string) *DeleteServiceQuotaIncreaseRequestFromTemplateInput {
  2491  	s.AwsRegion = &v
  2492  	return s
  2493  }
  2494  
  2495  // SetQuotaCode sets the QuotaCode field's value.
  2496  func (s *DeleteServiceQuotaIncreaseRequestFromTemplateInput) SetQuotaCode(v string) *DeleteServiceQuotaIncreaseRequestFromTemplateInput {
  2497  	s.QuotaCode = &v
  2498  	return s
  2499  }
  2500  
  2501  // SetServiceCode sets the ServiceCode field's value.
  2502  func (s *DeleteServiceQuotaIncreaseRequestFromTemplateInput) SetServiceCode(v string) *DeleteServiceQuotaIncreaseRequestFromTemplateInput {
  2503  	s.ServiceCode = &v
  2504  	return s
  2505  }
  2506  
  2507  type DeleteServiceQuotaIncreaseRequestFromTemplateOutput struct {
  2508  	_ struct{} `type:"structure"`
  2509  }
  2510  
  2511  // String returns the string representation.
  2512  //
  2513  // API parameter values that are decorated as "sensitive" in the API will not
  2514  // be included in the string output. The member name will be present, but the
  2515  // value will be replaced with "sensitive".
  2516  func (s DeleteServiceQuotaIncreaseRequestFromTemplateOutput) String() string {
  2517  	return awsutil.Prettify(s)
  2518  }
  2519  
  2520  // GoString returns the string representation.
  2521  //
  2522  // API parameter values that are decorated as "sensitive" in the API will not
  2523  // be included in the string output. The member name will be present, but the
  2524  // value will be replaced with "sensitive".
  2525  func (s DeleteServiceQuotaIncreaseRequestFromTemplateOutput) GoString() string {
  2526  	return s.String()
  2527  }
  2528  
  2529  // You can't perform this action because a dependency does not have access.
  2530  type DependencyAccessDeniedException struct {
  2531  	_            struct{}                  `type:"structure"`
  2532  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  2533  
  2534  	Message_ *string `locationName:"Message" type:"string"`
  2535  }
  2536  
  2537  // String returns the string representation.
  2538  //
  2539  // API parameter values that are decorated as "sensitive" in the API will not
  2540  // be included in the string output. The member name will be present, but the
  2541  // value will be replaced with "sensitive".
  2542  func (s DependencyAccessDeniedException) String() string {
  2543  	return awsutil.Prettify(s)
  2544  }
  2545  
  2546  // GoString returns the string representation.
  2547  //
  2548  // API parameter values that are decorated as "sensitive" in the API will not
  2549  // be included in the string output. The member name will be present, but the
  2550  // value will be replaced with "sensitive".
  2551  func (s DependencyAccessDeniedException) GoString() string {
  2552  	return s.String()
  2553  }
  2554  
  2555  func newErrorDependencyAccessDeniedException(v protocol.ResponseMetadata) error {
  2556  	return &DependencyAccessDeniedException{
  2557  		RespMetadata: v,
  2558  	}
  2559  }
  2560  
  2561  // Code returns the exception type name.
  2562  func (s *DependencyAccessDeniedException) Code() string {
  2563  	return "DependencyAccessDeniedException"
  2564  }
  2565  
  2566  // Message returns the exception's message.
  2567  func (s *DependencyAccessDeniedException) Message() string {
  2568  	if s.Message_ != nil {
  2569  		return *s.Message_
  2570  	}
  2571  	return ""
  2572  }
  2573  
  2574  // OrigErr always returns nil, satisfies awserr.Error interface.
  2575  func (s *DependencyAccessDeniedException) OrigErr() error {
  2576  	return nil
  2577  }
  2578  
  2579  func (s *DependencyAccessDeniedException) Error() string {
  2580  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  2581  }
  2582  
  2583  // Status code returns the HTTP status code for the request's response error.
  2584  func (s *DependencyAccessDeniedException) StatusCode() int {
  2585  	return s.RespMetadata.StatusCode
  2586  }
  2587  
  2588  // RequestID returns the service's response RequestID for request.
  2589  func (s *DependencyAccessDeniedException) RequestID() string {
  2590  	return s.RespMetadata.RequestID
  2591  }
  2592  
  2593  type DisassociateServiceQuotaTemplateInput struct {
  2594  	_ struct{} `type:"structure"`
  2595  }
  2596  
  2597  // String returns the string representation.
  2598  //
  2599  // API parameter values that are decorated as "sensitive" in the API will not
  2600  // be included in the string output. The member name will be present, but the
  2601  // value will be replaced with "sensitive".
  2602  func (s DisassociateServiceQuotaTemplateInput) String() string {
  2603  	return awsutil.Prettify(s)
  2604  }
  2605  
  2606  // GoString returns the string representation.
  2607  //
  2608  // API parameter values that are decorated as "sensitive" in the API will not
  2609  // be included in the string output. The member name will be present, but the
  2610  // value will be replaced with "sensitive".
  2611  func (s DisassociateServiceQuotaTemplateInput) GoString() string {
  2612  	return s.String()
  2613  }
  2614  
  2615  type DisassociateServiceQuotaTemplateOutput struct {
  2616  	_ struct{} `type:"structure"`
  2617  }
  2618  
  2619  // String returns the string representation.
  2620  //
  2621  // API parameter values that are decorated as "sensitive" in the API will not
  2622  // be included in the string output. The member name will be present, but the
  2623  // value will be replaced with "sensitive".
  2624  func (s DisassociateServiceQuotaTemplateOutput) String() string {
  2625  	return awsutil.Prettify(s)
  2626  }
  2627  
  2628  // GoString returns the string representation.
  2629  //
  2630  // API parameter values that are decorated as "sensitive" in the API will not
  2631  // be included in the string output. The member name will be present, but the
  2632  // value will be replaced with "sensitive".
  2633  func (s DisassociateServiceQuotaTemplateOutput) GoString() string {
  2634  	return s.String()
  2635  }
  2636  
  2637  // An error that explains why an action did not succeed.
  2638  type ErrorReason struct {
  2639  	_ struct{} `type:"structure"`
  2640  
  2641  	// Service Quotas returns the following error values:
  2642  	//
  2643  	//    * DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required
  2644  	//    permissions to complete the action. To resolve the error, you must have
  2645  	//    permission to access the service or quota.
  2646  	//
  2647  	//    * DEPENDENCY_THROTTLING_ERROR - The service is throttling Service Quotas.
  2648  	//
  2649  	//    * DEPENDENCY_SERVICE_ERROR - The service is not available.
  2650  	//
  2651  	//    * SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.
  2652  	ErrorCode *string `type:"string" enum:"ErrorCode"`
  2653  
  2654  	// The error message.
  2655  	ErrorMessage *string `type:"string"`
  2656  }
  2657  
  2658  // String returns the string representation.
  2659  //
  2660  // API parameter values that are decorated as "sensitive" in the API will not
  2661  // be included in the string output. The member name will be present, but the
  2662  // value will be replaced with "sensitive".
  2663  func (s ErrorReason) String() string {
  2664  	return awsutil.Prettify(s)
  2665  }
  2666  
  2667  // GoString returns the string representation.
  2668  //
  2669  // API parameter values that are decorated as "sensitive" in the API will not
  2670  // be included in the string output. The member name will be present, but the
  2671  // value will be replaced with "sensitive".
  2672  func (s ErrorReason) GoString() string {
  2673  	return s.String()
  2674  }
  2675  
  2676  // SetErrorCode sets the ErrorCode field's value.
  2677  func (s *ErrorReason) SetErrorCode(v string) *ErrorReason {
  2678  	s.ErrorCode = &v
  2679  	return s
  2680  }
  2681  
  2682  // SetErrorMessage sets the ErrorMessage field's value.
  2683  func (s *ErrorReason) SetErrorMessage(v string) *ErrorReason {
  2684  	s.ErrorMessage = &v
  2685  	return s
  2686  }
  2687  
  2688  type GetAWSDefaultServiceQuotaInput struct {
  2689  	_ struct{} `type:"structure"`
  2690  
  2691  	// The quota identifier.
  2692  	//
  2693  	// QuotaCode is a required field
  2694  	QuotaCode *string `min:"1" type:"string" required:"true"`
  2695  
  2696  	// The service identifier.
  2697  	//
  2698  	// ServiceCode is a required field
  2699  	ServiceCode *string `min:"1" type:"string" required:"true"`
  2700  }
  2701  
  2702  // String returns the string representation.
  2703  //
  2704  // API parameter values that are decorated as "sensitive" in the API will not
  2705  // be included in the string output. The member name will be present, but the
  2706  // value will be replaced with "sensitive".
  2707  func (s GetAWSDefaultServiceQuotaInput) String() string {
  2708  	return awsutil.Prettify(s)
  2709  }
  2710  
  2711  // GoString returns the string representation.
  2712  //
  2713  // API parameter values that are decorated as "sensitive" in the API will not
  2714  // be included in the string output. The member name will be present, but the
  2715  // value will be replaced with "sensitive".
  2716  func (s GetAWSDefaultServiceQuotaInput) GoString() string {
  2717  	return s.String()
  2718  }
  2719  
  2720  // Validate inspects the fields of the type to determine if they are valid.
  2721  func (s *GetAWSDefaultServiceQuotaInput) Validate() error {
  2722  	invalidParams := request.ErrInvalidParams{Context: "GetAWSDefaultServiceQuotaInput"}
  2723  	if s.QuotaCode == nil {
  2724  		invalidParams.Add(request.NewErrParamRequired("QuotaCode"))
  2725  	}
  2726  	if s.QuotaCode != nil && len(*s.QuotaCode) < 1 {
  2727  		invalidParams.Add(request.NewErrParamMinLen("QuotaCode", 1))
  2728  	}
  2729  	if s.ServiceCode == nil {
  2730  		invalidParams.Add(request.NewErrParamRequired("ServiceCode"))
  2731  	}
  2732  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  2733  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  2734  	}
  2735  
  2736  	if invalidParams.Len() > 0 {
  2737  		return invalidParams
  2738  	}
  2739  	return nil
  2740  }
  2741  
  2742  // SetQuotaCode sets the QuotaCode field's value.
  2743  func (s *GetAWSDefaultServiceQuotaInput) SetQuotaCode(v string) *GetAWSDefaultServiceQuotaInput {
  2744  	s.QuotaCode = &v
  2745  	return s
  2746  }
  2747  
  2748  // SetServiceCode sets the ServiceCode field's value.
  2749  func (s *GetAWSDefaultServiceQuotaInput) SetServiceCode(v string) *GetAWSDefaultServiceQuotaInput {
  2750  	s.ServiceCode = &v
  2751  	return s
  2752  }
  2753  
  2754  type GetAWSDefaultServiceQuotaOutput struct {
  2755  	_ struct{} `type:"structure"`
  2756  
  2757  	// Information about the quota.
  2758  	Quota *ServiceQuota `type:"structure"`
  2759  }
  2760  
  2761  // String returns the string representation.
  2762  //
  2763  // API parameter values that are decorated as "sensitive" in the API will not
  2764  // be included in the string output. The member name will be present, but the
  2765  // value will be replaced with "sensitive".
  2766  func (s GetAWSDefaultServiceQuotaOutput) String() string {
  2767  	return awsutil.Prettify(s)
  2768  }
  2769  
  2770  // GoString returns the string representation.
  2771  //
  2772  // API parameter values that are decorated as "sensitive" in the API will not
  2773  // be included in the string output. The member name will be present, but the
  2774  // value will be replaced with "sensitive".
  2775  func (s GetAWSDefaultServiceQuotaOutput) GoString() string {
  2776  	return s.String()
  2777  }
  2778  
  2779  // SetQuota sets the Quota field's value.
  2780  func (s *GetAWSDefaultServiceQuotaOutput) SetQuota(v *ServiceQuota) *GetAWSDefaultServiceQuotaOutput {
  2781  	s.Quota = v
  2782  	return s
  2783  }
  2784  
  2785  type GetAssociationForServiceQuotaTemplateInput struct {
  2786  	_ struct{} `type:"structure"`
  2787  }
  2788  
  2789  // String returns the string representation.
  2790  //
  2791  // API parameter values that are decorated as "sensitive" in the API will not
  2792  // be included in the string output. The member name will be present, but the
  2793  // value will be replaced with "sensitive".
  2794  func (s GetAssociationForServiceQuotaTemplateInput) String() string {
  2795  	return awsutil.Prettify(s)
  2796  }
  2797  
  2798  // GoString returns the string representation.
  2799  //
  2800  // API parameter values that are decorated as "sensitive" in the API will not
  2801  // be included in the string output. The member name will be present, but the
  2802  // value will be replaced with "sensitive".
  2803  func (s GetAssociationForServiceQuotaTemplateInput) GoString() string {
  2804  	return s.String()
  2805  }
  2806  
  2807  type GetAssociationForServiceQuotaTemplateOutput struct {
  2808  	_ struct{} `type:"structure"`
  2809  
  2810  	// The association status. If the status is ASSOCIATED, the quota increase requests
  2811  	// in the template are automatically applied to new accounts in your organization.
  2812  	ServiceQuotaTemplateAssociationStatus *string `type:"string" enum:"ServiceQuotaTemplateAssociationStatus"`
  2813  }
  2814  
  2815  // String returns the string representation.
  2816  //
  2817  // API parameter values that are decorated as "sensitive" in the API will not
  2818  // be included in the string output. The member name will be present, but the
  2819  // value will be replaced with "sensitive".
  2820  func (s GetAssociationForServiceQuotaTemplateOutput) String() string {
  2821  	return awsutil.Prettify(s)
  2822  }
  2823  
  2824  // GoString returns the string representation.
  2825  //
  2826  // API parameter values that are decorated as "sensitive" in the API will not
  2827  // be included in the string output. The member name will be present, but the
  2828  // value will be replaced with "sensitive".
  2829  func (s GetAssociationForServiceQuotaTemplateOutput) GoString() string {
  2830  	return s.String()
  2831  }
  2832  
  2833  // SetServiceQuotaTemplateAssociationStatus sets the ServiceQuotaTemplateAssociationStatus field's value.
  2834  func (s *GetAssociationForServiceQuotaTemplateOutput) SetServiceQuotaTemplateAssociationStatus(v string) *GetAssociationForServiceQuotaTemplateOutput {
  2835  	s.ServiceQuotaTemplateAssociationStatus = &v
  2836  	return s
  2837  }
  2838  
  2839  type GetRequestedServiceQuotaChangeInput struct {
  2840  	_ struct{} `type:"structure"`
  2841  
  2842  	// The ID of the quota increase request.
  2843  	//
  2844  	// RequestId is a required field
  2845  	RequestId *string `min:"1" type:"string" required:"true"`
  2846  }
  2847  
  2848  // String returns the string representation.
  2849  //
  2850  // API parameter values that are decorated as "sensitive" in the API will not
  2851  // be included in the string output. The member name will be present, but the
  2852  // value will be replaced with "sensitive".
  2853  func (s GetRequestedServiceQuotaChangeInput) String() string {
  2854  	return awsutil.Prettify(s)
  2855  }
  2856  
  2857  // GoString returns the string representation.
  2858  //
  2859  // API parameter values that are decorated as "sensitive" in the API will not
  2860  // be included in the string output. The member name will be present, but the
  2861  // value will be replaced with "sensitive".
  2862  func (s GetRequestedServiceQuotaChangeInput) GoString() string {
  2863  	return s.String()
  2864  }
  2865  
  2866  // Validate inspects the fields of the type to determine if they are valid.
  2867  func (s *GetRequestedServiceQuotaChangeInput) Validate() error {
  2868  	invalidParams := request.ErrInvalidParams{Context: "GetRequestedServiceQuotaChangeInput"}
  2869  	if s.RequestId == nil {
  2870  		invalidParams.Add(request.NewErrParamRequired("RequestId"))
  2871  	}
  2872  	if s.RequestId != nil && len(*s.RequestId) < 1 {
  2873  		invalidParams.Add(request.NewErrParamMinLen("RequestId", 1))
  2874  	}
  2875  
  2876  	if invalidParams.Len() > 0 {
  2877  		return invalidParams
  2878  	}
  2879  	return nil
  2880  }
  2881  
  2882  // SetRequestId sets the RequestId field's value.
  2883  func (s *GetRequestedServiceQuotaChangeInput) SetRequestId(v string) *GetRequestedServiceQuotaChangeInput {
  2884  	s.RequestId = &v
  2885  	return s
  2886  }
  2887  
  2888  type GetRequestedServiceQuotaChangeOutput struct {
  2889  	_ struct{} `type:"structure"`
  2890  
  2891  	// Information about the quota increase request.
  2892  	RequestedQuota *RequestedServiceQuotaChange `type:"structure"`
  2893  }
  2894  
  2895  // String returns the string representation.
  2896  //
  2897  // API parameter values that are decorated as "sensitive" in the API will not
  2898  // be included in the string output. The member name will be present, but the
  2899  // value will be replaced with "sensitive".
  2900  func (s GetRequestedServiceQuotaChangeOutput) String() string {
  2901  	return awsutil.Prettify(s)
  2902  }
  2903  
  2904  // GoString returns the string representation.
  2905  //
  2906  // API parameter values that are decorated as "sensitive" in the API will not
  2907  // be included in the string output. The member name will be present, but the
  2908  // value will be replaced with "sensitive".
  2909  func (s GetRequestedServiceQuotaChangeOutput) GoString() string {
  2910  	return s.String()
  2911  }
  2912  
  2913  // SetRequestedQuota sets the RequestedQuota field's value.
  2914  func (s *GetRequestedServiceQuotaChangeOutput) SetRequestedQuota(v *RequestedServiceQuotaChange) *GetRequestedServiceQuotaChangeOutput {
  2915  	s.RequestedQuota = v
  2916  	return s
  2917  }
  2918  
  2919  type GetServiceQuotaIncreaseRequestFromTemplateInput struct {
  2920  	_ struct{} `type:"structure"`
  2921  
  2922  	// The AWS Region.
  2923  	//
  2924  	// AwsRegion is a required field
  2925  	AwsRegion *string `min:"1" type:"string" required:"true"`
  2926  
  2927  	// The quota identifier.
  2928  	//
  2929  	// QuotaCode is a required field
  2930  	QuotaCode *string `min:"1" type:"string" required:"true"`
  2931  
  2932  	// The service identifier.
  2933  	//
  2934  	// ServiceCode is a required field
  2935  	ServiceCode *string `min:"1" type:"string" required:"true"`
  2936  }
  2937  
  2938  // String returns the string representation.
  2939  //
  2940  // API parameter values that are decorated as "sensitive" in the API will not
  2941  // be included in the string output. The member name will be present, but the
  2942  // value will be replaced with "sensitive".
  2943  func (s GetServiceQuotaIncreaseRequestFromTemplateInput) String() string {
  2944  	return awsutil.Prettify(s)
  2945  }
  2946  
  2947  // GoString returns the string representation.
  2948  //
  2949  // API parameter values that are decorated as "sensitive" in the API will not
  2950  // be included in the string output. The member name will be present, but the
  2951  // value will be replaced with "sensitive".
  2952  func (s GetServiceQuotaIncreaseRequestFromTemplateInput) GoString() string {
  2953  	return s.String()
  2954  }
  2955  
  2956  // Validate inspects the fields of the type to determine if they are valid.
  2957  func (s *GetServiceQuotaIncreaseRequestFromTemplateInput) Validate() error {
  2958  	invalidParams := request.ErrInvalidParams{Context: "GetServiceQuotaIncreaseRequestFromTemplateInput"}
  2959  	if s.AwsRegion == nil {
  2960  		invalidParams.Add(request.NewErrParamRequired("AwsRegion"))
  2961  	}
  2962  	if s.AwsRegion != nil && len(*s.AwsRegion) < 1 {
  2963  		invalidParams.Add(request.NewErrParamMinLen("AwsRegion", 1))
  2964  	}
  2965  	if s.QuotaCode == nil {
  2966  		invalidParams.Add(request.NewErrParamRequired("QuotaCode"))
  2967  	}
  2968  	if s.QuotaCode != nil && len(*s.QuotaCode) < 1 {
  2969  		invalidParams.Add(request.NewErrParamMinLen("QuotaCode", 1))
  2970  	}
  2971  	if s.ServiceCode == nil {
  2972  		invalidParams.Add(request.NewErrParamRequired("ServiceCode"))
  2973  	}
  2974  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  2975  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  2976  	}
  2977  
  2978  	if invalidParams.Len() > 0 {
  2979  		return invalidParams
  2980  	}
  2981  	return nil
  2982  }
  2983  
  2984  // SetAwsRegion sets the AwsRegion field's value.
  2985  func (s *GetServiceQuotaIncreaseRequestFromTemplateInput) SetAwsRegion(v string) *GetServiceQuotaIncreaseRequestFromTemplateInput {
  2986  	s.AwsRegion = &v
  2987  	return s
  2988  }
  2989  
  2990  // SetQuotaCode sets the QuotaCode field's value.
  2991  func (s *GetServiceQuotaIncreaseRequestFromTemplateInput) SetQuotaCode(v string) *GetServiceQuotaIncreaseRequestFromTemplateInput {
  2992  	s.QuotaCode = &v
  2993  	return s
  2994  }
  2995  
  2996  // SetServiceCode sets the ServiceCode field's value.
  2997  func (s *GetServiceQuotaIncreaseRequestFromTemplateInput) SetServiceCode(v string) *GetServiceQuotaIncreaseRequestFromTemplateInput {
  2998  	s.ServiceCode = &v
  2999  	return s
  3000  }
  3001  
  3002  type GetServiceQuotaIncreaseRequestFromTemplateOutput struct {
  3003  	_ struct{} `type:"structure"`
  3004  
  3005  	// Information about the quota increase request.
  3006  	ServiceQuotaIncreaseRequestInTemplate *ServiceQuotaIncreaseRequestInTemplate `type:"structure"`
  3007  }
  3008  
  3009  // String returns the string representation.
  3010  //
  3011  // API parameter values that are decorated as "sensitive" in the API will not
  3012  // be included in the string output. The member name will be present, but the
  3013  // value will be replaced with "sensitive".
  3014  func (s GetServiceQuotaIncreaseRequestFromTemplateOutput) String() string {
  3015  	return awsutil.Prettify(s)
  3016  }
  3017  
  3018  // GoString returns the string representation.
  3019  //
  3020  // API parameter values that are decorated as "sensitive" in the API will not
  3021  // be included in the string output. The member name will be present, but the
  3022  // value will be replaced with "sensitive".
  3023  func (s GetServiceQuotaIncreaseRequestFromTemplateOutput) GoString() string {
  3024  	return s.String()
  3025  }
  3026  
  3027  // SetServiceQuotaIncreaseRequestInTemplate sets the ServiceQuotaIncreaseRequestInTemplate field's value.
  3028  func (s *GetServiceQuotaIncreaseRequestFromTemplateOutput) SetServiceQuotaIncreaseRequestInTemplate(v *ServiceQuotaIncreaseRequestInTemplate) *GetServiceQuotaIncreaseRequestFromTemplateOutput {
  3029  	s.ServiceQuotaIncreaseRequestInTemplate = v
  3030  	return s
  3031  }
  3032  
  3033  type GetServiceQuotaInput struct {
  3034  	_ struct{} `type:"structure"`
  3035  
  3036  	// The quota identifier.
  3037  	//
  3038  	// QuotaCode is a required field
  3039  	QuotaCode *string `min:"1" type:"string" required:"true"`
  3040  
  3041  	// The service identifier.
  3042  	//
  3043  	// ServiceCode is a required field
  3044  	ServiceCode *string `min:"1" type:"string" required:"true"`
  3045  }
  3046  
  3047  // String returns the string representation.
  3048  //
  3049  // API parameter values that are decorated as "sensitive" in the API will not
  3050  // be included in the string output. The member name will be present, but the
  3051  // value will be replaced with "sensitive".
  3052  func (s GetServiceQuotaInput) String() string {
  3053  	return awsutil.Prettify(s)
  3054  }
  3055  
  3056  // GoString returns the string representation.
  3057  //
  3058  // API parameter values that are decorated as "sensitive" in the API will not
  3059  // be included in the string output. The member name will be present, but the
  3060  // value will be replaced with "sensitive".
  3061  func (s GetServiceQuotaInput) GoString() string {
  3062  	return s.String()
  3063  }
  3064  
  3065  // Validate inspects the fields of the type to determine if they are valid.
  3066  func (s *GetServiceQuotaInput) Validate() error {
  3067  	invalidParams := request.ErrInvalidParams{Context: "GetServiceQuotaInput"}
  3068  	if s.QuotaCode == nil {
  3069  		invalidParams.Add(request.NewErrParamRequired("QuotaCode"))
  3070  	}
  3071  	if s.QuotaCode != nil && len(*s.QuotaCode) < 1 {
  3072  		invalidParams.Add(request.NewErrParamMinLen("QuotaCode", 1))
  3073  	}
  3074  	if s.ServiceCode == nil {
  3075  		invalidParams.Add(request.NewErrParamRequired("ServiceCode"))
  3076  	}
  3077  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  3078  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  3079  	}
  3080  
  3081  	if invalidParams.Len() > 0 {
  3082  		return invalidParams
  3083  	}
  3084  	return nil
  3085  }
  3086  
  3087  // SetQuotaCode sets the QuotaCode field's value.
  3088  func (s *GetServiceQuotaInput) SetQuotaCode(v string) *GetServiceQuotaInput {
  3089  	s.QuotaCode = &v
  3090  	return s
  3091  }
  3092  
  3093  // SetServiceCode sets the ServiceCode field's value.
  3094  func (s *GetServiceQuotaInput) SetServiceCode(v string) *GetServiceQuotaInput {
  3095  	s.ServiceCode = &v
  3096  	return s
  3097  }
  3098  
  3099  type GetServiceQuotaOutput struct {
  3100  	_ struct{} `type:"structure"`
  3101  
  3102  	// Information about the quota.
  3103  	Quota *ServiceQuota `type:"structure"`
  3104  }
  3105  
  3106  // String returns the string representation.
  3107  //
  3108  // API parameter values that are decorated as "sensitive" in the API will not
  3109  // be included in the string output. The member name will be present, but the
  3110  // value will be replaced with "sensitive".
  3111  func (s GetServiceQuotaOutput) String() string {
  3112  	return awsutil.Prettify(s)
  3113  }
  3114  
  3115  // GoString returns the string representation.
  3116  //
  3117  // API parameter values that are decorated as "sensitive" in the API will not
  3118  // be included in the string output. The member name will be present, but the
  3119  // value will be replaced with "sensitive".
  3120  func (s GetServiceQuotaOutput) GoString() string {
  3121  	return s.String()
  3122  }
  3123  
  3124  // SetQuota sets the Quota field's value.
  3125  func (s *GetServiceQuotaOutput) SetQuota(v *ServiceQuota) *GetServiceQuotaOutput {
  3126  	s.Quota = v
  3127  	return s
  3128  }
  3129  
  3130  // Invalid input was provided.
  3131  type IllegalArgumentException struct {
  3132  	_            struct{}                  `type:"structure"`
  3133  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  3134  
  3135  	Message_ *string `locationName:"Message" type:"string"`
  3136  }
  3137  
  3138  // String returns the string representation.
  3139  //
  3140  // API parameter values that are decorated as "sensitive" in the API will not
  3141  // be included in the string output. The member name will be present, but the
  3142  // value will be replaced with "sensitive".
  3143  func (s IllegalArgumentException) String() string {
  3144  	return awsutil.Prettify(s)
  3145  }
  3146  
  3147  // GoString returns the string representation.
  3148  //
  3149  // API parameter values that are decorated as "sensitive" in the API will not
  3150  // be included in the string output. The member name will be present, but the
  3151  // value will be replaced with "sensitive".
  3152  func (s IllegalArgumentException) GoString() string {
  3153  	return s.String()
  3154  }
  3155  
  3156  func newErrorIllegalArgumentException(v protocol.ResponseMetadata) error {
  3157  	return &IllegalArgumentException{
  3158  		RespMetadata: v,
  3159  	}
  3160  }
  3161  
  3162  // Code returns the exception type name.
  3163  func (s *IllegalArgumentException) Code() string {
  3164  	return "IllegalArgumentException"
  3165  }
  3166  
  3167  // Message returns the exception's message.
  3168  func (s *IllegalArgumentException) Message() string {
  3169  	if s.Message_ != nil {
  3170  		return *s.Message_
  3171  	}
  3172  	return ""
  3173  }
  3174  
  3175  // OrigErr always returns nil, satisfies awserr.Error interface.
  3176  func (s *IllegalArgumentException) OrigErr() error {
  3177  	return nil
  3178  }
  3179  
  3180  func (s *IllegalArgumentException) Error() string {
  3181  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  3182  }
  3183  
  3184  // Status code returns the HTTP status code for the request's response error.
  3185  func (s *IllegalArgumentException) StatusCode() int {
  3186  	return s.RespMetadata.StatusCode
  3187  }
  3188  
  3189  // RequestID returns the service's response RequestID for request.
  3190  func (s *IllegalArgumentException) RequestID() string {
  3191  	return s.RespMetadata.RequestID
  3192  }
  3193  
  3194  // Invalid input was provided.
  3195  type InvalidPaginationTokenException struct {
  3196  	_            struct{}                  `type:"structure"`
  3197  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  3198  
  3199  	Message_ *string `locationName:"Message" type:"string"`
  3200  }
  3201  
  3202  // String returns the string representation.
  3203  //
  3204  // API parameter values that are decorated as "sensitive" in the API will not
  3205  // be included in the string output. The member name will be present, but the
  3206  // value will be replaced with "sensitive".
  3207  func (s InvalidPaginationTokenException) String() string {
  3208  	return awsutil.Prettify(s)
  3209  }
  3210  
  3211  // GoString returns the string representation.
  3212  //
  3213  // API parameter values that are decorated as "sensitive" in the API will not
  3214  // be included in the string output. The member name will be present, but the
  3215  // value will be replaced with "sensitive".
  3216  func (s InvalidPaginationTokenException) GoString() string {
  3217  	return s.String()
  3218  }
  3219  
  3220  func newErrorInvalidPaginationTokenException(v protocol.ResponseMetadata) error {
  3221  	return &InvalidPaginationTokenException{
  3222  		RespMetadata: v,
  3223  	}
  3224  }
  3225  
  3226  // Code returns the exception type name.
  3227  func (s *InvalidPaginationTokenException) Code() string {
  3228  	return "InvalidPaginationTokenException"
  3229  }
  3230  
  3231  // Message returns the exception's message.
  3232  func (s *InvalidPaginationTokenException) Message() string {
  3233  	if s.Message_ != nil {
  3234  		return *s.Message_
  3235  	}
  3236  	return ""
  3237  }
  3238  
  3239  // OrigErr always returns nil, satisfies awserr.Error interface.
  3240  func (s *InvalidPaginationTokenException) OrigErr() error {
  3241  	return nil
  3242  }
  3243  
  3244  func (s *InvalidPaginationTokenException) Error() string {
  3245  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  3246  }
  3247  
  3248  // Status code returns the HTTP status code for the request's response error.
  3249  func (s *InvalidPaginationTokenException) StatusCode() int {
  3250  	return s.RespMetadata.StatusCode
  3251  }
  3252  
  3253  // RequestID returns the service's response RequestID for request.
  3254  func (s *InvalidPaginationTokenException) RequestID() string {
  3255  	return s.RespMetadata.RequestID
  3256  }
  3257  
  3258  // The resource is in an invalid state.
  3259  type InvalidResourceStateException struct {
  3260  	_            struct{}                  `type:"structure"`
  3261  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  3262  
  3263  	Message_ *string `locationName:"Message" type:"string"`
  3264  }
  3265  
  3266  // String returns the string representation.
  3267  //
  3268  // API parameter values that are decorated as "sensitive" in the API will not
  3269  // be included in the string output. The member name will be present, but the
  3270  // value will be replaced with "sensitive".
  3271  func (s InvalidResourceStateException) String() string {
  3272  	return awsutil.Prettify(s)
  3273  }
  3274  
  3275  // GoString returns the string representation.
  3276  //
  3277  // API parameter values that are decorated as "sensitive" in the API will not
  3278  // be included in the string output. The member name will be present, but the
  3279  // value will be replaced with "sensitive".
  3280  func (s InvalidResourceStateException) GoString() string {
  3281  	return s.String()
  3282  }
  3283  
  3284  func newErrorInvalidResourceStateException(v protocol.ResponseMetadata) error {
  3285  	return &InvalidResourceStateException{
  3286  		RespMetadata: v,
  3287  	}
  3288  }
  3289  
  3290  // Code returns the exception type name.
  3291  func (s *InvalidResourceStateException) Code() string {
  3292  	return "InvalidResourceStateException"
  3293  }
  3294  
  3295  // Message returns the exception's message.
  3296  func (s *InvalidResourceStateException) Message() string {
  3297  	if s.Message_ != nil {
  3298  		return *s.Message_
  3299  	}
  3300  	return ""
  3301  }
  3302  
  3303  // OrigErr always returns nil, satisfies awserr.Error interface.
  3304  func (s *InvalidResourceStateException) OrigErr() error {
  3305  	return nil
  3306  }
  3307  
  3308  func (s *InvalidResourceStateException) Error() string {
  3309  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  3310  }
  3311  
  3312  // Status code returns the HTTP status code for the request's response error.
  3313  func (s *InvalidResourceStateException) StatusCode() int {
  3314  	return s.RespMetadata.StatusCode
  3315  }
  3316  
  3317  // RequestID returns the service's response RequestID for request.
  3318  func (s *InvalidResourceStateException) RequestID() string {
  3319  	return s.RespMetadata.RequestID
  3320  }
  3321  
  3322  type ListAWSDefaultServiceQuotasInput struct {
  3323  	_ struct{} `type:"structure"`
  3324  
  3325  	// The maximum number of results to return with a single call. To retrieve the
  3326  	// remaining results, if any, make another call with the token returned from
  3327  	// this call.
  3328  	MaxResults *int64 `min:"1" type:"integer"`
  3329  
  3330  	// The token for the next page of results.
  3331  	NextToken *string `type:"string"`
  3332  
  3333  	// The service identifier.
  3334  	//
  3335  	// ServiceCode is a required field
  3336  	ServiceCode *string `min:"1" type:"string" required:"true"`
  3337  }
  3338  
  3339  // String returns the string representation.
  3340  //
  3341  // API parameter values that are decorated as "sensitive" in the API will not
  3342  // be included in the string output. The member name will be present, but the
  3343  // value will be replaced with "sensitive".
  3344  func (s ListAWSDefaultServiceQuotasInput) String() string {
  3345  	return awsutil.Prettify(s)
  3346  }
  3347  
  3348  // GoString returns the string representation.
  3349  //
  3350  // API parameter values that are decorated as "sensitive" in the API will not
  3351  // be included in the string output. The member name will be present, but the
  3352  // value will be replaced with "sensitive".
  3353  func (s ListAWSDefaultServiceQuotasInput) GoString() string {
  3354  	return s.String()
  3355  }
  3356  
  3357  // Validate inspects the fields of the type to determine if they are valid.
  3358  func (s *ListAWSDefaultServiceQuotasInput) Validate() error {
  3359  	invalidParams := request.ErrInvalidParams{Context: "ListAWSDefaultServiceQuotasInput"}
  3360  	if s.MaxResults != nil && *s.MaxResults < 1 {
  3361  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  3362  	}
  3363  	if s.ServiceCode == nil {
  3364  		invalidParams.Add(request.NewErrParamRequired("ServiceCode"))
  3365  	}
  3366  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  3367  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  3368  	}
  3369  
  3370  	if invalidParams.Len() > 0 {
  3371  		return invalidParams
  3372  	}
  3373  	return nil
  3374  }
  3375  
  3376  // SetMaxResults sets the MaxResults field's value.
  3377  func (s *ListAWSDefaultServiceQuotasInput) SetMaxResults(v int64) *ListAWSDefaultServiceQuotasInput {
  3378  	s.MaxResults = &v
  3379  	return s
  3380  }
  3381  
  3382  // SetNextToken sets the NextToken field's value.
  3383  func (s *ListAWSDefaultServiceQuotasInput) SetNextToken(v string) *ListAWSDefaultServiceQuotasInput {
  3384  	s.NextToken = &v
  3385  	return s
  3386  }
  3387  
  3388  // SetServiceCode sets the ServiceCode field's value.
  3389  func (s *ListAWSDefaultServiceQuotasInput) SetServiceCode(v string) *ListAWSDefaultServiceQuotasInput {
  3390  	s.ServiceCode = &v
  3391  	return s
  3392  }
  3393  
  3394  type ListAWSDefaultServiceQuotasOutput struct {
  3395  	_ struct{} `type:"structure"`
  3396  
  3397  	// The token to use to retrieve the next page of results. This value is null
  3398  	// when there are no more results to return.
  3399  	NextToken *string `type:"string"`
  3400  
  3401  	// Information about the quotas.
  3402  	Quotas []*ServiceQuota `type:"list"`
  3403  }
  3404  
  3405  // String returns the string representation.
  3406  //
  3407  // API parameter values that are decorated as "sensitive" in the API will not
  3408  // be included in the string output. The member name will be present, but the
  3409  // value will be replaced with "sensitive".
  3410  func (s ListAWSDefaultServiceQuotasOutput) String() string {
  3411  	return awsutil.Prettify(s)
  3412  }
  3413  
  3414  // GoString returns the string representation.
  3415  //
  3416  // API parameter values that are decorated as "sensitive" in the API will not
  3417  // be included in the string output. The member name will be present, but the
  3418  // value will be replaced with "sensitive".
  3419  func (s ListAWSDefaultServiceQuotasOutput) GoString() string {
  3420  	return s.String()
  3421  }
  3422  
  3423  // SetNextToken sets the NextToken field's value.
  3424  func (s *ListAWSDefaultServiceQuotasOutput) SetNextToken(v string) *ListAWSDefaultServiceQuotasOutput {
  3425  	s.NextToken = &v
  3426  	return s
  3427  }
  3428  
  3429  // SetQuotas sets the Quotas field's value.
  3430  func (s *ListAWSDefaultServiceQuotasOutput) SetQuotas(v []*ServiceQuota) *ListAWSDefaultServiceQuotasOutput {
  3431  	s.Quotas = v
  3432  	return s
  3433  }
  3434  
  3435  type ListRequestedServiceQuotaChangeHistoryByQuotaInput struct {
  3436  	_ struct{} `type:"structure"`
  3437  
  3438  	// The maximum number of results to return with a single call. To retrieve the
  3439  	// remaining results, if any, make another call with the token returned from
  3440  	// this call.
  3441  	MaxResults *int64 `min:"1" type:"integer"`
  3442  
  3443  	// The token for the next page of results.
  3444  	NextToken *string `type:"string"`
  3445  
  3446  	// The quota identifier.
  3447  	//
  3448  	// QuotaCode is a required field
  3449  	QuotaCode *string `min:"1" type:"string" required:"true"`
  3450  
  3451  	// The service identifier.
  3452  	//
  3453  	// ServiceCode is a required field
  3454  	ServiceCode *string `min:"1" type:"string" required:"true"`
  3455  
  3456  	// The status value of the quota increase request.
  3457  	Status *string `type:"string" enum:"RequestStatus"`
  3458  }
  3459  
  3460  // String returns the string representation.
  3461  //
  3462  // API parameter values that are decorated as "sensitive" in the API will not
  3463  // be included in the string output. The member name will be present, but the
  3464  // value will be replaced with "sensitive".
  3465  func (s ListRequestedServiceQuotaChangeHistoryByQuotaInput) String() string {
  3466  	return awsutil.Prettify(s)
  3467  }
  3468  
  3469  // GoString returns the string representation.
  3470  //
  3471  // API parameter values that are decorated as "sensitive" in the API will not
  3472  // be included in the string output. The member name will be present, but the
  3473  // value will be replaced with "sensitive".
  3474  func (s ListRequestedServiceQuotaChangeHistoryByQuotaInput) GoString() string {
  3475  	return s.String()
  3476  }
  3477  
  3478  // Validate inspects the fields of the type to determine if they are valid.
  3479  func (s *ListRequestedServiceQuotaChangeHistoryByQuotaInput) Validate() error {
  3480  	invalidParams := request.ErrInvalidParams{Context: "ListRequestedServiceQuotaChangeHistoryByQuotaInput"}
  3481  	if s.MaxResults != nil && *s.MaxResults < 1 {
  3482  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  3483  	}
  3484  	if s.QuotaCode == nil {
  3485  		invalidParams.Add(request.NewErrParamRequired("QuotaCode"))
  3486  	}
  3487  	if s.QuotaCode != nil && len(*s.QuotaCode) < 1 {
  3488  		invalidParams.Add(request.NewErrParamMinLen("QuotaCode", 1))
  3489  	}
  3490  	if s.ServiceCode == nil {
  3491  		invalidParams.Add(request.NewErrParamRequired("ServiceCode"))
  3492  	}
  3493  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  3494  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  3495  	}
  3496  
  3497  	if invalidParams.Len() > 0 {
  3498  		return invalidParams
  3499  	}
  3500  	return nil
  3501  }
  3502  
  3503  // SetMaxResults sets the MaxResults field's value.
  3504  func (s *ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetMaxResults(v int64) *ListRequestedServiceQuotaChangeHistoryByQuotaInput {
  3505  	s.MaxResults = &v
  3506  	return s
  3507  }
  3508  
  3509  // SetNextToken sets the NextToken field's value.
  3510  func (s *ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetNextToken(v string) *ListRequestedServiceQuotaChangeHistoryByQuotaInput {
  3511  	s.NextToken = &v
  3512  	return s
  3513  }
  3514  
  3515  // SetQuotaCode sets the QuotaCode field's value.
  3516  func (s *ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetQuotaCode(v string) *ListRequestedServiceQuotaChangeHistoryByQuotaInput {
  3517  	s.QuotaCode = &v
  3518  	return s
  3519  }
  3520  
  3521  // SetServiceCode sets the ServiceCode field's value.
  3522  func (s *ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetServiceCode(v string) *ListRequestedServiceQuotaChangeHistoryByQuotaInput {
  3523  	s.ServiceCode = &v
  3524  	return s
  3525  }
  3526  
  3527  // SetStatus sets the Status field's value.
  3528  func (s *ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetStatus(v string) *ListRequestedServiceQuotaChangeHistoryByQuotaInput {
  3529  	s.Status = &v
  3530  	return s
  3531  }
  3532  
  3533  type ListRequestedServiceQuotaChangeHistoryByQuotaOutput struct {
  3534  	_ struct{} `type:"structure"`
  3535  
  3536  	// The token to use to retrieve the next page of results. This value is null
  3537  	// when there are no more results to return.
  3538  	NextToken *string `type:"string"`
  3539  
  3540  	// Information about the quota increase requests.
  3541  	RequestedQuotas []*RequestedServiceQuotaChange `type:"list"`
  3542  }
  3543  
  3544  // String returns the string representation.
  3545  //
  3546  // API parameter values that are decorated as "sensitive" in the API will not
  3547  // be included in the string output. The member name will be present, but the
  3548  // value will be replaced with "sensitive".
  3549  func (s ListRequestedServiceQuotaChangeHistoryByQuotaOutput) String() string {
  3550  	return awsutil.Prettify(s)
  3551  }
  3552  
  3553  // GoString returns the string representation.
  3554  //
  3555  // API parameter values that are decorated as "sensitive" in the API will not
  3556  // be included in the string output. The member name will be present, but the
  3557  // value will be replaced with "sensitive".
  3558  func (s ListRequestedServiceQuotaChangeHistoryByQuotaOutput) GoString() string {
  3559  	return s.String()
  3560  }
  3561  
  3562  // SetNextToken sets the NextToken field's value.
  3563  func (s *ListRequestedServiceQuotaChangeHistoryByQuotaOutput) SetNextToken(v string) *ListRequestedServiceQuotaChangeHistoryByQuotaOutput {
  3564  	s.NextToken = &v
  3565  	return s
  3566  }
  3567  
  3568  // SetRequestedQuotas sets the RequestedQuotas field's value.
  3569  func (s *ListRequestedServiceQuotaChangeHistoryByQuotaOutput) SetRequestedQuotas(v []*RequestedServiceQuotaChange) *ListRequestedServiceQuotaChangeHistoryByQuotaOutput {
  3570  	s.RequestedQuotas = v
  3571  	return s
  3572  }
  3573  
  3574  type ListRequestedServiceQuotaChangeHistoryInput struct {
  3575  	_ struct{} `type:"structure"`
  3576  
  3577  	// The maximum number of results to return with a single call. To retrieve the
  3578  	// remaining results, if any, make another call with the token returned from
  3579  	// this call.
  3580  	MaxResults *int64 `min:"1" type:"integer"`
  3581  
  3582  	// The token for the next page of results.
  3583  	NextToken *string `type:"string"`
  3584  
  3585  	// The service identifier.
  3586  	ServiceCode *string `min:"1" type:"string"`
  3587  
  3588  	// The status of the quota increase request.
  3589  	Status *string `type:"string" enum:"RequestStatus"`
  3590  }
  3591  
  3592  // String returns the string representation.
  3593  //
  3594  // API parameter values that are decorated as "sensitive" in the API will not
  3595  // be included in the string output. The member name will be present, but the
  3596  // value will be replaced with "sensitive".
  3597  func (s ListRequestedServiceQuotaChangeHistoryInput) String() string {
  3598  	return awsutil.Prettify(s)
  3599  }
  3600  
  3601  // GoString returns the string representation.
  3602  //
  3603  // API parameter values that are decorated as "sensitive" in the API will not
  3604  // be included in the string output. The member name will be present, but the
  3605  // value will be replaced with "sensitive".
  3606  func (s ListRequestedServiceQuotaChangeHistoryInput) GoString() string {
  3607  	return s.String()
  3608  }
  3609  
  3610  // Validate inspects the fields of the type to determine if they are valid.
  3611  func (s *ListRequestedServiceQuotaChangeHistoryInput) Validate() error {
  3612  	invalidParams := request.ErrInvalidParams{Context: "ListRequestedServiceQuotaChangeHistoryInput"}
  3613  	if s.MaxResults != nil && *s.MaxResults < 1 {
  3614  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  3615  	}
  3616  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  3617  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  3618  	}
  3619  
  3620  	if invalidParams.Len() > 0 {
  3621  		return invalidParams
  3622  	}
  3623  	return nil
  3624  }
  3625  
  3626  // SetMaxResults sets the MaxResults field's value.
  3627  func (s *ListRequestedServiceQuotaChangeHistoryInput) SetMaxResults(v int64) *ListRequestedServiceQuotaChangeHistoryInput {
  3628  	s.MaxResults = &v
  3629  	return s
  3630  }
  3631  
  3632  // SetNextToken sets the NextToken field's value.
  3633  func (s *ListRequestedServiceQuotaChangeHistoryInput) SetNextToken(v string) *ListRequestedServiceQuotaChangeHistoryInput {
  3634  	s.NextToken = &v
  3635  	return s
  3636  }
  3637  
  3638  // SetServiceCode sets the ServiceCode field's value.
  3639  func (s *ListRequestedServiceQuotaChangeHistoryInput) SetServiceCode(v string) *ListRequestedServiceQuotaChangeHistoryInput {
  3640  	s.ServiceCode = &v
  3641  	return s
  3642  }
  3643  
  3644  // SetStatus sets the Status field's value.
  3645  func (s *ListRequestedServiceQuotaChangeHistoryInput) SetStatus(v string) *ListRequestedServiceQuotaChangeHistoryInput {
  3646  	s.Status = &v
  3647  	return s
  3648  }
  3649  
  3650  type ListRequestedServiceQuotaChangeHistoryOutput struct {
  3651  	_ struct{} `type:"structure"`
  3652  
  3653  	// The token to use to retrieve the next page of results. This value is null
  3654  	// when there are no more results to return.
  3655  	NextToken *string `type:"string"`
  3656  
  3657  	// Information about the quota increase requests.
  3658  	RequestedQuotas []*RequestedServiceQuotaChange `type:"list"`
  3659  }
  3660  
  3661  // String returns the string representation.
  3662  //
  3663  // API parameter values that are decorated as "sensitive" in the API will not
  3664  // be included in the string output. The member name will be present, but the
  3665  // value will be replaced with "sensitive".
  3666  func (s ListRequestedServiceQuotaChangeHistoryOutput) String() string {
  3667  	return awsutil.Prettify(s)
  3668  }
  3669  
  3670  // GoString returns the string representation.
  3671  //
  3672  // API parameter values that are decorated as "sensitive" in the API will not
  3673  // be included in the string output. The member name will be present, but the
  3674  // value will be replaced with "sensitive".
  3675  func (s ListRequestedServiceQuotaChangeHistoryOutput) GoString() string {
  3676  	return s.String()
  3677  }
  3678  
  3679  // SetNextToken sets the NextToken field's value.
  3680  func (s *ListRequestedServiceQuotaChangeHistoryOutput) SetNextToken(v string) *ListRequestedServiceQuotaChangeHistoryOutput {
  3681  	s.NextToken = &v
  3682  	return s
  3683  }
  3684  
  3685  // SetRequestedQuotas sets the RequestedQuotas field's value.
  3686  func (s *ListRequestedServiceQuotaChangeHistoryOutput) SetRequestedQuotas(v []*RequestedServiceQuotaChange) *ListRequestedServiceQuotaChangeHistoryOutput {
  3687  	s.RequestedQuotas = v
  3688  	return s
  3689  }
  3690  
  3691  type ListServiceQuotaIncreaseRequestsInTemplateInput struct {
  3692  	_ struct{} `type:"structure"`
  3693  
  3694  	// The AWS Region.
  3695  	AwsRegion *string `min:"1" type:"string"`
  3696  
  3697  	// The maximum number of results to return with a single call. To retrieve the
  3698  	// remaining results, if any, make another call with the token returned from
  3699  	// this call.
  3700  	MaxResults *int64 `min:"1" type:"integer"`
  3701  
  3702  	// The token for the next page of results.
  3703  	NextToken *string `type:"string"`
  3704  
  3705  	// The service identifier.
  3706  	ServiceCode *string `min:"1" type:"string"`
  3707  }
  3708  
  3709  // String returns the string representation.
  3710  //
  3711  // API parameter values that are decorated as "sensitive" in the API will not
  3712  // be included in the string output. The member name will be present, but the
  3713  // value will be replaced with "sensitive".
  3714  func (s ListServiceQuotaIncreaseRequestsInTemplateInput) String() string {
  3715  	return awsutil.Prettify(s)
  3716  }
  3717  
  3718  // GoString returns the string representation.
  3719  //
  3720  // API parameter values that are decorated as "sensitive" in the API will not
  3721  // be included in the string output. The member name will be present, but the
  3722  // value will be replaced with "sensitive".
  3723  func (s ListServiceQuotaIncreaseRequestsInTemplateInput) GoString() string {
  3724  	return s.String()
  3725  }
  3726  
  3727  // Validate inspects the fields of the type to determine if they are valid.
  3728  func (s *ListServiceQuotaIncreaseRequestsInTemplateInput) Validate() error {
  3729  	invalidParams := request.ErrInvalidParams{Context: "ListServiceQuotaIncreaseRequestsInTemplateInput"}
  3730  	if s.AwsRegion != nil && len(*s.AwsRegion) < 1 {
  3731  		invalidParams.Add(request.NewErrParamMinLen("AwsRegion", 1))
  3732  	}
  3733  	if s.MaxResults != nil && *s.MaxResults < 1 {
  3734  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  3735  	}
  3736  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  3737  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  3738  	}
  3739  
  3740  	if invalidParams.Len() > 0 {
  3741  		return invalidParams
  3742  	}
  3743  	return nil
  3744  }
  3745  
  3746  // SetAwsRegion sets the AwsRegion field's value.
  3747  func (s *ListServiceQuotaIncreaseRequestsInTemplateInput) SetAwsRegion(v string) *ListServiceQuotaIncreaseRequestsInTemplateInput {
  3748  	s.AwsRegion = &v
  3749  	return s
  3750  }
  3751  
  3752  // SetMaxResults sets the MaxResults field's value.
  3753  func (s *ListServiceQuotaIncreaseRequestsInTemplateInput) SetMaxResults(v int64) *ListServiceQuotaIncreaseRequestsInTemplateInput {
  3754  	s.MaxResults = &v
  3755  	return s
  3756  }
  3757  
  3758  // SetNextToken sets the NextToken field's value.
  3759  func (s *ListServiceQuotaIncreaseRequestsInTemplateInput) SetNextToken(v string) *ListServiceQuotaIncreaseRequestsInTemplateInput {
  3760  	s.NextToken = &v
  3761  	return s
  3762  }
  3763  
  3764  // SetServiceCode sets the ServiceCode field's value.
  3765  func (s *ListServiceQuotaIncreaseRequestsInTemplateInput) SetServiceCode(v string) *ListServiceQuotaIncreaseRequestsInTemplateInput {
  3766  	s.ServiceCode = &v
  3767  	return s
  3768  }
  3769  
  3770  type ListServiceQuotaIncreaseRequestsInTemplateOutput struct {
  3771  	_ struct{} `type:"structure"`
  3772  
  3773  	// The token to use to retrieve the next page of results. This value is null
  3774  	// when there are no more results to return.
  3775  	NextToken *string `type:"string"`
  3776  
  3777  	// Information about the quota increase requests.
  3778  	ServiceQuotaIncreaseRequestInTemplateList []*ServiceQuotaIncreaseRequestInTemplate `type:"list"`
  3779  }
  3780  
  3781  // String returns the string representation.
  3782  //
  3783  // API parameter values that are decorated as "sensitive" in the API will not
  3784  // be included in the string output. The member name will be present, but the
  3785  // value will be replaced with "sensitive".
  3786  func (s ListServiceQuotaIncreaseRequestsInTemplateOutput) String() string {
  3787  	return awsutil.Prettify(s)
  3788  }
  3789  
  3790  // GoString returns the string representation.
  3791  //
  3792  // API parameter values that are decorated as "sensitive" in the API will not
  3793  // be included in the string output. The member name will be present, but the
  3794  // value will be replaced with "sensitive".
  3795  func (s ListServiceQuotaIncreaseRequestsInTemplateOutput) GoString() string {
  3796  	return s.String()
  3797  }
  3798  
  3799  // SetNextToken sets the NextToken field's value.
  3800  func (s *ListServiceQuotaIncreaseRequestsInTemplateOutput) SetNextToken(v string) *ListServiceQuotaIncreaseRequestsInTemplateOutput {
  3801  	s.NextToken = &v
  3802  	return s
  3803  }
  3804  
  3805  // SetServiceQuotaIncreaseRequestInTemplateList sets the ServiceQuotaIncreaseRequestInTemplateList field's value.
  3806  func (s *ListServiceQuotaIncreaseRequestsInTemplateOutput) SetServiceQuotaIncreaseRequestInTemplateList(v []*ServiceQuotaIncreaseRequestInTemplate) *ListServiceQuotaIncreaseRequestsInTemplateOutput {
  3807  	s.ServiceQuotaIncreaseRequestInTemplateList = v
  3808  	return s
  3809  }
  3810  
  3811  type ListServiceQuotasInput struct {
  3812  	_ struct{} `type:"structure"`
  3813  
  3814  	// The maximum number of results to return with a single call. To retrieve the
  3815  	// remaining results, if any, make another call with the token returned from
  3816  	// this call.
  3817  	MaxResults *int64 `min:"1" type:"integer"`
  3818  
  3819  	// The token for the next page of results.
  3820  	NextToken *string `type:"string"`
  3821  
  3822  	// The service identifier.
  3823  	//
  3824  	// ServiceCode is a required field
  3825  	ServiceCode *string `min:"1" type:"string" required:"true"`
  3826  }
  3827  
  3828  // String returns the string representation.
  3829  //
  3830  // API parameter values that are decorated as "sensitive" in the API will not
  3831  // be included in the string output. The member name will be present, but the
  3832  // value will be replaced with "sensitive".
  3833  func (s ListServiceQuotasInput) String() string {
  3834  	return awsutil.Prettify(s)
  3835  }
  3836  
  3837  // GoString returns the string representation.
  3838  //
  3839  // API parameter values that are decorated as "sensitive" in the API will not
  3840  // be included in the string output. The member name will be present, but the
  3841  // value will be replaced with "sensitive".
  3842  func (s ListServiceQuotasInput) GoString() string {
  3843  	return s.String()
  3844  }
  3845  
  3846  // Validate inspects the fields of the type to determine if they are valid.
  3847  func (s *ListServiceQuotasInput) Validate() error {
  3848  	invalidParams := request.ErrInvalidParams{Context: "ListServiceQuotasInput"}
  3849  	if s.MaxResults != nil && *s.MaxResults < 1 {
  3850  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  3851  	}
  3852  	if s.ServiceCode == nil {
  3853  		invalidParams.Add(request.NewErrParamRequired("ServiceCode"))
  3854  	}
  3855  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  3856  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  3857  	}
  3858  
  3859  	if invalidParams.Len() > 0 {
  3860  		return invalidParams
  3861  	}
  3862  	return nil
  3863  }
  3864  
  3865  // SetMaxResults sets the MaxResults field's value.
  3866  func (s *ListServiceQuotasInput) SetMaxResults(v int64) *ListServiceQuotasInput {
  3867  	s.MaxResults = &v
  3868  	return s
  3869  }
  3870  
  3871  // SetNextToken sets the NextToken field's value.
  3872  func (s *ListServiceQuotasInput) SetNextToken(v string) *ListServiceQuotasInput {
  3873  	s.NextToken = &v
  3874  	return s
  3875  }
  3876  
  3877  // SetServiceCode sets the ServiceCode field's value.
  3878  func (s *ListServiceQuotasInput) SetServiceCode(v string) *ListServiceQuotasInput {
  3879  	s.ServiceCode = &v
  3880  	return s
  3881  }
  3882  
  3883  type ListServiceQuotasOutput struct {
  3884  	_ struct{} `type:"structure"`
  3885  
  3886  	// The token to use to retrieve the next page of results. This value is null
  3887  	// when there are no more results to return.
  3888  	NextToken *string `type:"string"`
  3889  
  3890  	// Information about the quotas.
  3891  	Quotas []*ServiceQuota `type:"list"`
  3892  }
  3893  
  3894  // String returns the string representation.
  3895  //
  3896  // API parameter values that are decorated as "sensitive" in the API will not
  3897  // be included in the string output. The member name will be present, but the
  3898  // value will be replaced with "sensitive".
  3899  func (s ListServiceQuotasOutput) String() string {
  3900  	return awsutil.Prettify(s)
  3901  }
  3902  
  3903  // GoString returns the string representation.
  3904  //
  3905  // API parameter values that are decorated as "sensitive" in the API will not
  3906  // be included in the string output. The member name will be present, but the
  3907  // value will be replaced with "sensitive".
  3908  func (s ListServiceQuotasOutput) GoString() string {
  3909  	return s.String()
  3910  }
  3911  
  3912  // SetNextToken sets the NextToken field's value.
  3913  func (s *ListServiceQuotasOutput) SetNextToken(v string) *ListServiceQuotasOutput {
  3914  	s.NextToken = &v
  3915  	return s
  3916  }
  3917  
  3918  // SetQuotas sets the Quotas field's value.
  3919  func (s *ListServiceQuotasOutput) SetQuotas(v []*ServiceQuota) *ListServiceQuotasOutput {
  3920  	s.Quotas = v
  3921  	return s
  3922  }
  3923  
  3924  type ListServicesInput struct {
  3925  	_ struct{} `type:"structure"`
  3926  
  3927  	// The maximum number of results to return with a single call. To retrieve the
  3928  	// remaining results, if any, make another call with the token returned from
  3929  	// this call.
  3930  	MaxResults *int64 `min:"1" type:"integer"`
  3931  
  3932  	// The token for the next page of results.
  3933  	NextToken *string `type:"string"`
  3934  }
  3935  
  3936  // String returns the string representation.
  3937  //
  3938  // API parameter values that are decorated as "sensitive" in the API will not
  3939  // be included in the string output. The member name will be present, but the
  3940  // value will be replaced with "sensitive".
  3941  func (s ListServicesInput) String() string {
  3942  	return awsutil.Prettify(s)
  3943  }
  3944  
  3945  // GoString returns the string representation.
  3946  //
  3947  // API parameter values that are decorated as "sensitive" in the API will not
  3948  // be included in the string output. The member name will be present, but the
  3949  // value will be replaced with "sensitive".
  3950  func (s ListServicesInput) GoString() string {
  3951  	return s.String()
  3952  }
  3953  
  3954  // Validate inspects the fields of the type to determine if they are valid.
  3955  func (s *ListServicesInput) Validate() error {
  3956  	invalidParams := request.ErrInvalidParams{Context: "ListServicesInput"}
  3957  	if s.MaxResults != nil && *s.MaxResults < 1 {
  3958  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  3959  	}
  3960  
  3961  	if invalidParams.Len() > 0 {
  3962  		return invalidParams
  3963  	}
  3964  	return nil
  3965  }
  3966  
  3967  // SetMaxResults sets the MaxResults field's value.
  3968  func (s *ListServicesInput) SetMaxResults(v int64) *ListServicesInput {
  3969  	s.MaxResults = &v
  3970  	return s
  3971  }
  3972  
  3973  // SetNextToken sets the NextToken field's value.
  3974  func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput {
  3975  	s.NextToken = &v
  3976  	return s
  3977  }
  3978  
  3979  type ListServicesOutput struct {
  3980  	_ struct{} `type:"structure"`
  3981  
  3982  	// The token to use to retrieve the next page of results. This value is null
  3983  	// when there are no more results to return.
  3984  	NextToken *string `type:"string"`
  3985  
  3986  	// Information about the services.
  3987  	Services []*ServiceInfo `type:"list"`
  3988  }
  3989  
  3990  // String returns the string representation.
  3991  //
  3992  // API parameter values that are decorated as "sensitive" in the API will not
  3993  // be included in the string output. The member name will be present, but the
  3994  // value will be replaced with "sensitive".
  3995  func (s ListServicesOutput) String() string {
  3996  	return awsutil.Prettify(s)
  3997  }
  3998  
  3999  // GoString returns the string representation.
  4000  //
  4001  // API parameter values that are decorated as "sensitive" in the API will not
  4002  // be included in the string output. The member name will be present, but the
  4003  // value will be replaced with "sensitive".
  4004  func (s ListServicesOutput) GoString() string {
  4005  	return s.String()
  4006  }
  4007  
  4008  // SetNextToken sets the NextToken field's value.
  4009  func (s *ListServicesOutput) SetNextToken(v string) *ListServicesOutput {
  4010  	s.NextToken = &v
  4011  	return s
  4012  }
  4013  
  4014  // SetServices sets the Services field's value.
  4015  func (s *ListServicesOutput) SetServices(v []*ServiceInfo) *ListServicesOutput {
  4016  	s.Services = v
  4017  	return s
  4018  }
  4019  
  4020  type ListTagsForResourceInput struct {
  4021  	_ struct{} `type:"structure"`
  4022  
  4023  	// The Amazon Resource Name (ARN) for the applied quota for which you want to
  4024  	// list tags. You can get this information by using the Service Quotas console,
  4025  	// or by listing the quotas using the list-service-quotas (https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html)
  4026  	// AWS CLI command or the ListServiceQuotas (https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html)
  4027  	// AWS API operation.
  4028  	//
  4029  	// ResourceARN is a required field
  4030  	ResourceARN *string `min:"1" type:"string" required:"true"`
  4031  }
  4032  
  4033  // String returns the string representation.
  4034  //
  4035  // API parameter values that are decorated as "sensitive" in the API will not
  4036  // be included in the string output. The member name will be present, but the
  4037  // value will be replaced with "sensitive".
  4038  func (s ListTagsForResourceInput) String() string {
  4039  	return awsutil.Prettify(s)
  4040  }
  4041  
  4042  // GoString returns the string representation.
  4043  //
  4044  // API parameter values that are decorated as "sensitive" in the API will not
  4045  // be included in the string output. The member name will be present, but the
  4046  // value will be replaced with "sensitive".
  4047  func (s ListTagsForResourceInput) GoString() string {
  4048  	return s.String()
  4049  }
  4050  
  4051  // Validate inspects the fields of the type to determine if they are valid.
  4052  func (s *ListTagsForResourceInput) Validate() error {
  4053  	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
  4054  	if s.ResourceARN == nil {
  4055  		invalidParams.Add(request.NewErrParamRequired("ResourceARN"))
  4056  	}
  4057  	if s.ResourceARN != nil && len(*s.ResourceARN) < 1 {
  4058  		invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1))
  4059  	}
  4060  
  4061  	if invalidParams.Len() > 0 {
  4062  		return invalidParams
  4063  	}
  4064  	return nil
  4065  }
  4066  
  4067  // SetResourceARN sets the ResourceARN field's value.
  4068  func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput {
  4069  	s.ResourceARN = &v
  4070  	return s
  4071  }
  4072  
  4073  type ListTagsForResourceOutput struct {
  4074  	_ struct{} `type:"structure"`
  4075  
  4076  	// A complex data type that contains zero or more tag elements.
  4077  	Tags []*Tag `type:"list"`
  4078  }
  4079  
  4080  // String returns the string representation.
  4081  //
  4082  // API parameter values that are decorated as "sensitive" in the API will not
  4083  // be included in the string output. The member name will be present, but the
  4084  // value will be replaced with "sensitive".
  4085  func (s ListTagsForResourceOutput) String() string {
  4086  	return awsutil.Prettify(s)
  4087  }
  4088  
  4089  // GoString returns the string representation.
  4090  //
  4091  // API parameter values that are decorated as "sensitive" in the API will not
  4092  // be included in the string output. The member name will be present, but the
  4093  // value will be replaced with "sensitive".
  4094  func (s ListTagsForResourceOutput) GoString() string {
  4095  	return s.String()
  4096  }
  4097  
  4098  // SetTags sets the Tags field's value.
  4099  func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
  4100  	s.Tags = v
  4101  	return s
  4102  }
  4103  
  4104  // Information about the CloudWatch metric that reflects quota usage.
  4105  type MetricInfo struct {
  4106  	_ struct{} `type:"structure"`
  4107  
  4108  	// The metric dimension. This is a name/value pair that is part of the identity
  4109  	// of a metric.
  4110  	MetricDimensions map[string]*string `type:"map"`
  4111  
  4112  	// The name of the metric.
  4113  	MetricName *string `type:"string"`
  4114  
  4115  	// The namespace of the metric.
  4116  	MetricNamespace *string `type:"string"`
  4117  
  4118  	// The metric statistic that we recommend you use when determining quota usage.
  4119  	MetricStatisticRecommendation *string `min:"1" type:"string"`
  4120  }
  4121  
  4122  // String returns the string representation.
  4123  //
  4124  // API parameter values that are decorated as "sensitive" in the API will not
  4125  // be included in the string output. The member name will be present, but the
  4126  // value will be replaced with "sensitive".
  4127  func (s MetricInfo) String() string {
  4128  	return awsutil.Prettify(s)
  4129  }
  4130  
  4131  // GoString returns the string representation.
  4132  //
  4133  // API parameter values that are decorated as "sensitive" in the API will not
  4134  // be included in the string output. The member name will be present, but the
  4135  // value will be replaced with "sensitive".
  4136  func (s MetricInfo) GoString() string {
  4137  	return s.String()
  4138  }
  4139  
  4140  // SetMetricDimensions sets the MetricDimensions field's value.
  4141  func (s *MetricInfo) SetMetricDimensions(v map[string]*string) *MetricInfo {
  4142  	s.MetricDimensions = v
  4143  	return s
  4144  }
  4145  
  4146  // SetMetricName sets the MetricName field's value.
  4147  func (s *MetricInfo) SetMetricName(v string) *MetricInfo {
  4148  	s.MetricName = &v
  4149  	return s
  4150  }
  4151  
  4152  // SetMetricNamespace sets the MetricNamespace field's value.
  4153  func (s *MetricInfo) SetMetricNamespace(v string) *MetricInfo {
  4154  	s.MetricNamespace = &v
  4155  	return s
  4156  }
  4157  
  4158  // SetMetricStatisticRecommendation sets the MetricStatisticRecommendation field's value.
  4159  func (s *MetricInfo) SetMetricStatisticRecommendation(v string) *MetricInfo {
  4160  	s.MetricStatisticRecommendation = &v
  4161  	return s
  4162  }
  4163  
  4164  // The account making this call is not a member of an organization.
  4165  type NoAvailableOrganizationException struct {
  4166  	_            struct{}                  `type:"structure"`
  4167  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4168  
  4169  	Message_ *string `locationName:"Message" type:"string"`
  4170  }
  4171  
  4172  // String returns the string representation.
  4173  //
  4174  // API parameter values that are decorated as "sensitive" in the API will not
  4175  // be included in the string output. The member name will be present, but the
  4176  // value will be replaced with "sensitive".
  4177  func (s NoAvailableOrganizationException) String() string {
  4178  	return awsutil.Prettify(s)
  4179  }
  4180  
  4181  // GoString returns the string representation.
  4182  //
  4183  // API parameter values that are decorated as "sensitive" in the API will not
  4184  // be included in the string output. The member name will be present, but the
  4185  // value will be replaced with "sensitive".
  4186  func (s NoAvailableOrganizationException) GoString() string {
  4187  	return s.String()
  4188  }
  4189  
  4190  func newErrorNoAvailableOrganizationException(v protocol.ResponseMetadata) error {
  4191  	return &NoAvailableOrganizationException{
  4192  		RespMetadata: v,
  4193  	}
  4194  }
  4195  
  4196  // Code returns the exception type name.
  4197  func (s *NoAvailableOrganizationException) Code() string {
  4198  	return "NoAvailableOrganizationException"
  4199  }
  4200  
  4201  // Message returns the exception's message.
  4202  func (s *NoAvailableOrganizationException) Message() string {
  4203  	if s.Message_ != nil {
  4204  		return *s.Message_
  4205  	}
  4206  	return ""
  4207  }
  4208  
  4209  // OrigErr always returns nil, satisfies awserr.Error interface.
  4210  func (s *NoAvailableOrganizationException) OrigErr() error {
  4211  	return nil
  4212  }
  4213  
  4214  func (s *NoAvailableOrganizationException) Error() string {
  4215  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4216  }
  4217  
  4218  // Status code returns the HTTP status code for the request's response error.
  4219  func (s *NoAvailableOrganizationException) StatusCode() int {
  4220  	return s.RespMetadata.StatusCode
  4221  }
  4222  
  4223  // RequestID returns the service's response RequestID for request.
  4224  func (s *NoAvailableOrganizationException) RequestID() string {
  4225  	return s.RespMetadata.RequestID
  4226  }
  4227  
  4228  // The specified resource does not exist.
  4229  type NoSuchResourceException struct {
  4230  	_            struct{}                  `type:"structure"`
  4231  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4232  
  4233  	Message_ *string `locationName:"Message" type:"string"`
  4234  }
  4235  
  4236  // String returns the string representation.
  4237  //
  4238  // API parameter values that are decorated as "sensitive" in the API will not
  4239  // be included in the string output. The member name will be present, but the
  4240  // value will be replaced with "sensitive".
  4241  func (s NoSuchResourceException) String() string {
  4242  	return awsutil.Prettify(s)
  4243  }
  4244  
  4245  // GoString returns the string representation.
  4246  //
  4247  // API parameter values that are decorated as "sensitive" in the API will not
  4248  // be included in the string output. The member name will be present, but the
  4249  // value will be replaced with "sensitive".
  4250  func (s NoSuchResourceException) GoString() string {
  4251  	return s.String()
  4252  }
  4253  
  4254  func newErrorNoSuchResourceException(v protocol.ResponseMetadata) error {
  4255  	return &NoSuchResourceException{
  4256  		RespMetadata: v,
  4257  	}
  4258  }
  4259  
  4260  // Code returns the exception type name.
  4261  func (s *NoSuchResourceException) Code() string {
  4262  	return "NoSuchResourceException"
  4263  }
  4264  
  4265  // Message returns the exception's message.
  4266  func (s *NoSuchResourceException) Message() string {
  4267  	if s.Message_ != nil {
  4268  		return *s.Message_
  4269  	}
  4270  	return ""
  4271  }
  4272  
  4273  // OrigErr always returns nil, satisfies awserr.Error interface.
  4274  func (s *NoSuchResourceException) OrigErr() error {
  4275  	return nil
  4276  }
  4277  
  4278  func (s *NoSuchResourceException) Error() string {
  4279  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4280  }
  4281  
  4282  // Status code returns the HTTP status code for the request's response error.
  4283  func (s *NoSuchResourceException) StatusCode() int {
  4284  	return s.RespMetadata.StatusCode
  4285  }
  4286  
  4287  // RequestID returns the service's response RequestID for request.
  4288  func (s *NoSuchResourceException) RequestID() string {
  4289  	return s.RespMetadata.RequestID
  4290  }
  4291  
  4292  // The organization that your account belongs to is not in All Features mode.
  4293  type OrganizationNotInAllFeaturesModeException struct {
  4294  	_            struct{}                  `type:"structure"`
  4295  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4296  
  4297  	Message_ *string `locationName:"Message" type:"string"`
  4298  }
  4299  
  4300  // String returns the string representation.
  4301  //
  4302  // API parameter values that are decorated as "sensitive" in the API will not
  4303  // be included in the string output. The member name will be present, but the
  4304  // value will be replaced with "sensitive".
  4305  func (s OrganizationNotInAllFeaturesModeException) String() string {
  4306  	return awsutil.Prettify(s)
  4307  }
  4308  
  4309  // GoString returns the string representation.
  4310  //
  4311  // API parameter values that are decorated as "sensitive" in the API will not
  4312  // be included in the string output. The member name will be present, but the
  4313  // value will be replaced with "sensitive".
  4314  func (s OrganizationNotInAllFeaturesModeException) GoString() string {
  4315  	return s.String()
  4316  }
  4317  
  4318  func newErrorOrganizationNotInAllFeaturesModeException(v protocol.ResponseMetadata) error {
  4319  	return &OrganizationNotInAllFeaturesModeException{
  4320  		RespMetadata: v,
  4321  	}
  4322  }
  4323  
  4324  // Code returns the exception type name.
  4325  func (s *OrganizationNotInAllFeaturesModeException) Code() string {
  4326  	return "OrganizationNotInAllFeaturesModeException"
  4327  }
  4328  
  4329  // Message returns the exception's message.
  4330  func (s *OrganizationNotInAllFeaturesModeException) Message() string {
  4331  	if s.Message_ != nil {
  4332  		return *s.Message_
  4333  	}
  4334  	return ""
  4335  }
  4336  
  4337  // OrigErr always returns nil, satisfies awserr.Error interface.
  4338  func (s *OrganizationNotInAllFeaturesModeException) OrigErr() error {
  4339  	return nil
  4340  }
  4341  
  4342  func (s *OrganizationNotInAllFeaturesModeException) Error() string {
  4343  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4344  }
  4345  
  4346  // Status code returns the HTTP status code for the request's response error.
  4347  func (s *OrganizationNotInAllFeaturesModeException) StatusCode() int {
  4348  	return s.RespMetadata.StatusCode
  4349  }
  4350  
  4351  // RequestID returns the service's response RequestID for request.
  4352  func (s *OrganizationNotInAllFeaturesModeException) RequestID() string {
  4353  	return s.RespMetadata.RequestID
  4354  }
  4355  
  4356  type PutServiceQuotaIncreaseRequestIntoTemplateInput struct {
  4357  	_ struct{} `type:"structure"`
  4358  
  4359  	// The AWS Region.
  4360  	//
  4361  	// AwsRegion is a required field
  4362  	AwsRegion *string `min:"1" type:"string" required:"true"`
  4363  
  4364  	// The new, increased value for the quota.
  4365  	//
  4366  	// DesiredValue is a required field
  4367  	DesiredValue *float64 `type:"double" required:"true"`
  4368  
  4369  	// The quota identifier.
  4370  	//
  4371  	// QuotaCode is a required field
  4372  	QuotaCode *string `min:"1" type:"string" required:"true"`
  4373  
  4374  	// The service identifier.
  4375  	//
  4376  	// ServiceCode is a required field
  4377  	ServiceCode *string `min:"1" type:"string" required:"true"`
  4378  }
  4379  
  4380  // String returns the string representation.
  4381  //
  4382  // API parameter values that are decorated as "sensitive" in the API will not
  4383  // be included in the string output. The member name will be present, but the
  4384  // value will be replaced with "sensitive".
  4385  func (s PutServiceQuotaIncreaseRequestIntoTemplateInput) String() string {
  4386  	return awsutil.Prettify(s)
  4387  }
  4388  
  4389  // GoString returns the string representation.
  4390  //
  4391  // API parameter values that are decorated as "sensitive" in the API will not
  4392  // be included in the string output. The member name will be present, but the
  4393  // value will be replaced with "sensitive".
  4394  func (s PutServiceQuotaIncreaseRequestIntoTemplateInput) GoString() string {
  4395  	return s.String()
  4396  }
  4397  
  4398  // Validate inspects the fields of the type to determine if they are valid.
  4399  func (s *PutServiceQuotaIncreaseRequestIntoTemplateInput) Validate() error {
  4400  	invalidParams := request.ErrInvalidParams{Context: "PutServiceQuotaIncreaseRequestIntoTemplateInput"}
  4401  	if s.AwsRegion == nil {
  4402  		invalidParams.Add(request.NewErrParamRequired("AwsRegion"))
  4403  	}
  4404  	if s.AwsRegion != nil && len(*s.AwsRegion) < 1 {
  4405  		invalidParams.Add(request.NewErrParamMinLen("AwsRegion", 1))
  4406  	}
  4407  	if s.DesiredValue == nil {
  4408  		invalidParams.Add(request.NewErrParamRequired("DesiredValue"))
  4409  	}
  4410  	if s.QuotaCode == nil {
  4411  		invalidParams.Add(request.NewErrParamRequired("QuotaCode"))
  4412  	}
  4413  	if s.QuotaCode != nil && len(*s.QuotaCode) < 1 {
  4414  		invalidParams.Add(request.NewErrParamMinLen("QuotaCode", 1))
  4415  	}
  4416  	if s.ServiceCode == nil {
  4417  		invalidParams.Add(request.NewErrParamRequired("ServiceCode"))
  4418  	}
  4419  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  4420  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  4421  	}
  4422  
  4423  	if invalidParams.Len() > 0 {
  4424  		return invalidParams
  4425  	}
  4426  	return nil
  4427  }
  4428  
  4429  // SetAwsRegion sets the AwsRegion field's value.
  4430  func (s *PutServiceQuotaIncreaseRequestIntoTemplateInput) SetAwsRegion(v string) *PutServiceQuotaIncreaseRequestIntoTemplateInput {
  4431  	s.AwsRegion = &v
  4432  	return s
  4433  }
  4434  
  4435  // SetDesiredValue sets the DesiredValue field's value.
  4436  func (s *PutServiceQuotaIncreaseRequestIntoTemplateInput) SetDesiredValue(v float64) *PutServiceQuotaIncreaseRequestIntoTemplateInput {
  4437  	s.DesiredValue = &v
  4438  	return s
  4439  }
  4440  
  4441  // SetQuotaCode sets the QuotaCode field's value.
  4442  func (s *PutServiceQuotaIncreaseRequestIntoTemplateInput) SetQuotaCode(v string) *PutServiceQuotaIncreaseRequestIntoTemplateInput {
  4443  	s.QuotaCode = &v
  4444  	return s
  4445  }
  4446  
  4447  // SetServiceCode sets the ServiceCode field's value.
  4448  func (s *PutServiceQuotaIncreaseRequestIntoTemplateInput) SetServiceCode(v string) *PutServiceQuotaIncreaseRequestIntoTemplateInput {
  4449  	s.ServiceCode = &v
  4450  	return s
  4451  }
  4452  
  4453  type PutServiceQuotaIncreaseRequestIntoTemplateOutput struct {
  4454  	_ struct{} `type:"structure"`
  4455  
  4456  	// Information about the quota increase request.
  4457  	ServiceQuotaIncreaseRequestInTemplate *ServiceQuotaIncreaseRequestInTemplate `type:"structure"`
  4458  }
  4459  
  4460  // String returns the string representation.
  4461  //
  4462  // API parameter values that are decorated as "sensitive" in the API will not
  4463  // be included in the string output. The member name will be present, but the
  4464  // value will be replaced with "sensitive".
  4465  func (s PutServiceQuotaIncreaseRequestIntoTemplateOutput) String() string {
  4466  	return awsutil.Prettify(s)
  4467  }
  4468  
  4469  // GoString returns the string representation.
  4470  //
  4471  // API parameter values that are decorated as "sensitive" in the API will not
  4472  // be included in the string output. The member name will be present, but the
  4473  // value will be replaced with "sensitive".
  4474  func (s PutServiceQuotaIncreaseRequestIntoTemplateOutput) GoString() string {
  4475  	return s.String()
  4476  }
  4477  
  4478  // SetServiceQuotaIncreaseRequestInTemplate sets the ServiceQuotaIncreaseRequestInTemplate field's value.
  4479  func (s *PutServiceQuotaIncreaseRequestIntoTemplateOutput) SetServiceQuotaIncreaseRequestInTemplate(v *ServiceQuotaIncreaseRequestInTemplate) *PutServiceQuotaIncreaseRequestIntoTemplateOutput {
  4480  	s.ServiceQuotaIncreaseRequestInTemplate = v
  4481  	return s
  4482  }
  4483  
  4484  // You have exceeded your service quota. To perform the requested action, remove
  4485  // some of the relevant resources, or use Service Quotas to request a service
  4486  // quota increase.
  4487  type QuotaExceededException struct {
  4488  	_            struct{}                  `type:"structure"`
  4489  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4490  
  4491  	Message_ *string `locationName:"Message" type:"string"`
  4492  }
  4493  
  4494  // String returns the string representation.
  4495  //
  4496  // API parameter values that are decorated as "sensitive" in the API will not
  4497  // be included in the string output. The member name will be present, but the
  4498  // value will be replaced with "sensitive".
  4499  func (s QuotaExceededException) String() string {
  4500  	return awsutil.Prettify(s)
  4501  }
  4502  
  4503  // GoString returns the string representation.
  4504  //
  4505  // API parameter values that are decorated as "sensitive" in the API will not
  4506  // be included in the string output. The member name will be present, but the
  4507  // value will be replaced with "sensitive".
  4508  func (s QuotaExceededException) GoString() string {
  4509  	return s.String()
  4510  }
  4511  
  4512  func newErrorQuotaExceededException(v protocol.ResponseMetadata) error {
  4513  	return &QuotaExceededException{
  4514  		RespMetadata: v,
  4515  	}
  4516  }
  4517  
  4518  // Code returns the exception type name.
  4519  func (s *QuotaExceededException) Code() string {
  4520  	return "QuotaExceededException"
  4521  }
  4522  
  4523  // Message returns the exception's message.
  4524  func (s *QuotaExceededException) Message() string {
  4525  	if s.Message_ != nil {
  4526  		return *s.Message_
  4527  	}
  4528  	return ""
  4529  }
  4530  
  4531  // OrigErr always returns nil, satisfies awserr.Error interface.
  4532  func (s *QuotaExceededException) OrigErr() error {
  4533  	return nil
  4534  }
  4535  
  4536  func (s *QuotaExceededException) Error() string {
  4537  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4538  }
  4539  
  4540  // Status code returns the HTTP status code for the request's response error.
  4541  func (s *QuotaExceededException) StatusCode() int {
  4542  	return s.RespMetadata.StatusCode
  4543  }
  4544  
  4545  // RequestID returns the service's response RequestID for request.
  4546  func (s *QuotaExceededException) RequestID() string {
  4547  	return s.RespMetadata.RequestID
  4548  }
  4549  
  4550  // Information about the quota period.
  4551  type QuotaPeriod struct {
  4552  	_ struct{} `type:"structure"`
  4553  
  4554  	// The time unit.
  4555  	PeriodUnit *string `type:"string" enum:"PeriodUnit"`
  4556  
  4557  	// The value.
  4558  	PeriodValue *int64 `type:"integer"`
  4559  }
  4560  
  4561  // String returns the string representation.
  4562  //
  4563  // API parameter values that are decorated as "sensitive" in the API will not
  4564  // be included in the string output. The member name will be present, but the
  4565  // value will be replaced with "sensitive".
  4566  func (s QuotaPeriod) String() string {
  4567  	return awsutil.Prettify(s)
  4568  }
  4569  
  4570  // GoString returns the string representation.
  4571  //
  4572  // API parameter values that are decorated as "sensitive" in the API will not
  4573  // be included in the string output. The member name will be present, but the
  4574  // value will be replaced with "sensitive".
  4575  func (s QuotaPeriod) GoString() string {
  4576  	return s.String()
  4577  }
  4578  
  4579  // SetPeriodUnit sets the PeriodUnit field's value.
  4580  func (s *QuotaPeriod) SetPeriodUnit(v string) *QuotaPeriod {
  4581  	s.PeriodUnit = &v
  4582  	return s
  4583  }
  4584  
  4585  // SetPeriodValue sets the PeriodValue field's value.
  4586  func (s *QuotaPeriod) SetPeriodValue(v int64) *QuotaPeriod {
  4587  	s.PeriodValue = &v
  4588  	return s
  4589  }
  4590  
  4591  type RequestServiceQuotaIncreaseInput struct {
  4592  	_ struct{} `type:"structure"`
  4593  
  4594  	// The new, increased value for the quota.
  4595  	//
  4596  	// DesiredValue is a required field
  4597  	DesiredValue *float64 `type:"double" required:"true"`
  4598  
  4599  	// The quota identifier.
  4600  	//
  4601  	// QuotaCode is a required field
  4602  	QuotaCode *string `min:"1" type:"string" required:"true"`
  4603  
  4604  	// The service identifier.
  4605  	//
  4606  	// ServiceCode is a required field
  4607  	ServiceCode *string `min:"1" type:"string" required:"true"`
  4608  }
  4609  
  4610  // String returns the string representation.
  4611  //
  4612  // API parameter values that are decorated as "sensitive" in the API will not
  4613  // be included in the string output. The member name will be present, but the
  4614  // value will be replaced with "sensitive".
  4615  func (s RequestServiceQuotaIncreaseInput) String() string {
  4616  	return awsutil.Prettify(s)
  4617  }
  4618  
  4619  // GoString returns the string representation.
  4620  //
  4621  // API parameter values that are decorated as "sensitive" in the API will not
  4622  // be included in the string output. The member name will be present, but the
  4623  // value will be replaced with "sensitive".
  4624  func (s RequestServiceQuotaIncreaseInput) GoString() string {
  4625  	return s.String()
  4626  }
  4627  
  4628  // Validate inspects the fields of the type to determine if they are valid.
  4629  func (s *RequestServiceQuotaIncreaseInput) Validate() error {
  4630  	invalidParams := request.ErrInvalidParams{Context: "RequestServiceQuotaIncreaseInput"}
  4631  	if s.DesiredValue == nil {
  4632  		invalidParams.Add(request.NewErrParamRequired("DesiredValue"))
  4633  	}
  4634  	if s.QuotaCode == nil {
  4635  		invalidParams.Add(request.NewErrParamRequired("QuotaCode"))
  4636  	}
  4637  	if s.QuotaCode != nil && len(*s.QuotaCode) < 1 {
  4638  		invalidParams.Add(request.NewErrParamMinLen("QuotaCode", 1))
  4639  	}
  4640  	if s.ServiceCode == nil {
  4641  		invalidParams.Add(request.NewErrParamRequired("ServiceCode"))
  4642  	}
  4643  	if s.ServiceCode != nil && len(*s.ServiceCode) < 1 {
  4644  		invalidParams.Add(request.NewErrParamMinLen("ServiceCode", 1))
  4645  	}
  4646  
  4647  	if invalidParams.Len() > 0 {
  4648  		return invalidParams
  4649  	}
  4650  	return nil
  4651  }
  4652  
  4653  // SetDesiredValue sets the DesiredValue field's value.
  4654  func (s *RequestServiceQuotaIncreaseInput) SetDesiredValue(v float64) *RequestServiceQuotaIncreaseInput {
  4655  	s.DesiredValue = &v
  4656  	return s
  4657  }
  4658  
  4659  // SetQuotaCode sets the QuotaCode field's value.
  4660  func (s *RequestServiceQuotaIncreaseInput) SetQuotaCode(v string) *RequestServiceQuotaIncreaseInput {
  4661  	s.QuotaCode = &v
  4662  	return s
  4663  }
  4664  
  4665  // SetServiceCode sets the ServiceCode field's value.
  4666  func (s *RequestServiceQuotaIncreaseInput) SetServiceCode(v string) *RequestServiceQuotaIncreaseInput {
  4667  	s.ServiceCode = &v
  4668  	return s
  4669  }
  4670  
  4671  type RequestServiceQuotaIncreaseOutput struct {
  4672  	_ struct{} `type:"structure"`
  4673  
  4674  	// Information about the quota increase request.
  4675  	RequestedQuota *RequestedServiceQuotaChange `type:"structure"`
  4676  }
  4677  
  4678  // String returns the string representation.
  4679  //
  4680  // API parameter values that are decorated as "sensitive" in the API will not
  4681  // be included in the string output. The member name will be present, but the
  4682  // value will be replaced with "sensitive".
  4683  func (s RequestServiceQuotaIncreaseOutput) String() string {
  4684  	return awsutil.Prettify(s)
  4685  }
  4686  
  4687  // GoString returns the string representation.
  4688  //
  4689  // API parameter values that are decorated as "sensitive" in the API will not
  4690  // be included in the string output. The member name will be present, but the
  4691  // value will be replaced with "sensitive".
  4692  func (s RequestServiceQuotaIncreaseOutput) GoString() string {
  4693  	return s.String()
  4694  }
  4695  
  4696  // SetRequestedQuota sets the RequestedQuota field's value.
  4697  func (s *RequestServiceQuotaIncreaseOutput) SetRequestedQuota(v *RequestedServiceQuotaChange) *RequestServiceQuotaIncreaseOutput {
  4698  	s.RequestedQuota = v
  4699  	return s
  4700  }
  4701  
  4702  // Information about a quota increase request.
  4703  type RequestedServiceQuotaChange struct {
  4704  	_ struct{} `type:"structure"`
  4705  
  4706  	// The case ID.
  4707  	CaseId *string `type:"string"`
  4708  
  4709  	// The date and time when the quota increase request was received and the case
  4710  	// ID was created.
  4711  	Created *time.Time `type:"timestamp"`
  4712  
  4713  	// The new, increased value for the quota.
  4714  	DesiredValue *float64 `type:"double"`
  4715  
  4716  	// Indicates whether the quota is global.
  4717  	GlobalQuota *bool `type:"boolean"`
  4718  
  4719  	// The unique identifier.
  4720  	Id *string `min:"1" type:"string"`
  4721  
  4722  	// The date and time of the most recent change.
  4723  	LastUpdated *time.Time `type:"timestamp"`
  4724  
  4725  	// The Amazon Resource Name (ARN) of the quota.
  4726  	QuotaArn *string `type:"string"`
  4727  
  4728  	// The quota identifier.
  4729  	QuotaCode *string `min:"1" type:"string"`
  4730  
  4731  	// The quota name.
  4732  	QuotaName *string `type:"string"`
  4733  
  4734  	// The IAM identity of the requester.
  4735  	Requester *string `type:"string"`
  4736  
  4737  	// The service identifier.
  4738  	ServiceCode *string `min:"1" type:"string"`
  4739  
  4740  	// The service name.
  4741  	ServiceName *string `type:"string"`
  4742  
  4743  	// The state of the quota increase request.
  4744  	Status *string `type:"string" enum:"RequestStatus"`
  4745  
  4746  	// The unit of measurement.
  4747  	Unit *string `type:"string"`
  4748  }
  4749  
  4750  // String returns the string representation.
  4751  //
  4752  // API parameter values that are decorated as "sensitive" in the API will not
  4753  // be included in the string output. The member name will be present, but the
  4754  // value will be replaced with "sensitive".
  4755  func (s RequestedServiceQuotaChange) String() string {
  4756  	return awsutil.Prettify(s)
  4757  }
  4758  
  4759  // GoString returns the string representation.
  4760  //
  4761  // API parameter values that are decorated as "sensitive" in the API will not
  4762  // be included in the string output. The member name will be present, but the
  4763  // value will be replaced with "sensitive".
  4764  func (s RequestedServiceQuotaChange) GoString() string {
  4765  	return s.String()
  4766  }
  4767  
  4768  // SetCaseId sets the CaseId field's value.
  4769  func (s *RequestedServiceQuotaChange) SetCaseId(v string) *RequestedServiceQuotaChange {
  4770  	s.CaseId = &v
  4771  	return s
  4772  }
  4773  
  4774  // SetCreated sets the Created field's value.
  4775  func (s *RequestedServiceQuotaChange) SetCreated(v time.Time) *RequestedServiceQuotaChange {
  4776  	s.Created = &v
  4777  	return s
  4778  }
  4779  
  4780  // SetDesiredValue sets the DesiredValue field's value.
  4781  func (s *RequestedServiceQuotaChange) SetDesiredValue(v float64) *RequestedServiceQuotaChange {
  4782  	s.DesiredValue = &v
  4783  	return s
  4784  }
  4785  
  4786  // SetGlobalQuota sets the GlobalQuota field's value.
  4787  func (s *RequestedServiceQuotaChange) SetGlobalQuota(v bool) *RequestedServiceQuotaChange {
  4788  	s.GlobalQuota = &v
  4789  	return s
  4790  }
  4791  
  4792  // SetId sets the Id field's value.
  4793  func (s *RequestedServiceQuotaChange) SetId(v string) *RequestedServiceQuotaChange {
  4794  	s.Id = &v
  4795  	return s
  4796  }
  4797  
  4798  // SetLastUpdated sets the LastUpdated field's value.
  4799  func (s *RequestedServiceQuotaChange) SetLastUpdated(v time.Time) *RequestedServiceQuotaChange {
  4800  	s.LastUpdated = &v
  4801  	return s
  4802  }
  4803  
  4804  // SetQuotaArn sets the QuotaArn field's value.
  4805  func (s *RequestedServiceQuotaChange) SetQuotaArn(v string) *RequestedServiceQuotaChange {
  4806  	s.QuotaArn = &v
  4807  	return s
  4808  }
  4809  
  4810  // SetQuotaCode sets the QuotaCode field's value.
  4811  func (s *RequestedServiceQuotaChange) SetQuotaCode(v string) *RequestedServiceQuotaChange {
  4812  	s.QuotaCode = &v
  4813  	return s
  4814  }
  4815  
  4816  // SetQuotaName sets the QuotaName field's value.
  4817  func (s *RequestedServiceQuotaChange) SetQuotaName(v string) *RequestedServiceQuotaChange {
  4818  	s.QuotaName = &v
  4819  	return s
  4820  }
  4821  
  4822  // SetRequester sets the Requester field's value.
  4823  func (s *RequestedServiceQuotaChange) SetRequester(v string) *RequestedServiceQuotaChange {
  4824  	s.Requester = &v
  4825  	return s
  4826  }
  4827  
  4828  // SetServiceCode sets the ServiceCode field's value.
  4829  func (s *RequestedServiceQuotaChange) SetServiceCode(v string) *RequestedServiceQuotaChange {
  4830  	s.ServiceCode = &v
  4831  	return s
  4832  }
  4833  
  4834  // SetServiceName sets the ServiceName field's value.
  4835  func (s *RequestedServiceQuotaChange) SetServiceName(v string) *RequestedServiceQuotaChange {
  4836  	s.ServiceName = &v
  4837  	return s
  4838  }
  4839  
  4840  // SetStatus sets the Status field's value.
  4841  func (s *RequestedServiceQuotaChange) SetStatus(v string) *RequestedServiceQuotaChange {
  4842  	s.Status = &v
  4843  	return s
  4844  }
  4845  
  4846  // SetUnit sets the Unit field's value.
  4847  func (s *RequestedServiceQuotaChange) SetUnit(v string) *RequestedServiceQuotaChange {
  4848  	s.Unit = &v
  4849  	return s
  4850  }
  4851  
  4852  // The specified resource already exists.
  4853  type ResourceAlreadyExistsException struct {
  4854  	_            struct{}                  `type:"structure"`
  4855  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4856  
  4857  	Message_ *string `locationName:"Message" type:"string"`
  4858  }
  4859  
  4860  // String returns the string representation.
  4861  //
  4862  // API parameter values that are decorated as "sensitive" in the API will not
  4863  // be included in the string output. The member name will be present, but the
  4864  // value will be replaced with "sensitive".
  4865  func (s ResourceAlreadyExistsException) String() string {
  4866  	return awsutil.Prettify(s)
  4867  }
  4868  
  4869  // GoString returns the string representation.
  4870  //
  4871  // API parameter values that are decorated as "sensitive" in the API will not
  4872  // be included in the string output. The member name will be present, but the
  4873  // value will be replaced with "sensitive".
  4874  func (s ResourceAlreadyExistsException) GoString() string {
  4875  	return s.String()
  4876  }
  4877  
  4878  func newErrorResourceAlreadyExistsException(v protocol.ResponseMetadata) error {
  4879  	return &ResourceAlreadyExistsException{
  4880  		RespMetadata: v,
  4881  	}
  4882  }
  4883  
  4884  // Code returns the exception type name.
  4885  func (s *ResourceAlreadyExistsException) Code() string {
  4886  	return "ResourceAlreadyExistsException"
  4887  }
  4888  
  4889  // Message returns the exception's message.
  4890  func (s *ResourceAlreadyExistsException) Message() string {
  4891  	if s.Message_ != nil {
  4892  		return *s.Message_
  4893  	}
  4894  	return ""
  4895  }
  4896  
  4897  // OrigErr always returns nil, satisfies awserr.Error interface.
  4898  func (s *ResourceAlreadyExistsException) OrigErr() error {
  4899  	return nil
  4900  }
  4901  
  4902  func (s *ResourceAlreadyExistsException) Error() string {
  4903  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4904  }
  4905  
  4906  // Status code returns the HTTP status code for the request's response error.
  4907  func (s *ResourceAlreadyExistsException) StatusCode() int {
  4908  	return s.RespMetadata.StatusCode
  4909  }
  4910  
  4911  // RequestID returns the service's response RequestID for request.
  4912  func (s *ResourceAlreadyExistsException) RequestID() string {
  4913  	return s.RespMetadata.RequestID
  4914  }
  4915  
  4916  // Something went wrong.
  4917  type ServiceException struct {
  4918  	_            struct{}                  `type:"structure"`
  4919  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4920  
  4921  	Message_ *string `locationName:"Message" type:"string"`
  4922  }
  4923  
  4924  // String returns the string representation.
  4925  //
  4926  // API parameter values that are decorated as "sensitive" in the API will not
  4927  // be included in the string output. The member name will be present, but the
  4928  // value will be replaced with "sensitive".
  4929  func (s ServiceException) String() string {
  4930  	return awsutil.Prettify(s)
  4931  }
  4932  
  4933  // GoString returns the string representation.
  4934  //
  4935  // API parameter values that are decorated as "sensitive" in the API will not
  4936  // be included in the string output. The member name will be present, but the
  4937  // value will be replaced with "sensitive".
  4938  func (s ServiceException) GoString() string {
  4939  	return s.String()
  4940  }
  4941  
  4942  func newErrorServiceException(v protocol.ResponseMetadata) error {
  4943  	return &ServiceException{
  4944  		RespMetadata: v,
  4945  	}
  4946  }
  4947  
  4948  // Code returns the exception type name.
  4949  func (s *ServiceException) Code() string {
  4950  	return "ServiceException"
  4951  }
  4952  
  4953  // Message returns the exception's message.
  4954  func (s *ServiceException) Message() string {
  4955  	if s.Message_ != nil {
  4956  		return *s.Message_
  4957  	}
  4958  	return ""
  4959  }
  4960  
  4961  // OrigErr always returns nil, satisfies awserr.Error interface.
  4962  func (s *ServiceException) OrigErr() error {
  4963  	return nil
  4964  }
  4965  
  4966  func (s *ServiceException) Error() string {
  4967  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4968  }
  4969  
  4970  // Status code returns the HTTP status code for the request's response error.
  4971  func (s *ServiceException) StatusCode() int {
  4972  	return s.RespMetadata.StatusCode
  4973  }
  4974  
  4975  // RequestID returns the service's response RequestID for request.
  4976  func (s *ServiceException) RequestID() string {
  4977  	return s.RespMetadata.RequestID
  4978  }
  4979  
  4980  // Information about a service.
  4981  type ServiceInfo struct {
  4982  	_ struct{} `type:"structure"`
  4983  
  4984  	// The service identifier.
  4985  	ServiceCode *string `min:"1" type:"string"`
  4986  
  4987  	// The service name.
  4988  	ServiceName *string `type:"string"`
  4989  }
  4990  
  4991  // String returns the string representation.
  4992  //
  4993  // API parameter values that are decorated as "sensitive" in the API will not
  4994  // be included in the string output. The member name will be present, but the
  4995  // value will be replaced with "sensitive".
  4996  func (s ServiceInfo) String() string {
  4997  	return awsutil.Prettify(s)
  4998  }
  4999  
  5000  // GoString returns the string representation.
  5001  //
  5002  // API parameter values that are decorated as "sensitive" in the API will not
  5003  // be included in the string output. The member name will be present, but the
  5004  // value will be replaced with "sensitive".
  5005  func (s ServiceInfo) GoString() string {
  5006  	return s.String()
  5007  }
  5008  
  5009  // SetServiceCode sets the ServiceCode field's value.
  5010  func (s *ServiceInfo) SetServiceCode(v string) *ServiceInfo {
  5011  	s.ServiceCode = &v
  5012  	return s
  5013  }
  5014  
  5015  // SetServiceName sets the ServiceName field's value.
  5016  func (s *ServiceInfo) SetServiceName(v string) *ServiceInfo {
  5017  	s.ServiceName = &v
  5018  	return s
  5019  }
  5020  
  5021  // Information about a quota.
  5022  type ServiceQuota struct {
  5023  	_ struct{} `type:"structure"`
  5024  
  5025  	// Indicates whether the quota value can be increased.
  5026  	Adjustable *bool `type:"boolean"`
  5027  
  5028  	// The error code and error reason.
  5029  	ErrorReason *ErrorReason `type:"structure"`
  5030  
  5031  	// Indicates whether the quota is global.
  5032  	GlobalQuota *bool `type:"boolean"`
  5033  
  5034  	// The period of time.
  5035  	Period *QuotaPeriod `type:"structure"`
  5036  
  5037  	// The Amazon Resource Name (ARN) of the quota.
  5038  	QuotaArn *string `type:"string"`
  5039  
  5040  	// The quota identifier.
  5041  	QuotaCode *string `min:"1" type:"string"`
  5042  
  5043  	// The quota name.
  5044  	QuotaName *string `type:"string"`
  5045  
  5046  	// The service identifier.
  5047  	ServiceCode *string `min:"1" type:"string"`
  5048  
  5049  	// The service name.
  5050  	ServiceName *string `type:"string"`
  5051  
  5052  	// The unit of measurement.
  5053  	Unit *string `type:"string"`
  5054  
  5055  	// Information about the measurement.
  5056  	UsageMetric *MetricInfo `type:"structure"`
  5057  
  5058  	// The quota value.
  5059  	Value *float64 `type:"double"`
  5060  }
  5061  
  5062  // String returns the string representation.
  5063  //
  5064  // API parameter values that are decorated as "sensitive" in the API will not
  5065  // be included in the string output. The member name will be present, but the
  5066  // value will be replaced with "sensitive".
  5067  func (s ServiceQuota) String() string {
  5068  	return awsutil.Prettify(s)
  5069  }
  5070  
  5071  // GoString returns the string representation.
  5072  //
  5073  // API parameter values that are decorated as "sensitive" in the API will not
  5074  // be included in the string output. The member name will be present, but the
  5075  // value will be replaced with "sensitive".
  5076  func (s ServiceQuota) GoString() string {
  5077  	return s.String()
  5078  }
  5079  
  5080  // SetAdjustable sets the Adjustable field's value.
  5081  func (s *ServiceQuota) SetAdjustable(v bool) *ServiceQuota {
  5082  	s.Adjustable = &v
  5083  	return s
  5084  }
  5085  
  5086  // SetErrorReason sets the ErrorReason field's value.
  5087  func (s *ServiceQuota) SetErrorReason(v *ErrorReason) *ServiceQuota {
  5088  	s.ErrorReason = v
  5089  	return s
  5090  }
  5091  
  5092  // SetGlobalQuota sets the GlobalQuota field's value.
  5093  func (s *ServiceQuota) SetGlobalQuota(v bool) *ServiceQuota {
  5094  	s.GlobalQuota = &v
  5095  	return s
  5096  }
  5097  
  5098  // SetPeriod sets the Period field's value.
  5099  func (s *ServiceQuota) SetPeriod(v *QuotaPeriod) *ServiceQuota {
  5100  	s.Period = v
  5101  	return s
  5102  }
  5103  
  5104  // SetQuotaArn sets the QuotaArn field's value.
  5105  func (s *ServiceQuota) SetQuotaArn(v string) *ServiceQuota {
  5106  	s.QuotaArn = &v
  5107  	return s
  5108  }
  5109  
  5110  // SetQuotaCode sets the QuotaCode field's value.
  5111  func (s *ServiceQuota) SetQuotaCode(v string) *ServiceQuota {
  5112  	s.QuotaCode = &v
  5113  	return s
  5114  }
  5115  
  5116  // SetQuotaName sets the QuotaName field's value.
  5117  func (s *ServiceQuota) SetQuotaName(v string) *ServiceQuota {
  5118  	s.QuotaName = &v
  5119  	return s
  5120  }
  5121  
  5122  // SetServiceCode sets the ServiceCode field's value.
  5123  func (s *ServiceQuota) SetServiceCode(v string) *ServiceQuota {
  5124  	s.ServiceCode = &v
  5125  	return s
  5126  }
  5127  
  5128  // SetServiceName sets the ServiceName field's value.
  5129  func (s *ServiceQuota) SetServiceName(v string) *ServiceQuota {
  5130  	s.ServiceName = &v
  5131  	return s
  5132  }
  5133  
  5134  // SetUnit sets the Unit field's value.
  5135  func (s *ServiceQuota) SetUnit(v string) *ServiceQuota {
  5136  	s.Unit = &v
  5137  	return s
  5138  }
  5139  
  5140  // SetUsageMetric sets the UsageMetric field's value.
  5141  func (s *ServiceQuota) SetUsageMetric(v *MetricInfo) *ServiceQuota {
  5142  	s.UsageMetric = v
  5143  	return s
  5144  }
  5145  
  5146  // SetValue sets the Value field's value.
  5147  func (s *ServiceQuota) SetValue(v float64) *ServiceQuota {
  5148  	s.Value = &v
  5149  	return s
  5150  }
  5151  
  5152  // Information about a quota increase request.
  5153  type ServiceQuotaIncreaseRequestInTemplate struct {
  5154  	_ struct{} `type:"structure"`
  5155  
  5156  	// The AWS Region.
  5157  	AwsRegion *string `min:"1" type:"string"`
  5158  
  5159  	// The new, increased value of the quota.
  5160  	DesiredValue *float64 `type:"double"`
  5161  
  5162  	// Indicates whether the quota is global.
  5163  	GlobalQuota *bool `type:"boolean"`
  5164  
  5165  	// The quota identifier.
  5166  	QuotaCode *string `min:"1" type:"string"`
  5167  
  5168  	// The quota name.
  5169  	QuotaName *string `type:"string"`
  5170  
  5171  	// The service identifier.
  5172  	ServiceCode *string `min:"1" type:"string"`
  5173  
  5174  	// The service name.
  5175  	ServiceName *string `type:"string"`
  5176  
  5177  	// The unit of measurement.
  5178  	Unit *string `type:"string"`
  5179  }
  5180  
  5181  // String returns the string representation.
  5182  //
  5183  // API parameter values that are decorated as "sensitive" in the API will not
  5184  // be included in the string output. The member name will be present, but the
  5185  // value will be replaced with "sensitive".
  5186  func (s ServiceQuotaIncreaseRequestInTemplate) String() string {
  5187  	return awsutil.Prettify(s)
  5188  }
  5189  
  5190  // GoString returns the string representation.
  5191  //
  5192  // API parameter values that are decorated as "sensitive" in the API will not
  5193  // be included in the string output. The member name will be present, but the
  5194  // value will be replaced with "sensitive".
  5195  func (s ServiceQuotaIncreaseRequestInTemplate) GoString() string {
  5196  	return s.String()
  5197  }
  5198  
  5199  // SetAwsRegion sets the AwsRegion field's value.
  5200  func (s *ServiceQuotaIncreaseRequestInTemplate) SetAwsRegion(v string) *ServiceQuotaIncreaseRequestInTemplate {
  5201  	s.AwsRegion = &v
  5202  	return s
  5203  }
  5204  
  5205  // SetDesiredValue sets the DesiredValue field's value.
  5206  func (s *ServiceQuotaIncreaseRequestInTemplate) SetDesiredValue(v float64) *ServiceQuotaIncreaseRequestInTemplate {
  5207  	s.DesiredValue = &v
  5208  	return s
  5209  }
  5210  
  5211  // SetGlobalQuota sets the GlobalQuota field's value.
  5212  func (s *ServiceQuotaIncreaseRequestInTemplate) SetGlobalQuota(v bool) *ServiceQuotaIncreaseRequestInTemplate {
  5213  	s.GlobalQuota = &v
  5214  	return s
  5215  }
  5216  
  5217  // SetQuotaCode sets the QuotaCode field's value.
  5218  func (s *ServiceQuotaIncreaseRequestInTemplate) SetQuotaCode(v string) *ServiceQuotaIncreaseRequestInTemplate {
  5219  	s.QuotaCode = &v
  5220  	return s
  5221  }
  5222  
  5223  // SetQuotaName sets the QuotaName field's value.
  5224  func (s *ServiceQuotaIncreaseRequestInTemplate) SetQuotaName(v string) *ServiceQuotaIncreaseRequestInTemplate {
  5225  	s.QuotaName = &v
  5226  	return s
  5227  }
  5228  
  5229  // SetServiceCode sets the ServiceCode field's value.
  5230  func (s *ServiceQuotaIncreaseRequestInTemplate) SetServiceCode(v string) *ServiceQuotaIncreaseRequestInTemplate {
  5231  	s.ServiceCode = &v
  5232  	return s
  5233  }
  5234  
  5235  // SetServiceName sets the ServiceName field's value.
  5236  func (s *ServiceQuotaIncreaseRequestInTemplate) SetServiceName(v string) *ServiceQuotaIncreaseRequestInTemplate {
  5237  	s.ServiceName = &v
  5238  	return s
  5239  }
  5240  
  5241  // SetUnit sets the Unit field's value.
  5242  func (s *ServiceQuotaIncreaseRequestInTemplate) SetUnit(v string) *ServiceQuotaIncreaseRequestInTemplate {
  5243  	s.Unit = &v
  5244  	return s
  5245  }
  5246  
  5247  // The quota request template is not associated with your organization.
  5248  type ServiceQuotaTemplateNotInUseException struct {
  5249  	_            struct{}                  `type:"structure"`
  5250  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5251  
  5252  	Message_ *string `locationName:"Message" type:"string"`
  5253  }
  5254  
  5255  // String returns the string representation.
  5256  //
  5257  // API parameter values that are decorated as "sensitive" in the API will not
  5258  // be included in the string output. The member name will be present, but the
  5259  // value will be replaced with "sensitive".
  5260  func (s ServiceQuotaTemplateNotInUseException) String() string {
  5261  	return awsutil.Prettify(s)
  5262  }
  5263  
  5264  // GoString returns the string representation.
  5265  //
  5266  // API parameter values that are decorated as "sensitive" in the API will not
  5267  // be included in the string output. The member name will be present, but the
  5268  // value will be replaced with "sensitive".
  5269  func (s ServiceQuotaTemplateNotInUseException) GoString() string {
  5270  	return s.String()
  5271  }
  5272  
  5273  func newErrorServiceQuotaTemplateNotInUseException(v protocol.ResponseMetadata) error {
  5274  	return &ServiceQuotaTemplateNotInUseException{
  5275  		RespMetadata: v,
  5276  	}
  5277  }
  5278  
  5279  // Code returns the exception type name.
  5280  func (s *ServiceQuotaTemplateNotInUseException) Code() string {
  5281  	return "ServiceQuotaTemplateNotInUseException"
  5282  }
  5283  
  5284  // Message returns the exception's message.
  5285  func (s *ServiceQuotaTemplateNotInUseException) Message() string {
  5286  	if s.Message_ != nil {
  5287  		return *s.Message_
  5288  	}
  5289  	return ""
  5290  }
  5291  
  5292  // OrigErr always returns nil, satisfies awserr.Error interface.
  5293  func (s *ServiceQuotaTemplateNotInUseException) OrigErr() error {
  5294  	return nil
  5295  }
  5296  
  5297  func (s *ServiceQuotaTemplateNotInUseException) Error() string {
  5298  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5299  }
  5300  
  5301  // Status code returns the HTTP status code for the request's response error.
  5302  func (s *ServiceQuotaTemplateNotInUseException) StatusCode() int {
  5303  	return s.RespMetadata.StatusCode
  5304  }
  5305  
  5306  // RequestID returns the service's response RequestID for request.
  5307  func (s *ServiceQuotaTemplateNotInUseException) RequestID() string {
  5308  	return s.RespMetadata.RequestID
  5309  }
  5310  
  5311  // A complex data type that contains a tag key and tag value.
  5312  type Tag struct {
  5313  	_ struct{} `type:"structure"`
  5314  
  5315  	// A string that contains a tag key. The string length should be between 1 and
  5316  	// 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special
  5317  	// characters _ - . : / = + @.
  5318  	//
  5319  	// Key is a required field
  5320  	Key *string `min:"1" type:"string" required:"true"`
  5321  
  5322  	// A string that contains an optional tag value. The string length should be
  5323  	// between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space,
  5324  	// and the special characters _ - . : / = + @.
  5325  	//
  5326  	// Value is a required field
  5327  	Value *string `type:"string" required:"true"`
  5328  }
  5329  
  5330  // String returns the string representation.
  5331  //
  5332  // API parameter values that are decorated as "sensitive" in the API will not
  5333  // be included in the string output. The member name will be present, but the
  5334  // value will be replaced with "sensitive".
  5335  func (s Tag) String() string {
  5336  	return awsutil.Prettify(s)
  5337  }
  5338  
  5339  // GoString returns the string representation.
  5340  //
  5341  // API parameter values that are decorated as "sensitive" in the API will not
  5342  // be included in the string output. The member name will be present, but the
  5343  // value will be replaced with "sensitive".
  5344  func (s Tag) GoString() string {
  5345  	return s.String()
  5346  }
  5347  
  5348  // Validate inspects the fields of the type to determine if they are valid.
  5349  func (s *Tag) Validate() error {
  5350  	invalidParams := request.ErrInvalidParams{Context: "Tag"}
  5351  	if s.Key == nil {
  5352  		invalidParams.Add(request.NewErrParamRequired("Key"))
  5353  	}
  5354  	if s.Key != nil && len(*s.Key) < 1 {
  5355  		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
  5356  	}
  5357  	if s.Value == nil {
  5358  		invalidParams.Add(request.NewErrParamRequired("Value"))
  5359  	}
  5360  
  5361  	if invalidParams.Len() > 0 {
  5362  		return invalidParams
  5363  	}
  5364  	return nil
  5365  }
  5366  
  5367  // SetKey sets the Key field's value.
  5368  func (s *Tag) SetKey(v string) *Tag {
  5369  	s.Key = &v
  5370  	return s
  5371  }
  5372  
  5373  // SetValue sets the Value field's value.
  5374  func (s *Tag) SetValue(v string) *Tag {
  5375  	s.Value = &v
  5376  	return s
  5377  }
  5378  
  5379  // The specified tag is a reserved word and cannot be used.
  5380  type TagPolicyViolationException struct {
  5381  	_            struct{}                  `type:"structure"`
  5382  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5383  
  5384  	Message_ *string `locationName:"Message" type:"string"`
  5385  }
  5386  
  5387  // String returns the string representation.
  5388  //
  5389  // API parameter values that are decorated as "sensitive" in the API will not
  5390  // be included in the string output. The member name will be present, but the
  5391  // value will be replaced with "sensitive".
  5392  func (s TagPolicyViolationException) String() string {
  5393  	return awsutil.Prettify(s)
  5394  }
  5395  
  5396  // GoString returns the string representation.
  5397  //
  5398  // API parameter values that are decorated as "sensitive" in the API will not
  5399  // be included in the string output. The member name will be present, but the
  5400  // value will be replaced with "sensitive".
  5401  func (s TagPolicyViolationException) GoString() string {
  5402  	return s.String()
  5403  }
  5404  
  5405  func newErrorTagPolicyViolationException(v protocol.ResponseMetadata) error {
  5406  	return &TagPolicyViolationException{
  5407  		RespMetadata: v,
  5408  	}
  5409  }
  5410  
  5411  // Code returns the exception type name.
  5412  func (s *TagPolicyViolationException) Code() string {
  5413  	return "TagPolicyViolationException"
  5414  }
  5415  
  5416  // Message returns the exception's message.
  5417  func (s *TagPolicyViolationException) Message() string {
  5418  	if s.Message_ != nil {
  5419  		return *s.Message_
  5420  	}
  5421  	return ""
  5422  }
  5423  
  5424  // OrigErr always returns nil, satisfies awserr.Error interface.
  5425  func (s *TagPolicyViolationException) OrigErr() error {
  5426  	return nil
  5427  }
  5428  
  5429  func (s *TagPolicyViolationException) Error() string {
  5430  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5431  }
  5432  
  5433  // Status code returns the HTTP status code for the request's response error.
  5434  func (s *TagPolicyViolationException) StatusCode() int {
  5435  	return s.RespMetadata.StatusCode
  5436  }
  5437  
  5438  // RequestID returns the service's response RequestID for request.
  5439  func (s *TagPolicyViolationException) RequestID() string {
  5440  	return s.RespMetadata.RequestID
  5441  }
  5442  
  5443  type TagResourceInput struct {
  5444  	_ struct{} `type:"structure"`
  5445  
  5446  	// The Amazon Resource Name (ARN) for the applied quota. You can get this information
  5447  	// by using the Service Quotas console, or by listing the quotas using the list-service-quotas
  5448  	// (https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html)
  5449  	// AWS CLI command or the ListServiceQuotas (https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html)
  5450  	// AWS API operation.
  5451  	//
  5452  	// ResourceARN is a required field
  5453  	ResourceARN *string `min:"1" type:"string" required:"true"`
  5454  
  5455  	// The tags that you want to add to the resource.
  5456  	//
  5457  	// Tags is a required field
  5458  	Tags []*Tag `min:"1" type:"list" required:"true"`
  5459  }
  5460  
  5461  // String returns the string representation.
  5462  //
  5463  // API parameter values that are decorated as "sensitive" in the API will not
  5464  // be included in the string output. The member name will be present, but the
  5465  // value will be replaced with "sensitive".
  5466  func (s TagResourceInput) String() string {
  5467  	return awsutil.Prettify(s)
  5468  }
  5469  
  5470  // GoString returns the string representation.
  5471  //
  5472  // API parameter values that are decorated as "sensitive" in the API will not
  5473  // be included in the string output. The member name will be present, but the
  5474  // value will be replaced with "sensitive".
  5475  func (s TagResourceInput) GoString() string {
  5476  	return s.String()
  5477  }
  5478  
  5479  // Validate inspects the fields of the type to determine if they are valid.
  5480  func (s *TagResourceInput) Validate() error {
  5481  	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
  5482  	if s.ResourceARN == nil {
  5483  		invalidParams.Add(request.NewErrParamRequired("ResourceARN"))
  5484  	}
  5485  	if s.ResourceARN != nil && len(*s.ResourceARN) < 1 {
  5486  		invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1))
  5487  	}
  5488  	if s.Tags == nil {
  5489  		invalidParams.Add(request.NewErrParamRequired("Tags"))
  5490  	}
  5491  	if s.Tags != nil && len(s.Tags) < 1 {
  5492  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
  5493  	}
  5494  	if s.Tags != nil {
  5495  		for i, v := range s.Tags {
  5496  			if v == nil {
  5497  				continue
  5498  			}
  5499  			if err := v.Validate(); err != nil {
  5500  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
  5501  			}
  5502  		}
  5503  	}
  5504  
  5505  	if invalidParams.Len() > 0 {
  5506  		return invalidParams
  5507  	}
  5508  	return nil
  5509  }
  5510  
  5511  // SetResourceARN sets the ResourceARN field's value.
  5512  func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput {
  5513  	s.ResourceARN = &v
  5514  	return s
  5515  }
  5516  
  5517  // SetTags sets the Tags field's value.
  5518  func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
  5519  	s.Tags = v
  5520  	return s
  5521  }
  5522  
  5523  type TagResourceOutput struct {
  5524  	_ struct{} `type:"structure"`
  5525  }
  5526  
  5527  // String returns the string representation.
  5528  //
  5529  // API parameter values that are decorated as "sensitive" in the API will not
  5530  // be included in the string output. The member name will be present, but the
  5531  // value will be replaced with "sensitive".
  5532  func (s TagResourceOutput) String() string {
  5533  	return awsutil.Prettify(s)
  5534  }
  5535  
  5536  // GoString returns the string representation.
  5537  //
  5538  // API parameter values that are decorated as "sensitive" in the API will not
  5539  // be included in the string output. The member name will be present, but the
  5540  // value will be replaced with "sensitive".
  5541  func (s TagResourceOutput) GoString() string {
  5542  	return s.String()
  5543  }
  5544  
  5545  // The Service Quotas template is not available in this AWS Region.
  5546  type TemplatesNotAvailableInRegionException struct {
  5547  	_            struct{}                  `type:"structure"`
  5548  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5549  
  5550  	Message_ *string `locationName:"Message" type:"string"`
  5551  }
  5552  
  5553  // String returns the string representation.
  5554  //
  5555  // API parameter values that are decorated as "sensitive" in the API will not
  5556  // be included in the string output. The member name will be present, but the
  5557  // value will be replaced with "sensitive".
  5558  func (s TemplatesNotAvailableInRegionException) String() string {
  5559  	return awsutil.Prettify(s)
  5560  }
  5561  
  5562  // GoString returns the string representation.
  5563  //
  5564  // API parameter values that are decorated as "sensitive" in the API will not
  5565  // be included in the string output. The member name will be present, but the
  5566  // value will be replaced with "sensitive".
  5567  func (s TemplatesNotAvailableInRegionException) GoString() string {
  5568  	return s.String()
  5569  }
  5570  
  5571  func newErrorTemplatesNotAvailableInRegionException(v protocol.ResponseMetadata) error {
  5572  	return &TemplatesNotAvailableInRegionException{
  5573  		RespMetadata: v,
  5574  	}
  5575  }
  5576  
  5577  // Code returns the exception type name.
  5578  func (s *TemplatesNotAvailableInRegionException) Code() string {
  5579  	return "TemplatesNotAvailableInRegionException"
  5580  }
  5581  
  5582  // Message returns the exception's message.
  5583  func (s *TemplatesNotAvailableInRegionException) Message() string {
  5584  	if s.Message_ != nil {
  5585  		return *s.Message_
  5586  	}
  5587  	return ""
  5588  }
  5589  
  5590  // OrigErr always returns nil, satisfies awserr.Error interface.
  5591  func (s *TemplatesNotAvailableInRegionException) OrigErr() error {
  5592  	return nil
  5593  }
  5594  
  5595  func (s *TemplatesNotAvailableInRegionException) Error() string {
  5596  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5597  }
  5598  
  5599  // Status code returns the HTTP status code for the request's response error.
  5600  func (s *TemplatesNotAvailableInRegionException) StatusCode() int {
  5601  	return s.RespMetadata.StatusCode
  5602  }
  5603  
  5604  // RequestID returns the service's response RequestID for request.
  5605  func (s *TemplatesNotAvailableInRegionException) RequestID() string {
  5606  	return s.RespMetadata.RequestID
  5607  }
  5608  
  5609  // Due to throttling, the request was denied. Slow down the rate of request
  5610  // calls, or request an increase for this quota.
  5611  type TooManyRequestsException struct {
  5612  	_            struct{}                  `type:"structure"`
  5613  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5614  
  5615  	Message_ *string `locationName:"Message" type:"string"`
  5616  }
  5617  
  5618  // String returns the string representation.
  5619  //
  5620  // API parameter values that are decorated as "sensitive" in the API will not
  5621  // be included in the string output. The member name will be present, but the
  5622  // value will be replaced with "sensitive".
  5623  func (s TooManyRequestsException) String() string {
  5624  	return awsutil.Prettify(s)
  5625  }
  5626  
  5627  // GoString returns the string representation.
  5628  //
  5629  // API parameter values that are decorated as "sensitive" in the API will not
  5630  // be included in the string output. The member name will be present, but the
  5631  // value will be replaced with "sensitive".
  5632  func (s TooManyRequestsException) GoString() string {
  5633  	return s.String()
  5634  }
  5635  
  5636  func newErrorTooManyRequestsException(v protocol.ResponseMetadata) error {
  5637  	return &TooManyRequestsException{
  5638  		RespMetadata: v,
  5639  	}
  5640  }
  5641  
  5642  // Code returns the exception type name.
  5643  func (s *TooManyRequestsException) Code() string {
  5644  	return "TooManyRequestsException"
  5645  }
  5646  
  5647  // Message returns the exception's message.
  5648  func (s *TooManyRequestsException) Message() string {
  5649  	if s.Message_ != nil {
  5650  		return *s.Message_
  5651  	}
  5652  	return ""
  5653  }
  5654  
  5655  // OrigErr always returns nil, satisfies awserr.Error interface.
  5656  func (s *TooManyRequestsException) OrigErr() error {
  5657  	return nil
  5658  }
  5659  
  5660  func (s *TooManyRequestsException) Error() string {
  5661  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5662  }
  5663  
  5664  // Status code returns the HTTP status code for the request's response error.
  5665  func (s *TooManyRequestsException) StatusCode() int {
  5666  	return s.RespMetadata.StatusCode
  5667  }
  5668  
  5669  // RequestID returns the service's response RequestID for request.
  5670  func (s *TooManyRequestsException) RequestID() string {
  5671  	return s.RespMetadata.RequestID
  5672  }
  5673  
  5674  // You've exceeded the number of tags allowed for a resource. For more information,
  5675  // see Tag restrictions (https://docs.aws.amazon.com/servicequotas/latest/userguide/sq-tagging.html#sq-tagging-restrictions)
  5676  // in the Service Quotas User Guide.
  5677  type TooManyTagsException struct {
  5678  	_            struct{}                  `type:"structure"`
  5679  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5680  
  5681  	Message_ *string `locationName:"Message" type:"string"`
  5682  }
  5683  
  5684  // String returns the string representation.
  5685  //
  5686  // API parameter values that are decorated as "sensitive" in the API will not
  5687  // be included in the string output. The member name will be present, but the
  5688  // value will be replaced with "sensitive".
  5689  func (s TooManyTagsException) String() string {
  5690  	return awsutil.Prettify(s)
  5691  }
  5692  
  5693  // GoString returns the string representation.
  5694  //
  5695  // API parameter values that are decorated as "sensitive" in the API will not
  5696  // be included in the string output. The member name will be present, but the
  5697  // value will be replaced with "sensitive".
  5698  func (s TooManyTagsException) GoString() string {
  5699  	return s.String()
  5700  }
  5701  
  5702  func newErrorTooManyTagsException(v protocol.ResponseMetadata) error {
  5703  	return &TooManyTagsException{
  5704  		RespMetadata: v,
  5705  	}
  5706  }
  5707  
  5708  // Code returns the exception type name.
  5709  func (s *TooManyTagsException) Code() string {
  5710  	return "TooManyTagsException"
  5711  }
  5712  
  5713  // Message returns the exception's message.
  5714  func (s *TooManyTagsException) Message() string {
  5715  	if s.Message_ != nil {
  5716  		return *s.Message_
  5717  	}
  5718  	return ""
  5719  }
  5720  
  5721  // OrigErr always returns nil, satisfies awserr.Error interface.
  5722  func (s *TooManyTagsException) OrigErr() error {
  5723  	return nil
  5724  }
  5725  
  5726  func (s *TooManyTagsException) Error() string {
  5727  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5728  }
  5729  
  5730  // Status code returns the HTTP status code for the request's response error.
  5731  func (s *TooManyTagsException) StatusCode() int {
  5732  	return s.RespMetadata.StatusCode
  5733  }
  5734  
  5735  // RequestID returns the service's response RequestID for request.
  5736  func (s *TooManyTagsException) RequestID() string {
  5737  	return s.RespMetadata.RequestID
  5738  }
  5739  
  5740  type UntagResourceInput struct {
  5741  	_ struct{} `type:"structure"`
  5742  
  5743  	// The Amazon Resource Name (ARN) for the applied quota that you want to untag.
  5744  	// You can get this information by using the Service Quotas console, or by listing
  5745  	// the quotas using the list-service-quotas (https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html)
  5746  	// AWS CLI command or the ListServiceQuotas (https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html)
  5747  	// AWS API operation.
  5748  	//
  5749  	// ResourceARN is a required field
  5750  	ResourceARN *string `min:"1" type:"string" required:"true"`
  5751  
  5752  	// The keys of the tags that you want to remove from the resource.
  5753  	//
  5754  	// TagKeys is a required field
  5755  	TagKeys []*string `type:"list" required:"true"`
  5756  }
  5757  
  5758  // String returns the string representation.
  5759  //
  5760  // API parameter values that are decorated as "sensitive" in the API will not
  5761  // be included in the string output. The member name will be present, but the
  5762  // value will be replaced with "sensitive".
  5763  func (s UntagResourceInput) String() string {
  5764  	return awsutil.Prettify(s)
  5765  }
  5766  
  5767  // GoString returns the string representation.
  5768  //
  5769  // API parameter values that are decorated as "sensitive" in the API will not
  5770  // be included in the string output. The member name will be present, but the
  5771  // value will be replaced with "sensitive".
  5772  func (s UntagResourceInput) GoString() string {
  5773  	return s.String()
  5774  }
  5775  
  5776  // Validate inspects the fields of the type to determine if they are valid.
  5777  func (s *UntagResourceInput) Validate() error {
  5778  	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
  5779  	if s.ResourceARN == nil {
  5780  		invalidParams.Add(request.NewErrParamRequired("ResourceARN"))
  5781  	}
  5782  	if s.ResourceARN != nil && len(*s.ResourceARN) < 1 {
  5783  		invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1))
  5784  	}
  5785  	if s.TagKeys == nil {
  5786  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
  5787  	}
  5788  
  5789  	if invalidParams.Len() > 0 {
  5790  		return invalidParams
  5791  	}
  5792  	return nil
  5793  }
  5794  
  5795  // SetResourceARN sets the ResourceARN field's value.
  5796  func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput {
  5797  	s.ResourceARN = &v
  5798  	return s
  5799  }
  5800  
  5801  // SetTagKeys sets the TagKeys field's value.
  5802  func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
  5803  	s.TagKeys = v
  5804  	return s
  5805  }
  5806  
  5807  type UntagResourceOutput struct {
  5808  	_ struct{} `type:"structure"`
  5809  }
  5810  
  5811  // String returns the string representation.
  5812  //
  5813  // API parameter values that are decorated as "sensitive" in the API will not
  5814  // be included in the string output. The member name will be present, but the
  5815  // value will be replaced with "sensitive".
  5816  func (s UntagResourceOutput) String() string {
  5817  	return awsutil.Prettify(s)
  5818  }
  5819  
  5820  // GoString returns the string representation.
  5821  //
  5822  // API parameter values that are decorated as "sensitive" in the API will not
  5823  // be included in the string output. The member name will be present, but the
  5824  // value will be replaced with "sensitive".
  5825  func (s UntagResourceOutput) GoString() string {
  5826  	return s.String()
  5827  }
  5828  
  5829  const (
  5830  	// ErrorCodeDependencyAccessDeniedError is a ErrorCode enum value
  5831  	ErrorCodeDependencyAccessDeniedError = "DEPENDENCY_ACCESS_DENIED_ERROR"
  5832  
  5833  	// ErrorCodeDependencyThrottlingError is a ErrorCode enum value
  5834  	ErrorCodeDependencyThrottlingError = "DEPENDENCY_THROTTLING_ERROR"
  5835  
  5836  	// ErrorCodeDependencyServiceError is a ErrorCode enum value
  5837  	ErrorCodeDependencyServiceError = "DEPENDENCY_SERVICE_ERROR"
  5838  
  5839  	// ErrorCodeServiceQuotaNotAvailableError is a ErrorCode enum value
  5840  	ErrorCodeServiceQuotaNotAvailableError = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
  5841  )
  5842  
  5843  // ErrorCode_Values returns all elements of the ErrorCode enum
  5844  func ErrorCode_Values() []string {
  5845  	return []string{
  5846  		ErrorCodeDependencyAccessDeniedError,
  5847  		ErrorCodeDependencyThrottlingError,
  5848  		ErrorCodeDependencyServiceError,
  5849  		ErrorCodeServiceQuotaNotAvailableError,
  5850  	}
  5851  }
  5852  
  5853  const (
  5854  	// PeriodUnitMicrosecond is a PeriodUnit enum value
  5855  	PeriodUnitMicrosecond = "MICROSECOND"
  5856  
  5857  	// PeriodUnitMillisecond is a PeriodUnit enum value
  5858  	PeriodUnitMillisecond = "MILLISECOND"
  5859  
  5860  	// PeriodUnitSecond is a PeriodUnit enum value
  5861  	PeriodUnitSecond = "SECOND"
  5862  
  5863  	// PeriodUnitMinute is a PeriodUnit enum value
  5864  	PeriodUnitMinute = "MINUTE"
  5865  
  5866  	// PeriodUnitHour is a PeriodUnit enum value
  5867  	PeriodUnitHour = "HOUR"
  5868  
  5869  	// PeriodUnitDay is a PeriodUnit enum value
  5870  	PeriodUnitDay = "DAY"
  5871  
  5872  	// PeriodUnitWeek is a PeriodUnit enum value
  5873  	PeriodUnitWeek = "WEEK"
  5874  )
  5875  
  5876  // PeriodUnit_Values returns all elements of the PeriodUnit enum
  5877  func PeriodUnit_Values() []string {
  5878  	return []string{
  5879  		PeriodUnitMicrosecond,
  5880  		PeriodUnitMillisecond,
  5881  		PeriodUnitSecond,
  5882  		PeriodUnitMinute,
  5883  		PeriodUnitHour,
  5884  		PeriodUnitDay,
  5885  		PeriodUnitWeek,
  5886  	}
  5887  }
  5888  
  5889  const (
  5890  	// RequestStatusPending is a RequestStatus enum value
  5891  	RequestStatusPending = "PENDING"
  5892  
  5893  	// RequestStatusCaseOpened is a RequestStatus enum value
  5894  	RequestStatusCaseOpened = "CASE_OPENED"
  5895  
  5896  	// RequestStatusApproved is a RequestStatus enum value
  5897  	RequestStatusApproved = "APPROVED"
  5898  
  5899  	// RequestStatusDenied is a RequestStatus enum value
  5900  	RequestStatusDenied = "DENIED"
  5901  
  5902  	// RequestStatusCaseClosed is a RequestStatus enum value
  5903  	RequestStatusCaseClosed = "CASE_CLOSED"
  5904  )
  5905  
  5906  // RequestStatus_Values returns all elements of the RequestStatus enum
  5907  func RequestStatus_Values() []string {
  5908  	return []string{
  5909  		RequestStatusPending,
  5910  		RequestStatusCaseOpened,
  5911  		RequestStatusApproved,
  5912  		RequestStatusDenied,
  5913  		RequestStatusCaseClosed,
  5914  	}
  5915  }
  5916  
  5917  const (
  5918  	// ServiceQuotaTemplateAssociationStatusAssociated is a ServiceQuotaTemplateAssociationStatus enum value
  5919  	ServiceQuotaTemplateAssociationStatusAssociated = "ASSOCIATED"
  5920  
  5921  	// ServiceQuotaTemplateAssociationStatusDisassociated is a ServiceQuotaTemplateAssociationStatus enum value
  5922  	ServiceQuotaTemplateAssociationStatusDisassociated = "DISASSOCIATED"
  5923  )
  5924  
  5925  // ServiceQuotaTemplateAssociationStatus_Values returns all elements of the ServiceQuotaTemplateAssociationStatus enum
  5926  func ServiceQuotaTemplateAssociationStatus_Values() []string {
  5927  	return []string{
  5928  		ServiceQuotaTemplateAssociationStatusAssociated,
  5929  		ServiceQuotaTemplateAssociationStatusDisassociated,
  5930  	}
  5931  }