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

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package route53recoveryreadiness
     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/restjson"
    14  )
    15  
    16  const opCreateCell = "CreateCell"
    17  
    18  // CreateCellRequest generates a "aws/request.Request" representing the
    19  // client's request for the CreateCell 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 CreateCell for more information on using the CreateCell
    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 CreateCellRequest method.
    34  //    req, resp := client.CreateCellRequest(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/route53-recovery-readiness-2019-12-02/CreateCell
    42  func (c *Route53RecoveryReadiness) CreateCellRequest(input *CreateCellInput) (req *request.Request, output *CreateCellOutput) {
    43  	op := &request.Operation{
    44  		Name:       opCreateCell,
    45  		HTTPMethod: "POST",
    46  		HTTPPath:   "/cells",
    47  	}
    48  
    49  	if input == nil {
    50  		input = &CreateCellInput{}
    51  	}
    52  
    53  	output = &CreateCellOutput{}
    54  	req = c.newRequest(op, input, output)
    55  	return
    56  }
    57  
    58  // CreateCell API operation for AWS Route53 Recovery Readiness.
    59  //
    60  // Creates a new Cell.
    61  //
    62  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
    63  // with awserr.Error's Code and Message methods to get detailed information about
    64  // the error.
    65  //
    66  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
    67  // API operation CreateCell for usage and error information.
    68  //
    69  // Returned Error Types:
    70  //   * ThrottlingException
    71  //
    72  //   * ValidationException
    73  //
    74  //   * InternalServerException
    75  //
    76  //   * ConflictException
    77  //
    78  //   * AccessDeniedException
    79  //
    80  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateCell
    81  func (c *Route53RecoveryReadiness) CreateCell(input *CreateCellInput) (*CreateCellOutput, error) {
    82  	req, out := c.CreateCellRequest(input)
    83  	return out, req.Send()
    84  }
    85  
    86  // CreateCellWithContext is the same as CreateCell with the addition of
    87  // the ability to pass a context and additional request options.
    88  //
    89  // See CreateCell for details on how to use this API operation.
    90  //
    91  // The context must be non-nil and will be used for request cancellation. If
    92  // the context is nil a panic will occur. In the future the SDK may create
    93  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
    94  // for more information on using Contexts.
    95  func (c *Route53RecoveryReadiness) CreateCellWithContext(ctx aws.Context, input *CreateCellInput, opts ...request.Option) (*CreateCellOutput, error) {
    96  	req, out := c.CreateCellRequest(input)
    97  	req.SetContext(ctx)
    98  	req.ApplyOptions(opts...)
    99  	return out, req.Send()
   100  }
   101  
   102  const opCreateCrossAccountAuthorization = "CreateCrossAccountAuthorization"
   103  
   104  // CreateCrossAccountAuthorizationRequest generates a "aws/request.Request" representing the
   105  // client's request for the CreateCrossAccountAuthorization operation. The "output" return
   106  // value will be populated with the request's response once the request completes
   107  // successfully.
   108  //
   109  // Use "Send" method on the returned Request to send the API call to the service.
   110  // the "output" return value is not valid until after Send returns without error.
   111  //
   112  // See CreateCrossAccountAuthorization for more information on using the CreateCrossAccountAuthorization
   113  // API call, and error handling.
   114  //
   115  // This method is useful when you want to inject custom logic or configuration
   116  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   117  //
   118  //
   119  //    // Example sending a request using the CreateCrossAccountAuthorizationRequest method.
   120  //    req, resp := client.CreateCrossAccountAuthorizationRequest(params)
   121  //
   122  //    err := req.Send()
   123  //    if err == nil { // resp is now filled
   124  //        fmt.Println(resp)
   125  //    }
   126  //
   127  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateCrossAccountAuthorization
   128  func (c *Route53RecoveryReadiness) CreateCrossAccountAuthorizationRequest(input *CreateCrossAccountAuthorizationInput) (req *request.Request, output *CreateCrossAccountAuthorizationOutput) {
   129  	op := &request.Operation{
   130  		Name:       opCreateCrossAccountAuthorization,
   131  		HTTPMethod: "POST",
   132  		HTTPPath:   "/crossaccountauthorizations",
   133  	}
   134  
   135  	if input == nil {
   136  		input = &CreateCrossAccountAuthorizationInput{}
   137  	}
   138  
   139  	output = &CreateCrossAccountAuthorizationOutput{}
   140  	req = c.newRequest(op, input, output)
   141  	return
   142  }
   143  
   144  // CreateCrossAccountAuthorization API operation for AWS Route53 Recovery Readiness.
   145  //
   146  // Create a new cross account readiness authorization.
   147  //
   148  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   149  // with awserr.Error's Code and Message methods to get detailed information about
   150  // the error.
   151  //
   152  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   153  // API operation CreateCrossAccountAuthorization for usage and error information.
   154  //
   155  // Returned Error Types:
   156  //   * ThrottlingException
   157  //
   158  //   * ValidationException
   159  //
   160  //   * InternalServerException
   161  //
   162  //   * ConflictException
   163  //
   164  //   * AccessDeniedException
   165  //
   166  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateCrossAccountAuthorization
   167  func (c *Route53RecoveryReadiness) CreateCrossAccountAuthorization(input *CreateCrossAccountAuthorizationInput) (*CreateCrossAccountAuthorizationOutput, error) {
   168  	req, out := c.CreateCrossAccountAuthorizationRequest(input)
   169  	return out, req.Send()
   170  }
   171  
   172  // CreateCrossAccountAuthorizationWithContext is the same as CreateCrossAccountAuthorization with the addition of
   173  // the ability to pass a context and additional request options.
   174  //
   175  // See CreateCrossAccountAuthorization for details on how to use this API operation.
   176  //
   177  // The context must be non-nil and will be used for request cancellation. If
   178  // the context is nil a panic will occur. In the future the SDK may create
   179  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   180  // for more information on using Contexts.
   181  func (c *Route53RecoveryReadiness) CreateCrossAccountAuthorizationWithContext(ctx aws.Context, input *CreateCrossAccountAuthorizationInput, opts ...request.Option) (*CreateCrossAccountAuthorizationOutput, error) {
   182  	req, out := c.CreateCrossAccountAuthorizationRequest(input)
   183  	req.SetContext(ctx)
   184  	req.ApplyOptions(opts...)
   185  	return out, req.Send()
   186  }
   187  
   188  const opCreateReadinessCheck = "CreateReadinessCheck"
   189  
   190  // CreateReadinessCheckRequest generates a "aws/request.Request" representing the
   191  // client's request for the CreateReadinessCheck operation. The "output" return
   192  // value will be populated with the request's response once the request completes
   193  // successfully.
   194  //
   195  // Use "Send" method on the returned Request to send the API call to the service.
   196  // the "output" return value is not valid until after Send returns without error.
   197  //
   198  // See CreateReadinessCheck for more information on using the CreateReadinessCheck
   199  // API call, and error handling.
   200  //
   201  // This method is useful when you want to inject custom logic or configuration
   202  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   203  //
   204  //
   205  //    // Example sending a request using the CreateReadinessCheckRequest method.
   206  //    req, resp := client.CreateReadinessCheckRequest(params)
   207  //
   208  //    err := req.Send()
   209  //    if err == nil { // resp is now filled
   210  //        fmt.Println(resp)
   211  //    }
   212  //
   213  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateReadinessCheck
   214  func (c *Route53RecoveryReadiness) CreateReadinessCheckRequest(input *CreateReadinessCheckInput) (req *request.Request, output *CreateReadinessCheckOutput) {
   215  	op := &request.Operation{
   216  		Name:       opCreateReadinessCheck,
   217  		HTTPMethod: "POST",
   218  		HTTPPath:   "/readinesschecks",
   219  	}
   220  
   221  	if input == nil {
   222  		input = &CreateReadinessCheckInput{}
   223  	}
   224  
   225  	output = &CreateReadinessCheckOutput{}
   226  	req = c.newRequest(op, input, output)
   227  	return
   228  }
   229  
   230  // CreateReadinessCheck API operation for AWS Route53 Recovery Readiness.
   231  //
   232  // Creates a new Readiness Check.
   233  //
   234  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   235  // with awserr.Error's Code and Message methods to get detailed information about
   236  // the error.
   237  //
   238  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   239  // API operation CreateReadinessCheck for usage and error information.
   240  //
   241  // Returned Error Types:
   242  //   * ThrottlingException
   243  //
   244  //   * ValidationException
   245  //
   246  //   * InternalServerException
   247  //
   248  //   * ConflictException
   249  //
   250  //   * AccessDeniedException
   251  //
   252  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateReadinessCheck
   253  func (c *Route53RecoveryReadiness) CreateReadinessCheck(input *CreateReadinessCheckInput) (*CreateReadinessCheckOutput, error) {
   254  	req, out := c.CreateReadinessCheckRequest(input)
   255  	return out, req.Send()
   256  }
   257  
   258  // CreateReadinessCheckWithContext is the same as CreateReadinessCheck with the addition of
   259  // the ability to pass a context and additional request options.
   260  //
   261  // See CreateReadinessCheck for details on how to use this API operation.
   262  //
   263  // The context must be non-nil and will be used for request cancellation. If
   264  // the context is nil a panic will occur. In the future the SDK may create
   265  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   266  // for more information on using Contexts.
   267  func (c *Route53RecoveryReadiness) CreateReadinessCheckWithContext(ctx aws.Context, input *CreateReadinessCheckInput, opts ...request.Option) (*CreateReadinessCheckOutput, error) {
   268  	req, out := c.CreateReadinessCheckRequest(input)
   269  	req.SetContext(ctx)
   270  	req.ApplyOptions(opts...)
   271  	return out, req.Send()
   272  }
   273  
   274  const opCreateRecoveryGroup = "CreateRecoveryGroup"
   275  
   276  // CreateRecoveryGroupRequest generates a "aws/request.Request" representing the
   277  // client's request for the CreateRecoveryGroup operation. The "output" return
   278  // value will be populated with the request's response once the request completes
   279  // successfully.
   280  //
   281  // Use "Send" method on the returned Request to send the API call to the service.
   282  // the "output" return value is not valid until after Send returns without error.
   283  //
   284  // See CreateRecoveryGroup for more information on using the CreateRecoveryGroup
   285  // API call, and error handling.
   286  //
   287  // This method is useful when you want to inject custom logic or configuration
   288  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   289  //
   290  //
   291  //    // Example sending a request using the CreateRecoveryGroupRequest method.
   292  //    req, resp := client.CreateRecoveryGroupRequest(params)
   293  //
   294  //    err := req.Send()
   295  //    if err == nil { // resp is now filled
   296  //        fmt.Println(resp)
   297  //    }
   298  //
   299  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateRecoveryGroup
   300  func (c *Route53RecoveryReadiness) CreateRecoveryGroupRequest(input *CreateRecoveryGroupInput) (req *request.Request, output *CreateRecoveryGroupOutput) {
   301  	op := &request.Operation{
   302  		Name:       opCreateRecoveryGroup,
   303  		HTTPMethod: "POST",
   304  		HTTPPath:   "/recoverygroups",
   305  	}
   306  
   307  	if input == nil {
   308  		input = &CreateRecoveryGroupInput{}
   309  	}
   310  
   311  	output = &CreateRecoveryGroupOutput{}
   312  	req = c.newRequest(op, input, output)
   313  	return
   314  }
   315  
   316  // CreateRecoveryGroup API operation for AWS Route53 Recovery Readiness.
   317  //
   318  // Creates a new Recovery Group.
   319  //
   320  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   321  // with awserr.Error's Code and Message methods to get detailed information about
   322  // the error.
   323  //
   324  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   325  // API operation CreateRecoveryGroup for usage and error information.
   326  //
   327  // Returned Error Types:
   328  //   * ThrottlingException
   329  //
   330  //   * ValidationException
   331  //
   332  //   * InternalServerException
   333  //
   334  //   * ConflictException
   335  //
   336  //   * AccessDeniedException
   337  //
   338  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateRecoveryGroup
   339  func (c *Route53RecoveryReadiness) CreateRecoveryGroup(input *CreateRecoveryGroupInput) (*CreateRecoveryGroupOutput, error) {
   340  	req, out := c.CreateRecoveryGroupRequest(input)
   341  	return out, req.Send()
   342  }
   343  
   344  // CreateRecoveryGroupWithContext is the same as CreateRecoveryGroup with the addition of
   345  // the ability to pass a context and additional request options.
   346  //
   347  // See CreateRecoveryGroup for details on how to use this API operation.
   348  //
   349  // The context must be non-nil and will be used for request cancellation. If
   350  // the context is nil a panic will occur. In the future the SDK may create
   351  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   352  // for more information on using Contexts.
   353  func (c *Route53RecoveryReadiness) CreateRecoveryGroupWithContext(ctx aws.Context, input *CreateRecoveryGroupInput, opts ...request.Option) (*CreateRecoveryGroupOutput, error) {
   354  	req, out := c.CreateRecoveryGroupRequest(input)
   355  	req.SetContext(ctx)
   356  	req.ApplyOptions(opts...)
   357  	return out, req.Send()
   358  }
   359  
   360  const opCreateResourceSet = "CreateResourceSet"
   361  
   362  // CreateResourceSetRequest generates a "aws/request.Request" representing the
   363  // client's request for the CreateResourceSet operation. The "output" return
   364  // value will be populated with the request's response once the request completes
   365  // successfully.
   366  //
   367  // Use "Send" method on the returned Request to send the API call to the service.
   368  // the "output" return value is not valid until after Send returns without error.
   369  //
   370  // See CreateResourceSet for more information on using the CreateResourceSet
   371  // API call, and error handling.
   372  //
   373  // This method is useful when you want to inject custom logic or configuration
   374  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   375  //
   376  //
   377  //    // Example sending a request using the CreateResourceSetRequest method.
   378  //    req, resp := client.CreateResourceSetRequest(params)
   379  //
   380  //    err := req.Send()
   381  //    if err == nil { // resp is now filled
   382  //        fmt.Println(resp)
   383  //    }
   384  //
   385  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateResourceSet
   386  func (c *Route53RecoveryReadiness) CreateResourceSetRequest(input *CreateResourceSetInput) (req *request.Request, output *CreateResourceSetOutput) {
   387  	op := &request.Operation{
   388  		Name:       opCreateResourceSet,
   389  		HTTPMethod: "POST",
   390  		HTTPPath:   "/resourcesets",
   391  	}
   392  
   393  	if input == nil {
   394  		input = &CreateResourceSetInput{}
   395  	}
   396  
   397  	output = &CreateResourceSetOutput{}
   398  	req = c.newRequest(op, input, output)
   399  	return
   400  }
   401  
   402  // CreateResourceSet API operation for AWS Route53 Recovery Readiness.
   403  //
   404  // Creates a new Resource Set.
   405  //
   406  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   407  // with awserr.Error's Code and Message methods to get detailed information about
   408  // the error.
   409  //
   410  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   411  // API operation CreateResourceSet for usage and error information.
   412  //
   413  // Returned Error Types:
   414  //   * ThrottlingException
   415  //
   416  //   * ValidationException
   417  //
   418  //   * InternalServerException
   419  //
   420  //   * ConflictException
   421  //
   422  //   * AccessDeniedException
   423  //
   424  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateResourceSet
   425  func (c *Route53RecoveryReadiness) CreateResourceSet(input *CreateResourceSetInput) (*CreateResourceSetOutput, error) {
   426  	req, out := c.CreateResourceSetRequest(input)
   427  	return out, req.Send()
   428  }
   429  
   430  // CreateResourceSetWithContext is the same as CreateResourceSet with the addition of
   431  // the ability to pass a context and additional request options.
   432  //
   433  // See CreateResourceSet for details on how to use this API operation.
   434  //
   435  // The context must be non-nil and will be used for request cancellation. If
   436  // the context is nil a panic will occur. In the future the SDK may create
   437  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   438  // for more information on using Contexts.
   439  func (c *Route53RecoveryReadiness) CreateResourceSetWithContext(ctx aws.Context, input *CreateResourceSetInput, opts ...request.Option) (*CreateResourceSetOutput, error) {
   440  	req, out := c.CreateResourceSetRequest(input)
   441  	req.SetContext(ctx)
   442  	req.ApplyOptions(opts...)
   443  	return out, req.Send()
   444  }
   445  
   446  const opDeleteCell = "DeleteCell"
   447  
   448  // DeleteCellRequest generates a "aws/request.Request" representing the
   449  // client's request for the DeleteCell operation. The "output" return
   450  // value will be populated with the request's response once the request completes
   451  // successfully.
   452  //
   453  // Use "Send" method on the returned Request to send the API call to the service.
   454  // the "output" return value is not valid until after Send returns without error.
   455  //
   456  // See DeleteCell for more information on using the DeleteCell
   457  // API call, and error handling.
   458  //
   459  // This method is useful when you want to inject custom logic or configuration
   460  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   461  //
   462  //
   463  //    // Example sending a request using the DeleteCellRequest method.
   464  //    req, resp := client.DeleteCellRequest(params)
   465  //
   466  //    err := req.Send()
   467  //    if err == nil { // resp is now filled
   468  //        fmt.Println(resp)
   469  //    }
   470  //
   471  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCell
   472  func (c *Route53RecoveryReadiness) DeleteCellRequest(input *DeleteCellInput) (req *request.Request, output *DeleteCellOutput) {
   473  	op := &request.Operation{
   474  		Name:       opDeleteCell,
   475  		HTTPMethod: "DELETE",
   476  		HTTPPath:   "/cells/{cellName}",
   477  	}
   478  
   479  	if input == nil {
   480  		input = &DeleteCellInput{}
   481  	}
   482  
   483  	output = &DeleteCellOutput{}
   484  	req = c.newRequest(op, input, output)
   485  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   486  	return
   487  }
   488  
   489  // DeleteCell API operation for AWS Route53 Recovery Readiness.
   490  //
   491  // Deletes an existing Cell.
   492  //
   493  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   494  // with awserr.Error's Code and Message methods to get detailed information about
   495  // the error.
   496  //
   497  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   498  // API operation DeleteCell for usage and error information.
   499  //
   500  // Returned Error Types:
   501  //   * ResourceNotFoundException
   502  //
   503  //   * ThrottlingException
   504  //
   505  //   * ValidationException
   506  //
   507  //   * InternalServerException
   508  //
   509  //   * AccessDeniedException
   510  //
   511  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCell
   512  func (c *Route53RecoveryReadiness) DeleteCell(input *DeleteCellInput) (*DeleteCellOutput, error) {
   513  	req, out := c.DeleteCellRequest(input)
   514  	return out, req.Send()
   515  }
   516  
   517  // DeleteCellWithContext is the same as DeleteCell with the addition of
   518  // the ability to pass a context and additional request options.
   519  //
   520  // See DeleteCell for details on how to use this API operation.
   521  //
   522  // The context must be non-nil and will be used for request cancellation. If
   523  // the context is nil a panic will occur. In the future the SDK may create
   524  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   525  // for more information on using Contexts.
   526  func (c *Route53RecoveryReadiness) DeleteCellWithContext(ctx aws.Context, input *DeleteCellInput, opts ...request.Option) (*DeleteCellOutput, error) {
   527  	req, out := c.DeleteCellRequest(input)
   528  	req.SetContext(ctx)
   529  	req.ApplyOptions(opts...)
   530  	return out, req.Send()
   531  }
   532  
   533  const opDeleteCrossAccountAuthorization = "DeleteCrossAccountAuthorization"
   534  
   535  // DeleteCrossAccountAuthorizationRequest generates a "aws/request.Request" representing the
   536  // client's request for the DeleteCrossAccountAuthorization operation. The "output" return
   537  // value will be populated with the request's response once the request completes
   538  // successfully.
   539  //
   540  // Use "Send" method on the returned Request to send the API call to the service.
   541  // the "output" return value is not valid until after Send returns without error.
   542  //
   543  // See DeleteCrossAccountAuthorization for more information on using the DeleteCrossAccountAuthorization
   544  // API call, and error handling.
   545  //
   546  // This method is useful when you want to inject custom logic or configuration
   547  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   548  //
   549  //
   550  //    // Example sending a request using the DeleteCrossAccountAuthorizationRequest method.
   551  //    req, resp := client.DeleteCrossAccountAuthorizationRequest(params)
   552  //
   553  //    err := req.Send()
   554  //    if err == nil { // resp is now filled
   555  //        fmt.Println(resp)
   556  //    }
   557  //
   558  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCrossAccountAuthorization
   559  func (c *Route53RecoveryReadiness) DeleteCrossAccountAuthorizationRequest(input *DeleteCrossAccountAuthorizationInput) (req *request.Request, output *DeleteCrossAccountAuthorizationOutput) {
   560  	op := &request.Operation{
   561  		Name:       opDeleteCrossAccountAuthorization,
   562  		HTTPMethod: "DELETE",
   563  		HTTPPath:   "/crossaccountauthorizations/{crossAccountAuthorization}",
   564  	}
   565  
   566  	if input == nil {
   567  		input = &DeleteCrossAccountAuthorizationInput{}
   568  	}
   569  
   570  	output = &DeleteCrossAccountAuthorizationOutput{}
   571  	req = c.newRequest(op, input, output)
   572  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   573  	return
   574  }
   575  
   576  // DeleteCrossAccountAuthorization API operation for AWS Route53 Recovery Readiness.
   577  //
   578  // Delete cross account readiness authorization
   579  //
   580  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   581  // with awserr.Error's Code and Message methods to get detailed information about
   582  // the error.
   583  //
   584  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   585  // API operation DeleteCrossAccountAuthorization for usage and error information.
   586  //
   587  // Returned Error Types:
   588  //   * ThrottlingException
   589  //
   590  //   * ValidationException
   591  //
   592  //   * InternalServerException
   593  //
   594  //   * AccessDeniedException
   595  //
   596  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCrossAccountAuthorization
   597  func (c *Route53RecoveryReadiness) DeleteCrossAccountAuthorization(input *DeleteCrossAccountAuthorizationInput) (*DeleteCrossAccountAuthorizationOutput, error) {
   598  	req, out := c.DeleteCrossAccountAuthorizationRequest(input)
   599  	return out, req.Send()
   600  }
   601  
   602  // DeleteCrossAccountAuthorizationWithContext is the same as DeleteCrossAccountAuthorization with the addition of
   603  // the ability to pass a context and additional request options.
   604  //
   605  // See DeleteCrossAccountAuthorization for details on how to use this API operation.
   606  //
   607  // The context must be non-nil and will be used for request cancellation. If
   608  // the context is nil a panic will occur. In the future the SDK may create
   609  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   610  // for more information on using Contexts.
   611  func (c *Route53RecoveryReadiness) DeleteCrossAccountAuthorizationWithContext(ctx aws.Context, input *DeleteCrossAccountAuthorizationInput, opts ...request.Option) (*DeleteCrossAccountAuthorizationOutput, error) {
   612  	req, out := c.DeleteCrossAccountAuthorizationRequest(input)
   613  	req.SetContext(ctx)
   614  	req.ApplyOptions(opts...)
   615  	return out, req.Send()
   616  }
   617  
   618  const opDeleteReadinessCheck = "DeleteReadinessCheck"
   619  
   620  // DeleteReadinessCheckRequest generates a "aws/request.Request" representing the
   621  // client's request for the DeleteReadinessCheck operation. The "output" return
   622  // value will be populated with the request's response once the request completes
   623  // successfully.
   624  //
   625  // Use "Send" method on the returned Request to send the API call to the service.
   626  // the "output" return value is not valid until after Send returns without error.
   627  //
   628  // See DeleteReadinessCheck for more information on using the DeleteReadinessCheck
   629  // API call, and error handling.
   630  //
   631  // This method is useful when you want to inject custom logic or configuration
   632  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   633  //
   634  //
   635  //    // Example sending a request using the DeleteReadinessCheckRequest method.
   636  //    req, resp := client.DeleteReadinessCheckRequest(params)
   637  //
   638  //    err := req.Send()
   639  //    if err == nil { // resp is now filled
   640  //        fmt.Println(resp)
   641  //    }
   642  //
   643  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteReadinessCheck
   644  func (c *Route53RecoveryReadiness) DeleteReadinessCheckRequest(input *DeleteReadinessCheckInput) (req *request.Request, output *DeleteReadinessCheckOutput) {
   645  	op := &request.Operation{
   646  		Name:       opDeleteReadinessCheck,
   647  		HTTPMethod: "DELETE",
   648  		HTTPPath:   "/readinesschecks/{readinessCheckName}",
   649  	}
   650  
   651  	if input == nil {
   652  		input = &DeleteReadinessCheckInput{}
   653  	}
   654  
   655  	output = &DeleteReadinessCheckOutput{}
   656  	req = c.newRequest(op, input, output)
   657  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   658  	return
   659  }
   660  
   661  // DeleteReadinessCheck API operation for AWS Route53 Recovery Readiness.
   662  //
   663  // Deletes an existing Readiness Check.
   664  //
   665  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   666  // with awserr.Error's Code and Message methods to get detailed information about
   667  // the error.
   668  //
   669  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   670  // API operation DeleteReadinessCheck for usage and error information.
   671  //
   672  // Returned Error Types:
   673  //   * ResourceNotFoundException
   674  //
   675  //   * ThrottlingException
   676  //
   677  //   * ValidationException
   678  //
   679  //   * InternalServerException
   680  //
   681  //   * AccessDeniedException
   682  //
   683  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteReadinessCheck
   684  func (c *Route53RecoveryReadiness) DeleteReadinessCheck(input *DeleteReadinessCheckInput) (*DeleteReadinessCheckOutput, error) {
   685  	req, out := c.DeleteReadinessCheckRequest(input)
   686  	return out, req.Send()
   687  }
   688  
   689  // DeleteReadinessCheckWithContext is the same as DeleteReadinessCheck with the addition of
   690  // the ability to pass a context and additional request options.
   691  //
   692  // See DeleteReadinessCheck for details on how to use this API operation.
   693  //
   694  // The context must be non-nil and will be used for request cancellation. If
   695  // the context is nil a panic will occur. In the future the SDK may create
   696  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   697  // for more information on using Contexts.
   698  func (c *Route53RecoveryReadiness) DeleteReadinessCheckWithContext(ctx aws.Context, input *DeleteReadinessCheckInput, opts ...request.Option) (*DeleteReadinessCheckOutput, error) {
   699  	req, out := c.DeleteReadinessCheckRequest(input)
   700  	req.SetContext(ctx)
   701  	req.ApplyOptions(opts...)
   702  	return out, req.Send()
   703  }
   704  
   705  const opDeleteRecoveryGroup = "DeleteRecoveryGroup"
   706  
   707  // DeleteRecoveryGroupRequest generates a "aws/request.Request" representing the
   708  // client's request for the DeleteRecoveryGroup operation. The "output" return
   709  // value will be populated with the request's response once the request completes
   710  // successfully.
   711  //
   712  // Use "Send" method on the returned Request to send the API call to the service.
   713  // the "output" return value is not valid until after Send returns without error.
   714  //
   715  // See DeleteRecoveryGroup for more information on using the DeleteRecoveryGroup
   716  // API call, and error handling.
   717  //
   718  // This method is useful when you want to inject custom logic or configuration
   719  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   720  //
   721  //
   722  //    // Example sending a request using the DeleteRecoveryGroupRequest method.
   723  //    req, resp := client.DeleteRecoveryGroupRequest(params)
   724  //
   725  //    err := req.Send()
   726  //    if err == nil { // resp is now filled
   727  //        fmt.Println(resp)
   728  //    }
   729  //
   730  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteRecoveryGroup
   731  func (c *Route53RecoveryReadiness) DeleteRecoveryGroupRequest(input *DeleteRecoveryGroupInput) (req *request.Request, output *DeleteRecoveryGroupOutput) {
   732  	op := &request.Operation{
   733  		Name:       opDeleteRecoveryGroup,
   734  		HTTPMethod: "DELETE",
   735  		HTTPPath:   "/recoverygroups/{recoveryGroupName}",
   736  	}
   737  
   738  	if input == nil {
   739  		input = &DeleteRecoveryGroupInput{}
   740  	}
   741  
   742  	output = &DeleteRecoveryGroupOutput{}
   743  	req = c.newRequest(op, input, output)
   744  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   745  	return
   746  }
   747  
   748  // DeleteRecoveryGroup API operation for AWS Route53 Recovery Readiness.
   749  //
   750  // Deletes an existing Recovery Group.
   751  //
   752  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   753  // with awserr.Error's Code and Message methods to get detailed information about
   754  // the error.
   755  //
   756  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   757  // API operation DeleteRecoveryGroup for usage and error information.
   758  //
   759  // Returned Error Types:
   760  //   * ResourceNotFoundException
   761  //
   762  //   * ThrottlingException
   763  //
   764  //   * ValidationException
   765  //
   766  //   * InternalServerException
   767  //
   768  //   * AccessDeniedException
   769  //
   770  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteRecoveryGroup
   771  func (c *Route53RecoveryReadiness) DeleteRecoveryGroup(input *DeleteRecoveryGroupInput) (*DeleteRecoveryGroupOutput, error) {
   772  	req, out := c.DeleteRecoveryGroupRequest(input)
   773  	return out, req.Send()
   774  }
   775  
   776  // DeleteRecoveryGroupWithContext is the same as DeleteRecoveryGroup with the addition of
   777  // the ability to pass a context and additional request options.
   778  //
   779  // See DeleteRecoveryGroup for details on how to use this API operation.
   780  //
   781  // The context must be non-nil and will be used for request cancellation. If
   782  // the context is nil a panic will occur. In the future the SDK may create
   783  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   784  // for more information on using Contexts.
   785  func (c *Route53RecoveryReadiness) DeleteRecoveryGroupWithContext(ctx aws.Context, input *DeleteRecoveryGroupInput, opts ...request.Option) (*DeleteRecoveryGroupOutput, error) {
   786  	req, out := c.DeleteRecoveryGroupRequest(input)
   787  	req.SetContext(ctx)
   788  	req.ApplyOptions(opts...)
   789  	return out, req.Send()
   790  }
   791  
   792  const opDeleteResourceSet = "DeleteResourceSet"
   793  
   794  // DeleteResourceSetRequest generates a "aws/request.Request" representing the
   795  // client's request for the DeleteResourceSet operation. The "output" return
   796  // value will be populated with the request's response once the request completes
   797  // successfully.
   798  //
   799  // Use "Send" method on the returned Request to send the API call to the service.
   800  // the "output" return value is not valid until after Send returns without error.
   801  //
   802  // See DeleteResourceSet for more information on using the DeleteResourceSet
   803  // API call, and error handling.
   804  //
   805  // This method is useful when you want to inject custom logic or configuration
   806  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   807  //
   808  //
   809  //    // Example sending a request using the DeleteResourceSetRequest method.
   810  //    req, resp := client.DeleteResourceSetRequest(params)
   811  //
   812  //    err := req.Send()
   813  //    if err == nil { // resp is now filled
   814  //        fmt.Println(resp)
   815  //    }
   816  //
   817  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteResourceSet
   818  func (c *Route53RecoveryReadiness) DeleteResourceSetRequest(input *DeleteResourceSetInput) (req *request.Request, output *DeleteResourceSetOutput) {
   819  	op := &request.Operation{
   820  		Name:       opDeleteResourceSet,
   821  		HTTPMethod: "DELETE",
   822  		HTTPPath:   "/resourcesets/{resourceSetName}",
   823  	}
   824  
   825  	if input == nil {
   826  		input = &DeleteResourceSetInput{}
   827  	}
   828  
   829  	output = &DeleteResourceSetOutput{}
   830  	req = c.newRequest(op, input, output)
   831  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   832  	return
   833  }
   834  
   835  // DeleteResourceSet API operation for AWS Route53 Recovery Readiness.
   836  //
   837  // Deletes an existing Resource Set.
   838  //
   839  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   840  // with awserr.Error's Code and Message methods to get detailed information about
   841  // the error.
   842  //
   843  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   844  // API operation DeleteResourceSet for usage and error information.
   845  //
   846  // Returned Error Types:
   847  //   * ResourceNotFoundException
   848  //
   849  //   * ThrottlingException
   850  //
   851  //   * ValidationException
   852  //
   853  //   * InternalServerException
   854  //
   855  //   * AccessDeniedException
   856  //
   857  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteResourceSet
   858  func (c *Route53RecoveryReadiness) DeleteResourceSet(input *DeleteResourceSetInput) (*DeleteResourceSetOutput, error) {
   859  	req, out := c.DeleteResourceSetRequest(input)
   860  	return out, req.Send()
   861  }
   862  
   863  // DeleteResourceSetWithContext is the same as DeleteResourceSet with the addition of
   864  // the ability to pass a context and additional request options.
   865  //
   866  // See DeleteResourceSet for details on how to use this API operation.
   867  //
   868  // The context must be non-nil and will be used for request cancellation. If
   869  // the context is nil a panic will occur. In the future the SDK may create
   870  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   871  // for more information on using Contexts.
   872  func (c *Route53RecoveryReadiness) DeleteResourceSetWithContext(ctx aws.Context, input *DeleteResourceSetInput, opts ...request.Option) (*DeleteResourceSetOutput, error) {
   873  	req, out := c.DeleteResourceSetRequest(input)
   874  	req.SetContext(ctx)
   875  	req.ApplyOptions(opts...)
   876  	return out, req.Send()
   877  }
   878  
   879  const opGetArchitectureRecommendations = "GetArchitectureRecommendations"
   880  
   881  // GetArchitectureRecommendationsRequest generates a "aws/request.Request" representing the
   882  // client's request for the GetArchitectureRecommendations operation. The "output" return
   883  // value will be populated with the request's response once the request completes
   884  // successfully.
   885  //
   886  // Use "Send" method on the returned Request to send the API call to the service.
   887  // the "output" return value is not valid until after Send returns without error.
   888  //
   889  // See GetArchitectureRecommendations for more information on using the GetArchitectureRecommendations
   890  // API call, and error handling.
   891  //
   892  // This method is useful when you want to inject custom logic or configuration
   893  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   894  //
   895  //
   896  //    // Example sending a request using the GetArchitectureRecommendationsRequest method.
   897  //    req, resp := client.GetArchitectureRecommendationsRequest(params)
   898  //
   899  //    err := req.Send()
   900  //    if err == nil { // resp is now filled
   901  //        fmt.Println(resp)
   902  //    }
   903  //
   904  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetArchitectureRecommendations
   905  func (c *Route53RecoveryReadiness) GetArchitectureRecommendationsRequest(input *GetArchitectureRecommendationsInput) (req *request.Request, output *GetArchitectureRecommendationsOutput) {
   906  	op := &request.Operation{
   907  		Name:       opGetArchitectureRecommendations,
   908  		HTTPMethod: "GET",
   909  		HTTPPath:   "/recoverygroups/{recoveryGroupName}/architectureRecommendations",
   910  	}
   911  
   912  	if input == nil {
   913  		input = &GetArchitectureRecommendationsInput{}
   914  	}
   915  
   916  	output = &GetArchitectureRecommendationsOutput{}
   917  	req = c.newRequest(op, input, output)
   918  	return
   919  }
   920  
   921  // GetArchitectureRecommendations API operation for AWS Route53 Recovery Readiness.
   922  //
   923  // Returns a collection of recommendations to improve resilliance and readiness
   924  // check quality for a Recovery Group.
   925  //
   926  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   927  // with awserr.Error's Code and Message methods to get detailed information about
   928  // the error.
   929  //
   930  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
   931  // API operation GetArchitectureRecommendations for usage and error information.
   932  //
   933  // Returned Error Types:
   934  //   * ResourceNotFoundException
   935  //
   936  //   * ThrottlingException
   937  //
   938  //   * ValidationException
   939  //
   940  //   * InternalServerException
   941  //
   942  //   * AccessDeniedException
   943  //
   944  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetArchitectureRecommendations
   945  func (c *Route53RecoveryReadiness) GetArchitectureRecommendations(input *GetArchitectureRecommendationsInput) (*GetArchitectureRecommendationsOutput, error) {
   946  	req, out := c.GetArchitectureRecommendationsRequest(input)
   947  	return out, req.Send()
   948  }
   949  
   950  // GetArchitectureRecommendationsWithContext is the same as GetArchitectureRecommendations with the addition of
   951  // the ability to pass a context and additional request options.
   952  //
   953  // See GetArchitectureRecommendations for details on how to use this API operation.
   954  //
   955  // The context must be non-nil and will be used for request cancellation. If
   956  // the context is nil a panic will occur. In the future the SDK may create
   957  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   958  // for more information on using Contexts.
   959  func (c *Route53RecoveryReadiness) GetArchitectureRecommendationsWithContext(ctx aws.Context, input *GetArchitectureRecommendationsInput, opts ...request.Option) (*GetArchitectureRecommendationsOutput, error) {
   960  	req, out := c.GetArchitectureRecommendationsRequest(input)
   961  	req.SetContext(ctx)
   962  	req.ApplyOptions(opts...)
   963  	return out, req.Send()
   964  }
   965  
   966  const opGetCell = "GetCell"
   967  
   968  // GetCellRequest generates a "aws/request.Request" representing the
   969  // client's request for the GetCell operation. The "output" return
   970  // value will be populated with the request's response once the request completes
   971  // successfully.
   972  //
   973  // Use "Send" method on the returned Request to send the API call to the service.
   974  // the "output" return value is not valid until after Send returns without error.
   975  //
   976  // See GetCell for more information on using the GetCell
   977  // API call, and error handling.
   978  //
   979  // This method is useful when you want to inject custom logic or configuration
   980  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   981  //
   982  //
   983  //    // Example sending a request using the GetCellRequest method.
   984  //    req, resp := client.GetCellRequest(params)
   985  //
   986  //    err := req.Send()
   987  //    if err == nil { // resp is now filled
   988  //        fmt.Println(resp)
   989  //    }
   990  //
   991  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCell
   992  func (c *Route53RecoveryReadiness) GetCellRequest(input *GetCellInput) (req *request.Request, output *GetCellOutput) {
   993  	op := &request.Operation{
   994  		Name:       opGetCell,
   995  		HTTPMethod: "GET",
   996  		HTTPPath:   "/cells/{cellName}",
   997  	}
   998  
   999  	if input == nil {
  1000  		input = &GetCellInput{}
  1001  	}
  1002  
  1003  	output = &GetCellOutput{}
  1004  	req = c.newRequest(op, input, output)
  1005  	return
  1006  }
  1007  
  1008  // GetCell API operation for AWS Route53 Recovery Readiness.
  1009  //
  1010  // Returns information about a Cell.
  1011  //
  1012  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1013  // with awserr.Error's Code and Message methods to get detailed information about
  1014  // the error.
  1015  //
  1016  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  1017  // API operation GetCell for usage and error information.
  1018  //
  1019  // Returned Error Types:
  1020  //   * ResourceNotFoundException
  1021  //
  1022  //   * ThrottlingException
  1023  //
  1024  //   * ValidationException
  1025  //
  1026  //   * InternalServerException
  1027  //
  1028  //   * AccessDeniedException
  1029  //
  1030  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCell
  1031  func (c *Route53RecoveryReadiness) GetCell(input *GetCellInput) (*GetCellOutput, error) {
  1032  	req, out := c.GetCellRequest(input)
  1033  	return out, req.Send()
  1034  }
  1035  
  1036  // GetCellWithContext is the same as GetCell with the addition of
  1037  // the ability to pass a context and additional request options.
  1038  //
  1039  // See GetCell for details on how to use this API operation.
  1040  //
  1041  // The context must be non-nil and will be used for request cancellation. If
  1042  // the context is nil a panic will occur. In the future the SDK may create
  1043  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1044  // for more information on using Contexts.
  1045  func (c *Route53RecoveryReadiness) GetCellWithContext(ctx aws.Context, input *GetCellInput, opts ...request.Option) (*GetCellOutput, error) {
  1046  	req, out := c.GetCellRequest(input)
  1047  	req.SetContext(ctx)
  1048  	req.ApplyOptions(opts...)
  1049  	return out, req.Send()
  1050  }
  1051  
  1052  const opGetCellReadinessSummary = "GetCellReadinessSummary"
  1053  
  1054  // GetCellReadinessSummaryRequest generates a "aws/request.Request" representing the
  1055  // client's request for the GetCellReadinessSummary operation. The "output" return
  1056  // value will be populated with the request's response once the request completes
  1057  // successfully.
  1058  //
  1059  // Use "Send" method on the returned Request to send the API call to the service.
  1060  // the "output" return value is not valid until after Send returns without error.
  1061  //
  1062  // See GetCellReadinessSummary for more information on using the GetCellReadinessSummary
  1063  // API call, and error handling.
  1064  //
  1065  // This method is useful when you want to inject custom logic or configuration
  1066  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1067  //
  1068  //
  1069  //    // Example sending a request using the GetCellReadinessSummaryRequest method.
  1070  //    req, resp := client.GetCellReadinessSummaryRequest(params)
  1071  //
  1072  //    err := req.Send()
  1073  //    if err == nil { // resp is now filled
  1074  //        fmt.Println(resp)
  1075  //    }
  1076  //
  1077  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCellReadinessSummary
  1078  func (c *Route53RecoveryReadiness) GetCellReadinessSummaryRequest(input *GetCellReadinessSummaryInput) (req *request.Request, output *GetCellReadinessSummaryOutput) {
  1079  	op := &request.Operation{
  1080  		Name:       opGetCellReadinessSummary,
  1081  		HTTPMethod: "GET",
  1082  		HTTPPath:   "/cellreadiness/{cellName}",
  1083  		Paginator: &request.Paginator{
  1084  			InputTokens:     []string{"NextToken"},
  1085  			OutputTokens:    []string{"NextToken"},
  1086  			LimitToken:      "MaxResults",
  1087  			TruncationToken: "",
  1088  		},
  1089  	}
  1090  
  1091  	if input == nil {
  1092  		input = &GetCellReadinessSummaryInput{}
  1093  	}
  1094  
  1095  	output = &GetCellReadinessSummaryOutput{}
  1096  	req = c.newRequest(op, input, output)
  1097  	return
  1098  }
  1099  
  1100  // GetCellReadinessSummary API operation for AWS Route53 Recovery Readiness.
  1101  //
  1102  // Returns information about readiness of a Cell.
  1103  //
  1104  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1105  // with awserr.Error's Code and Message methods to get detailed information about
  1106  // the error.
  1107  //
  1108  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  1109  // API operation GetCellReadinessSummary for usage and error information.
  1110  //
  1111  // Returned Error Types:
  1112  //   * ResourceNotFoundException
  1113  //
  1114  //   * ThrottlingException
  1115  //
  1116  //   * ValidationException
  1117  //
  1118  //   * InternalServerException
  1119  //
  1120  //   * AccessDeniedException
  1121  //
  1122  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCellReadinessSummary
  1123  func (c *Route53RecoveryReadiness) GetCellReadinessSummary(input *GetCellReadinessSummaryInput) (*GetCellReadinessSummaryOutput, error) {
  1124  	req, out := c.GetCellReadinessSummaryRequest(input)
  1125  	return out, req.Send()
  1126  }
  1127  
  1128  // GetCellReadinessSummaryWithContext is the same as GetCellReadinessSummary with the addition of
  1129  // the ability to pass a context and additional request options.
  1130  //
  1131  // See GetCellReadinessSummary for details on how to use this API operation.
  1132  //
  1133  // The context must be non-nil and will be used for request cancellation. If
  1134  // the context is nil a panic will occur. In the future the SDK may create
  1135  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1136  // for more information on using Contexts.
  1137  func (c *Route53RecoveryReadiness) GetCellReadinessSummaryWithContext(ctx aws.Context, input *GetCellReadinessSummaryInput, opts ...request.Option) (*GetCellReadinessSummaryOutput, error) {
  1138  	req, out := c.GetCellReadinessSummaryRequest(input)
  1139  	req.SetContext(ctx)
  1140  	req.ApplyOptions(opts...)
  1141  	return out, req.Send()
  1142  }
  1143  
  1144  // GetCellReadinessSummaryPages iterates over the pages of a GetCellReadinessSummary operation,
  1145  // calling the "fn" function with the response data for each page. To stop
  1146  // iterating, return false from the fn function.
  1147  //
  1148  // See GetCellReadinessSummary method for more information on how to use this operation.
  1149  //
  1150  // Note: This operation can generate multiple requests to a service.
  1151  //
  1152  //    // Example iterating over at most 3 pages of a GetCellReadinessSummary operation.
  1153  //    pageNum := 0
  1154  //    err := client.GetCellReadinessSummaryPages(params,
  1155  //        func(page *route53recoveryreadiness.GetCellReadinessSummaryOutput, lastPage bool) bool {
  1156  //            pageNum++
  1157  //            fmt.Println(page)
  1158  //            return pageNum <= 3
  1159  //        })
  1160  //
  1161  func (c *Route53RecoveryReadiness) GetCellReadinessSummaryPages(input *GetCellReadinessSummaryInput, fn func(*GetCellReadinessSummaryOutput, bool) bool) error {
  1162  	return c.GetCellReadinessSummaryPagesWithContext(aws.BackgroundContext(), input, fn)
  1163  }
  1164  
  1165  // GetCellReadinessSummaryPagesWithContext same as GetCellReadinessSummaryPages except
  1166  // it takes a Context and allows setting request options on the pages.
  1167  //
  1168  // The context must be non-nil and will be used for request cancellation. If
  1169  // the context is nil a panic will occur. In the future the SDK may create
  1170  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1171  // for more information on using Contexts.
  1172  func (c *Route53RecoveryReadiness) GetCellReadinessSummaryPagesWithContext(ctx aws.Context, input *GetCellReadinessSummaryInput, fn func(*GetCellReadinessSummaryOutput, bool) bool, opts ...request.Option) error {
  1173  	p := request.Pagination{
  1174  		NewRequest: func() (*request.Request, error) {
  1175  			var inCpy *GetCellReadinessSummaryInput
  1176  			if input != nil {
  1177  				tmp := *input
  1178  				inCpy = &tmp
  1179  			}
  1180  			req, _ := c.GetCellReadinessSummaryRequest(inCpy)
  1181  			req.SetContext(ctx)
  1182  			req.ApplyOptions(opts...)
  1183  			return req, nil
  1184  		},
  1185  	}
  1186  
  1187  	for p.Next() {
  1188  		if !fn(p.Page().(*GetCellReadinessSummaryOutput), !p.HasNextPage()) {
  1189  			break
  1190  		}
  1191  	}
  1192  
  1193  	return p.Err()
  1194  }
  1195  
  1196  const opGetReadinessCheck = "GetReadinessCheck"
  1197  
  1198  // GetReadinessCheckRequest generates a "aws/request.Request" representing the
  1199  // client's request for the GetReadinessCheck operation. The "output" return
  1200  // value will be populated with the request's response once the request completes
  1201  // successfully.
  1202  //
  1203  // Use "Send" method on the returned Request to send the API call to the service.
  1204  // the "output" return value is not valid until after Send returns without error.
  1205  //
  1206  // See GetReadinessCheck for more information on using the GetReadinessCheck
  1207  // API call, and error handling.
  1208  //
  1209  // This method is useful when you want to inject custom logic or configuration
  1210  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1211  //
  1212  //
  1213  //    // Example sending a request using the GetReadinessCheckRequest method.
  1214  //    req, resp := client.GetReadinessCheckRequest(params)
  1215  //
  1216  //    err := req.Send()
  1217  //    if err == nil { // resp is now filled
  1218  //        fmt.Println(resp)
  1219  //    }
  1220  //
  1221  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheck
  1222  func (c *Route53RecoveryReadiness) GetReadinessCheckRequest(input *GetReadinessCheckInput) (req *request.Request, output *GetReadinessCheckOutput) {
  1223  	op := &request.Operation{
  1224  		Name:       opGetReadinessCheck,
  1225  		HTTPMethod: "GET",
  1226  		HTTPPath:   "/readinesschecks/{readinessCheckName}",
  1227  	}
  1228  
  1229  	if input == nil {
  1230  		input = &GetReadinessCheckInput{}
  1231  	}
  1232  
  1233  	output = &GetReadinessCheckOutput{}
  1234  	req = c.newRequest(op, input, output)
  1235  	return
  1236  }
  1237  
  1238  // GetReadinessCheck API operation for AWS Route53 Recovery Readiness.
  1239  //
  1240  // Returns information about a ReadinessCheck.
  1241  //
  1242  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1243  // with awserr.Error's Code and Message methods to get detailed information about
  1244  // the error.
  1245  //
  1246  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  1247  // API operation GetReadinessCheck for usage and error information.
  1248  //
  1249  // Returned Error Types:
  1250  //   * ResourceNotFoundException
  1251  //
  1252  //   * ThrottlingException
  1253  //
  1254  //   * ValidationException
  1255  //
  1256  //   * InternalServerException
  1257  //
  1258  //   * AccessDeniedException
  1259  //
  1260  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheck
  1261  func (c *Route53RecoveryReadiness) GetReadinessCheck(input *GetReadinessCheckInput) (*GetReadinessCheckOutput, error) {
  1262  	req, out := c.GetReadinessCheckRequest(input)
  1263  	return out, req.Send()
  1264  }
  1265  
  1266  // GetReadinessCheckWithContext is the same as GetReadinessCheck with the addition of
  1267  // the ability to pass a context and additional request options.
  1268  //
  1269  // See GetReadinessCheck for details on how to use this API operation.
  1270  //
  1271  // The context must be non-nil and will be used for request cancellation. If
  1272  // the context is nil a panic will occur. In the future the SDK may create
  1273  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1274  // for more information on using Contexts.
  1275  func (c *Route53RecoveryReadiness) GetReadinessCheckWithContext(ctx aws.Context, input *GetReadinessCheckInput, opts ...request.Option) (*GetReadinessCheckOutput, error) {
  1276  	req, out := c.GetReadinessCheckRequest(input)
  1277  	req.SetContext(ctx)
  1278  	req.ApplyOptions(opts...)
  1279  	return out, req.Send()
  1280  }
  1281  
  1282  const opGetReadinessCheckResourceStatus = "GetReadinessCheckResourceStatus"
  1283  
  1284  // GetReadinessCheckResourceStatusRequest generates a "aws/request.Request" representing the
  1285  // client's request for the GetReadinessCheckResourceStatus 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 GetReadinessCheckResourceStatus for more information on using the GetReadinessCheckResourceStatus
  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 GetReadinessCheckResourceStatusRequest method.
  1300  //    req, resp := client.GetReadinessCheckResourceStatusRequest(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/route53-recovery-readiness-2019-12-02/GetReadinessCheckResourceStatus
  1308  func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatusRequest(input *GetReadinessCheckResourceStatusInput) (req *request.Request, output *GetReadinessCheckResourceStatusOutput) {
  1309  	op := &request.Operation{
  1310  		Name:       opGetReadinessCheckResourceStatus,
  1311  		HTTPMethod: "GET",
  1312  		HTTPPath:   "/readinesschecks/{readinessCheckName}/resource/{resourceIdentifier}/status",
  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 = &GetReadinessCheckResourceStatusInput{}
  1323  	}
  1324  
  1325  	output = &GetReadinessCheckResourceStatusOutput{}
  1326  	req = c.newRequest(op, input, output)
  1327  	return
  1328  }
  1329  
  1330  // GetReadinessCheckResourceStatus API operation for AWS Route53 Recovery Readiness.
  1331  //
  1332  // Returns detailed information about the status of an individual resource within
  1333  // a Readiness Check's Resource Set.
  1334  //
  1335  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1336  // with awserr.Error's Code and Message methods to get detailed information about
  1337  // the error.
  1338  //
  1339  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  1340  // API operation GetReadinessCheckResourceStatus for usage and error information.
  1341  //
  1342  // Returned Error Types:
  1343  //   * ResourceNotFoundException
  1344  //
  1345  //   * ThrottlingException
  1346  //
  1347  //   * ValidationException
  1348  //
  1349  //   * InternalServerException
  1350  //
  1351  //   * AccessDeniedException
  1352  //
  1353  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheckResourceStatus
  1354  func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatus(input *GetReadinessCheckResourceStatusInput) (*GetReadinessCheckResourceStatusOutput, error) {
  1355  	req, out := c.GetReadinessCheckResourceStatusRequest(input)
  1356  	return out, req.Send()
  1357  }
  1358  
  1359  // GetReadinessCheckResourceStatusWithContext is the same as GetReadinessCheckResourceStatus with the addition of
  1360  // the ability to pass a context and additional request options.
  1361  //
  1362  // See GetReadinessCheckResourceStatus for details on how to use this API operation.
  1363  //
  1364  // The context must be non-nil and will be used for request cancellation. If
  1365  // the context is nil a panic will occur. In the future the SDK may create
  1366  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1367  // for more information on using Contexts.
  1368  func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatusWithContext(ctx aws.Context, input *GetReadinessCheckResourceStatusInput, opts ...request.Option) (*GetReadinessCheckResourceStatusOutput, error) {
  1369  	req, out := c.GetReadinessCheckResourceStatusRequest(input)
  1370  	req.SetContext(ctx)
  1371  	req.ApplyOptions(opts...)
  1372  	return out, req.Send()
  1373  }
  1374  
  1375  // GetReadinessCheckResourceStatusPages iterates over the pages of a GetReadinessCheckResourceStatus operation,
  1376  // calling the "fn" function with the response data for each page. To stop
  1377  // iterating, return false from the fn function.
  1378  //
  1379  // See GetReadinessCheckResourceStatus method for more information on how to use this operation.
  1380  //
  1381  // Note: This operation can generate multiple requests to a service.
  1382  //
  1383  //    // Example iterating over at most 3 pages of a GetReadinessCheckResourceStatus operation.
  1384  //    pageNum := 0
  1385  //    err := client.GetReadinessCheckResourceStatusPages(params,
  1386  //        func(page *route53recoveryreadiness.GetReadinessCheckResourceStatusOutput, lastPage bool) bool {
  1387  //            pageNum++
  1388  //            fmt.Println(page)
  1389  //            return pageNum <= 3
  1390  //        })
  1391  //
  1392  func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatusPages(input *GetReadinessCheckResourceStatusInput, fn func(*GetReadinessCheckResourceStatusOutput, bool) bool) error {
  1393  	return c.GetReadinessCheckResourceStatusPagesWithContext(aws.BackgroundContext(), input, fn)
  1394  }
  1395  
  1396  // GetReadinessCheckResourceStatusPagesWithContext same as GetReadinessCheckResourceStatusPages except
  1397  // it takes a Context and allows setting request options on the pages.
  1398  //
  1399  // The context must be non-nil and will be used for request cancellation. If
  1400  // the context is nil a panic will occur. In the future the SDK may create
  1401  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1402  // for more information on using Contexts.
  1403  func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatusPagesWithContext(ctx aws.Context, input *GetReadinessCheckResourceStatusInput, fn func(*GetReadinessCheckResourceStatusOutput, bool) bool, opts ...request.Option) error {
  1404  	p := request.Pagination{
  1405  		NewRequest: func() (*request.Request, error) {
  1406  			var inCpy *GetReadinessCheckResourceStatusInput
  1407  			if input != nil {
  1408  				tmp := *input
  1409  				inCpy = &tmp
  1410  			}
  1411  			req, _ := c.GetReadinessCheckResourceStatusRequest(inCpy)
  1412  			req.SetContext(ctx)
  1413  			req.ApplyOptions(opts...)
  1414  			return req, nil
  1415  		},
  1416  	}
  1417  
  1418  	for p.Next() {
  1419  		if !fn(p.Page().(*GetReadinessCheckResourceStatusOutput), !p.HasNextPage()) {
  1420  			break
  1421  		}
  1422  	}
  1423  
  1424  	return p.Err()
  1425  }
  1426  
  1427  const opGetReadinessCheckStatus = "GetReadinessCheckStatus"
  1428  
  1429  // GetReadinessCheckStatusRequest generates a "aws/request.Request" representing the
  1430  // client's request for the GetReadinessCheckStatus operation. The "output" return
  1431  // value will be populated with the request's response once the request completes
  1432  // successfully.
  1433  //
  1434  // Use "Send" method on the returned Request to send the API call to the service.
  1435  // the "output" return value is not valid until after Send returns without error.
  1436  //
  1437  // See GetReadinessCheckStatus for more information on using the GetReadinessCheckStatus
  1438  // API call, and error handling.
  1439  //
  1440  // This method is useful when you want to inject custom logic or configuration
  1441  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1442  //
  1443  //
  1444  //    // Example sending a request using the GetReadinessCheckStatusRequest method.
  1445  //    req, resp := client.GetReadinessCheckStatusRequest(params)
  1446  //
  1447  //    err := req.Send()
  1448  //    if err == nil { // resp is now filled
  1449  //        fmt.Println(resp)
  1450  //    }
  1451  //
  1452  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheckStatus
  1453  func (c *Route53RecoveryReadiness) GetReadinessCheckStatusRequest(input *GetReadinessCheckStatusInput) (req *request.Request, output *GetReadinessCheckStatusOutput) {
  1454  	op := &request.Operation{
  1455  		Name:       opGetReadinessCheckStatus,
  1456  		HTTPMethod: "GET",
  1457  		HTTPPath:   "/readinesschecks/{readinessCheckName}/status",
  1458  		Paginator: &request.Paginator{
  1459  			InputTokens:     []string{"NextToken"},
  1460  			OutputTokens:    []string{"NextToken"},
  1461  			LimitToken:      "MaxResults",
  1462  			TruncationToken: "",
  1463  		},
  1464  	}
  1465  
  1466  	if input == nil {
  1467  		input = &GetReadinessCheckStatusInput{}
  1468  	}
  1469  
  1470  	output = &GetReadinessCheckStatusOutput{}
  1471  	req = c.newRequest(op, input, output)
  1472  	return
  1473  }
  1474  
  1475  // GetReadinessCheckStatus API operation for AWS Route53 Recovery Readiness.
  1476  //
  1477  // Returns information about the status of a Readiness Check.
  1478  //
  1479  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1480  // with awserr.Error's Code and Message methods to get detailed information about
  1481  // the error.
  1482  //
  1483  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  1484  // API operation GetReadinessCheckStatus for usage and error information.
  1485  //
  1486  // Returned Error Types:
  1487  //   * ResourceNotFoundException
  1488  //
  1489  //   * ThrottlingException
  1490  //
  1491  //   * ValidationException
  1492  //
  1493  //   * InternalServerException
  1494  //
  1495  //   * AccessDeniedException
  1496  //
  1497  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheckStatus
  1498  func (c *Route53RecoveryReadiness) GetReadinessCheckStatus(input *GetReadinessCheckStatusInput) (*GetReadinessCheckStatusOutput, error) {
  1499  	req, out := c.GetReadinessCheckStatusRequest(input)
  1500  	return out, req.Send()
  1501  }
  1502  
  1503  // GetReadinessCheckStatusWithContext is the same as GetReadinessCheckStatus with the addition of
  1504  // the ability to pass a context and additional request options.
  1505  //
  1506  // See GetReadinessCheckStatus for details on how to use this API operation.
  1507  //
  1508  // The context must be non-nil and will be used for request cancellation. If
  1509  // the context is nil a panic will occur. In the future the SDK may create
  1510  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1511  // for more information on using Contexts.
  1512  func (c *Route53RecoveryReadiness) GetReadinessCheckStatusWithContext(ctx aws.Context, input *GetReadinessCheckStatusInput, opts ...request.Option) (*GetReadinessCheckStatusOutput, error) {
  1513  	req, out := c.GetReadinessCheckStatusRequest(input)
  1514  	req.SetContext(ctx)
  1515  	req.ApplyOptions(opts...)
  1516  	return out, req.Send()
  1517  }
  1518  
  1519  // GetReadinessCheckStatusPages iterates over the pages of a GetReadinessCheckStatus operation,
  1520  // calling the "fn" function with the response data for each page. To stop
  1521  // iterating, return false from the fn function.
  1522  //
  1523  // See GetReadinessCheckStatus method for more information on how to use this operation.
  1524  //
  1525  // Note: This operation can generate multiple requests to a service.
  1526  //
  1527  //    // Example iterating over at most 3 pages of a GetReadinessCheckStatus operation.
  1528  //    pageNum := 0
  1529  //    err := client.GetReadinessCheckStatusPages(params,
  1530  //        func(page *route53recoveryreadiness.GetReadinessCheckStatusOutput, lastPage bool) bool {
  1531  //            pageNum++
  1532  //            fmt.Println(page)
  1533  //            return pageNum <= 3
  1534  //        })
  1535  //
  1536  func (c *Route53RecoveryReadiness) GetReadinessCheckStatusPages(input *GetReadinessCheckStatusInput, fn func(*GetReadinessCheckStatusOutput, bool) bool) error {
  1537  	return c.GetReadinessCheckStatusPagesWithContext(aws.BackgroundContext(), input, fn)
  1538  }
  1539  
  1540  // GetReadinessCheckStatusPagesWithContext same as GetReadinessCheckStatusPages except
  1541  // it takes a Context and allows setting request options on the pages.
  1542  //
  1543  // The context must be non-nil and will be used for request cancellation. If
  1544  // the context is nil a panic will occur. In the future the SDK may create
  1545  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1546  // for more information on using Contexts.
  1547  func (c *Route53RecoveryReadiness) GetReadinessCheckStatusPagesWithContext(ctx aws.Context, input *GetReadinessCheckStatusInput, fn func(*GetReadinessCheckStatusOutput, bool) bool, opts ...request.Option) error {
  1548  	p := request.Pagination{
  1549  		NewRequest: func() (*request.Request, error) {
  1550  			var inCpy *GetReadinessCheckStatusInput
  1551  			if input != nil {
  1552  				tmp := *input
  1553  				inCpy = &tmp
  1554  			}
  1555  			req, _ := c.GetReadinessCheckStatusRequest(inCpy)
  1556  			req.SetContext(ctx)
  1557  			req.ApplyOptions(opts...)
  1558  			return req, nil
  1559  		},
  1560  	}
  1561  
  1562  	for p.Next() {
  1563  		if !fn(p.Page().(*GetReadinessCheckStatusOutput), !p.HasNextPage()) {
  1564  			break
  1565  		}
  1566  	}
  1567  
  1568  	return p.Err()
  1569  }
  1570  
  1571  const opGetRecoveryGroup = "GetRecoveryGroup"
  1572  
  1573  // GetRecoveryGroupRequest generates a "aws/request.Request" representing the
  1574  // client's request for the GetRecoveryGroup operation. The "output" return
  1575  // value will be populated with the request's response once the request completes
  1576  // successfully.
  1577  //
  1578  // Use "Send" method on the returned Request to send the API call to the service.
  1579  // the "output" return value is not valid until after Send returns without error.
  1580  //
  1581  // See GetRecoveryGroup for more information on using the GetRecoveryGroup
  1582  // API call, and error handling.
  1583  //
  1584  // This method is useful when you want to inject custom logic or configuration
  1585  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1586  //
  1587  //
  1588  //    // Example sending a request using the GetRecoveryGroupRequest method.
  1589  //    req, resp := client.GetRecoveryGroupRequest(params)
  1590  //
  1591  //    err := req.Send()
  1592  //    if err == nil { // resp is now filled
  1593  //        fmt.Println(resp)
  1594  //    }
  1595  //
  1596  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroup
  1597  func (c *Route53RecoveryReadiness) GetRecoveryGroupRequest(input *GetRecoveryGroupInput) (req *request.Request, output *GetRecoveryGroupOutput) {
  1598  	op := &request.Operation{
  1599  		Name:       opGetRecoveryGroup,
  1600  		HTTPMethod: "GET",
  1601  		HTTPPath:   "/recoverygroups/{recoveryGroupName}",
  1602  	}
  1603  
  1604  	if input == nil {
  1605  		input = &GetRecoveryGroupInput{}
  1606  	}
  1607  
  1608  	output = &GetRecoveryGroupOutput{}
  1609  	req = c.newRequest(op, input, output)
  1610  	return
  1611  }
  1612  
  1613  // GetRecoveryGroup API operation for AWS Route53 Recovery Readiness.
  1614  //
  1615  // Returns information about a Recovery Group.
  1616  //
  1617  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1618  // with awserr.Error's Code and Message methods to get detailed information about
  1619  // the error.
  1620  //
  1621  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  1622  // API operation GetRecoveryGroup for usage and error information.
  1623  //
  1624  // Returned Error Types:
  1625  //   * ResourceNotFoundException
  1626  //
  1627  //   * ThrottlingException
  1628  //
  1629  //   * ValidationException
  1630  //
  1631  //   * InternalServerException
  1632  //
  1633  //   * AccessDeniedException
  1634  //
  1635  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroup
  1636  func (c *Route53RecoveryReadiness) GetRecoveryGroup(input *GetRecoveryGroupInput) (*GetRecoveryGroupOutput, error) {
  1637  	req, out := c.GetRecoveryGroupRequest(input)
  1638  	return out, req.Send()
  1639  }
  1640  
  1641  // GetRecoveryGroupWithContext is the same as GetRecoveryGroup with the addition of
  1642  // the ability to pass a context and additional request options.
  1643  //
  1644  // See GetRecoveryGroup for details on how to use this API operation.
  1645  //
  1646  // The context must be non-nil and will be used for request cancellation. If
  1647  // the context is nil a panic will occur. In the future the SDK may create
  1648  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1649  // for more information on using Contexts.
  1650  func (c *Route53RecoveryReadiness) GetRecoveryGroupWithContext(ctx aws.Context, input *GetRecoveryGroupInput, opts ...request.Option) (*GetRecoveryGroupOutput, error) {
  1651  	req, out := c.GetRecoveryGroupRequest(input)
  1652  	req.SetContext(ctx)
  1653  	req.ApplyOptions(opts...)
  1654  	return out, req.Send()
  1655  }
  1656  
  1657  const opGetRecoveryGroupReadinessSummary = "GetRecoveryGroupReadinessSummary"
  1658  
  1659  // GetRecoveryGroupReadinessSummaryRequest generates a "aws/request.Request" representing the
  1660  // client's request for the GetRecoveryGroupReadinessSummary operation. The "output" return
  1661  // value will be populated with the request's response once the request completes
  1662  // successfully.
  1663  //
  1664  // Use "Send" method on the returned Request to send the API call to the service.
  1665  // the "output" return value is not valid until after Send returns without error.
  1666  //
  1667  // See GetRecoveryGroupReadinessSummary for more information on using the GetRecoveryGroupReadinessSummary
  1668  // API call, and error handling.
  1669  //
  1670  // This method is useful when you want to inject custom logic or configuration
  1671  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1672  //
  1673  //
  1674  //    // Example sending a request using the GetRecoveryGroupReadinessSummaryRequest method.
  1675  //    req, resp := client.GetRecoveryGroupReadinessSummaryRequest(params)
  1676  //
  1677  //    err := req.Send()
  1678  //    if err == nil { // resp is now filled
  1679  //        fmt.Println(resp)
  1680  //    }
  1681  //
  1682  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroupReadinessSummary
  1683  func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummaryRequest(input *GetRecoveryGroupReadinessSummaryInput) (req *request.Request, output *GetRecoveryGroupReadinessSummaryOutput) {
  1684  	op := &request.Operation{
  1685  		Name:       opGetRecoveryGroupReadinessSummary,
  1686  		HTTPMethod: "GET",
  1687  		HTTPPath:   "/recoverygroupreadiness/{recoveryGroupName}",
  1688  		Paginator: &request.Paginator{
  1689  			InputTokens:     []string{"NextToken"},
  1690  			OutputTokens:    []string{"NextToken"},
  1691  			LimitToken:      "MaxResults",
  1692  			TruncationToken: "",
  1693  		},
  1694  	}
  1695  
  1696  	if input == nil {
  1697  		input = &GetRecoveryGroupReadinessSummaryInput{}
  1698  	}
  1699  
  1700  	output = &GetRecoveryGroupReadinessSummaryOutput{}
  1701  	req = c.newRequest(op, input, output)
  1702  	return
  1703  }
  1704  
  1705  // GetRecoveryGroupReadinessSummary API operation for AWS Route53 Recovery Readiness.
  1706  //
  1707  // Returns information about a Recovery Group.
  1708  //
  1709  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1710  // with awserr.Error's Code and Message methods to get detailed information about
  1711  // the error.
  1712  //
  1713  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  1714  // API operation GetRecoveryGroupReadinessSummary for usage and error information.
  1715  //
  1716  // Returned Error Types:
  1717  //   * ResourceNotFoundException
  1718  //
  1719  //   * ThrottlingException
  1720  //
  1721  //   * ValidationException
  1722  //
  1723  //   * InternalServerException
  1724  //
  1725  //   * AccessDeniedException
  1726  //
  1727  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroupReadinessSummary
  1728  func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummary(input *GetRecoveryGroupReadinessSummaryInput) (*GetRecoveryGroupReadinessSummaryOutput, error) {
  1729  	req, out := c.GetRecoveryGroupReadinessSummaryRequest(input)
  1730  	return out, req.Send()
  1731  }
  1732  
  1733  // GetRecoveryGroupReadinessSummaryWithContext is the same as GetRecoveryGroupReadinessSummary with the addition of
  1734  // the ability to pass a context and additional request options.
  1735  //
  1736  // See GetRecoveryGroupReadinessSummary for details on how to use this API operation.
  1737  //
  1738  // The context must be non-nil and will be used for request cancellation. If
  1739  // the context is nil a panic will occur. In the future the SDK may create
  1740  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1741  // for more information on using Contexts.
  1742  func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummaryWithContext(ctx aws.Context, input *GetRecoveryGroupReadinessSummaryInput, opts ...request.Option) (*GetRecoveryGroupReadinessSummaryOutput, error) {
  1743  	req, out := c.GetRecoveryGroupReadinessSummaryRequest(input)
  1744  	req.SetContext(ctx)
  1745  	req.ApplyOptions(opts...)
  1746  	return out, req.Send()
  1747  }
  1748  
  1749  // GetRecoveryGroupReadinessSummaryPages iterates over the pages of a GetRecoveryGroupReadinessSummary operation,
  1750  // calling the "fn" function with the response data for each page. To stop
  1751  // iterating, return false from the fn function.
  1752  //
  1753  // See GetRecoveryGroupReadinessSummary method for more information on how to use this operation.
  1754  //
  1755  // Note: This operation can generate multiple requests to a service.
  1756  //
  1757  //    // Example iterating over at most 3 pages of a GetRecoveryGroupReadinessSummary operation.
  1758  //    pageNum := 0
  1759  //    err := client.GetRecoveryGroupReadinessSummaryPages(params,
  1760  //        func(page *route53recoveryreadiness.GetRecoveryGroupReadinessSummaryOutput, lastPage bool) bool {
  1761  //            pageNum++
  1762  //            fmt.Println(page)
  1763  //            return pageNum <= 3
  1764  //        })
  1765  //
  1766  func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummaryPages(input *GetRecoveryGroupReadinessSummaryInput, fn func(*GetRecoveryGroupReadinessSummaryOutput, bool) bool) error {
  1767  	return c.GetRecoveryGroupReadinessSummaryPagesWithContext(aws.BackgroundContext(), input, fn)
  1768  }
  1769  
  1770  // GetRecoveryGroupReadinessSummaryPagesWithContext same as GetRecoveryGroupReadinessSummaryPages except
  1771  // it takes a Context and allows setting request options on the pages.
  1772  //
  1773  // The context must be non-nil and will be used for request cancellation. If
  1774  // the context is nil a panic will occur. In the future the SDK may create
  1775  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1776  // for more information on using Contexts.
  1777  func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummaryPagesWithContext(ctx aws.Context, input *GetRecoveryGroupReadinessSummaryInput, fn func(*GetRecoveryGroupReadinessSummaryOutput, bool) bool, opts ...request.Option) error {
  1778  	p := request.Pagination{
  1779  		NewRequest: func() (*request.Request, error) {
  1780  			var inCpy *GetRecoveryGroupReadinessSummaryInput
  1781  			if input != nil {
  1782  				tmp := *input
  1783  				inCpy = &tmp
  1784  			}
  1785  			req, _ := c.GetRecoveryGroupReadinessSummaryRequest(inCpy)
  1786  			req.SetContext(ctx)
  1787  			req.ApplyOptions(opts...)
  1788  			return req, nil
  1789  		},
  1790  	}
  1791  
  1792  	for p.Next() {
  1793  		if !fn(p.Page().(*GetRecoveryGroupReadinessSummaryOutput), !p.HasNextPage()) {
  1794  			break
  1795  		}
  1796  	}
  1797  
  1798  	return p.Err()
  1799  }
  1800  
  1801  const opGetResourceSet = "GetResourceSet"
  1802  
  1803  // GetResourceSetRequest generates a "aws/request.Request" representing the
  1804  // client's request for the GetResourceSet operation. The "output" return
  1805  // value will be populated with the request's response once the request completes
  1806  // successfully.
  1807  //
  1808  // Use "Send" method on the returned Request to send the API call to the service.
  1809  // the "output" return value is not valid until after Send returns without error.
  1810  //
  1811  // See GetResourceSet for more information on using the GetResourceSet
  1812  // API call, and error handling.
  1813  //
  1814  // This method is useful when you want to inject custom logic or configuration
  1815  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1816  //
  1817  //
  1818  //    // Example sending a request using the GetResourceSetRequest method.
  1819  //    req, resp := client.GetResourceSetRequest(params)
  1820  //
  1821  //    err := req.Send()
  1822  //    if err == nil { // resp is now filled
  1823  //        fmt.Println(resp)
  1824  //    }
  1825  //
  1826  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetResourceSet
  1827  func (c *Route53RecoveryReadiness) GetResourceSetRequest(input *GetResourceSetInput) (req *request.Request, output *GetResourceSetOutput) {
  1828  	op := &request.Operation{
  1829  		Name:       opGetResourceSet,
  1830  		HTTPMethod: "GET",
  1831  		HTTPPath:   "/resourcesets/{resourceSetName}",
  1832  	}
  1833  
  1834  	if input == nil {
  1835  		input = &GetResourceSetInput{}
  1836  	}
  1837  
  1838  	output = &GetResourceSetOutput{}
  1839  	req = c.newRequest(op, input, output)
  1840  	return
  1841  }
  1842  
  1843  // GetResourceSet API operation for AWS Route53 Recovery Readiness.
  1844  //
  1845  // Returns information about a Resource Set.
  1846  //
  1847  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1848  // with awserr.Error's Code and Message methods to get detailed information about
  1849  // the error.
  1850  //
  1851  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  1852  // API operation GetResourceSet for usage and error information.
  1853  //
  1854  // Returned Error Types:
  1855  //   * ResourceNotFoundException
  1856  //
  1857  //   * ThrottlingException
  1858  //
  1859  //   * ValidationException
  1860  //
  1861  //   * InternalServerException
  1862  //
  1863  //   * AccessDeniedException
  1864  //
  1865  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetResourceSet
  1866  func (c *Route53RecoveryReadiness) GetResourceSet(input *GetResourceSetInput) (*GetResourceSetOutput, error) {
  1867  	req, out := c.GetResourceSetRequest(input)
  1868  	return out, req.Send()
  1869  }
  1870  
  1871  // GetResourceSetWithContext is the same as GetResourceSet with the addition of
  1872  // the ability to pass a context and additional request options.
  1873  //
  1874  // See GetResourceSet for details on how to use this API operation.
  1875  //
  1876  // The context must be non-nil and will be used for request cancellation. If
  1877  // the context is nil a panic will occur. In the future the SDK may create
  1878  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1879  // for more information on using Contexts.
  1880  func (c *Route53RecoveryReadiness) GetResourceSetWithContext(ctx aws.Context, input *GetResourceSetInput, opts ...request.Option) (*GetResourceSetOutput, error) {
  1881  	req, out := c.GetResourceSetRequest(input)
  1882  	req.SetContext(ctx)
  1883  	req.ApplyOptions(opts...)
  1884  	return out, req.Send()
  1885  }
  1886  
  1887  const opListCells = "ListCells"
  1888  
  1889  // ListCellsRequest generates a "aws/request.Request" representing the
  1890  // client's request for the ListCells operation. The "output" return
  1891  // value will be populated with the request's response once the request completes
  1892  // successfully.
  1893  //
  1894  // Use "Send" method on the returned Request to send the API call to the service.
  1895  // the "output" return value is not valid until after Send returns without error.
  1896  //
  1897  // See ListCells for more information on using the ListCells
  1898  // API call, and error handling.
  1899  //
  1900  // This method is useful when you want to inject custom logic or configuration
  1901  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1902  //
  1903  //
  1904  //    // Example sending a request using the ListCellsRequest method.
  1905  //    req, resp := client.ListCellsRequest(params)
  1906  //
  1907  //    err := req.Send()
  1908  //    if err == nil { // resp is now filled
  1909  //        fmt.Println(resp)
  1910  //    }
  1911  //
  1912  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCells
  1913  func (c *Route53RecoveryReadiness) ListCellsRequest(input *ListCellsInput) (req *request.Request, output *ListCellsOutput) {
  1914  	op := &request.Operation{
  1915  		Name:       opListCells,
  1916  		HTTPMethod: "GET",
  1917  		HTTPPath:   "/cells",
  1918  		Paginator: &request.Paginator{
  1919  			InputTokens:     []string{"NextToken"},
  1920  			OutputTokens:    []string{"NextToken"},
  1921  			LimitToken:      "MaxResults",
  1922  			TruncationToken: "",
  1923  		},
  1924  	}
  1925  
  1926  	if input == nil {
  1927  		input = &ListCellsInput{}
  1928  	}
  1929  
  1930  	output = &ListCellsOutput{}
  1931  	req = c.newRequest(op, input, output)
  1932  	return
  1933  }
  1934  
  1935  // ListCells API operation for AWS Route53 Recovery Readiness.
  1936  //
  1937  // Returns a collection of Cells.
  1938  //
  1939  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1940  // with awserr.Error's Code and Message methods to get detailed information about
  1941  // the error.
  1942  //
  1943  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  1944  // API operation ListCells for usage and error information.
  1945  //
  1946  // Returned Error Types:
  1947  //   * ThrottlingException
  1948  //
  1949  //   * ValidationException
  1950  //
  1951  //   * InternalServerException
  1952  //
  1953  //   * AccessDeniedException
  1954  //
  1955  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCells
  1956  func (c *Route53RecoveryReadiness) ListCells(input *ListCellsInput) (*ListCellsOutput, error) {
  1957  	req, out := c.ListCellsRequest(input)
  1958  	return out, req.Send()
  1959  }
  1960  
  1961  // ListCellsWithContext is the same as ListCells with the addition of
  1962  // the ability to pass a context and additional request options.
  1963  //
  1964  // See ListCells for details on how to use this API operation.
  1965  //
  1966  // The context must be non-nil and will be used for request cancellation. If
  1967  // the context is nil a panic will occur. In the future the SDK may create
  1968  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1969  // for more information on using Contexts.
  1970  func (c *Route53RecoveryReadiness) ListCellsWithContext(ctx aws.Context, input *ListCellsInput, opts ...request.Option) (*ListCellsOutput, error) {
  1971  	req, out := c.ListCellsRequest(input)
  1972  	req.SetContext(ctx)
  1973  	req.ApplyOptions(opts...)
  1974  	return out, req.Send()
  1975  }
  1976  
  1977  // ListCellsPages iterates over the pages of a ListCells operation,
  1978  // calling the "fn" function with the response data for each page. To stop
  1979  // iterating, return false from the fn function.
  1980  //
  1981  // See ListCells method for more information on how to use this operation.
  1982  //
  1983  // Note: This operation can generate multiple requests to a service.
  1984  //
  1985  //    // Example iterating over at most 3 pages of a ListCells operation.
  1986  //    pageNum := 0
  1987  //    err := client.ListCellsPages(params,
  1988  //        func(page *route53recoveryreadiness.ListCellsOutput, lastPage bool) bool {
  1989  //            pageNum++
  1990  //            fmt.Println(page)
  1991  //            return pageNum <= 3
  1992  //        })
  1993  //
  1994  func (c *Route53RecoveryReadiness) ListCellsPages(input *ListCellsInput, fn func(*ListCellsOutput, bool) bool) error {
  1995  	return c.ListCellsPagesWithContext(aws.BackgroundContext(), input, fn)
  1996  }
  1997  
  1998  // ListCellsPagesWithContext same as ListCellsPages except
  1999  // it takes a Context and allows setting request options on the pages.
  2000  //
  2001  // The context must be non-nil and will be used for request cancellation. If
  2002  // the context is nil a panic will occur. In the future the SDK may create
  2003  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2004  // for more information on using Contexts.
  2005  func (c *Route53RecoveryReadiness) ListCellsPagesWithContext(ctx aws.Context, input *ListCellsInput, fn func(*ListCellsOutput, bool) bool, opts ...request.Option) error {
  2006  	p := request.Pagination{
  2007  		NewRequest: func() (*request.Request, error) {
  2008  			var inCpy *ListCellsInput
  2009  			if input != nil {
  2010  				tmp := *input
  2011  				inCpy = &tmp
  2012  			}
  2013  			req, _ := c.ListCellsRequest(inCpy)
  2014  			req.SetContext(ctx)
  2015  			req.ApplyOptions(opts...)
  2016  			return req, nil
  2017  		},
  2018  	}
  2019  
  2020  	for p.Next() {
  2021  		if !fn(p.Page().(*ListCellsOutput), !p.HasNextPage()) {
  2022  			break
  2023  		}
  2024  	}
  2025  
  2026  	return p.Err()
  2027  }
  2028  
  2029  const opListCrossAccountAuthorizations = "ListCrossAccountAuthorizations"
  2030  
  2031  // ListCrossAccountAuthorizationsRequest generates a "aws/request.Request" representing the
  2032  // client's request for the ListCrossAccountAuthorizations operation. The "output" return
  2033  // value will be populated with the request's response once the request completes
  2034  // successfully.
  2035  //
  2036  // Use "Send" method on the returned Request to send the API call to the service.
  2037  // the "output" return value is not valid until after Send returns without error.
  2038  //
  2039  // See ListCrossAccountAuthorizations for more information on using the ListCrossAccountAuthorizations
  2040  // API call, and error handling.
  2041  //
  2042  // This method is useful when you want to inject custom logic or configuration
  2043  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2044  //
  2045  //
  2046  //    // Example sending a request using the ListCrossAccountAuthorizationsRequest method.
  2047  //    req, resp := client.ListCrossAccountAuthorizationsRequest(params)
  2048  //
  2049  //    err := req.Send()
  2050  //    if err == nil { // resp is now filled
  2051  //        fmt.Println(resp)
  2052  //    }
  2053  //
  2054  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCrossAccountAuthorizations
  2055  func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizationsRequest(input *ListCrossAccountAuthorizationsInput) (req *request.Request, output *ListCrossAccountAuthorizationsOutput) {
  2056  	op := &request.Operation{
  2057  		Name:       opListCrossAccountAuthorizations,
  2058  		HTTPMethod: "GET",
  2059  		HTTPPath:   "/crossaccountauthorizations",
  2060  		Paginator: &request.Paginator{
  2061  			InputTokens:     []string{"NextToken"},
  2062  			OutputTokens:    []string{"NextToken"},
  2063  			LimitToken:      "MaxResults",
  2064  			TruncationToken: "",
  2065  		},
  2066  	}
  2067  
  2068  	if input == nil {
  2069  		input = &ListCrossAccountAuthorizationsInput{}
  2070  	}
  2071  
  2072  	output = &ListCrossAccountAuthorizationsOutput{}
  2073  	req = c.newRequest(op, input, output)
  2074  	return
  2075  }
  2076  
  2077  // ListCrossAccountAuthorizations API operation for AWS Route53 Recovery Readiness.
  2078  //
  2079  // Returns a collection of cross account readiness authorizations.
  2080  //
  2081  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2082  // with awserr.Error's Code and Message methods to get detailed information about
  2083  // the error.
  2084  //
  2085  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  2086  // API operation ListCrossAccountAuthorizations for usage and error information.
  2087  //
  2088  // Returned Error Types:
  2089  //   * ThrottlingException
  2090  //
  2091  //   * ValidationException
  2092  //
  2093  //   * InternalServerException
  2094  //
  2095  //   * AccessDeniedException
  2096  //
  2097  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCrossAccountAuthorizations
  2098  func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizations(input *ListCrossAccountAuthorizationsInput) (*ListCrossAccountAuthorizationsOutput, error) {
  2099  	req, out := c.ListCrossAccountAuthorizationsRequest(input)
  2100  	return out, req.Send()
  2101  }
  2102  
  2103  // ListCrossAccountAuthorizationsWithContext is the same as ListCrossAccountAuthorizations with the addition of
  2104  // the ability to pass a context and additional request options.
  2105  //
  2106  // See ListCrossAccountAuthorizations for details on how to use this API operation.
  2107  //
  2108  // The context must be non-nil and will be used for request cancellation. If
  2109  // the context is nil a panic will occur. In the future the SDK may create
  2110  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2111  // for more information on using Contexts.
  2112  func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizationsWithContext(ctx aws.Context, input *ListCrossAccountAuthorizationsInput, opts ...request.Option) (*ListCrossAccountAuthorizationsOutput, error) {
  2113  	req, out := c.ListCrossAccountAuthorizationsRequest(input)
  2114  	req.SetContext(ctx)
  2115  	req.ApplyOptions(opts...)
  2116  	return out, req.Send()
  2117  }
  2118  
  2119  // ListCrossAccountAuthorizationsPages iterates over the pages of a ListCrossAccountAuthorizations operation,
  2120  // calling the "fn" function with the response data for each page. To stop
  2121  // iterating, return false from the fn function.
  2122  //
  2123  // See ListCrossAccountAuthorizations method for more information on how to use this operation.
  2124  //
  2125  // Note: This operation can generate multiple requests to a service.
  2126  //
  2127  //    // Example iterating over at most 3 pages of a ListCrossAccountAuthorizations operation.
  2128  //    pageNum := 0
  2129  //    err := client.ListCrossAccountAuthorizationsPages(params,
  2130  //        func(page *route53recoveryreadiness.ListCrossAccountAuthorizationsOutput, lastPage bool) bool {
  2131  //            pageNum++
  2132  //            fmt.Println(page)
  2133  //            return pageNum <= 3
  2134  //        })
  2135  //
  2136  func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizationsPages(input *ListCrossAccountAuthorizationsInput, fn func(*ListCrossAccountAuthorizationsOutput, bool) bool) error {
  2137  	return c.ListCrossAccountAuthorizationsPagesWithContext(aws.BackgroundContext(), input, fn)
  2138  }
  2139  
  2140  // ListCrossAccountAuthorizationsPagesWithContext same as ListCrossAccountAuthorizationsPages except
  2141  // it takes a Context and allows setting request options on the pages.
  2142  //
  2143  // The context must be non-nil and will be used for request cancellation. If
  2144  // the context is nil a panic will occur. In the future the SDK may create
  2145  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2146  // for more information on using Contexts.
  2147  func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizationsPagesWithContext(ctx aws.Context, input *ListCrossAccountAuthorizationsInput, fn func(*ListCrossAccountAuthorizationsOutput, bool) bool, opts ...request.Option) error {
  2148  	p := request.Pagination{
  2149  		NewRequest: func() (*request.Request, error) {
  2150  			var inCpy *ListCrossAccountAuthorizationsInput
  2151  			if input != nil {
  2152  				tmp := *input
  2153  				inCpy = &tmp
  2154  			}
  2155  			req, _ := c.ListCrossAccountAuthorizationsRequest(inCpy)
  2156  			req.SetContext(ctx)
  2157  			req.ApplyOptions(opts...)
  2158  			return req, nil
  2159  		},
  2160  	}
  2161  
  2162  	for p.Next() {
  2163  		if !fn(p.Page().(*ListCrossAccountAuthorizationsOutput), !p.HasNextPage()) {
  2164  			break
  2165  		}
  2166  	}
  2167  
  2168  	return p.Err()
  2169  }
  2170  
  2171  const opListReadinessChecks = "ListReadinessChecks"
  2172  
  2173  // ListReadinessChecksRequest generates a "aws/request.Request" representing the
  2174  // client's request for the ListReadinessChecks operation. The "output" return
  2175  // value will be populated with the request's response once the request completes
  2176  // successfully.
  2177  //
  2178  // Use "Send" method on the returned Request to send the API call to the service.
  2179  // the "output" return value is not valid until after Send returns without error.
  2180  //
  2181  // See ListReadinessChecks for more information on using the ListReadinessChecks
  2182  // API call, and error handling.
  2183  //
  2184  // This method is useful when you want to inject custom logic or configuration
  2185  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2186  //
  2187  //
  2188  //    // Example sending a request using the ListReadinessChecksRequest method.
  2189  //    req, resp := client.ListReadinessChecksRequest(params)
  2190  //
  2191  //    err := req.Send()
  2192  //    if err == nil { // resp is now filled
  2193  //        fmt.Println(resp)
  2194  //    }
  2195  //
  2196  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListReadinessChecks
  2197  func (c *Route53RecoveryReadiness) ListReadinessChecksRequest(input *ListReadinessChecksInput) (req *request.Request, output *ListReadinessChecksOutput) {
  2198  	op := &request.Operation{
  2199  		Name:       opListReadinessChecks,
  2200  		HTTPMethod: "GET",
  2201  		HTTPPath:   "/readinesschecks",
  2202  		Paginator: &request.Paginator{
  2203  			InputTokens:     []string{"NextToken"},
  2204  			OutputTokens:    []string{"NextToken"},
  2205  			LimitToken:      "MaxResults",
  2206  			TruncationToken: "",
  2207  		},
  2208  	}
  2209  
  2210  	if input == nil {
  2211  		input = &ListReadinessChecksInput{}
  2212  	}
  2213  
  2214  	output = &ListReadinessChecksOutput{}
  2215  	req = c.newRequest(op, input, output)
  2216  	return
  2217  }
  2218  
  2219  // ListReadinessChecks API operation for AWS Route53 Recovery Readiness.
  2220  //
  2221  // Returns a collection of Readiness Checks.
  2222  //
  2223  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2224  // with awserr.Error's Code and Message methods to get detailed information about
  2225  // the error.
  2226  //
  2227  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  2228  // API operation ListReadinessChecks for usage and error information.
  2229  //
  2230  // Returned Error Types:
  2231  //   * ThrottlingException
  2232  //
  2233  //   * ValidationException
  2234  //
  2235  //   * InternalServerException
  2236  //
  2237  //   * AccessDeniedException
  2238  //
  2239  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListReadinessChecks
  2240  func (c *Route53RecoveryReadiness) ListReadinessChecks(input *ListReadinessChecksInput) (*ListReadinessChecksOutput, error) {
  2241  	req, out := c.ListReadinessChecksRequest(input)
  2242  	return out, req.Send()
  2243  }
  2244  
  2245  // ListReadinessChecksWithContext is the same as ListReadinessChecks with the addition of
  2246  // the ability to pass a context and additional request options.
  2247  //
  2248  // See ListReadinessChecks for details on how to use this API operation.
  2249  //
  2250  // The context must be non-nil and will be used for request cancellation. If
  2251  // the context is nil a panic will occur. In the future the SDK may create
  2252  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2253  // for more information on using Contexts.
  2254  func (c *Route53RecoveryReadiness) ListReadinessChecksWithContext(ctx aws.Context, input *ListReadinessChecksInput, opts ...request.Option) (*ListReadinessChecksOutput, error) {
  2255  	req, out := c.ListReadinessChecksRequest(input)
  2256  	req.SetContext(ctx)
  2257  	req.ApplyOptions(opts...)
  2258  	return out, req.Send()
  2259  }
  2260  
  2261  // ListReadinessChecksPages iterates over the pages of a ListReadinessChecks operation,
  2262  // calling the "fn" function with the response data for each page. To stop
  2263  // iterating, return false from the fn function.
  2264  //
  2265  // See ListReadinessChecks method for more information on how to use this operation.
  2266  //
  2267  // Note: This operation can generate multiple requests to a service.
  2268  //
  2269  //    // Example iterating over at most 3 pages of a ListReadinessChecks operation.
  2270  //    pageNum := 0
  2271  //    err := client.ListReadinessChecksPages(params,
  2272  //        func(page *route53recoveryreadiness.ListReadinessChecksOutput, lastPage bool) bool {
  2273  //            pageNum++
  2274  //            fmt.Println(page)
  2275  //            return pageNum <= 3
  2276  //        })
  2277  //
  2278  func (c *Route53RecoveryReadiness) ListReadinessChecksPages(input *ListReadinessChecksInput, fn func(*ListReadinessChecksOutput, bool) bool) error {
  2279  	return c.ListReadinessChecksPagesWithContext(aws.BackgroundContext(), input, fn)
  2280  }
  2281  
  2282  // ListReadinessChecksPagesWithContext same as ListReadinessChecksPages except
  2283  // it takes a Context and allows setting request options on the pages.
  2284  //
  2285  // The context must be non-nil and will be used for request cancellation. If
  2286  // the context is nil a panic will occur. In the future the SDK may create
  2287  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2288  // for more information on using Contexts.
  2289  func (c *Route53RecoveryReadiness) ListReadinessChecksPagesWithContext(ctx aws.Context, input *ListReadinessChecksInput, fn func(*ListReadinessChecksOutput, bool) bool, opts ...request.Option) error {
  2290  	p := request.Pagination{
  2291  		NewRequest: func() (*request.Request, error) {
  2292  			var inCpy *ListReadinessChecksInput
  2293  			if input != nil {
  2294  				tmp := *input
  2295  				inCpy = &tmp
  2296  			}
  2297  			req, _ := c.ListReadinessChecksRequest(inCpy)
  2298  			req.SetContext(ctx)
  2299  			req.ApplyOptions(opts...)
  2300  			return req, nil
  2301  		},
  2302  	}
  2303  
  2304  	for p.Next() {
  2305  		if !fn(p.Page().(*ListReadinessChecksOutput), !p.HasNextPage()) {
  2306  			break
  2307  		}
  2308  	}
  2309  
  2310  	return p.Err()
  2311  }
  2312  
  2313  const opListRecoveryGroups = "ListRecoveryGroups"
  2314  
  2315  // ListRecoveryGroupsRequest generates a "aws/request.Request" representing the
  2316  // client's request for the ListRecoveryGroups operation. The "output" return
  2317  // value will be populated with the request's response once the request completes
  2318  // successfully.
  2319  //
  2320  // Use "Send" method on the returned Request to send the API call to the service.
  2321  // the "output" return value is not valid until after Send returns without error.
  2322  //
  2323  // See ListRecoveryGroups for more information on using the ListRecoveryGroups
  2324  // API call, and error handling.
  2325  //
  2326  // This method is useful when you want to inject custom logic or configuration
  2327  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2328  //
  2329  //
  2330  //    // Example sending a request using the ListRecoveryGroupsRequest method.
  2331  //    req, resp := client.ListRecoveryGroupsRequest(params)
  2332  //
  2333  //    err := req.Send()
  2334  //    if err == nil { // resp is now filled
  2335  //        fmt.Println(resp)
  2336  //    }
  2337  //
  2338  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRecoveryGroups
  2339  func (c *Route53RecoveryReadiness) ListRecoveryGroupsRequest(input *ListRecoveryGroupsInput) (req *request.Request, output *ListRecoveryGroupsOutput) {
  2340  	op := &request.Operation{
  2341  		Name:       opListRecoveryGroups,
  2342  		HTTPMethod: "GET",
  2343  		HTTPPath:   "/recoverygroups",
  2344  		Paginator: &request.Paginator{
  2345  			InputTokens:     []string{"NextToken"},
  2346  			OutputTokens:    []string{"NextToken"},
  2347  			LimitToken:      "MaxResults",
  2348  			TruncationToken: "",
  2349  		},
  2350  	}
  2351  
  2352  	if input == nil {
  2353  		input = &ListRecoveryGroupsInput{}
  2354  	}
  2355  
  2356  	output = &ListRecoveryGroupsOutput{}
  2357  	req = c.newRequest(op, input, output)
  2358  	return
  2359  }
  2360  
  2361  // ListRecoveryGroups API operation for AWS Route53 Recovery Readiness.
  2362  //
  2363  // Returns a collection of Recovery Groups.
  2364  //
  2365  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2366  // with awserr.Error's Code and Message methods to get detailed information about
  2367  // the error.
  2368  //
  2369  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  2370  // API operation ListRecoveryGroups for usage and error information.
  2371  //
  2372  // Returned Error Types:
  2373  //   * ThrottlingException
  2374  //
  2375  //   * ValidationException
  2376  //
  2377  //   * InternalServerException
  2378  //
  2379  //   * AccessDeniedException
  2380  //
  2381  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRecoveryGroups
  2382  func (c *Route53RecoveryReadiness) ListRecoveryGroups(input *ListRecoveryGroupsInput) (*ListRecoveryGroupsOutput, error) {
  2383  	req, out := c.ListRecoveryGroupsRequest(input)
  2384  	return out, req.Send()
  2385  }
  2386  
  2387  // ListRecoveryGroupsWithContext is the same as ListRecoveryGroups with the addition of
  2388  // the ability to pass a context and additional request options.
  2389  //
  2390  // See ListRecoveryGroups for details on how to use this API operation.
  2391  //
  2392  // The context must be non-nil and will be used for request cancellation. If
  2393  // the context is nil a panic will occur. In the future the SDK may create
  2394  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2395  // for more information on using Contexts.
  2396  func (c *Route53RecoveryReadiness) ListRecoveryGroupsWithContext(ctx aws.Context, input *ListRecoveryGroupsInput, opts ...request.Option) (*ListRecoveryGroupsOutput, error) {
  2397  	req, out := c.ListRecoveryGroupsRequest(input)
  2398  	req.SetContext(ctx)
  2399  	req.ApplyOptions(opts...)
  2400  	return out, req.Send()
  2401  }
  2402  
  2403  // ListRecoveryGroupsPages iterates over the pages of a ListRecoveryGroups operation,
  2404  // calling the "fn" function with the response data for each page. To stop
  2405  // iterating, return false from the fn function.
  2406  //
  2407  // See ListRecoveryGroups method for more information on how to use this operation.
  2408  //
  2409  // Note: This operation can generate multiple requests to a service.
  2410  //
  2411  //    // Example iterating over at most 3 pages of a ListRecoveryGroups operation.
  2412  //    pageNum := 0
  2413  //    err := client.ListRecoveryGroupsPages(params,
  2414  //        func(page *route53recoveryreadiness.ListRecoveryGroupsOutput, lastPage bool) bool {
  2415  //            pageNum++
  2416  //            fmt.Println(page)
  2417  //            return pageNum <= 3
  2418  //        })
  2419  //
  2420  func (c *Route53RecoveryReadiness) ListRecoveryGroupsPages(input *ListRecoveryGroupsInput, fn func(*ListRecoveryGroupsOutput, bool) bool) error {
  2421  	return c.ListRecoveryGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
  2422  }
  2423  
  2424  // ListRecoveryGroupsPagesWithContext same as ListRecoveryGroupsPages except
  2425  // it takes a Context and allows setting request options on the pages.
  2426  //
  2427  // The context must be non-nil and will be used for request cancellation. If
  2428  // the context is nil a panic will occur. In the future the SDK may create
  2429  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2430  // for more information on using Contexts.
  2431  func (c *Route53RecoveryReadiness) ListRecoveryGroupsPagesWithContext(ctx aws.Context, input *ListRecoveryGroupsInput, fn func(*ListRecoveryGroupsOutput, bool) bool, opts ...request.Option) error {
  2432  	p := request.Pagination{
  2433  		NewRequest: func() (*request.Request, error) {
  2434  			var inCpy *ListRecoveryGroupsInput
  2435  			if input != nil {
  2436  				tmp := *input
  2437  				inCpy = &tmp
  2438  			}
  2439  			req, _ := c.ListRecoveryGroupsRequest(inCpy)
  2440  			req.SetContext(ctx)
  2441  			req.ApplyOptions(opts...)
  2442  			return req, nil
  2443  		},
  2444  	}
  2445  
  2446  	for p.Next() {
  2447  		if !fn(p.Page().(*ListRecoveryGroupsOutput), !p.HasNextPage()) {
  2448  			break
  2449  		}
  2450  	}
  2451  
  2452  	return p.Err()
  2453  }
  2454  
  2455  const opListResourceSets = "ListResourceSets"
  2456  
  2457  // ListResourceSetsRequest generates a "aws/request.Request" representing the
  2458  // client's request for the ListResourceSets operation. The "output" return
  2459  // value will be populated with the request's response once the request completes
  2460  // successfully.
  2461  //
  2462  // Use "Send" method on the returned Request to send the API call to the service.
  2463  // the "output" return value is not valid until after Send returns without error.
  2464  //
  2465  // See ListResourceSets for more information on using the ListResourceSets
  2466  // API call, and error handling.
  2467  //
  2468  // This method is useful when you want to inject custom logic or configuration
  2469  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2470  //
  2471  //
  2472  //    // Example sending a request using the ListResourceSetsRequest method.
  2473  //    req, resp := client.ListResourceSetsRequest(params)
  2474  //
  2475  //    err := req.Send()
  2476  //    if err == nil { // resp is now filled
  2477  //        fmt.Println(resp)
  2478  //    }
  2479  //
  2480  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListResourceSets
  2481  func (c *Route53RecoveryReadiness) ListResourceSetsRequest(input *ListResourceSetsInput) (req *request.Request, output *ListResourceSetsOutput) {
  2482  	op := &request.Operation{
  2483  		Name:       opListResourceSets,
  2484  		HTTPMethod: "GET",
  2485  		HTTPPath:   "/resourcesets",
  2486  		Paginator: &request.Paginator{
  2487  			InputTokens:     []string{"NextToken"},
  2488  			OutputTokens:    []string{"NextToken"},
  2489  			LimitToken:      "MaxResults",
  2490  			TruncationToken: "",
  2491  		},
  2492  	}
  2493  
  2494  	if input == nil {
  2495  		input = &ListResourceSetsInput{}
  2496  	}
  2497  
  2498  	output = &ListResourceSetsOutput{}
  2499  	req = c.newRequest(op, input, output)
  2500  	return
  2501  }
  2502  
  2503  // ListResourceSets API operation for AWS Route53 Recovery Readiness.
  2504  //
  2505  // Returns a collection of Resource Sets.
  2506  //
  2507  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2508  // with awserr.Error's Code and Message methods to get detailed information about
  2509  // the error.
  2510  //
  2511  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  2512  // API operation ListResourceSets for usage and error information.
  2513  //
  2514  // Returned Error Types:
  2515  //   * ThrottlingException
  2516  //
  2517  //   * ValidationException
  2518  //
  2519  //   * InternalServerException
  2520  //
  2521  //   * AccessDeniedException
  2522  //
  2523  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListResourceSets
  2524  func (c *Route53RecoveryReadiness) ListResourceSets(input *ListResourceSetsInput) (*ListResourceSetsOutput, error) {
  2525  	req, out := c.ListResourceSetsRequest(input)
  2526  	return out, req.Send()
  2527  }
  2528  
  2529  // ListResourceSetsWithContext is the same as ListResourceSets with the addition of
  2530  // the ability to pass a context and additional request options.
  2531  //
  2532  // See ListResourceSets for details on how to use this API operation.
  2533  //
  2534  // The context must be non-nil and will be used for request cancellation. If
  2535  // the context is nil a panic will occur. In the future the SDK may create
  2536  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2537  // for more information on using Contexts.
  2538  func (c *Route53RecoveryReadiness) ListResourceSetsWithContext(ctx aws.Context, input *ListResourceSetsInput, opts ...request.Option) (*ListResourceSetsOutput, error) {
  2539  	req, out := c.ListResourceSetsRequest(input)
  2540  	req.SetContext(ctx)
  2541  	req.ApplyOptions(opts...)
  2542  	return out, req.Send()
  2543  }
  2544  
  2545  // ListResourceSetsPages iterates over the pages of a ListResourceSets operation,
  2546  // calling the "fn" function with the response data for each page. To stop
  2547  // iterating, return false from the fn function.
  2548  //
  2549  // See ListResourceSets method for more information on how to use this operation.
  2550  //
  2551  // Note: This operation can generate multiple requests to a service.
  2552  //
  2553  //    // Example iterating over at most 3 pages of a ListResourceSets operation.
  2554  //    pageNum := 0
  2555  //    err := client.ListResourceSetsPages(params,
  2556  //        func(page *route53recoveryreadiness.ListResourceSetsOutput, lastPage bool) bool {
  2557  //            pageNum++
  2558  //            fmt.Println(page)
  2559  //            return pageNum <= 3
  2560  //        })
  2561  //
  2562  func (c *Route53RecoveryReadiness) ListResourceSetsPages(input *ListResourceSetsInput, fn func(*ListResourceSetsOutput, bool) bool) error {
  2563  	return c.ListResourceSetsPagesWithContext(aws.BackgroundContext(), input, fn)
  2564  }
  2565  
  2566  // ListResourceSetsPagesWithContext same as ListResourceSetsPages except
  2567  // it takes a Context and allows setting request options on the pages.
  2568  //
  2569  // The context must be non-nil and will be used for request cancellation. If
  2570  // the context is nil a panic will occur. In the future the SDK may create
  2571  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2572  // for more information on using Contexts.
  2573  func (c *Route53RecoveryReadiness) ListResourceSetsPagesWithContext(ctx aws.Context, input *ListResourceSetsInput, fn func(*ListResourceSetsOutput, bool) bool, opts ...request.Option) error {
  2574  	p := request.Pagination{
  2575  		NewRequest: func() (*request.Request, error) {
  2576  			var inCpy *ListResourceSetsInput
  2577  			if input != nil {
  2578  				tmp := *input
  2579  				inCpy = &tmp
  2580  			}
  2581  			req, _ := c.ListResourceSetsRequest(inCpy)
  2582  			req.SetContext(ctx)
  2583  			req.ApplyOptions(opts...)
  2584  			return req, nil
  2585  		},
  2586  	}
  2587  
  2588  	for p.Next() {
  2589  		if !fn(p.Page().(*ListResourceSetsOutput), !p.HasNextPage()) {
  2590  			break
  2591  		}
  2592  	}
  2593  
  2594  	return p.Err()
  2595  }
  2596  
  2597  const opListRules = "ListRules"
  2598  
  2599  // ListRulesRequest generates a "aws/request.Request" representing the
  2600  // client's request for the ListRules operation. The "output" return
  2601  // value will be populated with the request's response once the request completes
  2602  // successfully.
  2603  //
  2604  // Use "Send" method on the returned Request to send the API call to the service.
  2605  // the "output" return value is not valid until after Send returns without error.
  2606  //
  2607  // See ListRules for more information on using the ListRules
  2608  // API call, and error handling.
  2609  //
  2610  // This method is useful when you want to inject custom logic or configuration
  2611  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2612  //
  2613  //
  2614  //    // Example sending a request using the ListRulesRequest method.
  2615  //    req, resp := client.ListRulesRequest(params)
  2616  //
  2617  //    err := req.Send()
  2618  //    if err == nil { // resp is now filled
  2619  //        fmt.Println(resp)
  2620  //    }
  2621  //
  2622  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRules
  2623  func (c *Route53RecoveryReadiness) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) {
  2624  	op := &request.Operation{
  2625  		Name:       opListRules,
  2626  		HTTPMethod: "GET",
  2627  		HTTPPath:   "/rules",
  2628  		Paginator: &request.Paginator{
  2629  			InputTokens:     []string{"NextToken"},
  2630  			OutputTokens:    []string{"NextToken"},
  2631  			LimitToken:      "MaxResults",
  2632  			TruncationToken: "",
  2633  		},
  2634  	}
  2635  
  2636  	if input == nil {
  2637  		input = &ListRulesInput{}
  2638  	}
  2639  
  2640  	output = &ListRulesOutput{}
  2641  	req = c.newRequest(op, input, output)
  2642  	return
  2643  }
  2644  
  2645  // ListRules API operation for AWS Route53 Recovery Readiness.
  2646  //
  2647  // Returns a collection of rules that are applied as part of Readiness Checks.
  2648  //
  2649  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2650  // with awserr.Error's Code and Message methods to get detailed information about
  2651  // the error.
  2652  //
  2653  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  2654  // API operation ListRules for usage and error information.
  2655  //
  2656  // Returned Error Types:
  2657  //   * ThrottlingException
  2658  //
  2659  //   * ValidationException
  2660  //
  2661  //   * InternalServerException
  2662  //
  2663  //   * AccessDeniedException
  2664  //
  2665  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRules
  2666  func (c *Route53RecoveryReadiness) ListRules(input *ListRulesInput) (*ListRulesOutput, error) {
  2667  	req, out := c.ListRulesRequest(input)
  2668  	return out, req.Send()
  2669  }
  2670  
  2671  // ListRulesWithContext is the same as ListRules with the addition of
  2672  // the ability to pass a context and additional request options.
  2673  //
  2674  // See ListRules for details on how to use this API operation.
  2675  //
  2676  // The context must be non-nil and will be used for request cancellation. If
  2677  // the context is nil a panic will occur. In the future the SDK may create
  2678  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2679  // for more information on using Contexts.
  2680  func (c *Route53RecoveryReadiness) ListRulesWithContext(ctx aws.Context, input *ListRulesInput, opts ...request.Option) (*ListRulesOutput, error) {
  2681  	req, out := c.ListRulesRequest(input)
  2682  	req.SetContext(ctx)
  2683  	req.ApplyOptions(opts...)
  2684  	return out, req.Send()
  2685  }
  2686  
  2687  // ListRulesPages iterates over the pages of a ListRules operation,
  2688  // calling the "fn" function with the response data for each page. To stop
  2689  // iterating, return false from the fn function.
  2690  //
  2691  // See ListRules method for more information on how to use this operation.
  2692  //
  2693  // Note: This operation can generate multiple requests to a service.
  2694  //
  2695  //    // Example iterating over at most 3 pages of a ListRules operation.
  2696  //    pageNum := 0
  2697  //    err := client.ListRulesPages(params,
  2698  //        func(page *route53recoveryreadiness.ListRulesOutput, lastPage bool) bool {
  2699  //            pageNum++
  2700  //            fmt.Println(page)
  2701  //            return pageNum <= 3
  2702  //        })
  2703  //
  2704  func (c *Route53RecoveryReadiness) ListRulesPages(input *ListRulesInput, fn func(*ListRulesOutput, bool) bool) error {
  2705  	return c.ListRulesPagesWithContext(aws.BackgroundContext(), input, fn)
  2706  }
  2707  
  2708  // ListRulesPagesWithContext same as ListRulesPages except
  2709  // it takes a Context and allows setting request options on the pages.
  2710  //
  2711  // The context must be non-nil and will be used for request cancellation. If
  2712  // the context is nil a panic will occur. In the future the SDK may create
  2713  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2714  // for more information on using Contexts.
  2715  func (c *Route53RecoveryReadiness) ListRulesPagesWithContext(ctx aws.Context, input *ListRulesInput, fn func(*ListRulesOutput, bool) bool, opts ...request.Option) error {
  2716  	p := request.Pagination{
  2717  		NewRequest: func() (*request.Request, error) {
  2718  			var inCpy *ListRulesInput
  2719  			if input != nil {
  2720  				tmp := *input
  2721  				inCpy = &tmp
  2722  			}
  2723  			req, _ := c.ListRulesRequest(inCpy)
  2724  			req.SetContext(ctx)
  2725  			req.ApplyOptions(opts...)
  2726  			return req, nil
  2727  		},
  2728  	}
  2729  
  2730  	for p.Next() {
  2731  		if !fn(p.Page().(*ListRulesOutput), !p.HasNextPage()) {
  2732  			break
  2733  		}
  2734  	}
  2735  
  2736  	return p.Err()
  2737  }
  2738  
  2739  const opListTagsForResources = "ListTagsForResources"
  2740  
  2741  // ListTagsForResourcesRequest generates a "aws/request.Request" representing the
  2742  // client's request for the ListTagsForResources operation. The "output" return
  2743  // value will be populated with the request's response once the request completes
  2744  // successfully.
  2745  //
  2746  // Use "Send" method on the returned Request to send the API call to the service.
  2747  // the "output" return value is not valid until after Send returns without error.
  2748  //
  2749  // See ListTagsForResources for more information on using the ListTagsForResources
  2750  // API call, and error handling.
  2751  //
  2752  // This method is useful when you want to inject custom logic or configuration
  2753  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2754  //
  2755  //
  2756  //    // Example sending a request using the ListTagsForResourcesRequest method.
  2757  //    req, resp := client.ListTagsForResourcesRequest(params)
  2758  //
  2759  //    err := req.Send()
  2760  //    if err == nil { // resp is now filled
  2761  //        fmt.Println(resp)
  2762  //    }
  2763  //
  2764  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListTagsForResources
  2765  func (c *Route53RecoveryReadiness) ListTagsForResourcesRequest(input *ListTagsForResourcesInput) (req *request.Request, output *ListTagsForResourcesOutput) {
  2766  	op := &request.Operation{
  2767  		Name:       opListTagsForResources,
  2768  		HTTPMethod: "GET",
  2769  		HTTPPath:   "/tags/{resource-arn}",
  2770  	}
  2771  
  2772  	if input == nil {
  2773  		input = &ListTagsForResourcesInput{}
  2774  	}
  2775  
  2776  	output = &ListTagsForResourcesOutput{}
  2777  	req = c.newRequest(op, input, output)
  2778  	return
  2779  }
  2780  
  2781  // ListTagsForResources API operation for AWS Route53 Recovery Readiness.
  2782  //
  2783  // Returns a list of the tags assigned to the specified resource.
  2784  //
  2785  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2786  // with awserr.Error's Code and Message methods to get detailed information about
  2787  // the error.
  2788  //
  2789  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  2790  // API operation ListTagsForResources for usage and error information.
  2791  //
  2792  // Returned Error Types:
  2793  //   * ResourceNotFoundException
  2794  //
  2795  //   * ValidationException
  2796  //
  2797  //   * InternalServerException
  2798  //
  2799  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListTagsForResources
  2800  func (c *Route53RecoveryReadiness) ListTagsForResources(input *ListTagsForResourcesInput) (*ListTagsForResourcesOutput, error) {
  2801  	req, out := c.ListTagsForResourcesRequest(input)
  2802  	return out, req.Send()
  2803  }
  2804  
  2805  // ListTagsForResourcesWithContext is the same as ListTagsForResources with the addition of
  2806  // the ability to pass a context and additional request options.
  2807  //
  2808  // See ListTagsForResources for details on how to use this API operation.
  2809  //
  2810  // The context must be non-nil and will be used for request cancellation. If
  2811  // the context is nil a panic will occur. In the future the SDK may create
  2812  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2813  // for more information on using Contexts.
  2814  func (c *Route53RecoveryReadiness) ListTagsForResourcesWithContext(ctx aws.Context, input *ListTagsForResourcesInput, opts ...request.Option) (*ListTagsForResourcesOutput, error) {
  2815  	req, out := c.ListTagsForResourcesRequest(input)
  2816  	req.SetContext(ctx)
  2817  	req.ApplyOptions(opts...)
  2818  	return out, req.Send()
  2819  }
  2820  
  2821  const opTagResource = "TagResource"
  2822  
  2823  // TagResourceRequest generates a "aws/request.Request" representing the
  2824  // client's request for the TagResource operation. The "output" return
  2825  // value will be populated with the request's response once the request completes
  2826  // successfully.
  2827  //
  2828  // Use "Send" method on the returned Request to send the API call to the service.
  2829  // the "output" return value is not valid until after Send returns without error.
  2830  //
  2831  // See TagResource for more information on using the TagResource
  2832  // API call, and error handling.
  2833  //
  2834  // This method is useful when you want to inject custom logic or configuration
  2835  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2836  //
  2837  //
  2838  //    // Example sending a request using the TagResourceRequest method.
  2839  //    req, resp := client.TagResourceRequest(params)
  2840  //
  2841  //    err := req.Send()
  2842  //    if err == nil { // resp is now filled
  2843  //        fmt.Println(resp)
  2844  //    }
  2845  //
  2846  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/TagResource
  2847  func (c *Route53RecoveryReadiness) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
  2848  	op := &request.Operation{
  2849  		Name:       opTagResource,
  2850  		HTTPMethod: "POST",
  2851  		HTTPPath:   "/tags/{resource-arn}",
  2852  	}
  2853  
  2854  	if input == nil {
  2855  		input = &TagResourceInput{}
  2856  	}
  2857  
  2858  	output = &TagResourceOutput{}
  2859  	req = c.newRequest(op, input, output)
  2860  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2861  	return
  2862  }
  2863  
  2864  // TagResource API operation for AWS Route53 Recovery Readiness.
  2865  //
  2866  // Adds tags to the specified resource. You can specify one or more tags to
  2867  // add.
  2868  //
  2869  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2870  // with awserr.Error's Code and Message methods to get detailed information about
  2871  // the error.
  2872  //
  2873  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  2874  // API operation TagResource for usage and error information.
  2875  //
  2876  // Returned Error Types:
  2877  //   * ResourceNotFoundException
  2878  //
  2879  //   * ValidationException
  2880  //
  2881  //   * InternalServerException
  2882  //
  2883  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/TagResource
  2884  func (c *Route53RecoveryReadiness) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
  2885  	req, out := c.TagResourceRequest(input)
  2886  	return out, req.Send()
  2887  }
  2888  
  2889  // TagResourceWithContext is the same as TagResource with the addition of
  2890  // the ability to pass a context and additional request options.
  2891  //
  2892  // See TagResource for details on how to use this API operation.
  2893  //
  2894  // The context must be non-nil and will be used for request cancellation. If
  2895  // the context is nil a panic will occur. In the future the SDK may create
  2896  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2897  // for more information on using Contexts.
  2898  func (c *Route53RecoveryReadiness) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
  2899  	req, out := c.TagResourceRequest(input)
  2900  	req.SetContext(ctx)
  2901  	req.ApplyOptions(opts...)
  2902  	return out, req.Send()
  2903  }
  2904  
  2905  const opUntagResource = "UntagResource"
  2906  
  2907  // UntagResourceRequest generates a "aws/request.Request" representing the
  2908  // client's request for the UntagResource operation. The "output" return
  2909  // value will be populated with the request's response once the request completes
  2910  // successfully.
  2911  //
  2912  // Use "Send" method on the returned Request to send the API call to the service.
  2913  // the "output" return value is not valid until after Send returns without error.
  2914  //
  2915  // See UntagResource for more information on using the UntagResource
  2916  // API call, and error handling.
  2917  //
  2918  // This method is useful when you want to inject custom logic or configuration
  2919  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2920  //
  2921  //
  2922  //    // Example sending a request using the UntagResourceRequest method.
  2923  //    req, resp := client.UntagResourceRequest(params)
  2924  //
  2925  //    err := req.Send()
  2926  //    if err == nil { // resp is now filled
  2927  //        fmt.Println(resp)
  2928  //    }
  2929  //
  2930  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UntagResource
  2931  func (c *Route53RecoveryReadiness) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
  2932  	op := &request.Operation{
  2933  		Name:       opUntagResource,
  2934  		HTTPMethod: "DELETE",
  2935  		HTTPPath:   "/tags/{resource-arn}",
  2936  	}
  2937  
  2938  	if input == nil {
  2939  		input = &UntagResourceInput{}
  2940  	}
  2941  
  2942  	output = &UntagResourceOutput{}
  2943  	req = c.newRequest(op, input, output)
  2944  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2945  	return
  2946  }
  2947  
  2948  // UntagResource API operation for AWS Route53 Recovery Readiness.
  2949  //
  2950  // Removes tags from the specified resource. You can specify one or more tags
  2951  // to remove.
  2952  //
  2953  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2954  // with awserr.Error's Code and Message methods to get detailed information about
  2955  // the error.
  2956  //
  2957  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  2958  // API operation UntagResource for usage and error information.
  2959  //
  2960  // Returned Error Types:
  2961  //   * ResourceNotFoundException
  2962  //
  2963  //   * ValidationException
  2964  //
  2965  //   * InternalServerException
  2966  //
  2967  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UntagResource
  2968  func (c *Route53RecoveryReadiness) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
  2969  	req, out := c.UntagResourceRequest(input)
  2970  	return out, req.Send()
  2971  }
  2972  
  2973  // UntagResourceWithContext is the same as UntagResource with the addition of
  2974  // the ability to pass a context and additional request options.
  2975  //
  2976  // See UntagResource for details on how to use this API operation.
  2977  //
  2978  // The context must be non-nil and will be used for request cancellation. If
  2979  // the context is nil a panic will occur. In the future the SDK may create
  2980  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2981  // for more information on using Contexts.
  2982  func (c *Route53RecoveryReadiness) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
  2983  	req, out := c.UntagResourceRequest(input)
  2984  	req.SetContext(ctx)
  2985  	req.ApplyOptions(opts...)
  2986  	return out, req.Send()
  2987  }
  2988  
  2989  const opUpdateCell = "UpdateCell"
  2990  
  2991  // UpdateCellRequest generates a "aws/request.Request" representing the
  2992  // client's request for the UpdateCell operation. The "output" return
  2993  // value will be populated with the request's response once the request completes
  2994  // successfully.
  2995  //
  2996  // Use "Send" method on the returned Request to send the API call to the service.
  2997  // the "output" return value is not valid until after Send returns without error.
  2998  //
  2999  // See UpdateCell for more information on using the UpdateCell
  3000  // API call, and error handling.
  3001  //
  3002  // This method is useful when you want to inject custom logic or configuration
  3003  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3004  //
  3005  //
  3006  //    // Example sending a request using the UpdateCellRequest method.
  3007  //    req, resp := client.UpdateCellRequest(params)
  3008  //
  3009  //    err := req.Send()
  3010  //    if err == nil { // resp is now filled
  3011  //        fmt.Println(resp)
  3012  //    }
  3013  //
  3014  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateCell
  3015  func (c *Route53RecoveryReadiness) UpdateCellRequest(input *UpdateCellInput) (req *request.Request, output *UpdateCellOutput) {
  3016  	op := &request.Operation{
  3017  		Name:       opUpdateCell,
  3018  		HTTPMethod: "PUT",
  3019  		HTTPPath:   "/cells/{cellName}",
  3020  	}
  3021  
  3022  	if input == nil {
  3023  		input = &UpdateCellInput{}
  3024  	}
  3025  
  3026  	output = &UpdateCellOutput{}
  3027  	req = c.newRequest(op, input, output)
  3028  	return
  3029  }
  3030  
  3031  // UpdateCell API operation for AWS Route53 Recovery Readiness.
  3032  //
  3033  // Updates an existing Cell.
  3034  //
  3035  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3036  // with awserr.Error's Code and Message methods to get detailed information about
  3037  // the error.
  3038  //
  3039  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  3040  // API operation UpdateCell for usage and error information.
  3041  //
  3042  // Returned Error Types:
  3043  //   * ResourceNotFoundException
  3044  //
  3045  //   * ThrottlingException
  3046  //
  3047  //   * ValidationException
  3048  //
  3049  //   * InternalServerException
  3050  //
  3051  //   * AccessDeniedException
  3052  //
  3053  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateCell
  3054  func (c *Route53RecoveryReadiness) UpdateCell(input *UpdateCellInput) (*UpdateCellOutput, error) {
  3055  	req, out := c.UpdateCellRequest(input)
  3056  	return out, req.Send()
  3057  }
  3058  
  3059  // UpdateCellWithContext is the same as UpdateCell with the addition of
  3060  // the ability to pass a context and additional request options.
  3061  //
  3062  // See UpdateCell for details on how to use this API operation.
  3063  //
  3064  // The context must be non-nil and will be used for request cancellation. If
  3065  // the context is nil a panic will occur. In the future the SDK may create
  3066  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3067  // for more information on using Contexts.
  3068  func (c *Route53RecoveryReadiness) UpdateCellWithContext(ctx aws.Context, input *UpdateCellInput, opts ...request.Option) (*UpdateCellOutput, error) {
  3069  	req, out := c.UpdateCellRequest(input)
  3070  	req.SetContext(ctx)
  3071  	req.ApplyOptions(opts...)
  3072  	return out, req.Send()
  3073  }
  3074  
  3075  const opUpdateReadinessCheck = "UpdateReadinessCheck"
  3076  
  3077  // UpdateReadinessCheckRequest generates a "aws/request.Request" representing the
  3078  // client's request for the UpdateReadinessCheck operation. The "output" return
  3079  // value will be populated with the request's response once the request completes
  3080  // successfully.
  3081  //
  3082  // Use "Send" method on the returned Request to send the API call to the service.
  3083  // the "output" return value is not valid until after Send returns without error.
  3084  //
  3085  // See UpdateReadinessCheck for more information on using the UpdateReadinessCheck
  3086  // API call, and error handling.
  3087  //
  3088  // This method is useful when you want to inject custom logic or configuration
  3089  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3090  //
  3091  //
  3092  //    // Example sending a request using the UpdateReadinessCheckRequest method.
  3093  //    req, resp := client.UpdateReadinessCheckRequest(params)
  3094  //
  3095  //    err := req.Send()
  3096  //    if err == nil { // resp is now filled
  3097  //        fmt.Println(resp)
  3098  //    }
  3099  //
  3100  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateReadinessCheck
  3101  func (c *Route53RecoveryReadiness) UpdateReadinessCheckRequest(input *UpdateReadinessCheckInput) (req *request.Request, output *UpdateReadinessCheckOutput) {
  3102  	op := &request.Operation{
  3103  		Name:       opUpdateReadinessCheck,
  3104  		HTTPMethod: "PUT",
  3105  		HTTPPath:   "/readinesschecks/{readinessCheckName}",
  3106  	}
  3107  
  3108  	if input == nil {
  3109  		input = &UpdateReadinessCheckInput{}
  3110  	}
  3111  
  3112  	output = &UpdateReadinessCheckOutput{}
  3113  	req = c.newRequest(op, input, output)
  3114  	return
  3115  }
  3116  
  3117  // UpdateReadinessCheck API operation for AWS Route53 Recovery Readiness.
  3118  //
  3119  // Updates an exisiting Readiness Check.
  3120  //
  3121  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3122  // with awserr.Error's Code and Message methods to get detailed information about
  3123  // the error.
  3124  //
  3125  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  3126  // API operation UpdateReadinessCheck for usage and error information.
  3127  //
  3128  // Returned Error Types:
  3129  //   * ResourceNotFoundException
  3130  //
  3131  //   * ThrottlingException
  3132  //
  3133  //   * ValidationException
  3134  //
  3135  //   * InternalServerException
  3136  //
  3137  //   * AccessDeniedException
  3138  //
  3139  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateReadinessCheck
  3140  func (c *Route53RecoveryReadiness) UpdateReadinessCheck(input *UpdateReadinessCheckInput) (*UpdateReadinessCheckOutput, error) {
  3141  	req, out := c.UpdateReadinessCheckRequest(input)
  3142  	return out, req.Send()
  3143  }
  3144  
  3145  // UpdateReadinessCheckWithContext is the same as UpdateReadinessCheck with the addition of
  3146  // the ability to pass a context and additional request options.
  3147  //
  3148  // See UpdateReadinessCheck for details on how to use this API operation.
  3149  //
  3150  // The context must be non-nil and will be used for request cancellation. If
  3151  // the context is nil a panic will occur. In the future the SDK may create
  3152  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3153  // for more information on using Contexts.
  3154  func (c *Route53RecoveryReadiness) UpdateReadinessCheckWithContext(ctx aws.Context, input *UpdateReadinessCheckInput, opts ...request.Option) (*UpdateReadinessCheckOutput, error) {
  3155  	req, out := c.UpdateReadinessCheckRequest(input)
  3156  	req.SetContext(ctx)
  3157  	req.ApplyOptions(opts...)
  3158  	return out, req.Send()
  3159  }
  3160  
  3161  const opUpdateRecoveryGroup = "UpdateRecoveryGroup"
  3162  
  3163  // UpdateRecoveryGroupRequest generates a "aws/request.Request" representing the
  3164  // client's request for the UpdateRecoveryGroup operation. The "output" return
  3165  // value will be populated with the request's response once the request completes
  3166  // successfully.
  3167  //
  3168  // Use "Send" method on the returned Request to send the API call to the service.
  3169  // the "output" return value is not valid until after Send returns without error.
  3170  //
  3171  // See UpdateRecoveryGroup for more information on using the UpdateRecoveryGroup
  3172  // API call, and error handling.
  3173  //
  3174  // This method is useful when you want to inject custom logic or configuration
  3175  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3176  //
  3177  //
  3178  //    // Example sending a request using the UpdateRecoveryGroupRequest method.
  3179  //    req, resp := client.UpdateRecoveryGroupRequest(params)
  3180  //
  3181  //    err := req.Send()
  3182  //    if err == nil { // resp is now filled
  3183  //        fmt.Println(resp)
  3184  //    }
  3185  //
  3186  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateRecoveryGroup
  3187  func (c *Route53RecoveryReadiness) UpdateRecoveryGroupRequest(input *UpdateRecoveryGroupInput) (req *request.Request, output *UpdateRecoveryGroupOutput) {
  3188  	op := &request.Operation{
  3189  		Name:       opUpdateRecoveryGroup,
  3190  		HTTPMethod: "PUT",
  3191  		HTTPPath:   "/recoverygroups/{recoveryGroupName}",
  3192  	}
  3193  
  3194  	if input == nil {
  3195  		input = &UpdateRecoveryGroupInput{}
  3196  	}
  3197  
  3198  	output = &UpdateRecoveryGroupOutput{}
  3199  	req = c.newRequest(op, input, output)
  3200  	return
  3201  }
  3202  
  3203  // UpdateRecoveryGroup API operation for AWS Route53 Recovery Readiness.
  3204  //
  3205  // Updates an existing Recovery Group.
  3206  //
  3207  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3208  // with awserr.Error's Code and Message methods to get detailed information about
  3209  // the error.
  3210  //
  3211  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  3212  // API operation UpdateRecoveryGroup for usage and error information.
  3213  //
  3214  // Returned Error Types:
  3215  //   * ResourceNotFoundException
  3216  //
  3217  //   * ThrottlingException
  3218  //
  3219  //   * ValidationException
  3220  //
  3221  //   * InternalServerException
  3222  //
  3223  //   * AccessDeniedException
  3224  //
  3225  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateRecoveryGroup
  3226  func (c *Route53RecoveryReadiness) UpdateRecoveryGroup(input *UpdateRecoveryGroupInput) (*UpdateRecoveryGroupOutput, error) {
  3227  	req, out := c.UpdateRecoveryGroupRequest(input)
  3228  	return out, req.Send()
  3229  }
  3230  
  3231  // UpdateRecoveryGroupWithContext is the same as UpdateRecoveryGroup with the addition of
  3232  // the ability to pass a context and additional request options.
  3233  //
  3234  // See UpdateRecoveryGroup for details on how to use this API operation.
  3235  //
  3236  // The context must be non-nil and will be used for request cancellation. If
  3237  // the context is nil a panic will occur. In the future the SDK may create
  3238  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3239  // for more information on using Contexts.
  3240  func (c *Route53RecoveryReadiness) UpdateRecoveryGroupWithContext(ctx aws.Context, input *UpdateRecoveryGroupInput, opts ...request.Option) (*UpdateRecoveryGroupOutput, error) {
  3241  	req, out := c.UpdateRecoveryGroupRequest(input)
  3242  	req.SetContext(ctx)
  3243  	req.ApplyOptions(opts...)
  3244  	return out, req.Send()
  3245  }
  3246  
  3247  const opUpdateResourceSet = "UpdateResourceSet"
  3248  
  3249  // UpdateResourceSetRequest generates a "aws/request.Request" representing the
  3250  // client's request for the UpdateResourceSet operation. The "output" return
  3251  // value will be populated with the request's response once the request completes
  3252  // successfully.
  3253  //
  3254  // Use "Send" method on the returned Request to send the API call to the service.
  3255  // the "output" return value is not valid until after Send returns without error.
  3256  //
  3257  // See UpdateResourceSet for more information on using the UpdateResourceSet
  3258  // API call, and error handling.
  3259  //
  3260  // This method is useful when you want to inject custom logic or configuration
  3261  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3262  //
  3263  //
  3264  //    // Example sending a request using the UpdateResourceSetRequest method.
  3265  //    req, resp := client.UpdateResourceSetRequest(params)
  3266  //
  3267  //    err := req.Send()
  3268  //    if err == nil { // resp is now filled
  3269  //        fmt.Println(resp)
  3270  //    }
  3271  //
  3272  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateResourceSet
  3273  func (c *Route53RecoveryReadiness) UpdateResourceSetRequest(input *UpdateResourceSetInput) (req *request.Request, output *UpdateResourceSetOutput) {
  3274  	op := &request.Operation{
  3275  		Name:       opUpdateResourceSet,
  3276  		HTTPMethod: "PUT",
  3277  		HTTPPath:   "/resourcesets/{resourceSetName}",
  3278  	}
  3279  
  3280  	if input == nil {
  3281  		input = &UpdateResourceSetInput{}
  3282  	}
  3283  
  3284  	output = &UpdateResourceSetOutput{}
  3285  	req = c.newRequest(op, input, output)
  3286  	return
  3287  }
  3288  
  3289  // UpdateResourceSet API operation for AWS Route53 Recovery Readiness.
  3290  //
  3291  // Updates an existing Resource Set.
  3292  //
  3293  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3294  // with awserr.Error's Code and Message methods to get detailed information about
  3295  // the error.
  3296  //
  3297  // See the AWS API reference guide for AWS Route53 Recovery Readiness's
  3298  // API operation UpdateResourceSet for usage and error information.
  3299  //
  3300  // Returned Error Types:
  3301  //   * ResourceNotFoundException
  3302  //
  3303  //   * ThrottlingException
  3304  //
  3305  //   * ValidationException
  3306  //
  3307  //   * InternalServerException
  3308  //
  3309  //   * AccessDeniedException
  3310  //
  3311  // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateResourceSet
  3312  func (c *Route53RecoveryReadiness) UpdateResourceSet(input *UpdateResourceSetInput) (*UpdateResourceSetOutput, error) {
  3313  	req, out := c.UpdateResourceSetRequest(input)
  3314  	return out, req.Send()
  3315  }
  3316  
  3317  // UpdateResourceSetWithContext is the same as UpdateResourceSet with the addition of
  3318  // the ability to pass a context and additional request options.
  3319  //
  3320  // See UpdateResourceSet for details on how to use this API operation.
  3321  //
  3322  // The context must be non-nil and will be used for request cancellation. If
  3323  // the context is nil a panic will occur. In the future the SDK may create
  3324  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3325  // for more information on using Contexts.
  3326  func (c *Route53RecoveryReadiness) UpdateResourceSetWithContext(ctx aws.Context, input *UpdateResourceSetInput, opts ...request.Option) (*UpdateResourceSetOutput, error) {
  3327  	req, out := c.UpdateResourceSetRequest(input)
  3328  	req.SetContext(ctx)
  3329  	req.ApplyOptions(opts...)
  3330  	return out, req.Send()
  3331  }
  3332  
  3333  type AccessDeniedException struct {
  3334  	_            struct{}                  `type:"structure"`
  3335  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  3336  
  3337  	Message_ *string `locationName:"message" type:"string"`
  3338  }
  3339  
  3340  // String returns the string representation.
  3341  //
  3342  // API parameter values that are decorated as "sensitive" in the API will not
  3343  // be included in the string output. The member name will be present, but the
  3344  // value will be replaced with "sensitive".
  3345  func (s AccessDeniedException) String() string {
  3346  	return awsutil.Prettify(s)
  3347  }
  3348  
  3349  // GoString returns the string representation.
  3350  //
  3351  // API parameter values that are decorated as "sensitive" in the API will not
  3352  // be included in the string output. The member name will be present, but the
  3353  // value will be replaced with "sensitive".
  3354  func (s AccessDeniedException) GoString() string {
  3355  	return s.String()
  3356  }
  3357  
  3358  func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
  3359  	return &AccessDeniedException{
  3360  		RespMetadata: v,
  3361  	}
  3362  }
  3363  
  3364  // Code returns the exception type name.
  3365  func (s *AccessDeniedException) Code() string {
  3366  	return "AccessDeniedException"
  3367  }
  3368  
  3369  // Message returns the exception's message.
  3370  func (s *AccessDeniedException) Message() string {
  3371  	if s.Message_ != nil {
  3372  		return *s.Message_
  3373  	}
  3374  	return ""
  3375  }
  3376  
  3377  // OrigErr always returns nil, satisfies awserr.Error interface.
  3378  func (s *AccessDeniedException) OrigErr() error {
  3379  	return nil
  3380  }
  3381  
  3382  func (s *AccessDeniedException) Error() string {
  3383  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  3384  }
  3385  
  3386  // Status code returns the HTTP status code for the request's response error.
  3387  func (s *AccessDeniedException) StatusCode() int {
  3388  	return s.RespMetadata.StatusCode
  3389  }
  3390  
  3391  // RequestID returns the service's response RequestID for request.
  3392  func (s *AccessDeniedException) RequestID() string {
  3393  	return s.RespMetadata.RequestID
  3394  }
  3395  
  3396  // A Cell and its properties
  3397  type CellOutput_ struct {
  3398  	_ struct{} `type:"structure"`
  3399  
  3400  	// The arn for the Cell
  3401  	//
  3402  	// CellArn is a required field
  3403  	CellArn *string `locationName:"cellArn" type:"string" required:"true"`
  3404  
  3405  	// The name of the Cell
  3406  	//
  3407  	// CellName is a required field
  3408  	CellName *string `locationName:"cellName" type:"string" required:"true"`
  3409  
  3410  	// A list of Cell arns
  3411  	//
  3412  	// Cells is a required field
  3413  	Cells []*string `locationName:"cells" type:"list" required:"true"`
  3414  
  3415  	// A list of Cell ARNs and/or RecoveryGroup ARNs
  3416  	//
  3417  	// ParentReadinessScopes is a required field
  3418  	ParentReadinessScopes []*string `locationName:"parentReadinessScopes" type:"list" required:"true"`
  3419  
  3420  	// A collection of tags associated with a resource
  3421  	Tags map[string]*string `locationName:"tags" type:"map"`
  3422  }
  3423  
  3424  // String returns the string representation.
  3425  //
  3426  // API parameter values that are decorated as "sensitive" in the API will not
  3427  // be included in the string output. The member name will be present, but the
  3428  // value will be replaced with "sensitive".
  3429  func (s CellOutput_) String() string {
  3430  	return awsutil.Prettify(s)
  3431  }
  3432  
  3433  // GoString returns the string representation.
  3434  //
  3435  // API parameter values that are decorated as "sensitive" in the API will not
  3436  // be included in the string output. The member name will be present, but the
  3437  // value will be replaced with "sensitive".
  3438  func (s CellOutput_) GoString() string {
  3439  	return s.String()
  3440  }
  3441  
  3442  // SetCellArn sets the CellArn field's value.
  3443  func (s *CellOutput_) SetCellArn(v string) *CellOutput_ {
  3444  	s.CellArn = &v
  3445  	return s
  3446  }
  3447  
  3448  // SetCellName sets the CellName field's value.
  3449  func (s *CellOutput_) SetCellName(v string) *CellOutput_ {
  3450  	s.CellName = &v
  3451  	return s
  3452  }
  3453  
  3454  // SetCells sets the Cells field's value.
  3455  func (s *CellOutput_) SetCells(v []*string) *CellOutput_ {
  3456  	s.Cells = v
  3457  	return s
  3458  }
  3459  
  3460  // SetParentReadinessScopes sets the ParentReadinessScopes field's value.
  3461  func (s *CellOutput_) SetParentReadinessScopes(v []*string) *CellOutput_ {
  3462  	s.ParentReadinessScopes = v
  3463  	return s
  3464  }
  3465  
  3466  // SetTags sets the Tags field's value.
  3467  func (s *CellOutput_) SetTags(v map[string]*string) *CellOutput_ {
  3468  	s.Tags = v
  3469  	return s
  3470  }
  3471  
  3472  type ConflictException struct {
  3473  	_            struct{}                  `type:"structure"`
  3474  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  3475  
  3476  	Message_ *string `locationName:"message" type:"string"`
  3477  }
  3478  
  3479  // String returns the string representation.
  3480  //
  3481  // API parameter values that are decorated as "sensitive" in the API will not
  3482  // be included in the string output. The member name will be present, but the
  3483  // value will be replaced with "sensitive".
  3484  func (s ConflictException) String() string {
  3485  	return awsutil.Prettify(s)
  3486  }
  3487  
  3488  // GoString returns the string representation.
  3489  //
  3490  // API parameter values that are decorated as "sensitive" in the API will not
  3491  // be included in the string output. The member name will be present, but the
  3492  // value will be replaced with "sensitive".
  3493  func (s ConflictException) GoString() string {
  3494  	return s.String()
  3495  }
  3496  
  3497  func newErrorConflictException(v protocol.ResponseMetadata) error {
  3498  	return &ConflictException{
  3499  		RespMetadata: v,
  3500  	}
  3501  }
  3502  
  3503  // Code returns the exception type name.
  3504  func (s *ConflictException) Code() string {
  3505  	return "ConflictException"
  3506  }
  3507  
  3508  // Message returns the exception's message.
  3509  func (s *ConflictException) Message() string {
  3510  	if s.Message_ != nil {
  3511  		return *s.Message_
  3512  	}
  3513  	return ""
  3514  }
  3515  
  3516  // OrigErr always returns nil, satisfies awserr.Error interface.
  3517  func (s *ConflictException) OrigErr() error {
  3518  	return nil
  3519  }
  3520  
  3521  func (s *ConflictException) Error() string {
  3522  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  3523  }
  3524  
  3525  // Status code returns the HTTP status code for the request's response error.
  3526  func (s *ConflictException) StatusCode() int {
  3527  	return s.RespMetadata.StatusCode
  3528  }
  3529  
  3530  // RequestID returns the service's response RequestID for request.
  3531  func (s *ConflictException) RequestID() string {
  3532  	return s.RespMetadata.RequestID
  3533  }
  3534  
  3535  type CreateCellInput struct {
  3536  	_ struct{} `type:"structure"`
  3537  
  3538  	// CellName is a required field
  3539  	CellName *string `locationName:"cellName" type:"string" required:"true"`
  3540  
  3541  	Cells []*string `locationName:"cells" type:"list"`
  3542  
  3543  	// A collection of tags associated with a resource
  3544  	Tags map[string]*string `locationName:"tags" type:"map"`
  3545  }
  3546  
  3547  // String returns the string representation.
  3548  //
  3549  // API parameter values that are decorated as "sensitive" in the API will not
  3550  // be included in the string output. The member name will be present, but the
  3551  // value will be replaced with "sensitive".
  3552  func (s CreateCellInput) String() string {
  3553  	return awsutil.Prettify(s)
  3554  }
  3555  
  3556  // GoString returns the string representation.
  3557  //
  3558  // API parameter values that are decorated as "sensitive" in the API will not
  3559  // be included in the string output. The member name will be present, but the
  3560  // value will be replaced with "sensitive".
  3561  func (s CreateCellInput) GoString() string {
  3562  	return s.String()
  3563  }
  3564  
  3565  // Validate inspects the fields of the type to determine if they are valid.
  3566  func (s *CreateCellInput) Validate() error {
  3567  	invalidParams := request.ErrInvalidParams{Context: "CreateCellInput"}
  3568  	if s.CellName == nil {
  3569  		invalidParams.Add(request.NewErrParamRequired("CellName"))
  3570  	}
  3571  
  3572  	if invalidParams.Len() > 0 {
  3573  		return invalidParams
  3574  	}
  3575  	return nil
  3576  }
  3577  
  3578  // SetCellName sets the CellName field's value.
  3579  func (s *CreateCellInput) SetCellName(v string) *CreateCellInput {
  3580  	s.CellName = &v
  3581  	return s
  3582  }
  3583  
  3584  // SetCells sets the Cells field's value.
  3585  func (s *CreateCellInput) SetCells(v []*string) *CreateCellInput {
  3586  	s.Cells = v
  3587  	return s
  3588  }
  3589  
  3590  // SetTags sets the Tags field's value.
  3591  func (s *CreateCellInput) SetTags(v map[string]*string) *CreateCellInput {
  3592  	s.Tags = v
  3593  	return s
  3594  }
  3595  
  3596  type CreateCellOutput struct {
  3597  	_ struct{} `type:"structure"`
  3598  
  3599  	CellArn *string `locationName:"cellArn" type:"string"`
  3600  
  3601  	CellName *string `locationName:"cellName" type:"string"`
  3602  
  3603  	Cells []*string `locationName:"cells" type:"list"`
  3604  
  3605  	ParentReadinessScopes []*string `locationName:"parentReadinessScopes" type:"list"`
  3606  
  3607  	// A collection of tags associated with a resource
  3608  	Tags map[string]*string `locationName:"tags" type:"map"`
  3609  }
  3610  
  3611  // String returns the string representation.
  3612  //
  3613  // API parameter values that are decorated as "sensitive" in the API will not
  3614  // be included in the string output. The member name will be present, but the
  3615  // value will be replaced with "sensitive".
  3616  func (s CreateCellOutput) String() string {
  3617  	return awsutil.Prettify(s)
  3618  }
  3619  
  3620  // GoString returns the string representation.
  3621  //
  3622  // API parameter values that are decorated as "sensitive" in the API will not
  3623  // be included in the string output. The member name will be present, but the
  3624  // value will be replaced with "sensitive".
  3625  func (s CreateCellOutput) GoString() string {
  3626  	return s.String()
  3627  }
  3628  
  3629  // SetCellArn sets the CellArn field's value.
  3630  func (s *CreateCellOutput) SetCellArn(v string) *CreateCellOutput {
  3631  	s.CellArn = &v
  3632  	return s
  3633  }
  3634  
  3635  // SetCellName sets the CellName field's value.
  3636  func (s *CreateCellOutput) SetCellName(v string) *CreateCellOutput {
  3637  	s.CellName = &v
  3638  	return s
  3639  }
  3640  
  3641  // SetCells sets the Cells field's value.
  3642  func (s *CreateCellOutput) SetCells(v []*string) *CreateCellOutput {
  3643  	s.Cells = v
  3644  	return s
  3645  }
  3646  
  3647  // SetParentReadinessScopes sets the ParentReadinessScopes field's value.
  3648  func (s *CreateCellOutput) SetParentReadinessScopes(v []*string) *CreateCellOutput {
  3649  	s.ParentReadinessScopes = v
  3650  	return s
  3651  }
  3652  
  3653  // SetTags sets the Tags field's value.
  3654  func (s *CreateCellOutput) SetTags(v map[string]*string) *CreateCellOutput {
  3655  	s.Tags = v
  3656  	return s
  3657  }
  3658  
  3659  type CreateCrossAccountAuthorizationInput struct {
  3660  	_ struct{} `type:"structure"`
  3661  
  3662  	// A cross-account authorization, e.g. arn:aws:iam::123456789012:root
  3663  	//
  3664  	// CrossAccountAuthorization is a required field
  3665  	CrossAccountAuthorization *string `locationName:"crossAccountAuthorization" type:"string" required:"true"`
  3666  }
  3667  
  3668  // String returns the string representation.
  3669  //
  3670  // API parameter values that are decorated as "sensitive" in the API will not
  3671  // be included in the string output. The member name will be present, but the
  3672  // value will be replaced with "sensitive".
  3673  func (s CreateCrossAccountAuthorizationInput) String() string {
  3674  	return awsutil.Prettify(s)
  3675  }
  3676  
  3677  // GoString returns the string representation.
  3678  //
  3679  // API parameter values that are decorated as "sensitive" in the API will not
  3680  // be included in the string output. The member name will be present, but the
  3681  // value will be replaced with "sensitive".
  3682  func (s CreateCrossAccountAuthorizationInput) GoString() string {
  3683  	return s.String()
  3684  }
  3685  
  3686  // Validate inspects the fields of the type to determine if they are valid.
  3687  func (s *CreateCrossAccountAuthorizationInput) Validate() error {
  3688  	invalidParams := request.ErrInvalidParams{Context: "CreateCrossAccountAuthorizationInput"}
  3689  	if s.CrossAccountAuthorization == nil {
  3690  		invalidParams.Add(request.NewErrParamRequired("CrossAccountAuthorization"))
  3691  	}
  3692  
  3693  	if invalidParams.Len() > 0 {
  3694  		return invalidParams
  3695  	}
  3696  	return nil
  3697  }
  3698  
  3699  // SetCrossAccountAuthorization sets the CrossAccountAuthorization field's value.
  3700  func (s *CreateCrossAccountAuthorizationInput) SetCrossAccountAuthorization(v string) *CreateCrossAccountAuthorizationInput {
  3701  	s.CrossAccountAuthorization = &v
  3702  	return s
  3703  }
  3704  
  3705  type CreateCrossAccountAuthorizationOutput struct {
  3706  	_ struct{} `type:"structure"`
  3707  
  3708  	// A cross-account authorization, e.g. arn:aws:iam::123456789012:root
  3709  	CrossAccountAuthorization *string `locationName:"crossAccountAuthorization" type:"string"`
  3710  }
  3711  
  3712  // String returns the string representation.
  3713  //
  3714  // API parameter values that are decorated as "sensitive" in the API will not
  3715  // be included in the string output. The member name will be present, but the
  3716  // value will be replaced with "sensitive".
  3717  func (s CreateCrossAccountAuthorizationOutput) String() string {
  3718  	return awsutil.Prettify(s)
  3719  }
  3720  
  3721  // GoString returns the string representation.
  3722  //
  3723  // API parameter values that are decorated as "sensitive" in the API will not
  3724  // be included in the string output. The member name will be present, but the
  3725  // value will be replaced with "sensitive".
  3726  func (s CreateCrossAccountAuthorizationOutput) GoString() string {
  3727  	return s.String()
  3728  }
  3729  
  3730  // SetCrossAccountAuthorization sets the CrossAccountAuthorization field's value.
  3731  func (s *CreateCrossAccountAuthorizationOutput) SetCrossAccountAuthorization(v string) *CreateCrossAccountAuthorizationOutput {
  3732  	s.CrossAccountAuthorization = &v
  3733  	return s
  3734  }
  3735  
  3736  type CreateReadinessCheckInput struct {
  3737  	_ struct{} `type:"structure"`
  3738  
  3739  	// ReadinessCheckName is a required field
  3740  	ReadinessCheckName *string `locationName:"readinessCheckName" type:"string" required:"true"`
  3741  
  3742  	// ResourceSetName is a required field
  3743  	ResourceSetName *string `locationName:"resourceSetName" type:"string" required:"true"`
  3744  
  3745  	// A collection of tags associated with a resource
  3746  	Tags map[string]*string `locationName:"tags" type:"map"`
  3747  }
  3748  
  3749  // String returns the string representation.
  3750  //
  3751  // API parameter values that are decorated as "sensitive" in the API will not
  3752  // be included in the string output. The member name will be present, but the
  3753  // value will be replaced with "sensitive".
  3754  func (s CreateReadinessCheckInput) String() string {
  3755  	return awsutil.Prettify(s)
  3756  }
  3757  
  3758  // GoString returns the string representation.
  3759  //
  3760  // API parameter values that are decorated as "sensitive" in the API will not
  3761  // be included in the string output. The member name will be present, but the
  3762  // value will be replaced with "sensitive".
  3763  func (s CreateReadinessCheckInput) GoString() string {
  3764  	return s.String()
  3765  }
  3766  
  3767  // Validate inspects the fields of the type to determine if they are valid.
  3768  func (s *CreateReadinessCheckInput) Validate() error {
  3769  	invalidParams := request.ErrInvalidParams{Context: "CreateReadinessCheckInput"}
  3770  	if s.ReadinessCheckName == nil {
  3771  		invalidParams.Add(request.NewErrParamRequired("ReadinessCheckName"))
  3772  	}
  3773  	if s.ResourceSetName == nil {
  3774  		invalidParams.Add(request.NewErrParamRequired("ResourceSetName"))
  3775  	}
  3776  
  3777  	if invalidParams.Len() > 0 {
  3778  		return invalidParams
  3779  	}
  3780  	return nil
  3781  }
  3782  
  3783  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  3784  func (s *CreateReadinessCheckInput) SetReadinessCheckName(v string) *CreateReadinessCheckInput {
  3785  	s.ReadinessCheckName = &v
  3786  	return s
  3787  }
  3788  
  3789  // SetResourceSetName sets the ResourceSetName field's value.
  3790  func (s *CreateReadinessCheckInput) SetResourceSetName(v string) *CreateReadinessCheckInput {
  3791  	s.ResourceSetName = &v
  3792  	return s
  3793  }
  3794  
  3795  // SetTags sets the Tags field's value.
  3796  func (s *CreateReadinessCheckInput) SetTags(v map[string]*string) *CreateReadinessCheckInput {
  3797  	s.Tags = v
  3798  	return s
  3799  }
  3800  
  3801  type CreateReadinessCheckOutput struct {
  3802  	_ struct{} `type:"structure"`
  3803  
  3804  	ReadinessCheckArn *string `locationName:"readinessCheckArn" type:"string"`
  3805  
  3806  	ReadinessCheckName *string `locationName:"readinessCheckName" type:"string"`
  3807  
  3808  	ResourceSet *string `locationName:"resourceSet" type:"string"`
  3809  
  3810  	// A collection of tags associated with a resource
  3811  	Tags map[string]*string `locationName:"tags" type:"map"`
  3812  }
  3813  
  3814  // String returns the string representation.
  3815  //
  3816  // API parameter values that are decorated as "sensitive" in the API will not
  3817  // be included in the string output. The member name will be present, but the
  3818  // value will be replaced with "sensitive".
  3819  func (s CreateReadinessCheckOutput) String() string {
  3820  	return awsutil.Prettify(s)
  3821  }
  3822  
  3823  // GoString returns the string representation.
  3824  //
  3825  // API parameter values that are decorated as "sensitive" in the API will not
  3826  // be included in the string output. The member name will be present, but the
  3827  // value will be replaced with "sensitive".
  3828  func (s CreateReadinessCheckOutput) GoString() string {
  3829  	return s.String()
  3830  }
  3831  
  3832  // SetReadinessCheckArn sets the ReadinessCheckArn field's value.
  3833  func (s *CreateReadinessCheckOutput) SetReadinessCheckArn(v string) *CreateReadinessCheckOutput {
  3834  	s.ReadinessCheckArn = &v
  3835  	return s
  3836  }
  3837  
  3838  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  3839  func (s *CreateReadinessCheckOutput) SetReadinessCheckName(v string) *CreateReadinessCheckOutput {
  3840  	s.ReadinessCheckName = &v
  3841  	return s
  3842  }
  3843  
  3844  // SetResourceSet sets the ResourceSet field's value.
  3845  func (s *CreateReadinessCheckOutput) SetResourceSet(v string) *CreateReadinessCheckOutput {
  3846  	s.ResourceSet = &v
  3847  	return s
  3848  }
  3849  
  3850  // SetTags sets the Tags field's value.
  3851  func (s *CreateReadinessCheckOutput) SetTags(v map[string]*string) *CreateReadinessCheckOutput {
  3852  	s.Tags = v
  3853  	return s
  3854  }
  3855  
  3856  type CreateRecoveryGroupInput struct {
  3857  	_ struct{} `type:"structure"`
  3858  
  3859  	Cells []*string `locationName:"cells" type:"list"`
  3860  
  3861  	// RecoveryGroupName is a required field
  3862  	RecoveryGroupName *string `locationName:"recoveryGroupName" type:"string" required:"true"`
  3863  
  3864  	// A collection of tags associated with a resource
  3865  	Tags map[string]*string `locationName:"tags" type:"map"`
  3866  }
  3867  
  3868  // String returns the string representation.
  3869  //
  3870  // API parameter values that are decorated as "sensitive" in the API will not
  3871  // be included in the string output. The member name will be present, but the
  3872  // value will be replaced with "sensitive".
  3873  func (s CreateRecoveryGroupInput) String() string {
  3874  	return awsutil.Prettify(s)
  3875  }
  3876  
  3877  // GoString returns the string representation.
  3878  //
  3879  // API parameter values that are decorated as "sensitive" in the API will not
  3880  // be included in the string output. The member name will be present, but the
  3881  // value will be replaced with "sensitive".
  3882  func (s CreateRecoveryGroupInput) GoString() string {
  3883  	return s.String()
  3884  }
  3885  
  3886  // Validate inspects the fields of the type to determine if they are valid.
  3887  func (s *CreateRecoveryGroupInput) Validate() error {
  3888  	invalidParams := request.ErrInvalidParams{Context: "CreateRecoveryGroupInput"}
  3889  	if s.RecoveryGroupName == nil {
  3890  		invalidParams.Add(request.NewErrParamRequired("RecoveryGroupName"))
  3891  	}
  3892  
  3893  	if invalidParams.Len() > 0 {
  3894  		return invalidParams
  3895  	}
  3896  	return nil
  3897  }
  3898  
  3899  // SetCells sets the Cells field's value.
  3900  func (s *CreateRecoveryGroupInput) SetCells(v []*string) *CreateRecoveryGroupInput {
  3901  	s.Cells = v
  3902  	return s
  3903  }
  3904  
  3905  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  3906  func (s *CreateRecoveryGroupInput) SetRecoveryGroupName(v string) *CreateRecoveryGroupInput {
  3907  	s.RecoveryGroupName = &v
  3908  	return s
  3909  }
  3910  
  3911  // SetTags sets the Tags field's value.
  3912  func (s *CreateRecoveryGroupInput) SetTags(v map[string]*string) *CreateRecoveryGroupInput {
  3913  	s.Tags = v
  3914  	return s
  3915  }
  3916  
  3917  type CreateRecoveryGroupOutput struct {
  3918  	_ struct{} `type:"structure"`
  3919  
  3920  	Cells []*string `locationName:"cells" type:"list"`
  3921  
  3922  	RecoveryGroupArn *string `locationName:"recoveryGroupArn" type:"string"`
  3923  
  3924  	RecoveryGroupName *string `locationName:"recoveryGroupName" type:"string"`
  3925  
  3926  	// A collection of tags associated with a resource
  3927  	Tags map[string]*string `locationName:"tags" type:"map"`
  3928  }
  3929  
  3930  // String returns the string representation.
  3931  //
  3932  // API parameter values that are decorated as "sensitive" in the API will not
  3933  // be included in the string output. The member name will be present, but the
  3934  // value will be replaced with "sensitive".
  3935  func (s CreateRecoveryGroupOutput) String() string {
  3936  	return awsutil.Prettify(s)
  3937  }
  3938  
  3939  // GoString returns the string representation.
  3940  //
  3941  // API parameter values that are decorated as "sensitive" in the API will not
  3942  // be included in the string output. The member name will be present, but the
  3943  // value will be replaced with "sensitive".
  3944  func (s CreateRecoveryGroupOutput) GoString() string {
  3945  	return s.String()
  3946  }
  3947  
  3948  // SetCells sets the Cells field's value.
  3949  func (s *CreateRecoveryGroupOutput) SetCells(v []*string) *CreateRecoveryGroupOutput {
  3950  	s.Cells = v
  3951  	return s
  3952  }
  3953  
  3954  // SetRecoveryGroupArn sets the RecoveryGroupArn field's value.
  3955  func (s *CreateRecoveryGroupOutput) SetRecoveryGroupArn(v string) *CreateRecoveryGroupOutput {
  3956  	s.RecoveryGroupArn = &v
  3957  	return s
  3958  }
  3959  
  3960  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  3961  func (s *CreateRecoveryGroupOutput) SetRecoveryGroupName(v string) *CreateRecoveryGroupOutput {
  3962  	s.RecoveryGroupName = &v
  3963  	return s
  3964  }
  3965  
  3966  // SetTags sets the Tags field's value.
  3967  func (s *CreateRecoveryGroupOutput) SetTags(v map[string]*string) *CreateRecoveryGroupOutput {
  3968  	s.Tags = v
  3969  	return s
  3970  }
  3971  
  3972  type CreateResourceSetInput struct {
  3973  	_ struct{} `type:"structure"`
  3974  
  3975  	// ResourceSetName is a required field
  3976  	ResourceSetName *string `locationName:"resourceSetName" type:"string" required:"true"`
  3977  
  3978  	// ResourceSetType is a required field
  3979  	ResourceSetType *string `locationName:"resourceSetType" type:"string" required:"true"`
  3980  
  3981  	// Resources is a required field
  3982  	Resources []*Resource `locationName:"resources" type:"list" required:"true"`
  3983  
  3984  	// A collection of tags associated with a resource
  3985  	Tags map[string]*string `locationName:"tags" type:"map"`
  3986  }
  3987  
  3988  // String returns the string representation.
  3989  //
  3990  // API parameter values that are decorated as "sensitive" in the API will not
  3991  // be included in the string output. The member name will be present, but the
  3992  // value will be replaced with "sensitive".
  3993  func (s CreateResourceSetInput) String() string {
  3994  	return awsutil.Prettify(s)
  3995  }
  3996  
  3997  // GoString returns the string representation.
  3998  //
  3999  // API parameter values that are decorated as "sensitive" in the API will not
  4000  // be included in the string output. The member name will be present, but the
  4001  // value will be replaced with "sensitive".
  4002  func (s CreateResourceSetInput) GoString() string {
  4003  	return s.String()
  4004  }
  4005  
  4006  // Validate inspects the fields of the type to determine if they are valid.
  4007  func (s *CreateResourceSetInput) Validate() error {
  4008  	invalidParams := request.ErrInvalidParams{Context: "CreateResourceSetInput"}
  4009  	if s.ResourceSetName == nil {
  4010  		invalidParams.Add(request.NewErrParamRequired("ResourceSetName"))
  4011  	}
  4012  	if s.ResourceSetType == nil {
  4013  		invalidParams.Add(request.NewErrParamRequired("ResourceSetType"))
  4014  	}
  4015  	if s.Resources == nil {
  4016  		invalidParams.Add(request.NewErrParamRequired("Resources"))
  4017  	}
  4018  
  4019  	if invalidParams.Len() > 0 {
  4020  		return invalidParams
  4021  	}
  4022  	return nil
  4023  }
  4024  
  4025  // SetResourceSetName sets the ResourceSetName field's value.
  4026  func (s *CreateResourceSetInput) SetResourceSetName(v string) *CreateResourceSetInput {
  4027  	s.ResourceSetName = &v
  4028  	return s
  4029  }
  4030  
  4031  // SetResourceSetType sets the ResourceSetType field's value.
  4032  func (s *CreateResourceSetInput) SetResourceSetType(v string) *CreateResourceSetInput {
  4033  	s.ResourceSetType = &v
  4034  	return s
  4035  }
  4036  
  4037  // SetResources sets the Resources field's value.
  4038  func (s *CreateResourceSetInput) SetResources(v []*Resource) *CreateResourceSetInput {
  4039  	s.Resources = v
  4040  	return s
  4041  }
  4042  
  4043  // SetTags sets the Tags field's value.
  4044  func (s *CreateResourceSetInput) SetTags(v map[string]*string) *CreateResourceSetInput {
  4045  	s.Tags = v
  4046  	return s
  4047  }
  4048  
  4049  type CreateResourceSetOutput struct {
  4050  	_ struct{} `type:"structure"`
  4051  
  4052  	ResourceSetArn *string `locationName:"resourceSetArn" type:"string"`
  4053  
  4054  	ResourceSetName *string `locationName:"resourceSetName" type:"string"`
  4055  
  4056  	ResourceSetType *string `locationName:"resourceSetType" type:"string"`
  4057  
  4058  	Resources []*Resource `locationName:"resources" type:"list"`
  4059  
  4060  	// A collection of tags associated with a resource
  4061  	Tags map[string]*string `locationName:"tags" type:"map"`
  4062  }
  4063  
  4064  // String returns the string representation.
  4065  //
  4066  // API parameter values that are decorated as "sensitive" in the API will not
  4067  // be included in the string output. The member name will be present, but the
  4068  // value will be replaced with "sensitive".
  4069  func (s CreateResourceSetOutput) String() string {
  4070  	return awsutil.Prettify(s)
  4071  }
  4072  
  4073  // GoString returns the string representation.
  4074  //
  4075  // API parameter values that are decorated as "sensitive" in the API will not
  4076  // be included in the string output. The member name will be present, but the
  4077  // value will be replaced with "sensitive".
  4078  func (s CreateResourceSetOutput) GoString() string {
  4079  	return s.String()
  4080  }
  4081  
  4082  // SetResourceSetArn sets the ResourceSetArn field's value.
  4083  func (s *CreateResourceSetOutput) SetResourceSetArn(v string) *CreateResourceSetOutput {
  4084  	s.ResourceSetArn = &v
  4085  	return s
  4086  }
  4087  
  4088  // SetResourceSetName sets the ResourceSetName field's value.
  4089  func (s *CreateResourceSetOutput) SetResourceSetName(v string) *CreateResourceSetOutput {
  4090  	s.ResourceSetName = &v
  4091  	return s
  4092  }
  4093  
  4094  // SetResourceSetType sets the ResourceSetType field's value.
  4095  func (s *CreateResourceSetOutput) SetResourceSetType(v string) *CreateResourceSetOutput {
  4096  	s.ResourceSetType = &v
  4097  	return s
  4098  }
  4099  
  4100  // SetResources sets the Resources field's value.
  4101  func (s *CreateResourceSetOutput) SetResources(v []*Resource) *CreateResourceSetOutput {
  4102  	s.Resources = v
  4103  	return s
  4104  }
  4105  
  4106  // SetTags sets the Tags field's value.
  4107  func (s *CreateResourceSetOutput) SetTags(v map[string]*string) *CreateResourceSetOutput {
  4108  	s.Tags = v
  4109  	return s
  4110  }
  4111  
  4112  // A component for DNS/Routing Control Readiness Checks
  4113  type DNSTargetResource struct {
  4114  	_ struct{} `type:"structure"`
  4115  
  4116  	// The DNS Name that acts as ingress point to a portion of application
  4117  	DomainName *string `locationName:"domainName" type:"string"`
  4118  
  4119  	// The Hosted Zone ARN that contains the DNS record with the provided name of
  4120  	// target resource.
  4121  	HostedZoneArn *string `locationName:"hostedZoneArn" type:"string"`
  4122  
  4123  	// The R53 Set Id to uniquely identify a record given a Name and a Type
  4124  	RecordSetId *string `locationName:"recordSetId" type:"string"`
  4125  
  4126  	// The Type of DNS Record of target resource
  4127  	RecordType *string `locationName:"recordType" type:"string"`
  4128  
  4129  	// The target resource the R53 record points to
  4130  	TargetResource *TargetResource `locationName:"targetResource" type:"structure"`
  4131  }
  4132  
  4133  // String returns the string representation.
  4134  //
  4135  // API parameter values that are decorated as "sensitive" in the API will not
  4136  // be included in the string output. The member name will be present, but the
  4137  // value will be replaced with "sensitive".
  4138  func (s DNSTargetResource) String() string {
  4139  	return awsutil.Prettify(s)
  4140  }
  4141  
  4142  // GoString returns the string representation.
  4143  //
  4144  // API parameter values that are decorated as "sensitive" in the API will not
  4145  // be included in the string output. The member name will be present, but the
  4146  // value will be replaced with "sensitive".
  4147  func (s DNSTargetResource) GoString() string {
  4148  	return s.String()
  4149  }
  4150  
  4151  // SetDomainName sets the DomainName field's value.
  4152  func (s *DNSTargetResource) SetDomainName(v string) *DNSTargetResource {
  4153  	s.DomainName = &v
  4154  	return s
  4155  }
  4156  
  4157  // SetHostedZoneArn sets the HostedZoneArn field's value.
  4158  func (s *DNSTargetResource) SetHostedZoneArn(v string) *DNSTargetResource {
  4159  	s.HostedZoneArn = &v
  4160  	return s
  4161  }
  4162  
  4163  // SetRecordSetId sets the RecordSetId field's value.
  4164  func (s *DNSTargetResource) SetRecordSetId(v string) *DNSTargetResource {
  4165  	s.RecordSetId = &v
  4166  	return s
  4167  }
  4168  
  4169  // SetRecordType sets the RecordType field's value.
  4170  func (s *DNSTargetResource) SetRecordType(v string) *DNSTargetResource {
  4171  	s.RecordType = &v
  4172  	return s
  4173  }
  4174  
  4175  // SetTargetResource sets the TargetResource field's value.
  4176  func (s *DNSTargetResource) SetTargetResource(v *TargetResource) *DNSTargetResource {
  4177  	s.TargetResource = v
  4178  	return s
  4179  }
  4180  
  4181  type DeleteCellInput struct {
  4182  	_ struct{} `type:"structure" nopayload:"true"`
  4183  
  4184  	// CellName is a required field
  4185  	CellName *string `location:"uri" locationName:"cellName" type:"string" required:"true"`
  4186  }
  4187  
  4188  // String returns the string representation.
  4189  //
  4190  // API parameter values that are decorated as "sensitive" in the API will not
  4191  // be included in the string output. The member name will be present, but the
  4192  // value will be replaced with "sensitive".
  4193  func (s DeleteCellInput) String() string {
  4194  	return awsutil.Prettify(s)
  4195  }
  4196  
  4197  // GoString returns the string representation.
  4198  //
  4199  // API parameter values that are decorated as "sensitive" in the API will not
  4200  // be included in the string output. The member name will be present, but the
  4201  // value will be replaced with "sensitive".
  4202  func (s DeleteCellInput) GoString() string {
  4203  	return s.String()
  4204  }
  4205  
  4206  // Validate inspects the fields of the type to determine if they are valid.
  4207  func (s *DeleteCellInput) Validate() error {
  4208  	invalidParams := request.ErrInvalidParams{Context: "DeleteCellInput"}
  4209  	if s.CellName == nil {
  4210  		invalidParams.Add(request.NewErrParamRequired("CellName"))
  4211  	}
  4212  	if s.CellName != nil && len(*s.CellName) < 1 {
  4213  		invalidParams.Add(request.NewErrParamMinLen("CellName", 1))
  4214  	}
  4215  
  4216  	if invalidParams.Len() > 0 {
  4217  		return invalidParams
  4218  	}
  4219  	return nil
  4220  }
  4221  
  4222  // SetCellName sets the CellName field's value.
  4223  func (s *DeleteCellInput) SetCellName(v string) *DeleteCellInput {
  4224  	s.CellName = &v
  4225  	return s
  4226  }
  4227  
  4228  type DeleteCellOutput struct {
  4229  	_ struct{} `type:"structure" nopayload:"true"`
  4230  }
  4231  
  4232  // String returns the string representation.
  4233  //
  4234  // API parameter values that are decorated as "sensitive" in the API will not
  4235  // be included in the string output. The member name will be present, but the
  4236  // value will be replaced with "sensitive".
  4237  func (s DeleteCellOutput) String() string {
  4238  	return awsutil.Prettify(s)
  4239  }
  4240  
  4241  // GoString returns the string representation.
  4242  //
  4243  // API parameter values that are decorated as "sensitive" in the API will not
  4244  // be included in the string output. The member name will be present, but the
  4245  // value will be replaced with "sensitive".
  4246  func (s DeleteCellOutput) GoString() string {
  4247  	return s.String()
  4248  }
  4249  
  4250  type DeleteCrossAccountAuthorizationInput struct {
  4251  	_ struct{} `type:"structure" nopayload:"true"`
  4252  
  4253  	// CrossAccountAuthorization is a required field
  4254  	CrossAccountAuthorization *string `location:"uri" locationName:"crossAccountAuthorization" type:"string" required:"true"`
  4255  }
  4256  
  4257  // String returns the string representation.
  4258  //
  4259  // API parameter values that are decorated as "sensitive" in the API will not
  4260  // be included in the string output. The member name will be present, but the
  4261  // value will be replaced with "sensitive".
  4262  func (s DeleteCrossAccountAuthorizationInput) String() string {
  4263  	return awsutil.Prettify(s)
  4264  }
  4265  
  4266  // GoString returns the string representation.
  4267  //
  4268  // API parameter values that are decorated as "sensitive" in the API will not
  4269  // be included in the string output. The member name will be present, but the
  4270  // value will be replaced with "sensitive".
  4271  func (s DeleteCrossAccountAuthorizationInput) GoString() string {
  4272  	return s.String()
  4273  }
  4274  
  4275  // Validate inspects the fields of the type to determine if they are valid.
  4276  func (s *DeleteCrossAccountAuthorizationInput) Validate() error {
  4277  	invalidParams := request.ErrInvalidParams{Context: "DeleteCrossAccountAuthorizationInput"}
  4278  	if s.CrossAccountAuthorization == nil {
  4279  		invalidParams.Add(request.NewErrParamRequired("CrossAccountAuthorization"))
  4280  	}
  4281  	if s.CrossAccountAuthorization != nil && len(*s.CrossAccountAuthorization) < 1 {
  4282  		invalidParams.Add(request.NewErrParamMinLen("CrossAccountAuthorization", 1))
  4283  	}
  4284  
  4285  	if invalidParams.Len() > 0 {
  4286  		return invalidParams
  4287  	}
  4288  	return nil
  4289  }
  4290  
  4291  // SetCrossAccountAuthorization sets the CrossAccountAuthorization field's value.
  4292  func (s *DeleteCrossAccountAuthorizationInput) SetCrossAccountAuthorization(v string) *DeleteCrossAccountAuthorizationInput {
  4293  	s.CrossAccountAuthorization = &v
  4294  	return s
  4295  }
  4296  
  4297  type DeleteCrossAccountAuthorizationOutput struct {
  4298  	_ struct{} `type:"structure" nopayload:"true"`
  4299  }
  4300  
  4301  // String returns the string representation.
  4302  //
  4303  // API parameter values that are decorated as "sensitive" in the API will not
  4304  // be included in the string output. The member name will be present, but the
  4305  // value will be replaced with "sensitive".
  4306  func (s DeleteCrossAccountAuthorizationOutput) String() string {
  4307  	return awsutil.Prettify(s)
  4308  }
  4309  
  4310  // GoString returns the string representation.
  4311  //
  4312  // API parameter values that are decorated as "sensitive" in the API will not
  4313  // be included in the string output. The member name will be present, but the
  4314  // value will be replaced with "sensitive".
  4315  func (s DeleteCrossAccountAuthorizationOutput) GoString() string {
  4316  	return s.String()
  4317  }
  4318  
  4319  type DeleteReadinessCheckInput struct {
  4320  	_ struct{} `type:"structure" nopayload:"true"`
  4321  
  4322  	// ReadinessCheckName is a required field
  4323  	ReadinessCheckName *string `location:"uri" locationName:"readinessCheckName" type:"string" required:"true"`
  4324  }
  4325  
  4326  // String returns the string representation.
  4327  //
  4328  // API parameter values that are decorated as "sensitive" in the API will not
  4329  // be included in the string output. The member name will be present, but the
  4330  // value will be replaced with "sensitive".
  4331  func (s DeleteReadinessCheckInput) String() string {
  4332  	return awsutil.Prettify(s)
  4333  }
  4334  
  4335  // GoString returns the string representation.
  4336  //
  4337  // API parameter values that are decorated as "sensitive" in the API will not
  4338  // be included in the string output. The member name will be present, but the
  4339  // value will be replaced with "sensitive".
  4340  func (s DeleteReadinessCheckInput) GoString() string {
  4341  	return s.String()
  4342  }
  4343  
  4344  // Validate inspects the fields of the type to determine if they are valid.
  4345  func (s *DeleteReadinessCheckInput) Validate() error {
  4346  	invalidParams := request.ErrInvalidParams{Context: "DeleteReadinessCheckInput"}
  4347  	if s.ReadinessCheckName == nil {
  4348  		invalidParams.Add(request.NewErrParamRequired("ReadinessCheckName"))
  4349  	}
  4350  	if s.ReadinessCheckName != nil && len(*s.ReadinessCheckName) < 1 {
  4351  		invalidParams.Add(request.NewErrParamMinLen("ReadinessCheckName", 1))
  4352  	}
  4353  
  4354  	if invalidParams.Len() > 0 {
  4355  		return invalidParams
  4356  	}
  4357  	return nil
  4358  }
  4359  
  4360  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  4361  func (s *DeleteReadinessCheckInput) SetReadinessCheckName(v string) *DeleteReadinessCheckInput {
  4362  	s.ReadinessCheckName = &v
  4363  	return s
  4364  }
  4365  
  4366  type DeleteReadinessCheckOutput struct {
  4367  	_ struct{} `type:"structure" nopayload:"true"`
  4368  }
  4369  
  4370  // String returns the string representation.
  4371  //
  4372  // API parameter values that are decorated as "sensitive" in the API will not
  4373  // be included in the string output. The member name will be present, but the
  4374  // value will be replaced with "sensitive".
  4375  func (s DeleteReadinessCheckOutput) String() string {
  4376  	return awsutil.Prettify(s)
  4377  }
  4378  
  4379  // GoString returns the string representation.
  4380  //
  4381  // API parameter values that are decorated as "sensitive" in the API will not
  4382  // be included in the string output. The member name will be present, but the
  4383  // value will be replaced with "sensitive".
  4384  func (s DeleteReadinessCheckOutput) GoString() string {
  4385  	return s.String()
  4386  }
  4387  
  4388  type DeleteRecoveryGroupInput struct {
  4389  	_ struct{} `type:"structure" nopayload:"true"`
  4390  
  4391  	// RecoveryGroupName is a required field
  4392  	RecoveryGroupName *string `location:"uri" locationName:"recoveryGroupName" type:"string" required:"true"`
  4393  }
  4394  
  4395  // String returns the string representation.
  4396  //
  4397  // API parameter values that are decorated as "sensitive" in the API will not
  4398  // be included in the string output. The member name will be present, but the
  4399  // value will be replaced with "sensitive".
  4400  func (s DeleteRecoveryGroupInput) String() string {
  4401  	return awsutil.Prettify(s)
  4402  }
  4403  
  4404  // GoString returns the string representation.
  4405  //
  4406  // API parameter values that are decorated as "sensitive" in the API will not
  4407  // be included in the string output. The member name will be present, but the
  4408  // value will be replaced with "sensitive".
  4409  func (s DeleteRecoveryGroupInput) GoString() string {
  4410  	return s.String()
  4411  }
  4412  
  4413  // Validate inspects the fields of the type to determine if they are valid.
  4414  func (s *DeleteRecoveryGroupInput) Validate() error {
  4415  	invalidParams := request.ErrInvalidParams{Context: "DeleteRecoveryGroupInput"}
  4416  	if s.RecoveryGroupName == nil {
  4417  		invalidParams.Add(request.NewErrParamRequired("RecoveryGroupName"))
  4418  	}
  4419  	if s.RecoveryGroupName != nil && len(*s.RecoveryGroupName) < 1 {
  4420  		invalidParams.Add(request.NewErrParamMinLen("RecoveryGroupName", 1))
  4421  	}
  4422  
  4423  	if invalidParams.Len() > 0 {
  4424  		return invalidParams
  4425  	}
  4426  	return nil
  4427  }
  4428  
  4429  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  4430  func (s *DeleteRecoveryGroupInput) SetRecoveryGroupName(v string) *DeleteRecoveryGroupInput {
  4431  	s.RecoveryGroupName = &v
  4432  	return s
  4433  }
  4434  
  4435  type DeleteRecoveryGroupOutput struct {
  4436  	_ struct{} `type:"structure" nopayload:"true"`
  4437  }
  4438  
  4439  // String returns the string representation.
  4440  //
  4441  // API parameter values that are decorated as "sensitive" in the API will not
  4442  // be included in the string output. The member name will be present, but the
  4443  // value will be replaced with "sensitive".
  4444  func (s DeleteRecoveryGroupOutput) String() string {
  4445  	return awsutil.Prettify(s)
  4446  }
  4447  
  4448  // GoString returns the string representation.
  4449  //
  4450  // API parameter values that are decorated as "sensitive" in the API will not
  4451  // be included in the string output. The member name will be present, but the
  4452  // value will be replaced with "sensitive".
  4453  func (s DeleteRecoveryGroupOutput) GoString() string {
  4454  	return s.String()
  4455  }
  4456  
  4457  type DeleteResourceSetInput struct {
  4458  	_ struct{} `type:"structure" nopayload:"true"`
  4459  
  4460  	// ResourceSetName is a required field
  4461  	ResourceSetName *string `location:"uri" locationName:"resourceSetName" type:"string" required:"true"`
  4462  }
  4463  
  4464  // String returns the string representation.
  4465  //
  4466  // API parameter values that are decorated as "sensitive" in the API will not
  4467  // be included in the string output. The member name will be present, but the
  4468  // value will be replaced with "sensitive".
  4469  func (s DeleteResourceSetInput) String() string {
  4470  	return awsutil.Prettify(s)
  4471  }
  4472  
  4473  // GoString returns the string representation.
  4474  //
  4475  // API parameter values that are decorated as "sensitive" in the API will not
  4476  // be included in the string output. The member name will be present, but the
  4477  // value will be replaced with "sensitive".
  4478  func (s DeleteResourceSetInput) GoString() string {
  4479  	return s.String()
  4480  }
  4481  
  4482  // Validate inspects the fields of the type to determine if they are valid.
  4483  func (s *DeleteResourceSetInput) Validate() error {
  4484  	invalidParams := request.ErrInvalidParams{Context: "DeleteResourceSetInput"}
  4485  	if s.ResourceSetName == nil {
  4486  		invalidParams.Add(request.NewErrParamRequired("ResourceSetName"))
  4487  	}
  4488  	if s.ResourceSetName != nil && len(*s.ResourceSetName) < 1 {
  4489  		invalidParams.Add(request.NewErrParamMinLen("ResourceSetName", 1))
  4490  	}
  4491  
  4492  	if invalidParams.Len() > 0 {
  4493  		return invalidParams
  4494  	}
  4495  	return nil
  4496  }
  4497  
  4498  // SetResourceSetName sets the ResourceSetName field's value.
  4499  func (s *DeleteResourceSetInput) SetResourceSetName(v string) *DeleteResourceSetInput {
  4500  	s.ResourceSetName = &v
  4501  	return s
  4502  }
  4503  
  4504  type DeleteResourceSetOutput struct {
  4505  	_ struct{} `type:"structure" nopayload:"true"`
  4506  }
  4507  
  4508  // String returns the string representation.
  4509  //
  4510  // API parameter values that are decorated as "sensitive" in the API will not
  4511  // be included in the string output. The member name will be present, but the
  4512  // value will be replaced with "sensitive".
  4513  func (s DeleteResourceSetOutput) String() string {
  4514  	return awsutil.Prettify(s)
  4515  }
  4516  
  4517  // GoString returns the string representation.
  4518  //
  4519  // API parameter values that are decorated as "sensitive" in the API will not
  4520  // be included in the string output. The member name will be present, but the
  4521  // value will be replaced with "sensitive".
  4522  func (s DeleteResourceSetOutput) GoString() string {
  4523  	return s.String()
  4524  }
  4525  
  4526  type GetArchitectureRecommendationsInput struct {
  4527  	_ struct{} `type:"structure" nopayload:"true"`
  4528  
  4529  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  4530  
  4531  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  4532  
  4533  	// RecoveryGroupName is a required field
  4534  	RecoveryGroupName *string `location:"uri" locationName:"recoveryGroupName" type:"string" required:"true"`
  4535  }
  4536  
  4537  // String returns the string representation.
  4538  //
  4539  // API parameter values that are decorated as "sensitive" in the API will not
  4540  // be included in the string output. The member name will be present, but the
  4541  // value will be replaced with "sensitive".
  4542  func (s GetArchitectureRecommendationsInput) String() string {
  4543  	return awsutil.Prettify(s)
  4544  }
  4545  
  4546  // GoString returns the string representation.
  4547  //
  4548  // API parameter values that are decorated as "sensitive" in the API will not
  4549  // be included in the string output. The member name will be present, but the
  4550  // value will be replaced with "sensitive".
  4551  func (s GetArchitectureRecommendationsInput) GoString() string {
  4552  	return s.String()
  4553  }
  4554  
  4555  // Validate inspects the fields of the type to determine if they are valid.
  4556  func (s *GetArchitectureRecommendationsInput) Validate() error {
  4557  	invalidParams := request.ErrInvalidParams{Context: "GetArchitectureRecommendationsInput"}
  4558  	if s.MaxResults != nil && *s.MaxResults < 1 {
  4559  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  4560  	}
  4561  	if s.RecoveryGroupName == nil {
  4562  		invalidParams.Add(request.NewErrParamRequired("RecoveryGroupName"))
  4563  	}
  4564  	if s.RecoveryGroupName != nil && len(*s.RecoveryGroupName) < 1 {
  4565  		invalidParams.Add(request.NewErrParamMinLen("RecoveryGroupName", 1))
  4566  	}
  4567  
  4568  	if invalidParams.Len() > 0 {
  4569  		return invalidParams
  4570  	}
  4571  	return nil
  4572  }
  4573  
  4574  // SetMaxResults sets the MaxResults field's value.
  4575  func (s *GetArchitectureRecommendationsInput) SetMaxResults(v int64) *GetArchitectureRecommendationsInput {
  4576  	s.MaxResults = &v
  4577  	return s
  4578  }
  4579  
  4580  // SetNextToken sets the NextToken field's value.
  4581  func (s *GetArchitectureRecommendationsInput) SetNextToken(v string) *GetArchitectureRecommendationsInput {
  4582  	s.NextToken = &v
  4583  	return s
  4584  }
  4585  
  4586  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  4587  func (s *GetArchitectureRecommendationsInput) SetRecoveryGroupName(v string) *GetArchitectureRecommendationsInput {
  4588  	s.RecoveryGroupName = &v
  4589  	return s
  4590  }
  4591  
  4592  type GetArchitectureRecommendationsOutput struct {
  4593  	_ struct{} `type:"structure"`
  4594  
  4595  	// The time a Recovery Group was last assessed for recommendations in UTC ISO-8601
  4596  	// format
  4597  	LastAuditTimestamp *time.Time `locationName:"lastAuditTimestamp" type:"timestamp" timestampFormat:"iso8601"`
  4598  
  4599  	NextToken *string `locationName:"nextToken" type:"string"`
  4600  
  4601  	Recommendations []*Recommendation `locationName:"recommendations" type:"list"`
  4602  }
  4603  
  4604  // String returns the string representation.
  4605  //
  4606  // API parameter values that are decorated as "sensitive" in the API will not
  4607  // be included in the string output. The member name will be present, but the
  4608  // value will be replaced with "sensitive".
  4609  func (s GetArchitectureRecommendationsOutput) String() string {
  4610  	return awsutil.Prettify(s)
  4611  }
  4612  
  4613  // GoString returns the string representation.
  4614  //
  4615  // API parameter values that are decorated as "sensitive" in the API will not
  4616  // be included in the string output. The member name will be present, but the
  4617  // value will be replaced with "sensitive".
  4618  func (s GetArchitectureRecommendationsOutput) GoString() string {
  4619  	return s.String()
  4620  }
  4621  
  4622  // SetLastAuditTimestamp sets the LastAuditTimestamp field's value.
  4623  func (s *GetArchitectureRecommendationsOutput) SetLastAuditTimestamp(v time.Time) *GetArchitectureRecommendationsOutput {
  4624  	s.LastAuditTimestamp = &v
  4625  	return s
  4626  }
  4627  
  4628  // SetNextToken sets the NextToken field's value.
  4629  func (s *GetArchitectureRecommendationsOutput) SetNextToken(v string) *GetArchitectureRecommendationsOutput {
  4630  	s.NextToken = &v
  4631  	return s
  4632  }
  4633  
  4634  // SetRecommendations sets the Recommendations field's value.
  4635  func (s *GetArchitectureRecommendationsOutput) SetRecommendations(v []*Recommendation) *GetArchitectureRecommendationsOutput {
  4636  	s.Recommendations = v
  4637  	return s
  4638  }
  4639  
  4640  type GetCellInput struct {
  4641  	_ struct{} `type:"structure" nopayload:"true"`
  4642  
  4643  	// CellName is a required field
  4644  	CellName *string `location:"uri" locationName:"cellName" type:"string" required:"true"`
  4645  }
  4646  
  4647  // String returns the string representation.
  4648  //
  4649  // API parameter values that are decorated as "sensitive" in the API will not
  4650  // be included in the string output. The member name will be present, but the
  4651  // value will be replaced with "sensitive".
  4652  func (s GetCellInput) String() string {
  4653  	return awsutil.Prettify(s)
  4654  }
  4655  
  4656  // GoString returns the string representation.
  4657  //
  4658  // API parameter values that are decorated as "sensitive" in the API will not
  4659  // be included in the string output. The member name will be present, but the
  4660  // value will be replaced with "sensitive".
  4661  func (s GetCellInput) GoString() string {
  4662  	return s.String()
  4663  }
  4664  
  4665  // Validate inspects the fields of the type to determine if they are valid.
  4666  func (s *GetCellInput) Validate() error {
  4667  	invalidParams := request.ErrInvalidParams{Context: "GetCellInput"}
  4668  	if s.CellName == nil {
  4669  		invalidParams.Add(request.NewErrParamRequired("CellName"))
  4670  	}
  4671  	if s.CellName != nil && len(*s.CellName) < 1 {
  4672  		invalidParams.Add(request.NewErrParamMinLen("CellName", 1))
  4673  	}
  4674  
  4675  	if invalidParams.Len() > 0 {
  4676  		return invalidParams
  4677  	}
  4678  	return nil
  4679  }
  4680  
  4681  // SetCellName sets the CellName field's value.
  4682  func (s *GetCellInput) SetCellName(v string) *GetCellInput {
  4683  	s.CellName = &v
  4684  	return s
  4685  }
  4686  
  4687  type GetCellOutput struct {
  4688  	_ struct{} `type:"structure"`
  4689  
  4690  	CellArn *string `locationName:"cellArn" type:"string"`
  4691  
  4692  	CellName *string `locationName:"cellName" type:"string"`
  4693  
  4694  	Cells []*string `locationName:"cells" type:"list"`
  4695  
  4696  	ParentReadinessScopes []*string `locationName:"parentReadinessScopes" type:"list"`
  4697  
  4698  	// A collection of tags associated with a resource
  4699  	Tags map[string]*string `locationName:"tags" type:"map"`
  4700  }
  4701  
  4702  // String returns the string representation.
  4703  //
  4704  // API parameter values that are decorated as "sensitive" in the API will not
  4705  // be included in the string output. The member name will be present, but the
  4706  // value will be replaced with "sensitive".
  4707  func (s GetCellOutput) String() string {
  4708  	return awsutil.Prettify(s)
  4709  }
  4710  
  4711  // GoString returns the string representation.
  4712  //
  4713  // API parameter values that are decorated as "sensitive" in the API will not
  4714  // be included in the string output. The member name will be present, but the
  4715  // value will be replaced with "sensitive".
  4716  func (s GetCellOutput) GoString() string {
  4717  	return s.String()
  4718  }
  4719  
  4720  // SetCellArn sets the CellArn field's value.
  4721  func (s *GetCellOutput) SetCellArn(v string) *GetCellOutput {
  4722  	s.CellArn = &v
  4723  	return s
  4724  }
  4725  
  4726  // SetCellName sets the CellName field's value.
  4727  func (s *GetCellOutput) SetCellName(v string) *GetCellOutput {
  4728  	s.CellName = &v
  4729  	return s
  4730  }
  4731  
  4732  // SetCells sets the Cells field's value.
  4733  func (s *GetCellOutput) SetCells(v []*string) *GetCellOutput {
  4734  	s.Cells = v
  4735  	return s
  4736  }
  4737  
  4738  // SetParentReadinessScopes sets the ParentReadinessScopes field's value.
  4739  func (s *GetCellOutput) SetParentReadinessScopes(v []*string) *GetCellOutput {
  4740  	s.ParentReadinessScopes = v
  4741  	return s
  4742  }
  4743  
  4744  // SetTags sets the Tags field's value.
  4745  func (s *GetCellOutput) SetTags(v map[string]*string) *GetCellOutput {
  4746  	s.Tags = v
  4747  	return s
  4748  }
  4749  
  4750  type GetCellReadinessSummaryInput struct {
  4751  	_ struct{} `type:"structure" nopayload:"true"`
  4752  
  4753  	// CellName is a required field
  4754  	CellName *string `location:"uri" locationName:"cellName" type:"string" required:"true"`
  4755  
  4756  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  4757  
  4758  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  4759  }
  4760  
  4761  // String returns the string representation.
  4762  //
  4763  // API parameter values that are decorated as "sensitive" in the API will not
  4764  // be included in the string output. The member name will be present, but the
  4765  // value will be replaced with "sensitive".
  4766  func (s GetCellReadinessSummaryInput) String() string {
  4767  	return awsutil.Prettify(s)
  4768  }
  4769  
  4770  // GoString returns the string representation.
  4771  //
  4772  // API parameter values that are decorated as "sensitive" in the API will not
  4773  // be included in the string output. The member name will be present, but the
  4774  // value will be replaced with "sensitive".
  4775  func (s GetCellReadinessSummaryInput) GoString() string {
  4776  	return s.String()
  4777  }
  4778  
  4779  // Validate inspects the fields of the type to determine if they are valid.
  4780  func (s *GetCellReadinessSummaryInput) Validate() error {
  4781  	invalidParams := request.ErrInvalidParams{Context: "GetCellReadinessSummaryInput"}
  4782  	if s.CellName == nil {
  4783  		invalidParams.Add(request.NewErrParamRequired("CellName"))
  4784  	}
  4785  	if s.CellName != nil && len(*s.CellName) < 1 {
  4786  		invalidParams.Add(request.NewErrParamMinLen("CellName", 1))
  4787  	}
  4788  	if s.MaxResults != nil && *s.MaxResults < 1 {
  4789  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  4790  	}
  4791  
  4792  	if invalidParams.Len() > 0 {
  4793  		return invalidParams
  4794  	}
  4795  	return nil
  4796  }
  4797  
  4798  // SetCellName sets the CellName field's value.
  4799  func (s *GetCellReadinessSummaryInput) SetCellName(v string) *GetCellReadinessSummaryInput {
  4800  	s.CellName = &v
  4801  	return s
  4802  }
  4803  
  4804  // SetMaxResults sets the MaxResults field's value.
  4805  func (s *GetCellReadinessSummaryInput) SetMaxResults(v int64) *GetCellReadinessSummaryInput {
  4806  	s.MaxResults = &v
  4807  	return s
  4808  }
  4809  
  4810  // SetNextToken sets the NextToken field's value.
  4811  func (s *GetCellReadinessSummaryInput) SetNextToken(v string) *GetCellReadinessSummaryInput {
  4812  	s.NextToken = &v
  4813  	return s
  4814  }
  4815  
  4816  type GetCellReadinessSummaryOutput struct {
  4817  	_ struct{} `type:"structure"`
  4818  
  4819  	NextToken *string `locationName:"nextToken" type:"string"`
  4820  
  4821  	// The readiness of an entire ReadinessCheck or an individual resource ARN.
  4822  	Readiness *string `locationName:"readiness" type:"string" enum:"Readiness"`
  4823  
  4824  	ReadinessChecks []*ReadinessCheckSummary `locationName:"readinessChecks" type:"list"`
  4825  }
  4826  
  4827  // String returns the string representation.
  4828  //
  4829  // API parameter values that are decorated as "sensitive" in the API will not
  4830  // be included in the string output. The member name will be present, but the
  4831  // value will be replaced with "sensitive".
  4832  func (s GetCellReadinessSummaryOutput) String() string {
  4833  	return awsutil.Prettify(s)
  4834  }
  4835  
  4836  // GoString returns the string representation.
  4837  //
  4838  // API parameter values that are decorated as "sensitive" in the API will not
  4839  // be included in the string output. The member name will be present, but the
  4840  // value will be replaced with "sensitive".
  4841  func (s GetCellReadinessSummaryOutput) GoString() string {
  4842  	return s.String()
  4843  }
  4844  
  4845  // SetNextToken sets the NextToken field's value.
  4846  func (s *GetCellReadinessSummaryOutput) SetNextToken(v string) *GetCellReadinessSummaryOutput {
  4847  	s.NextToken = &v
  4848  	return s
  4849  }
  4850  
  4851  // SetReadiness sets the Readiness field's value.
  4852  func (s *GetCellReadinessSummaryOutput) SetReadiness(v string) *GetCellReadinessSummaryOutput {
  4853  	s.Readiness = &v
  4854  	return s
  4855  }
  4856  
  4857  // SetReadinessChecks sets the ReadinessChecks field's value.
  4858  func (s *GetCellReadinessSummaryOutput) SetReadinessChecks(v []*ReadinessCheckSummary) *GetCellReadinessSummaryOutput {
  4859  	s.ReadinessChecks = v
  4860  	return s
  4861  }
  4862  
  4863  type GetReadinessCheckInput struct {
  4864  	_ struct{} `type:"structure" nopayload:"true"`
  4865  
  4866  	// ReadinessCheckName is a required field
  4867  	ReadinessCheckName *string `location:"uri" locationName:"readinessCheckName" type:"string" required:"true"`
  4868  }
  4869  
  4870  // String returns the string representation.
  4871  //
  4872  // API parameter values that are decorated as "sensitive" in the API will not
  4873  // be included in the string output. The member name will be present, but the
  4874  // value will be replaced with "sensitive".
  4875  func (s GetReadinessCheckInput) String() string {
  4876  	return awsutil.Prettify(s)
  4877  }
  4878  
  4879  // GoString returns the string representation.
  4880  //
  4881  // API parameter values that are decorated as "sensitive" in the API will not
  4882  // be included in the string output. The member name will be present, but the
  4883  // value will be replaced with "sensitive".
  4884  func (s GetReadinessCheckInput) GoString() string {
  4885  	return s.String()
  4886  }
  4887  
  4888  // Validate inspects the fields of the type to determine if they are valid.
  4889  func (s *GetReadinessCheckInput) Validate() error {
  4890  	invalidParams := request.ErrInvalidParams{Context: "GetReadinessCheckInput"}
  4891  	if s.ReadinessCheckName == nil {
  4892  		invalidParams.Add(request.NewErrParamRequired("ReadinessCheckName"))
  4893  	}
  4894  	if s.ReadinessCheckName != nil && len(*s.ReadinessCheckName) < 1 {
  4895  		invalidParams.Add(request.NewErrParamMinLen("ReadinessCheckName", 1))
  4896  	}
  4897  
  4898  	if invalidParams.Len() > 0 {
  4899  		return invalidParams
  4900  	}
  4901  	return nil
  4902  }
  4903  
  4904  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  4905  func (s *GetReadinessCheckInput) SetReadinessCheckName(v string) *GetReadinessCheckInput {
  4906  	s.ReadinessCheckName = &v
  4907  	return s
  4908  }
  4909  
  4910  type GetReadinessCheckOutput struct {
  4911  	_ struct{} `type:"structure"`
  4912  
  4913  	ReadinessCheckArn *string `locationName:"readinessCheckArn" type:"string"`
  4914  
  4915  	ReadinessCheckName *string `locationName:"readinessCheckName" type:"string"`
  4916  
  4917  	ResourceSet *string `locationName:"resourceSet" type:"string"`
  4918  
  4919  	// A collection of tags associated with a resource
  4920  	Tags map[string]*string `locationName:"tags" type:"map"`
  4921  }
  4922  
  4923  // String returns the string representation.
  4924  //
  4925  // API parameter values that are decorated as "sensitive" in the API will not
  4926  // be included in the string output. The member name will be present, but the
  4927  // value will be replaced with "sensitive".
  4928  func (s GetReadinessCheckOutput) String() string {
  4929  	return awsutil.Prettify(s)
  4930  }
  4931  
  4932  // GoString returns the string representation.
  4933  //
  4934  // API parameter values that are decorated as "sensitive" in the API will not
  4935  // be included in the string output. The member name will be present, but the
  4936  // value will be replaced with "sensitive".
  4937  func (s GetReadinessCheckOutput) GoString() string {
  4938  	return s.String()
  4939  }
  4940  
  4941  // SetReadinessCheckArn sets the ReadinessCheckArn field's value.
  4942  func (s *GetReadinessCheckOutput) SetReadinessCheckArn(v string) *GetReadinessCheckOutput {
  4943  	s.ReadinessCheckArn = &v
  4944  	return s
  4945  }
  4946  
  4947  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  4948  func (s *GetReadinessCheckOutput) SetReadinessCheckName(v string) *GetReadinessCheckOutput {
  4949  	s.ReadinessCheckName = &v
  4950  	return s
  4951  }
  4952  
  4953  // SetResourceSet sets the ResourceSet field's value.
  4954  func (s *GetReadinessCheckOutput) SetResourceSet(v string) *GetReadinessCheckOutput {
  4955  	s.ResourceSet = &v
  4956  	return s
  4957  }
  4958  
  4959  // SetTags sets the Tags field's value.
  4960  func (s *GetReadinessCheckOutput) SetTags(v map[string]*string) *GetReadinessCheckOutput {
  4961  	s.Tags = v
  4962  	return s
  4963  }
  4964  
  4965  type GetReadinessCheckResourceStatusInput struct {
  4966  	_ struct{} `type:"structure" nopayload:"true"`
  4967  
  4968  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  4969  
  4970  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  4971  
  4972  	// ReadinessCheckName is a required field
  4973  	ReadinessCheckName *string `location:"uri" locationName:"readinessCheckName" type:"string" required:"true"`
  4974  
  4975  	// ResourceIdentifier is a required field
  4976  	ResourceIdentifier *string `location:"uri" locationName:"resourceIdentifier" type:"string" required:"true"`
  4977  }
  4978  
  4979  // String returns the string representation.
  4980  //
  4981  // API parameter values that are decorated as "sensitive" in the API will not
  4982  // be included in the string output. The member name will be present, but the
  4983  // value will be replaced with "sensitive".
  4984  func (s GetReadinessCheckResourceStatusInput) String() string {
  4985  	return awsutil.Prettify(s)
  4986  }
  4987  
  4988  // GoString returns the string representation.
  4989  //
  4990  // API parameter values that are decorated as "sensitive" in the API will not
  4991  // be included in the string output. The member name will be present, but the
  4992  // value will be replaced with "sensitive".
  4993  func (s GetReadinessCheckResourceStatusInput) GoString() string {
  4994  	return s.String()
  4995  }
  4996  
  4997  // Validate inspects the fields of the type to determine if they are valid.
  4998  func (s *GetReadinessCheckResourceStatusInput) Validate() error {
  4999  	invalidParams := request.ErrInvalidParams{Context: "GetReadinessCheckResourceStatusInput"}
  5000  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5001  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5002  	}
  5003  	if s.ReadinessCheckName == nil {
  5004  		invalidParams.Add(request.NewErrParamRequired("ReadinessCheckName"))
  5005  	}
  5006  	if s.ReadinessCheckName != nil && len(*s.ReadinessCheckName) < 1 {
  5007  		invalidParams.Add(request.NewErrParamMinLen("ReadinessCheckName", 1))
  5008  	}
  5009  	if s.ResourceIdentifier == nil {
  5010  		invalidParams.Add(request.NewErrParamRequired("ResourceIdentifier"))
  5011  	}
  5012  	if s.ResourceIdentifier != nil && len(*s.ResourceIdentifier) < 1 {
  5013  		invalidParams.Add(request.NewErrParamMinLen("ResourceIdentifier", 1))
  5014  	}
  5015  
  5016  	if invalidParams.Len() > 0 {
  5017  		return invalidParams
  5018  	}
  5019  	return nil
  5020  }
  5021  
  5022  // SetMaxResults sets the MaxResults field's value.
  5023  func (s *GetReadinessCheckResourceStatusInput) SetMaxResults(v int64) *GetReadinessCheckResourceStatusInput {
  5024  	s.MaxResults = &v
  5025  	return s
  5026  }
  5027  
  5028  // SetNextToken sets the NextToken field's value.
  5029  func (s *GetReadinessCheckResourceStatusInput) SetNextToken(v string) *GetReadinessCheckResourceStatusInput {
  5030  	s.NextToken = &v
  5031  	return s
  5032  }
  5033  
  5034  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  5035  func (s *GetReadinessCheckResourceStatusInput) SetReadinessCheckName(v string) *GetReadinessCheckResourceStatusInput {
  5036  	s.ReadinessCheckName = &v
  5037  	return s
  5038  }
  5039  
  5040  // SetResourceIdentifier sets the ResourceIdentifier field's value.
  5041  func (s *GetReadinessCheckResourceStatusInput) SetResourceIdentifier(v string) *GetReadinessCheckResourceStatusInput {
  5042  	s.ResourceIdentifier = &v
  5043  	return s
  5044  }
  5045  
  5046  type GetReadinessCheckResourceStatusOutput struct {
  5047  	_ struct{} `type:"structure"`
  5048  
  5049  	NextToken *string `locationName:"nextToken" type:"string"`
  5050  
  5051  	// The readiness of an entire ReadinessCheck or an individual resource ARN.
  5052  	Readiness *string `locationName:"readiness" type:"string" enum:"Readiness"`
  5053  
  5054  	Rules []*RuleResult `locationName:"rules" type:"list"`
  5055  }
  5056  
  5057  // String returns the string representation.
  5058  //
  5059  // API parameter values that are decorated as "sensitive" in the API will not
  5060  // be included in the string output. The member name will be present, but the
  5061  // value will be replaced with "sensitive".
  5062  func (s GetReadinessCheckResourceStatusOutput) String() string {
  5063  	return awsutil.Prettify(s)
  5064  }
  5065  
  5066  // GoString returns the string representation.
  5067  //
  5068  // API parameter values that are decorated as "sensitive" in the API will not
  5069  // be included in the string output. The member name will be present, but the
  5070  // value will be replaced with "sensitive".
  5071  func (s GetReadinessCheckResourceStatusOutput) GoString() string {
  5072  	return s.String()
  5073  }
  5074  
  5075  // SetNextToken sets the NextToken field's value.
  5076  func (s *GetReadinessCheckResourceStatusOutput) SetNextToken(v string) *GetReadinessCheckResourceStatusOutput {
  5077  	s.NextToken = &v
  5078  	return s
  5079  }
  5080  
  5081  // SetReadiness sets the Readiness field's value.
  5082  func (s *GetReadinessCheckResourceStatusOutput) SetReadiness(v string) *GetReadinessCheckResourceStatusOutput {
  5083  	s.Readiness = &v
  5084  	return s
  5085  }
  5086  
  5087  // SetRules sets the Rules field's value.
  5088  func (s *GetReadinessCheckResourceStatusOutput) SetRules(v []*RuleResult) *GetReadinessCheckResourceStatusOutput {
  5089  	s.Rules = v
  5090  	return s
  5091  }
  5092  
  5093  type GetReadinessCheckStatusInput struct {
  5094  	_ struct{} `type:"structure" nopayload:"true"`
  5095  
  5096  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  5097  
  5098  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  5099  
  5100  	// ReadinessCheckName is a required field
  5101  	ReadinessCheckName *string `location:"uri" locationName:"readinessCheckName" type:"string" required:"true"`
  5102  }
  5103  
  5104  // String returns the string representation.
  5105  //
  5106  // API parameter values that are decorated as "sensitive" in the API will not
  5107  // be included in the string output. The member name will be present, but the
  5108  // value will be replaced with "sensitive".
  5109  func (s GetReadinessCheckStatusInput) String() string {
  5110  	return awsutil.Prettify(s)
  5111  }
  5112  
  5113  // GoString returns the string representation.
  5114  //
  5115  // API parameter values that are decorated as "sensitive" in the API will not
  5116  // be included in the string output. The member name will be present, but the
  5117  // value will be replaced with "sensitive".
  5118  func (s GetReadinessCheckStatusInput) GoString() string {
  5119  	return s.String()
  5120  }
  5121  
  5122  // Validate inspects the fields of the type to determine if they are valid.
  5123  func (s *GetReadinessCheckStatusInput) Validate() error {
  5124  	invalidParams := request.ErrInvalidParams{Context: "GetReadinessCheckStatusInput"}
  5125  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5126  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5127  	}
  5128  	if s.ReadinessCheckName == nil {
  5129  		invalidParams.Add(request.NewErrParamRequired("ReadinessCheckName"))
  5130  	}
  5131  	if s.ReadinessCheckName != nil && len(*s.ReadinessCheckName) < 1 {
  5132  		invalidParams.Add(request.NewErrParamMinLen("ReadinessCheckName", 1))
  5133  	}
  5134  
  5135  	if invalidParams.Len() > 0 {
  5136  		return invalidParams
  5137  	}
  5138  	return nil
  5139  }
  5140  
  5141  // SetMaxResults sets the MaxResults field's value.
  5142  func (s *GetReadinessCheckStatusInput) SetMaxResults(v int64) *GetReadinessCheckStatusInput {
  5143  	s.MaxResults = &v
  5144  	return s
  5145  }
  5146  
  5147  // SetNextToken sets the NextToken field's value.
  5148  func (s *GetReadinessCheckStatusInput) SetNextToken(v string) *GetReadinessCheckStatusInput {
  5149  	s.NextToken = &v
  5150  	return s
  5151  }
  5152  
  5153  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  5154  func (s *GetReadinessCheckStatusInput) SetReadinessCheckName(v string) *GetReadinessCheckStatusInput {
  5155  	s.ReadinessCheckName = &v
  5156  	return s
  5157  }
  5158  
  5159  type GetReadinessCheckStatusOutput struct {
  5160  	_ struct{} `type:"structure"`
  5161  
  5162  	Messages []*Message `locationName:"messages" type:"list"`
  5163  
  5164  	NextToken *string `locationName:"nextToken" type:"string"`
  5165  
  5166  	// The readiness of an entire ReadinessCheck or an individual resource ARN.
  5167  	Readiness *string `locationName:"readiness" type:"string" enum:"Readiness"`
  5168  
  5169  	Resources []*ResourceResult `locationName:"resources" type:"list"`
  5170  }
  5171  
  5172  // String returns the string representation.
  5173  //
  5174  // API parameter values that are decorated as "sensitive" in the API will not
  5175  // be included in the string output. The member name will be present, but the
  5176  // value will be replaced with "sensitive".
  5177  func (s GetReadinessCheckStatusOutput) String() string {
  5178  	return awsutil.Prettify(s)
  5179  }
  5180  
  5181  // GoString 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 GetReadinessCheckStatusOutput) GoString() string {
  5187  	return s.String()
  5188  }
  5189  
  5190  // SetMessages sets the Messages field's value.
  5191  func (s *GetReadinessCheckStatusOutput) SetMessages(v []*Message) *GetReadinessCheckStatusOutput {
  5192  	s.Messages = v
  5193  	return s
  5194  }
  5195  
  5196  // SetNextToken sets the NextToken field's value.
  5197  func (s *GetReadinessCheckStatusOutput) SetNextToken(v string) *GetReadinessCheckStatusOutput {
  5198  	s.NextToken = &v
  5199  	return s
  5200  }
  5201  
  5202  // SetReadiness sets the Readiness field's value.
  5203  func (s *GetReadinessCheckStatusOutput) SetReadiness(v string) *GetReadinessCheckStatusOutput {
  5204  	s.Readiness = &v
  5205  	return s
  5206  }
  5207  
  5208  // SetResources sets the Resources field's value.
  5209  func (s *GetReadinessCheckStatusOutput) SetResources(v []*ResourceResult) *GetReadinessCheckStatusOutput {
  5210  	s.Resources = v
  5211  	return s
  5212  }
  5213  
  5214  type GetRecoveryGroupInput struct {
  5215  	_ struct{} `type:"structure" nopayload:"true"`
  5216  
  5217  	// RecoveryGroupName is a required field
  5218  	RecoveryGroupName *string `location:"uri" locationName:"recoveryGroupName" type:"string" required:"true"`
  5219  }
  5220  
  5221  // String returns the string representation.
  5222  //
  5223  // API parameter values that are decorated as "sensitive" in the API will not
  5224  // be included in the string output. The member name will be present, but the
  5225  // value will be replaced with "sensitive".
  5226  func (s GetRecoveryGroupInput) String() string {
  5227  	return awsutil.Prettify(s)
  5228  }
  5229  
  5230  // GoString returns the string representation.
  5231  //
  5232  // API parameter values that are decorated as "sensitive" in the API will not
  5233  // be included in the string output. The member name will be present, but the
  5234  // value will be replaced with "sensitive".
  5235  func (s GetRecoveryGroupInput) GoString() string {
  5236  	return s.String()
  5237  }
  5238  
  5239  // Validate inspects the fields of the type to determine if they are valid.
  5240  func (s *GetRecoveryGroupInput) Validate() error {
  5241  	invalidParams := request.ErrInvalidParams{Context: "GetRecoveryGroupInput"}
  5242  	if s.RecoveryGroupName == nil {
  5243  		invalidParams.Add(request.NewErrParamRequired("RecoveryGroupName"))
  5244  	}
  5245  	if s.RecoveryGroupName != nil && len(*s.RecoveryGroupName) < 1 {
  5246  		invalidParams.Add(request.NewErrParamMinLen("RecoveryGroupName", 1))
  5247  	}
  5248  
  5249  	if invalidParams.Len() > 0 {
  5250  		return invalidParams
  5251  	}
  5252  	return nil
  5253  }
  5254  
  5255  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  5256  func (s *GetRecoveryGroupInput) SetRecoveryGroupName(v string) *GetRecoveryGroupInput {
  5257  	s.RecoveryGroupName = &v
  5258  	return s
  5259  }
  5260  
  5261  type GetRecoveryGroupOutput struct {
  5262  	_ struct{} `type:"structure"`
  5263  
  5264  	Cells []*string `locationName:"cells" type:"list"`
  5265  
  5266  	RecoveryGroupArn *string `locationName:"recoveryGroupArn" type:"string"`
  5267  
  5268  	RecoveryGroupName *string `locationName:"recoveryGroupName" type:"string"`
  5269  
  5270  	// A collection of tags associated with a resource
  5271  	Tags map[string]*string `locationName:"tags" type:"map"`
  5272  }
  5273  
  5274  // String returns the string representation.
  5275  //
  5276  // API parameter values that are decorated as "sensitive" in the API will not
  5277  // be included in the string output. The member name will be present, but the
  5278  // value will be replaced with "sensitive".
  5279  func (s GetRecoveryGroupOutput) String() string {
  5280  	return awsutil.Prettify(s)
  5281  }
  5282  
  5283  // GoString returns the string representation.
  5284  //
  5285  // API parameter values that are decorated as "sensitive" in the API will not
  5286  // be included in the string output. The member name will be present, but the
  5287  // value will be replaced with "sensitive".
  5288  func (s GetRecoveryGroupOutput) GoString() string {
  5289  	return s.String()
  5290  }
  5291  
  5292  // SetCells sets the Cells field's value.
  5293  func (s *GetRecoveryGroupOutput) SetCells(v []*string) *GetRecoveryGroupOutput {
  5294  	s.Cells = v
  5295  	return s
  5296  }
  5297  
  5298  // SetRecoveryGroupArn sets the RecoveryGroupArn field's value.
  5299  func (s *GetRecoveryGroupOutput) SetRecoveryGroupArn(v string) *GetRecoveryGroupOutput {
  5300  	s.RecoveryGroupArn = &v
  5301  	return s
  5302  }
  5303  
  5304  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  5305  func (s *GetRecoveryGroupOutput) SetRecoveryGroupName(v string) *GetRecoveryGroupOutput {
  5306  	s.RecoveryGroupName = &v
  5307  	return s
  5308  }
  5309  
  5310  // SetTags sets the Tags field's value.
  5311  func (s *GetRecoveryGroupOutput) SetTags(v map[string]*string) *GetRecoveryGroupOutput {
  5312  	s.Tags = v
  5313  	return s
  5314  }
  5315  
  5316  type GetRecoveryGroupReadinessSummaryInput struct {
  5317  	_ struct{} `type:"structure" nopayload:"true"`
  5318  
  5319  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  5320  
  5321  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  5322  
  5323  	// RecoveryGroupName is a required field
  5324  	RecoveryGroupName *string `location:"uri" locationName:"recoveryGroupName" type:"string" required:"true"`
  5325  }
  5326  
  5327  // String returns the string representation.
  5328  //
  5329  // API parameter values that are decorated as "sensitive" in the API will not
  5330  // be included in the string output. The member name will be present, but the
  5331  // value will be replaced with "sensitive".
  5332  func (s GetRecoveryGroupReadinessSummaryInput) String() string {
  5333  	return awsutil.Prettify(s)
  5334  }
  5335  
  5336  // GoString returns the string representation.
  5337  //
  5338  // API parameter values that are decorated as "sensitive" in the API will not
  5339  // be included in the string output. The member name will be present, but the
  5340  // value will be replaced with "sensitive".
  5341  func (s GetRecoveryGroupReadinessSummaryInput) GoString() string {
  5342  	return s.String()
  5343  }
  5344  
  5345  // Validate inspects the fields of the type to determine if they are valid.
  5346  func (s *GetRecoveryGroupReadinessSummaryInput) Validate() error {
  5347  	invalidParams := request.ErrInvalidParams{Context: "GetRecoveryGroupReadinessSummaryInput"}
  5348  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5349  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5350  	}
  5351  	if s.RecoveryGroupName == nil {
  5352  		invalidParams.Add(request.NewErrParamRequired("RecoveryGroupName"))
  5353  	}
  5354  	if s.RecoveryGroupName != nil && len(*s.RecoveryGroupName) < 1 {
  5355  		invalidParams.Add(request.NewErrParamMinLen("RecoveryGroupName", 1))
  5356  	}
  5357  
  5358  	if invalidParams.Len() > 0 {
  5359  		return invalidParams
  5360  	}
  5361  	return nil
  5362  }
  5363  
  5364  // SetMaxResults sets the MaxResults field's value.
  5365  func (s *GetRecoveryGroupReadinessSummaryInput) SetMaxResults(v int64) *GetRecoveryGroupReadinessSummaryInput {
  5366  	s.MaxResults = &v
  5367  	return s
  5368  }
  5369  
  5370  // SetNextToken sets the NextToken field's value.
  5371  func (s *GetRecoveryGroupReadinessSummaryInput) SetNextToken(v string) *GetRecoveryGroupReadinessSummaryInput {
  5372  	s.NextToken = &v
  5373  	return s
  5374  }
  5375  
  5376  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  5377  func (s *GetRecoveryGroupReadinessSummaryInput) SetRecoveryGroupName(v string) *GetRecoveryGroupReadinessSummaryInput {
  5378  	s.RecoveryGroupName = &v
  5379  	return s
  5380  }
  5381  
  5382  type GetRecoveryGroupReadinessSummaryOutput struct {
  5383  	_ struct{} `type:"structure"`
  5384  
  5385  	NextToken *string `locationName:"nextToken" type:"string"`
  5386  
  5387  	// The readiness of an entire ReadinessCheck or an individual resource ARN.
  5388  	Readiness *string `locationName:"readiness" type:"string" enum:"Readiness"`
  5389  
  5390  	ReadinessChecks []*ReadinessCheckSummary `locationName:"readinessChecks" type:"list"`
  5391  }
  5392  
  5393  // String returns the string representation.
  5394  //
  5395  // API parameter values that are decorated as "sensitive" in the API will not
  5396  // be included in the string output. The member name will be present, but the
  5397  // value will be replaced with "sensitive".
  5398  func (s GetRecoveryGroupReadinessSummaryOutput) String() string {
  5399  	return awsutil.Prettify(s)
  5400  }
  5401  
  5402  // GoString returns the string representation.
  5403  //
  5404  // API parameter values that are decorated as "sensitive" in the API will not
  5405  // be included in the string output. The member name will be present, but the
  5406  // value will be replaced with "sensitive".
  5407  func (s GetRecoveryGroupReadinessSummaryOutput) GoString() string {
  5408  	return s.String()
  5409  }
  5410  
  5411  // SetNextToken sets the NextToken field's value.
  5412  func (s *GetRecoveryGroupReadinessSummaryOutput) SetNextToken(v string) *GetRecoveryGroupReadinessSummaryOutput {
  5413  	s.NextToken = &v
  5414  	return s
  5415  }
  5416  
  5417  // SetReadiness sets the Readiness field's value.
  5418  func (s *GetRecoveryGroupReadinessSummaryOutput) SetReadiness(v string) *GetRecoveryGroupReadinessSummaryOutput {
  5419  	s.Readiness = &v
  5420  	return s
  5421  }
  5422  
  5423  // SetReadinessChecks sets the ReadinessChecks field's value.
  5424  func (s *GetRecoveryGroupReadinessSummaryOutput) SetReadinessChecks(v []*ReadinessCheckSummary) *GetRecoveryGroupReadinessSummaryOutput {
  5425  	s.ReadinessChecks = v
  5426  	return s
  5427  }
  5428  
  5429  type GetResourceSetInput struct {
  5430  	_ struct{} `type:"structure" nopayload:"true"`
  5431  
  5432  	// ResourceSetName is a required field
  5433  	ResourceSetName *string `location:"uri" locationName:"resourceSetName" type:"string" required:"true"`
  5434  }
  5435  
  5436  // String returns the string representation.
  5437  //
  5438  // API parameter values that are decorated as "sensitive" in the API will not
  5439  // be included in the string output. The member name will be present, but the
  5440  // value will be replaced with "sensitive".
  5441  func (s GetResourceSetInput) String() string {
  5442  	return awsutil.Prettify(s)
  5443  }
  5444  
  5445  // GoString returns the string representation.
  5446  //
  5447  // API parameter values that are decorated as "sensitive" in the API will not
  5448  // be included in the string output. The member name will be present, but the
  5449  // value will be replaced with "sensitive".
  5450  func (s GetResourceSetInput) GoString() string {
  5451  	return s.String()
  5452  }
  5453  
  5454  // Validate inspects the fields of the type to determine if they are valid.
  5455  func (s *GetResourceSetInput) Validate() error {
  5456  	invalidParams := request.ErrInvalidParams{Context: "GetResourceSetInput"}
  5457  	if s.ResourceSetName == nil {
  5458  		invalidParams.Add(request.NewErrParamRequired("ResourceSetName"))
  5459  	}
  5460  	if s.ResourceSetName != nil && len(*s.ResourceSetName) < 1 {
  5461  		invalidParams.Add(request.NewErrParamMinLen("ResourceSetName", 1))
  5462  	}
  5463  
  5464  	if invalidParams.Len() > 0 {
  5465  		return invalidParams
  5466  	}
  5467  	return nil
  5468  }
  5469  
  5470  // SetResourceSetName sets the ResourceSetName field's value.
  5471  func (s *GetResourceSetInput) SetResourceSetName(v string) *GetResourceSetInput {
  5472  	s.ResourceSetName = &v
  5473  	return s
  5474  }
  5475  
  5476  type GetResourceSetOutput struct {
  5477  	_ struct{} `type:"structure"`
  5478  
  5479  	ResourceSetArn *string `locationName:"resourceSetArn" type:"string"`
  5480  
  5481  	ResourceSetName *string `locationName:"resourceSetName" type:"string"`
  5482  
  5483  	ResourceSetType *string `locationName:"resourceSetType" type:"string"`
  5484  
  5485  	Resources []*Resource `locationName:"resources" type:"list"`
  5486  
  5487  	// A collection of tags associated with a resource
  5488  	Tags map[string]*string `locationName:"tags" type:"map"`
  5489  }
  5490  
  5491  // String returns the string representation.
  5492  //
  5493  // API parameter values that are decorated as "sensitive" in the API will not
  5494  // be included in the string output. The member name will be present, but the
  5495  // value will be replaced with "sensitive".
  5496  func (s GetResourceSetOutput) String() string {
  5497  	return awsutil.Prettify(s)
  5498  }
  5499  
  5500  // GoString returns the string representation.
  5501  //
  5502  // API parameter values that are decorated as "sensitive" in the API will not
  5503  // be included in the string output. The member name will be present, but the
  5504  // value will be replaced with "sensitive".
  5505  func (s GetResourceSetOutput) GoString() string {
  5506  	return s.String()
  5507  }
  5508  
  5509  // SetResourceSetArn sets the ResourceSetArn field's value.
  5510  func (s *GetResourceSetOutput) SetResourceSetArn(v string) *GetResourceSetOutput {
  5511  	s.ResourceSetArn = &v
  5512  	return s
  5513  }
  5514  
  5515  // SetResourceSetName sets the ResourceSetName field's value.
  5516  func (s *GetResourceSetOutput) SetResourceSetName(v string) *GetResourceSetOutput {
  5517  	s.ResourceSetName = &v
  5518  	return s
  5519  }
  5520  
  5521  // SetResourceSetType sets the ResourceSetType field's value.
  5522  func (s *GetResourceSetOutput) SetResourceSetType(v string) *GetResourceSetOutput {
  5523  	s.ResourceSetType = &v
  5524  	return s
  5525  }
  5526  
  5527  // SetResources sets the Resources field's value.
  5528  func (s *GetResourceSetOutput) SetResources(v []*Resource) *GetResourceSetOutput {
  5529  	s.Resources = v
  5530  	return s
  5531  }
  5532  
  5533  // SetTags sets the Tags field's value.
  5534  func (s *GetResourceSetOutput) SetTags(v map[string]*string) *GetResourceSetOutput {
  5535  	s.Tags = v
  5536  	return s
  5537  }
  5538  
  5539  type InternalServerException struct {
  5540  	_            struct{}                  `type:"structure"`
  5541  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5542  
  5543  	Message_ *string `locationName:"message" type:"string"`
  5544  }
  5545  
  5546  // String returns the string representation.
  5547  //
  5548  // API parameter values that are decorated as "sensitive" in the API will not
  5549  // be included in the string output. The member name will be present, but the
  5550  // value will be replaced with "sensitive".
  5551  func (s InternalServerException) String() string {
  5552  	return awsutil.Prettify(s)
  5553  }
  5554  
  5555  // GoString returns the string representation.
  5556  //
  5557  // API parameter values that are decorated as "sensitive" in the API will not
  5558  // be included in the string output. The member name will be present, but the
  5559  // value will be replaced with "sensitive".
  5560  func (s InternalServerException) GoString() string {
  5561  	return s.String()
  5562  }
  5563  
  5564  func newErrorInternalServerException(v protocol.ResponseMetadata) error {
  5565  	return &InternalServerException{
  5566  		RespMetadata: v,
  5567  	}
  5568  }
  5569  
  5570  // Code returns the exception type name.
  5571  func (s *InternalServerException) Code() string {
  5572  	return "InternalServerException"
  5573  }
  5574  
  5575  // Message returns the exception's message.
  5576  func (s *InternalServerException) Message() string {
  5577  	if s.Message_ != nil {
  5578  		return *s.Message_
  5579  	}
  5580  	return ""
  5581  }
  5582  
  5583  // OrigErr always returns nil, satisfies awserr.Error interface.
  5584  func (s *InternalServerException) OrigErr() error {
  5585  	return nil
  5586  }
  5587  
  5588  func (s *InternalServerException) Error() string {
  5589  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5590  }
  5591  
  5592  // Status code returns the HTTP status code for the request's response error.
  5593  func (s *InternalServerException) StatusCode() int {
  5594  	return s.RespMetadata.StatusCode
  5595  }
  5596  
  5597  // RequestID returns the service's response RequestID for request.
  5598  func (s *InternalServerException) RequestID() string {
  5599  	return s.RespMetadata.RequestID
  5600  }
  5601  
  5602  type ListCellsInput struct {
  5603  	_ struct{} `type:"structure" nopayload:"true"`
  5604  
  5605  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  5606  
  5607  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  5608  }
  5609  
  5610  // String returns the string representation.
  5611  //
  5612  // API parameter values that are decorated as "sensitive" in the API will not
  5613  // be included in the string output. The member name will be present, but the
  5614  // value will be replaced with "sensitive".
  5615  func (s ListCellsInput) String() string {
  5616  	return awsutil.Prettify(s)
  5617  }
  5618  
  5619  // GoString returns the string representation.
  5620  //
  5621  // API parameter values that are decorated as "sensitive" in the API will not
  5622  // be included in the string output. The member name will be present, but the
  5623  // value will be replaced with "sensitive".
  5624  func (s ListCellsInput) GoString() string {
  5625  	return s.String()
  5626  }
  5627  
  5628  // Validate inspects the fields of the type to determine if they are valid.
  5629  func (s *ListCellsInput) Validate() error {
  5630  	invalidParams := request.ErrInvalidParams{Context: "ListCellsInput"}
  5631  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5632  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5633  	}
  5634  
  5635  	if invalidParams.Len() > 0 {
  5636  		return invalidParams
  5637  	}
  5638  	return nil
  5639  }
  5640  
  5641  // SetMaxResults sets the MaxResults field's value.
  5642  func (s *ListCellsInput) SetMaxResults(v int64) *ListCellsInput {
  5643  	s.MaxResults = &v
  5644  	return s
  5645  }
  5646  
  5647  // SetNextToken sets the NextToken field's value.
  5648  func (s *ListCellsInput) SetNextToken(v string) *ListCellsInput {
  5649  	s.NextToken = &v
  5650  	return s
  5651  }
  5652  
  5653  type ListCellsOutput struct {
  5654  	_ struct{} `type:"structure"`
  5655  
  5656  	Cells []*CellOutput_ `locationName:"cells" type:"list"`
  5657  
  5658  	NextToken *string `locationName:"nextToken" type:"string"`
  5659  }
  5660  
  5661  // String returns the string representation.
  5662  //
  5663  // API parameter values that are decorated as "sensitive" in the API will not
  5664  // be included in the string output. The member name will be present, but the
  5665  // value will be replaced with "sensitive".
  5666  func (s ListCellsOutput) String() string {
  5667  	return awsutil.Prettify(s)
  5668  }
  5669  
  5670  // GoString returns the string representation.
  5671  //
  5672  // API parameter values that are decorated as "sensitive" in the API will not
  5673  // be included in the string output. The member name will be present, but the
  5674  // value will be replaced with "sensitive".
  5675  func (s ListCellsOutput) GoString() string {
  5676  	return s.String()
  5677  }
  5678  
  5679  // SetCells sets the Cells field's value.
  5680  func (s *ListCellsOutput) SetCells(v []*CellOutput_) *ListCellsOutput {
  5681  	s.Cells = v
  5682  	return s
  5683  }
  5684  
  5685  // SetNextToken sets the NextToken field's value.
  5686  func (s *ListCellsOutput) SetNextToken(v string) *ListCellsOutput {
  5687  	s.NextToken = &v
  5688  	return s
  5689  }
  5690  
  5691  type ListCrossAccountAuthorizationsInput struct {
  5692  	_ struct{} `type:"structure" nopayload:"true"`
  5693  
  5694  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  5695  
  5696  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  5697  }
  5698  
  5699  // String returns the string representation.
  5700  //
  5701  // API parameter values that are decorated as "sensitive" in the API will not
  5702  // be included in the string output. The member name will be present, but the
  5703  // value will be replaced with "sensitive".
  5704  func (s ListCrossAccountAuthorizationsInput) String() string {
  5705  	return awsutil.Prettify(s)
  5706  }
  5707  
  5708  // GoString returns the string representation.
  5709  //
  5710  // API parameter values that are decorated as "sensitive" in the API will not
  5711  // be included in the string output. The member name will be present, but the
  5712  // value will be replaced with "sensitive".
  5713  func (s ListCrossAccountAuthorizationsInput) GoString() string {
  5714  	return s.String()
  5715  }
  5716  
  5717  // Validate inspects the fields of the type to determine if they are valid.
  5718  func (s *ListCrossAccountAuthorizationsInput) Validate() error {
  5719  	invalidParams := request.ErrInvalidParams{Context: "ListCrossAccountAuthorizationsInput"}
  5720  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5721  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5722  	}
  5723  
  5724  	if invalidParams.Len() > 0 {
  5725  		return invalidParams
  5726  	}
  5727  	return nil
  5728  }
  5729  
  5730  // SetMaxResults sets the MaxResults field's value.
  5731  func (s *ListCrossAccountAuthorizationsInput) SetMaxResults(v int64) *ListCrossAccountAuthorizationsInput {
  5732  	s.MaxResults = &v
  5733  	return s
  5734  }
  5735  
  5736  // SetNextToken sets the NextToken field's value.
  5737  func (s *ListCrossAccountAuthorizationsInput) SetNextToken(v string) *ListCrossAccountAuthorizationsInput {
  5738  	s.NextToken = &v
  5739  	return s
  5740  }
  5741  
  5742  type ListCrossAccountAuthorizationsOutput struct {
  5743  	_ struct{} `type:"structure"`
  5744  
  5745  	CrossAccountAuthorizations []*string `locationName:"crossAccountAuthorizations" type:"list"`
  5746  
  5747  	NextToken *string `locationName:"nextToken" type:"string"`
  5748  }
  5749  
  5750  // String returns the string representation.
  5751  //
  5752  // API parameter values that are decorated as "sensitive" in the API will not
  5753  // be included in the string output. The member name will be present, but the
  5754  // value will be replaced with "sensitive".
  5755  func (s ListCrossAccountAuthorizationsOutput) String() string {
  5756  	return awsutil.Prettify(s)
  5757  }
  5758  
  5759  // GoString returns the string representation.
  5760  //
  5761  // API parameter values that are decorated as "sensitive" in the API will not
  5762  // be included in the string output. The member name will be present, but the
  5763  // value will be replaced with "sensitive".
  5764  func (s ListCrossAccountAuthorizationsOutput) GoString() string {
  5765  	return s.String()
  5766  }
  5767  
  5768  // SetCrossAccountAuthorizations sets the CrossAccountAuthorizations field's value.
  5769  func (s *ListCrossAccountAuthorizationsOutput) SetCrossAccountAuthorizations(v []*string) *ListCrossAccountAuthorizationsOutput {
  5770  	s.CrossAccountAuthorizations = v
  5771  	return s
  5772  }
  5773  
  5774  // SetNextToken sets the NextToken field's value.
  5775  func (s *ListCrossAccountAuthorizationsOutput) SetNextToken(v string) *ListCrossAccountAuthorizationsOutput {
  5776  	s.NextToken = &v
  5777  	return s
  5778  }
  5779  
  5780  type ListReadinessChecksInput struct {
  5781  	_ struct{} `type:"structure" nopayload:"true"`
  5782  
  5783  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  5784  
  5785  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  5786  }
  5787  
  5788  // String returns the string representation.
  5789  //
  5790  // API parameter values that are decorated as "sensitive" in the API will not
  5791  // be included in the string output. The member name will be present, but the
  5792  // value will be replaced with "sensitive".
  5793  func (s ListReadinessChecksInput) String() string {
  5794  	return awsutil.Prettify(s)
  5795  }
  5796  
  5797  // GoString returns the string representation.
  5798  //
  5799  // API parameter values that are decorated as "sensitive" in the API will not
  5800  // be included in the string output. The member name will be present, but the
  5801  // value will be replaced with "sensitive".
  5802  func (s ListReadinessChecksInput) GoString() string {
  5803  	return s.String()
  5804  }
  5805  
  5806  // Validate inspects the fields of the type to determine if they are valid.
  5807  func (s *ListReadinessChecksInput) Validate() error {
  5808  	invalidParams := request.ErrInvalidParams{Context: "ListReadinessChecksInput"}
  5809  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5810  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5811  	}
  5812  
  5813  	if invalidParams.Len() > 0 {
  5814  		return invalidParams
  5815  	}
  5816  	return nil
  5817  }
  5818  
  5819  // SetMaxResults sets the MaxResults field's value.
  5820  func (s *ListReadinessChecksInput) SetMaxResults(v int64) *ListReadinessChecksInput {
  5821  	s.MaxResults = &v
  5822  	return s
  5823  }
  5824  
  5825  // SetNextToken sets the NextToken field's value.
  5826  func (s *ListReadinessChecksInput) SetNextToken(v string) *ListReadinessChecksInput {
  5827  	s.NextToken = &v
  5828  	return s
  5829  }
  5830  
  5831  type ListReadinessChecksOutput struct {
  5832  	_ struct{} `type:"structure"`
  5833  
  5834  	NextToken *string `locationName:"nextToken" type:"string"`
  5835  
  5836  	ReadinessChecks []*ReadinessCheckOutput_ `locationName:"readinessChecks" type:"list"`
  5837  }
  5838  
  5839  // String returns the string representation.
  5840  //
  5841  // API parameter values that are decorated as "sensitive" in the API will not
  5842  // be included in the string output. The member name will be present, but the
  5843  // value will be replaced with "sensitive".
  5844  func (s ListReadinessChecksOutput) String() string {
  5845  	return awsutil.Prettify(s)
  5846  }
  5847  
  5848  // GoString returns the string representation.
  5849  //
  5850  // API parameter values that are decorated as "sensitive" in the API will not
  5851  // be included in the string output. The member name will be present, but the
  5852  // value will be replaced with "sensitive".
  5853  func (s ListReadinessChecksOutput) GoString() string {
  5854  	return s.String()
  5855  }
  5856  
  5857  // SetNextToken sets the NextToken field's value.
  5858  func (s *ListReadinessChecksOutput) SetNextToken(v string) *ListReadinessChecksOutput {
  5859  	s.NextToken = &v
  5860  	return s
  5861  }
  5862  
  5863  // SetReadinessChecks sets the ReadinessChecks field's value.
  5864  func (s *ListReadinessChecksOutput) SetReadinessChecks(v []*ReadinessCheckOutput_) *ListReadinessChecksOutput {
  5865  	s.ReadinessChecks = v
  5866  	return s
  5867  }
  5868  
  5869  type ListRecoveryGroupsInput struct {
  5870  	_ struct{} `type:"structure" nopayload:"true"`
  5871  
  5872  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  5873  
  5874  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  5875  }
  5876  
  5877  // String returns the string representation.
  5878  //
  5879  // API parameter values that are decorated as "sensitive" in the API will not
  5880  // be included in the string output. The member name will be present, but the
  5881  // value will be replaced with "sensitive".
  5882  func (s ListRecoveryGroupsInput) String() string {
  5883  	return awsutil.Prettify(s)
  5884  }
  5885  
  5886  // GoString returns the string representation.
  5887  //
  5888  // API parameter values that are decorated as "sensitive" in the API will not
  5889  // be included in the string output. The member name will be present, but the
  5890  // value will be replaced with "sensitive".
  5891  func (s ListRecoveryGroupsInput) GoString() string {
  5892  	return s.String()
  5893  }
  5894  
  5895  // Validate inspects the fields of the type to determine if they are valid.
  5896  func (s *ListRecoveryGroupsInput) Validate() error {
  5897  	invalidParams := request.ErrInvalidParams{Context: "ListRecoveryGroupsInput"}
  5898  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5899  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5900  	}
  5901  
  5902  	if invalidParams.Len() > 0 {
  5903  		return invalidParams
  5904  	}
  5905  	return nil
  5906  }
  5907  
  5908  // SetMaxResults sets the MaxResults field's value.
  5909  func (s *ListRecoveryGroupsInput) SetMaxResults(v int64) *ListRecoveryGroupsInput {
  5910  	s.MaxResults = &v
  5911  	return s
  5912  }
  5913  
  5914  // SetNextToken sets the NextToken field's value.
  5915  func (s *ListRecoveryGroupsInput) SetNextToken(v string) *ListRecoveryGroupsInput {
  5916  	s.NextToken = &v
  5917  	return s
  5918  }
  5919  
  5920  type ListRecoveryGroupsOutput struct {
  5921  	_ struct{} `type:"structure"`
  5922  
  5923  	NextToken *string `locationName:"nextToken" type:"string"`
  5924  
  5925  	RecoveryGroups []*RecoveryGroupOutput_ `locationName:"recoveryGroups" type:"list"`
  5926  }
  5927  
  5928  // String returns the string representation.
  5929  //
  5930  // API parameter values that are decorated as "sensitive" in the API will not
  5931  // be included in the string output. The member name will be present, but the
  5932  // value will be replaced with "sensitive".
  5933  func (s ListRecoveryGroupsOutput) String() string {
  5934  	return awsutil.Prettify(s)
  5935  }
  5936  
  5937  // GoString returns the string representation.
  5938  //
  5939  // API parameter values that are decorated as "sensitive" in the API will not
  5940  // be included in the string output. The member name will be present, but the
  5941  // value will be replaced with "sensitive".
  5942  func (s ListRecoveryGroupsOutput) GoString() string {
  5943  	return s.String()
  5944  }
  5945  
  5946  // SetNextToken sets the NextToken field's value.
  5947  func (s *ListRecoveryGroupsOutput) SetNextToken(v string) *ListRecoveryGroupsOutput {
  5948  	s.NextToken = &v
  5949  	return s
  5950  }
  5951  
  5952  // SetRecoveryGroups sets the RecoveryGroups field's value.
  5953  func (s *ListRecoveryGroupsOutput) SetRecoveryGroups(v []*RecoveryGroupOutput_) *ListRecoveryGroupsOutput {
  5954  	s.RecoveryGroups = v
  5955  	return s
  5956  }
  5957  
  5958  type ListResourceSetsInput struct {
  5959  	_ struct{} `type:"structure" nopayload:"true"`
  5960  
  5961  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  5962  
  5963  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  5964  }
  5965  
  5966  // String returns the string representation.
  5967  //
  5968  // API parameter values that are decorated as "sensitive" in the API will not
  5969  // be included in the string output. The member name will be present, but the
  5970  // value will be replaced with "sensitive".
  5971  func (s ListResourceSetsInput) String() string {
  5972  	return awsutil.Prettify(s)
  5973  }
  5974  
  5975  // GoString returns the string representation.
  5976  //
  5977  // API parameter values that are decorated as "sensitive" in the API will not
  5978  // be included in the string output. The member name will be present, but the
  5979  // value will be replaced with "sensitive".
  5980  func (s ListResourceSetsInput) GoString() string {
  5981  	return s.String()
  5982  }
  5983  
  5984  // Validate inspects the fields of the type to determine if they are valid.
  5985  func (s *ListResourceSetsInput) Validate() error {
  5986  	invalidParams := request.ErrInvalidParams{Context: "ListResourceSetsInput"}
  5987  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5988  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5989  	}
  5990  
  5991  	if invalidParams.Len() > 0 {
  5992  		return invalidParams
  5993  	}
  5994  	return nil
  5995  }
  5996  
  5997  // SetMaxResults sets the MaxResults field's value.
  5998  func (s *ListResourceSetsInput) SetMaxResults(v int64) *ListResourceSetsInput {
  5999  	s.MaxResults = &v
  6000  	return s
  6001  }
  6002  
  6003  // SetNextToken sets the NextToken field's value.
  6004  func (s *ListResourceSetsInput) SetNextToken(v string) *ListResourceSetsInput {
  6005  	s.NextToken = &v
  6006  	return s
  6007  }
  6008  
  6009  type ListResourceSetsOutput struct {
  6010  	_ struct{} `type:"structure"`
  6011  
  6012  	NextToken *string `locationName:"nextToken" type:"string"`
  6013  
  6014  	ResourceSets []*ResourceSetOutput_ `locationName:"resourceSets" type:"list"`
  6015  }
  6016  
  6017  // String returns the string representation.
  6018  //
  6019  // API parameter values that are decorated as "sensitive" in the API will not
  6020  // be included in the string output. The member name will be present, but the
  6021  // value will be replaced with "sensitive".
  6022  func (s ListResourceSetsOutput) String() string {
  6023  	return awsutil.Prettify(s)
  6024  }
  6025  
  6026  // GoString returns the string representation.
  6027  //
  6028  // API parameter values that are decorated as "sensitive" in the API will not
  6029  // be included in the string output. The member name will be present, but the
  6030  // value will be replaced with "sensitive".
  6031  func (s ListResourceSetsOutput) GoString() string {
  6032  	return s.String()
  6033  }
  6034  
  6035  // SetNextToken sets the NextToken field's value.
  6036  func (s *ListResourceSetsOutput) SetNextToken(v string) *ListResourceSetsOutput {
  6037  	s.NextToken = &v
  6038  	return s
  6039  }
  6040  
  6041  // SetResourceSets sets the ResourceSets field's value.
  6042  func (s *ListResourceSetsOutput) SetResourceSets(v []*ResourceSetOutput_) *ListResourceSetsOutput {
  6043  	s.ResourceSets = v
  6044  	return s
  6045  }
  6046  
  6047  type ListRulesInput struct {
  6048  	_ struct{} `type:"structure" nopayload:"true"`
  6049  
  6050  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  6051  
  6052  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
  6053  
  6054  	ResourceType *string `location:"querystring" locationName:"resourceType" type:"string"`
  6055  }
  6056  
  6057  // String returns the string representation.
  6058  //
  6059  // API parameter values that are decorated as "sensitive" in the API will not
  6060  // be included in the string output. The member name will be present, but the
  6061  // value will be replaced with "sensitive".
  6062  func (s ListRulesInput) String() string {
  6063  	return awsutil.Prettify(s)
  6064  }
  6065  
  6066  // GoString returns the string representation.
  6067  //
  6068  // API parameter values that are decorated as "sensitive" in the API will not
  6069  // be included in the string output. The member name will be present, but the
  6070  // value will be replaced with "sensitive".
  6071  func (s ListRulesInput) GoString() string {
  6072  	return s.String()
  6073  }
  6074  
  6075  // Validate inspects the fields of the type to determine if they are valid.
  6076  func (s *ListRulesInput) Validate() error {
  6077  	invalidParams := request.ErrInvalidParams{Context: "ListRulesInput"}
  6078  	if s.MaxResults != nil && *s.MaxResults < 1 {
  6079  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  6080  	}
  6081  
  6082  	if invalidParams.Len() > 0 {
  6083  		return invalidParams
  6084  	}
  6085  	return nil
  6086  }
  6087  
  6088  // SetMaxResults sets the MaxResults field's value.
  6089  func (s *ListRulesInput) SetMaxResults(v int64) *ListRulesInput {
  6090  	s.MaxResults = &v
  6091  	return s
  6092  }
  6093  
  6094  // SetNextToken sets the NextToken field's value.
  6095  func (s *ListRulesInput) SetNextToken(v string) *ListRulesInput {
  6096  	s.NextToken = &v
  6097  	return s
  6098  }
  6099  
  6100  // SetResourceType sets the ResourceType field's value.
  6101  func (s *ListRulesInput) SetResourceType(v string) *ListRulesInput {
  6102  	s.ResourceType = &v
  6103  	return s
  6104  }
  6105  
  6106  type ListRulesOutput struct {
  6107  	_ struct{} `type:"structure"`
  6108  
  6109  	NextToken *string `locationName:"nextToken" type:"string"`
  6110  
  6111  	Rules []*ListRulesOutput_ `locationName:"rules" type:"list"`
  6112  }
  6113  
  6114  // String returns the string representation.
  6115  //
  6116  // API parameter values that are decorated as "sensitive" in the API will not
  6117  // be included in the string output. The member name will be present, but the
  6118  // value will be replaced with "sensitive".
  6119  func (s ListRulesOutput) String() string {
  6120  	return awsutil.Prettify(s)
  6121  }
  6122  
  6123  // GoString returns the string representation.
  6124  //
  6125  // API parameter values that are decorated as "sensitive" in the API will not
  6126  // be included in the string output. The member name will be present, but the
  6127  // value will be replaced with "sensitive".
  6128  func (s ListRulesOutput) GoString() string {
  6129  	return s.String()
  6130  }
  6131  
  6132  // SetNextToken sets the NextToken field's value.
  6133  func (s *ListRulesOutput) SetNextToken(v string) *ListRulesOutput {
  6134  	s.NextToken = &v
  6135  	return s
  6136  }
  6137  
  6138  // SetRules sets the Rules field's value.
  6139  func (s *ListRulesOutput) SetRules(v []*ListRulesOutput_) *ListRulesOutput {
  6140  	s.Rules = v
  6141  	return s
  6142  }
  6143  
  6144  // A collection of rules used in a readiness check
  6145  type ListRulesOutput_ struct {
  6146  	_ struct{} `type:"structure"`
  6147  
  6148  	// The resource type the rule applies to.
  6149  	//
  6150  	// ResourceType is a required field
  6151  	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
  6152  
  6153  	// A description of the rule
  6154  	//
  6155  	// RuleDescription is a required field
  6156  	RuleDescription *string `locationName:"ruleDescription" type:"string" required:"true"`
  6157  
  6158  	// The Rule's ID.
  6159  	//
  6160  	// RuleId is a required field
  6161  	RuleId *string `locationName:"ruleId" type:"string" required:"true"`
  6162  }
  6163  
  6164  // String returns the string representation.
  6165  //
  6166  // API parameter values that are decorated as "sensitive" in the API will not
  6167  // be included in the string output. The member name will be present, but the
  6168  // value will be replaced with "sensitive".
  6169  func (s ListRulesOutput_) String() string {
  6170  	return awsutil.Prettify(s)
  6171  }
  6172  
  6173  // GoString returns the string representation.
  6174  //
  6175  // API parameter values that are decorated as "sensitive" in the API will not
  6176  // be included in the string output. The member name will be present, but the
  6177  // value will be replaced with "sensitive".
  6178  func (s ListRulesOutput_) GoString() string {
  6179  	return s.String()
  6180  }
  6181  
  6182  // SetResourceType sets the ResourceType field's value.
  6183  func (s *ListRulesOutput_) SetResourceType(v string) *ListRulesOutput_ {
  6184  	s.ResourceType = &v
  6185  	return s
  6186  }
  6187  
  6188  // SetRuleDescription sets the RuleDescription field's value.
  6189  func (s *ListRulesOutput_) SetRuleDescription(v string) *ListRulesOutput_ {
  6190  	s.RuleDescription = &v
  6191  	return s
  6192  }
  6193  
  6194  // SetRuleId sets the RuleId field's value.
  6195  func (s *ListRulesOutput_) SetRuleId(v string) *ListRulesOutput_ {
  6196  	s.RuleId = &v
  6197  	return s
  6198  }
  6199  
  6200  type ListTagsForResourcesInput struct {
  6201  	_ struct{} `type:"structure" nopayload:"true"`
  6202  
  6203  	// ResourceArn is a required field
  6204  	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
  6205  }
  6206  
  6207  // String returns the string representation.
  6208  //
  6209  // API parameter values that are decorated as "sensitive" in the API will not
  6210  // be included in the string output. The member name will be present, but the
  6211  // value will be replaced with "sensitive".
  6212  func (s ListTagsForResourcesInput) String() string {
  6213  	return awsutil.Prettify(s)
  6214  }
  6215  
  6216  // GoString returns the string representation.
  6217  //
  6218  // API parameter values that are decorated as "sensitive" in the API will not
  6219  // be included in the string output. The member name will be present, but the
  6220  // value will be replaced with "sensitive".
  6221  func (s ListTagsForResourcesInput) GoString() string {
  6222  	return s.String()
  6223  }
  6224  
  6225  // Validate inspects the fields of the type to determine if they are valid.
  6226  func (s *ListTagsForResourcesInput) Validate() error {
  6227  	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourcesInput"}
  6228  	if s.ResourceArn == nil {
  6229  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  6230  	}
  6231  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
  6232  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
  6233  	}
  6234  
  6235  	if invalidParams.Len() > 0 {
  6236  		return invalidParams
  6237  	}
  6238  	return nil
  6239  }
  6240  
  6241  // SetResourceArn sets the ResourceArn field's value.
  6242  func (s *ListTagsForResourcesInput) SetResourceArn(v string) *ListTagsForResourcesInput {
  6243  	s.ResourceArn = &v
  6244  	return s
  6245  }
  6246  
  6247  type ListTagsForResourcesOutput struct {
  6248  	_ struct{} `type:"structure"`
  6249  
  6250  	// A collection of tags associated with a resource
  6251  	Tags map[string]*string `locationName:"tags" type:"map"`
  6252  }
  6253  
  6254  // String returns the string representation.
  6255  //
  6256  // API parameter values that are decorated as "sensitive" in the API will not
  6257  // be included in the string output. The member name will be present, but the
  6258  // value will be replaced with "sensitive".
  6259  func (s ListTagsForResourcesOutput) String() string {
  6260  	return awsutil.Prettify(s)
  6261  }
  6262  
  6263  // GoString returns the string representation.
  6264  //
  6265  // API parameter values that are decorated as "sensitive" in the API will not
  6266  // be included in the string output. The member name will be present, but the
  6267  // value will be replaced with "sensitive".
  6268  func (s ListTagsForResourcesOutput) GoString() string {
  6269  	return s.String()
  6270  }
  6271  
  6272  // SetTags sets the Tags field's value.
  6273  func (s *ListTagsForResourcesOutput) SetTags(v map[string]*string) *ListTagsForResourcesOutput {
  6274  	s.Tags = v
  6275  	return s
  6276  }
  6277  
  6278  // Information relating to readiness check status
  6279  type Message struct {
  6280  	_ struct{} `type:"structure"`
  6281  
  6282  	// The text of a readiness check message
  6283  	MessageText *string `locationName:"messageText" type:"string"`
  6284  }
  6285  
  6286  // String returns the string representation.
  6287  //
  6288  // API parameter values that are decorated as "sensitive" in the API will not
  6289  // be included in the string output. The member name will be present, but the
  6290  // value will be replaced with "sensitive".
  6291  func (s Message) String() string {
  6292  	return awsutil.Prettify(s)
  6293  }
  6294  
  6295  // GoString returns the string representation.
  6296  //
  6297  // API parameter values that are decorated as "sensitive" in the API will not
  6298  // be included in the string output. The member name will be present, but the
  6299  // value will be replaced with "sensitive".
  6300  func (s Message) GoString() string {
  6301  	return s.String()
  6302  }
  6303  
  6304  // SetMessageText sets the MessageText field's value.
  6305  func (s *Message) SetMessageText(v string) *Message {
  6306  	s.MessageText = &v
  6307  	return s
  6308  }
  6309  
  6310  // The NLB resource a DNS Target Resource points to
  6311  type NLBResource struct {
  6312  	_ struct{} `type:"structure"`
  6313  
  6314  	// An NLB resource arn
  6315  	Arn *string `locationName:"arn" type:"string"`
  6316  }
  6317  
  6318  // String returns the string representation.
  6319  //
  6320  // API parameter values that are decorated as "sensitive" in the API will not
  6321  // be included in the string output. The member name will be present, but the
  6322  // value will be replaced with "sensitive".
  6323  func (s NLBResource) String() string {
  6324  	return awsutil.Prettify(s)
  6325  }
  6326  
  6327  // GoString returns the string representation.
  6328  //
  6329  // API parameter values that are decorated as "sensitive" in the API will not
  6330  // be included in the string output. The member name will be present, but the
  6331  // value will be replaced with "sensitive".
  6332  func (s NLBResource) GoString() string {
  6333  	return s.String()
  6334  }
  6335  
  6336  // SetArn sets the Arn field's value.
  6337  func (s *NLBResource) SetArn(v string) *NLBResource {
  6338  	s.Arn = &v
  6339  	return s
  6340  }
  6341  
  6342  // The Route 53 resource a DNS Target Resource record points to
  6343  type R53ResourceRecord struct {
  6344  	_ struct{} `type:"structure"`
  6345  
  6346  	// The DNS target name
  6347  	DomainName *string `locationName:"domainName" type:"string"`
  6348  
  6349  	// The Resource Record set id
  6350  	RecordSetId *string `locationName:"recordSetId" type:"string"`
  6351  }
  6352  
  6353  // String returns the string representation.
  6354  //
  6355  // API parameter values that are decorated as "sensitive" in the API will not
  6356  // be included in the string output. The member name will be present, but the
  6357  // value will be replaced with "sensitive".
  6358  func (s R53ResourceRecord) String() string {
  6359  	return awsutil.Prettify(s)
  6360  }
  6361  
  6362  // GoString returns the string representation.
  6363  //
  6364  // API parameter values that are decorated as "sensitive" in the API will not
  6365  // be included in the string output. The member name will be present, but the
  6366  // value will be replaced with "sensitive".
  6367  func (s R53ResourceRecord) GoString() string {
  6368  	return s.String()
  6369  }
  6370  
  6371  // SetDomainName sets the DomainName field's value.
  6372  func (s *R53ResourceRecord) SetDomainName(v string) *R53ResourceRecord {
  6373  	s.DomainName = &v
  6374  	return s
  6375  }
  6376  
  6377  // SetRecordSetId sets the RecordSetId field's value.
  6378  func (s *R53ResourceRecord) SetRecordSetId(v string) *R53ResourceRecord {
  6379  	s.RecordSetId = &v
  6380  	return s
  6381  }
  6382  
  6383  // A resource used for checking the readiness of a Resource Set
  6384  type ReadinessCheckOutput_ struct {
  6385  	_ struct{} `type:"structure"`
  6386  
  6387  	// Arn associated with ReadinessCheck
  6388  	//
  6389  	// ReadinessCheckArn is a required field
  6390  	ReadinessCheckArn *string `locationName:"readinessCheckArn" type:"string" required:"true"`
  6391  
  6392  	// Name for a ReadinessCheck
  6393  	ReadinessCheckName *string `locationName:"readinessCheckName" type:"string"`
  6394  
  6395  	// Name of the ResourceSet to be checked
  6396  	//
  6397  	// ResourceSet is a required field
  6398  	ResourceSet *string `locationName:"resourceSet" type:"string" required:"true"`
  6399  
  6400  	// A collection of tags associated with a resource
  6401  	Tags map[string]*string `locationName:"tags" type:"map"`
  6402  }
  6403  
  6404  // String returns the string representation.
  6405  //
  6406  // API parameter values that are decorated as "sensitive" in the API will not
  6407  // be included in the string output. The member name will be present, but the
  6408  // value will be replaced with "sensitive".
  6409  func (s ReadinessCheckOutput_) String() string {
  6410  	return awsutil.Prettify(s)
  6411  }
  6412  
  6413  // GoString returns the string representation.
  6414  //
  6415  // API parameter values that are decorated as "sensitive" in the API will not
  6416  // be included in the string output. The member name will be present, but the
  6417  // value will be replaced with "sensitive".
  6418  func (s ReadinessCheckOutput_) GoString() string {
  6419  	return s.String()
  6420  }
  6421  
  6422  // SetReadinessCheckArn sets the ReadinessCheckArn field's value.
  6423  func (s *ReadinessCheckOutput_) SetReadinessCheckArn(v string) *ReadinessCheckOutput_ {
  6424  	s.ReadinessCheckArn = &v
  6425  	return s
  6426  }
  6427  
  6428  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  6429  func (s *ReadinessCheckOutput_) SetReadinessCheckName(v string) *ReadinessCheckOutput_ {
  6430  	s.ReadinessCheckName = &v
  6431  	return s
  6432  }
  6433  
  6434  // SetResourceSet sets the ResourceSet field's value.
  6435  func (s *ReadinessCheckOutput_) SetResourceSet(v string) *ReadinessCheckOutput_ {
  6436  	s.ResourceSet = &v
  6437  	return s
  6438  }
  6439  
  6440  // SetTags sets the Tags field's value.
  6441  func (s *ReadinessCheckOutput_) SetTags(v map[string]*string) *ReadinessCheckOutput_ {
  6442  	s.Tags = v
  6443  	return s
  6444  }
  6445  
  6446  // Summary of ReadinessCheck status, paginated in GetRecoveryGroupReadinessSummary
  6447  // and GetCellReadinessSummary
  6448  type ReadinessCheckSummary struct {
  6449  	_ struct{} `type:"structure"`
  6450  
  6451  	// The readiness of this ReadinessCheck
  6452  	Readiness *string `locationName:"readiness" type:"string" enum:"Readiness"`
  6453  
  6454  	// The name of a ReadinessCheck which is part of the given RecoveryGroup or
  6455  	// Cell
  6456  	ReadinessCheckName *string `locationName:"readinessCheckName" type:"string"`
  6457  }
  6458  
  6459  // String returns the string representation.
  6460  //
  6461  // API parameter values that are decorated as "sensitive" in the API will not
  6462  // be included in the string output. The member name will be present, but the
  6463  // value will be replaced with "sensitive".
  6464  func (s ReadinessCheckSummary) String() string {
  6465  	return awsutil.Prettify(s)
  6466  }
  6467  
  6468  // GoString returns the string representation.
  6469  //
  6470  // API parameter values that are decorated as "sensitive" in the API will not
  6471  // be included in the string output. The member name will be present, but the
  6472  // value will be replaced with "sensitive".
  6473  func (s ReadinessCheckSummary) GoString() string {
  6474  	return s.String()
  6475  }
  6476  
  6477  // SetReadiness sets the Readiness field's value.
  6478  func (s *ReadinessCheckSummary) SetReadiness(v string) *ReadinessCheckSummary {
  6479  	s.Readiness = &v
  6480  	return s
  6481  }
  6482  
  6483  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  6484  func (s *ReadinessCheckSummary) SetReadinessCheckName(v string) *ReadinessCheckSummary {
  6485  	s.ReadinessCheckName = &v
  6486  	return s
  6487  }
  6488  
  6489  // Guidance for improving Recovery Group resilliancy
  6490  type Recommendation struct {
  6491  	_ struct{} `type:"structure"`
  6492  
  6493  	// Guidance text for recommendation
  6494  	//
  6495  	// RecommendationText is a required field
  6496  	RecommendationText *string `locationName:"recommendationText" type:"string" required:"true"`
  6497  }
  6498  
  6499  // String returns the string representation.
  6500  //
  6501  // API parameter values that are decorated as "sensitive" in the API will not
  6502  // be included in the string output. The member name will be present, but the
  6503  // value will be replaced with "sensitive".
  6504  func (s Recommendation) String() string {
  6505  	return awsutil.Prettify(s)
  6506  }
  6507  
  6508  // GoString returns the string representation.
  6509  //
  6510  // API parameter values that are decorated as "sensitive" in the API will not
  6511  // be included in the string output. The member name will be present, but the
  6512  // value will be replaced with "sensitive".
  6513  func (s Recommendation) GoString() string {
  6514  	return s.String()
  6515  }
  6516  
  6517  // SetRecommendationText sets the RecommendationText field's value.
  6518  func (s *Recommendation) SetRecommendationText(v string) *Recommendation {
  6519  	s.RecommendationText = &v
  6520  	return s
  6521  }
  6522  
  6523  // A Recovery Group generally containing multiple Cells
  6524  type RecoveryGroupOutput_ struct {
  6525  	_ struct{} `type:"structure"`
  6526  
  6527  	// A list of Cell arns
  6528  	//
  6529  	// Cells is a required field
  6530  	Cells []*string `locationName:"cells" type:"list" required:"true"`
  6531  
  6532  	// The arn for the RecoveryGroup
  6533  	//
  6534  	// RecoveryGroupArn is a required field
  6535  	RecoveryGroupArn *string `locationName:"recoveryGroupArn" type:"string" required:"true"`
  6536  
  6537  	// The name of the RecoveryGroup
  6538  	//
  6539  	// RecoveryGroupName is a required field
  6540  	RecoveryGroupName *string `locationName:"recoveryGroupName" type:"string" required:"true"`
  6541  
  6542  	// A collection of tags associated with a resource
  6543  	Tags map[string]*string `locationName:"tags" type:"map"`
  6544  }
  6545  
  6546  // String returns the string representation.
  6547  //
  6548  // API parameter values that are decorated as "sensitive" in the API will not
  6549  // be included in the string output. The member name will be present, but the
  6550  // value will be replaced with "sensitive".
  6551  func (s RecoveryGroupOutput_) String() string {
  6552  	return awsutil.Prettify(s)
  6553  }
  6554  
  6555  // GoString returns the string representation.
  6556  //
  6557  // API parameter values that are decorated as "sensitive" in the API will not
  6558  // be included in the string output. The member name will be present, but the
  6559  // value will be replaced with "sensitive".
  6560  func (s RecoveryGroupOutput_) GoString() string {
  6561  	return s.String()
  6562  }
  6563  
  6564  // SetCells sets the Cells field's value.
  6565  func (s *RecoveryGroupOutput_) SetCells(v []*string) *RecoveryGroupOutput_ {
  6566  	s.Cells = v
  6567  	return s
  6568  }
  6569  
  6570  // SetRecoveryGroupArn sets the RecoveryGroupArn field's value.
  6571  func (s *RecoveryGroupOutput_) SetRecoveryGroupArn(v string) *RecoveryGroupOutput_ {
  6572  	s.RecoveryGroupArn = &v
  6573  	return s
  6574  }
  6575  
  6576  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  6577  func (s *RecoveryGroupOutput_) SetRecoveryGroupName(v string) *RecoveryGroupOutput_ {
  6578  	s.RecoveryGroupName = &v
  6579  	return s
  6580  }
  6581  
  6582  // SetTags sets the Tags field's value.
  6583  func (s *RecoveryGroupOutput_) SetTags(v map[string]*string) *RecoveryGroupOutput_ {
  6584  	s.Tags = v
  6585  	return s
  6586  }
  6587  
  6588  // The resource element of a ResourceSet
  6589  type Resource struct {
  6590  	_ struct{} `type:"structure"`
  6591  
  6592  	// The component id of the resource, generated by the service when dnsTargetResource
  6593  	// is used
  6594  	ComponentId *string `locationName:"componentId" type:"string"`
  6595  
  6596  	// A component for DNS/Routing Control Readiness Checks
  6597  	DnsTargetResource *DNSTargetResource `locationName:"dnsTargetResource" type:"structure"`
  6598  
  6599  	// A list of RecoveryGroup ARNs and/or Cell ARNs that this resource is contained
  6600  	// within.
  6601  	ReadinessScopes []*string `locationName:"readinessScopes" type:"list"`
  6602  
  6603  	// The ARN of the AWS resource, can be skipped if dnsTargetResource is used
  6604  	ResourceArn *string `locationName:"resourceArn" type:"string"`
  6605  }
  6606  
  6607  // String returns the string representation.
  6608  //
  6609  // API parameter values that are decorated as "sensitive" in the API will not
  6610  // be included in the string output. The member name will be present, but the
  6611  // value will be replaced with "sensitive".
  6612  func (s Resource) String() string {
  6613  	return awsutil.Prettify(s)
  6614  }
  6615  
  6616  // GoString returns the string representation.
  6617  //
  6618  // API parameter values that are decorated as "sensitive" in the API will not
  6619  // be included in the string output. The member name will be present, but the
  6620  // value will be replaced with "sensitive".
  6621  func (s Resource) GoString() string {
  6622  	return s.String()
  6623  }
  6624  
  6625  // SetComponentId sets the ComponentId field's value.
  6626  func (s *Resource) SetComponentId(v string) *Resource {
  6627  	s.ComponentId = &v
  6628  	return s
  6629  }
  6630  
  6631  // SetDnsTargetResource sets the DnsTargetResource field's value.
  6632  func (s *Resource) SetDnsTargetResource(v *DNSTargetResource) *Resource {
  6633  	s.DnsTargetResource = v
  6634  	return s
  6635  }
  6636  
  6637  // SetReadinessScopes sets the ReadinessScopes field's value.
  6638  func (s *Resource) SetReadinessScopes(v []*string) *Resource {
  6639  	s.ReadinessScopes = v
  6640  	return s
  6641  }
  6642  
  6643  // SetResourceArn sets the ResourceArn field's value.
  6644  func (s *Resource) SetResourceArn(v string) *Resource {
  6645  	s.ResourceArn = &v
  6646  	return s
  6647  }
  6648  
  6649  type ResourceNotFoundException struct {
  6650  	_            struct{}                  `type:"structure"`
  6651  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  6652  
  6653  	Message_ *string `locationName:"message" type:"string"`
  6654  }
  6655  
  6656  // String returns the string representation.
  6657  //
  6658  // API parameter values that are decorated as "sensitive" in the API will not
  6659  // be included in the string output. The member name will be present, but the
  6660  // value will be replaced with "sensitive".
  6661  func (s ResourceNotFoundException) String() string {
  6662  	return awsutil.Prettify(s)
  6663  }
  6664  
  6665  // GoString returns the string representation.
  6666  //
  6667  // API parameter values that are decorated as "sensitive" in the API will not
  6668  // be included in the string output. The member name will be present, but the
  6669  // value will be replaced with "sensitive".
  6670  func (s ResourceNotFoundException) GoString() string {
  6671  	return s.String()
  6672  }
  6673  
  6674  func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
  6675  	return &ResourceNotFoundException{
  6676  		RespMetadata: v,
  6677  	}
  6678  }
  6679  
  6680  // Code returns the exception type name.
  6681  func (s *ResourceNotFoundException) Code() string {
  6682  	return "ResourceNotFoundException"
  6683  }
  6684  
  6685  // Message returns the exception's message.
  6686  func (s *ResourceNotFoundException) Message() string {
  6687  	if s.Message_ != nil {
  6688  		return *s.Message_
  6689  	}
  6690  	return ""
  6691  }
  6692  
  6693  // OrigErr always returns nil, satisfies awserr.Error interface.
  6694  func (s *ResourceNotFoundException) OrigErr() error {
  6695  	return nil
  6696  }
  6697  
  6698  func (s *ResourceNotFoundException) Error() string {
  6699  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  6700  }
  6701  
  6702  // Status code returns the HTTP status code for the request's response error.
  6703  func (s *ResourceNotFoundException) StatusCode() int {
  6704  	return s.RespMetadata.StatusCode
  6705  }
  6706  
  6707  // RequestID returns the service's response RequestID for request.
  6708  func (s *ResourceNotFoundException) RequestID() string {
  6709  	return s.RespMetadata.RequestID
  6710  }
  6711  
  6712  // Result with status for an individual resource.
  6713  type ResourceResult struct {
  6714  	_ struct{} `type:"structure"`
  6715  
  6716  	// The component id of the resource
  6717  	ComponentId *string `locationName:"componentId" type:"string"`
  6718  
  6719  	// The time the resource was last checked for readiness, in ISO-8601 format,
  6720  	// UTC.
  6721  	//
  6722  	// LastCheckedTimestamp is a required field
  6723  	LastCheckedTimestamp *time.Time `locationName:"lastCheckedTimestamp" type:"timestamp" timestampFormat:"iso8601" required:"true"`
  6724  
  6725  	// The readiness of the resource.
  6726  	//
  6727  	// Readiness is a required field
  6728  	Readiness *string `locationName:"readiness" type:"string" required:"true" enum:"Readiness"`
  6729  
  6730  	// The ARN of the resource
  6731  	ResourceArn *string `locationName:"resourceArn" type:"string"`
  6732  }
  6733  
  6734  // String returns the string representation.
  6735  //
  6736  // API parameter values that are decorated as "sensitive" in the API will not
  6737  // be included in the string output. The member name will be present, but the
  6738  // value will be replaced with "sensitive".
  6739  func (s ResourceResult) String() string {
  6740  	return awsutil.Prettify(s)
  6741  }
  6742  
  6743  // GoString returns the string representation.
  6744  //
  6745  // API parameter values that are decorated as "sensitive" in the API will not
  6746  // be included in the string output. The member name will be present, but the
  6747  // value will be replaced with "sensitive".
  6748  func (s ResourceResult) GoString() string {
  6749  	return s.String()
  6750  }
  6751  
  6752  // SetComponentId sets the ComponentId field's value.
  6753  func (s *ResourceResult) SetComponentId(v string) *ResourceResult {
  6754  	s.ComponentId = &v
  6755  	return s
  6756  }
  6757  
  6758  // SetLastCheckedTimestamp sets the LastCheckedTimestamp field's value.
  6759  func (s *ResourceResult) SetLastCheckedTimestamp(v time.Time) *ResourceResult {
  6760  	s.LastCheckedTimestamp = &v
  6761  	return s
  6762  }
  6763  
  6764  // SetReadiness sets the Readiness field's value.
  6765  func (s *ResourceResult) SetReadiness(v string) *ResourceResult {
  6766  	s.Readiness = &v
  6767  	return s
  6768  }
  6769  
  6770  // SetResourceArn sets the ResourceArn field's value.
  6771  func (s *ResourceResult) SetResourceArn(v string) *ResourceResult {
  6772  	s.ResourceArn = &v
  6773  	return s
  6774  }
  6775  
  6776  // A collection of resources of the same type
  6777  type ResourceSetOutput_ struct {
  6778  	_ struct{} `type:"structure"`
  6779  
  6780  	// The arn for the ResourceSet
  6781  	//
  6782  	// ResourceSetArn is a required field
  6783  	ResourceSetArn *string `locationName:"resourceSetArn" type:"string" required:"true"`
  6784  
  6785  	// The name of the ResourceSet
  6786  	//
  6787  	// ResourceSetName is a required field
  6788  	ResourceSetName *string `locationName:"resourceSetName" type:"string" required:"true"`
  6789  
  6790  	// AWS Resource Type of the resources in the ResourceSet
  6791  	//
  6792  	// ResourceSetType is a required field
  6793  	ResourceSetType *string `locationName:"resourceSetType" type:"string" required:"true"`
  6794  
  6795  	// A list of Resource objects
  6796  	//
  6797  	// Resources is a required field
  6798  	Resources []*Resource `locationName:"resources" type:"list" required:"true"`
  6799  
  6800  	// A collection of tags associated with a resource
  6801  	Tags map[string]*string `locationName:"tags" type:"map"`
  6802  }
  6803  
  6804  // String returns the string representation.
  6805  //
  6806  // API parameter values that are decorated as "sensitive" in the API will not
  6807  // be included in the string output. The member name will be present, but the
  6808  // value will be replaced with "sensitive".
  6809  func (s ResourceSetOutput_) String() string {
  6810  	return awsutil.Prettify(s)
  6811  }
  6812  
  6813  // GoString returns the string representation.
  6814  //
  6815  // API parameter values that are decorated as "sensitive" in the API will not
  6816  // be included in the string output. The member name will be present, but the
  6817  // value will be replaced with "sensitive".
  6818  func (s ResourceSetOutput_) GoString() string {
  6819  	return s.String()
  6820  }
  6821  
  6822  // SetResourceSetArn sets the ResourceSetArn field's value.
  6823  func (s *ResourceSetOutput_) SetResourceSetArn(v string) *ResourceSetOutput_ {
  6824  	s.ResourceSetArn = &v
  6825  	return s
  6826  }
  6827  
  6828  // SetResourceSetName sets the ResourceSetName field's value.
  6829  func (s *ResourceSetOutput_) SetResourceSetName(v string) *ResourceSetOutput_ {
  6830  	s.ResourceSetName = &v
  6831  	return s
  6832  }
  6833  
  6834  // SetResourceSetType sets the ResourceSetType field's value.
  6835  func (s *ResourceSetOutput_) SetResourceSetType(v string) *ResourceSetOutput_ {
  6836  	s.ResourceSetType = &v
  6837  	return s
  6838  }
  6839  
  6840  // SetResources sets the Resources field's value.
  6841  func (s *ResourceSetOutput_) SetResources(v []*Resource) *ResourceSetOutput_ {
  6842  	s.Resources = v
  6843  	return s
  6844  }
  6845  
  6846  // SetTags sets the Tags field's value.
  6847  func (s *ResourceSetOutput_) SetTags(v map[string]*string) *ResourceSetOutput_ {
  6848  	s.Tags = v
  6849  	return s
  6850  }
  6851  
  6852  // Result with status for an individual rule..
  6853  type RuleResult struct {
  6854  	_ struct{} `type:"structure"`
  6855  
  6856  	// The time the resource was last checked for readiness, in ISO-8601 format,
  6857  	// UTC.
  6858  	//
  6859  	// LastCheckedTimestamp is a required field
  6860  	LastCheckedTimestamp *time.Time `locationName:"lastCheckedTimestamp" type:"timestamp" timestampFormat:"iso8601" required:"true"`
  6861  
  6862  	// Details about the resource's readiness
  6863  	//
  6864  	// Messages is a required field
  6865  	Messages []*Message `locationName:"messages" type:"list" required:"true"`
  6866  
  6867  	// The readiness at rule level.
  6868  	//
  6869  	// Readiness is a required field
  6870  	Readiness *string `locationName:"readiness" type:"string" required:"true" enum:"Readiness"`
  6871  
  6872  	// The identifier of the rule.
  6873  	//
  6874  	// RuleId is a required field
  6875  	RuleId *string `locationName:"ruleId" type:"string" required:"true"`
  6876  }
  6877  
  6878  // String returns the string representation.
  6879  //
  6880  // API parameter values that are decorated as "sensitive" in the API will not
  6881  // be included in the string output. The member name will be present, but the
  6882  // value will be replaced with "sensitive".
  6883  func (s RuleResult) String() string {
  6884  	return awsutil.Prettify(s)
  6885  }
  6886  
  6887  // GoString returns the string representation.
  6888  //
  6889  // API parameter values that are decorated as "sensitive" in the API will not
  6890  // be included in the string output. The member name will be present, but the
  6891  // value will be replaced with "sensitive".
  6892  func (s RuleResult) GoString() string {
  6893  	return s.String()
  6894  }
  6895  
  6896  // SetLastCheckedTimestamp sets the LastCheckedTimestamp field's value.
  6897  func (s *RuleResult) SetLastCheckedTimestamp(v time.Time) *RuleResult {
  6898  	s.LastCheckedTimestamp = &v
  6899  	return s
  6900  }
  6901  
  6902  // SetMessages sets the Messages field's value.
  6903  func (s *RuleResult) SetMessages(v []*Message) *RuleResult {
  6904  	s.Messages = v
  6905  	return s
  6906  }
  6907  
  6908  // SetReadiness sets the Readiness field's value.
  6909  func (s *RuleResult) SetReadiness(v string) *RuleResult {
  6910  	s.Readiness = &v
  6911  	return s
  6912  }
  6913  
  6914  // SetRuleId sets the RuleId field's value.
  6915  func (s *RuleResult) SetRuleId(v string) *RuleResult {
  6916  	s.RuleId = &v
  6917  	return s
  6918  }
  6919  
  6920  type TagResourceInput struct {
  6921  	_ struct{} `type:"structure"`
  6922  
  6923  	// ResourceArn is a required field
  6924  	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
  6925  
  6926  	// A collection of tags associated with a resource
  6927  	//
  6928  	// Tags is a required field
  6929  	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
  6930  }
  6931  
  6932  // String returns the string representation.
  6933  //
  6934  // API parameter values that are decorated as "sensitive" in the API will not
  6935  // be included in the string output. The member name will be present, but the
  6936  // value will be replaced with "sensitive".
  6937  func (s TagResourceInput) String() string {
  6938  	return awsutil.Prettify(s)
  6939  }
  6940  
  6941  // GoString returns the string representation.
  6942  //
  6943  // API parameter values that are decorated as "sensitive" in the API will not
  6944  // be included in the string output. The member name will be present, but the
  6945  // value will be replaced with "sensitive".
  6946  func (s TagResourceInput) GoString() string {
  6947  	return s.String()
  6948  }
  6949  
  6950  // Validate inspects the fields of the type to determine if they are valid.
  6951  func (s *TagResourceInput) Validate() error {
  6952  	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
  6953  	if s.ResourceArn == nil {
  6954  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  6955  	}
  6956  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
  6957  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
  6958  	}
  6959  	if s.Tags == nil {
  6960  		invalidParams.Add(request.NewErrParamRequired("Tags"))
  6961  	}
  6962  
  6963  	if invalidParams.Len() > 0 {
  6964  		return invalidParams
  6965  	}
  6966  	return nil
  6967  }
  6968  
  6969  // SetResourceArn sets the ResourceArn field's value.
  6970  func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
  6971  	s.ResourceArn = &v
  6972  	return s
  6973  }
  6974  
  6975  // SetTags sets the Tags field's value.
  6976  func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
  6977  	s.Tags = v
  6978  	return s
  6979  }
  6980  
  6981  type TagResourceOutput struct {
  6982  	_ struct{} `type:"structure" nopayload:"true"`
  6983  }
  6984  
  6985  // String returns the string representation.
  6986  //
  6987  // API parameter values that are decorated as "sensitive" in the API will not
  6988  // be included in the string output. The member name will be present, but the
  6989  // value will be replaced with "sensitive".
  6990  func (s TagResourceOutput) String() string {
  6991  	return awsutil.Prettify(s)
  6992  }
  6993  
  6994  // GoString returns the string representation.
  6995  //
  6996  // API parameter values that are decorated as "sensitive" in the API will not
  6997  // be included in the string output. The member name will be present, but the
  6998  // value will be replaced with "sensitive".
  6999  func (s TagResourceOutput) GoString() string {
  7000  	return s.String()
  7001  }
  7002  
  7003  // The target resource the R53 record points to
  7004  type TargetResource struct {
  7005  	_ struct{} `type:"structure"`
  7006  
  7007  	// The NLB resource a DNS Target Resource points to
  7008  	NLBResource *NLBResource `locationName:"nLBResource" type:"structure"`
  7009  
  7010  	// The Route 53 resource a DNS Target Resource record points to
  7011  	R53Resource *R53ResourceRecord `locationName:"r53Resource" type:"structure"`
  7012  }
  7013  
  7014  // String returns the string representation.
  7015  //
  7016  // API parameter values that are decorated as "sensitive" in the API will not
  7017  // be included in the string output. The member name will be present, but the
  7018  // value will be replaced with "sensitive".
  7019  func (s TargetResource) String() string {
  7020  	return awsutil.Prettify(s)
  7021  }
  7022  
  7023  // GoString returns the string representation.
  7024  //
  7025  // API parameter values that are decorated as "sensitive" in the API will not
  7026  // be included in the string output. The member name will be present, but the
  7027  // value will be replaced with "sensitive".
  7028  func (s TargetResource) GoString() string {
  7029  	return s.String()
  7030  }
  7031  
  7032  // SetNLBResource sets the NLBResource field's value.
  7033  func (s *TargetResource) SetNLBResource(v *NLBResource) *TargetResource {
  7034  	s.NLBResource = v
  7035  	return s
  7036  }
  7037  
  7038  // SetR53Resource sets the R53Resource field's value.
  7039  func (s *TargetResource) SetR53Resource(v *R53ResourceRecord) *TargetResource {
  7040  	s.R53Resource = v
  7041  	return s
  7042  }
  7043  
  7044  type ThrottlingException struct {
  7045  	_            struct{}                  `type:"structure"`
  7046  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  7047  
  7048  	Message_ *string `locationName:"message" type:"string"`
  7049  }
  7050  
  7051  // String returns the string representation.
  7052  //
  7053  // API parameter values that are decorated as "sensitive" in the API will not
  7054  // be included in the string output. The member name will be present, but the
  7055  // value will be replaced with "sensitive".
  7056  func (s ThrottlingException) String() string {
  7057  	return awsutil.Prettify(s)
  7058  }
  7059  
  7060  // GoString returns the string representation.
  7061  //
  7062  // API parameter values that are decorated as "sensitive" in the API will not
  7063  // be included in the string output. The member name will be present, but the
  7064  // value will be replaced with "sensitive".
  7065  func (s ThrottlingException) GoString() string {
  7066  	return s.String()
  7067  }
  7068  
  7069  func newErrorThrottlingException(v protocol.ResponseMetadata) error {
  7070  	return &ThrottlingException{
  7071  		RespMetadata: v,
  7072  	}
  7073  }
  7074  
  7075  // Code returns the exception type name.
  7076  func (s *ThrottlingException) Code() string {
  7077  	return "ThrottlingException"
  7078  }
  7079  
  7080  // Message returns the exception's message.
  7081  func (s *ThrottlingException) Message() string {
  7082  	if s.Message_ != nil {
  7083  		return *s.Message_
  7084  	}
  7085  	return ""
  7086  }
  7087  
  7088  // OrigErr always returns nil, satisfies awserr.Error interface.
  7089  func (s *ThrottlingException) OrigErr() error {
  7090  	return nil
  7091  }
  7092  
  7093  func (s *ThrottlingException) Error() string {
  7094  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  7095  }
  7096  
  7097  // Status code returns the HTTP status code for the request's response error.
  7098  func (s *ThrottlingException) StatusCode() int {
  7099  	return s.RespMetadata.StatusCode
  7100  }
  7101  
  7102  // RequestID returns the service's response RequestID for request.
  7103  func (s *ThrottlingException) RequestID() string {
  7104  	return s.RespMetadata.RequestID
  7105  }
  7106  
  7107  type UntagResourceInput struct {
  7108  	_ struct{} `type:"structure" nopayload:"true"`
  7109  
  7110  	// ResourceArn is a required field
  7111  	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
  7112  
  7113  	// TagKeys is a required field
  7114  	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
  7115  }
  7116  
  7117  // String returns the string representation.
  7118  //
  7119  // API parameter values that are decorated as "sensitive" in the API will not
  7120  // be included in the string output. The member name will be present, but the
  7121  // value will be replaced with "sensitive".
  7122  func (s UntagResourceInput) String() string {
  7123  	return awsutil.Prettify(s)
  7124  }
  7125  
  7126  // GoString returns the string representation.
  7127  //
  7128  // API parameter values that are decorated as "sensitive" in the API will not
  7129  // be included in the string output. The member name will be present, but the
  7130  // value will be replaced with "sensitive".
  7131  func (s UntagResourceInput) GoString() string {
  7132  	return s.String()
  7133  }
  7134  
  7135  // Validate inspects the fields of the type to determine if they are valid.
  7136  func (s *UntagResourceInput) Validate() error {
  7137  	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
  7138  	if s.ResourceArn == nil {
  7139  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  7140  	}
  7141  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
  7142  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
  7143  	}
  7144  	if s.TagKeys == nil {
  7145  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
  7146  	}
  7147  
  7148  	if invalidParams.Len() > 0 {
  7149  		return invalidParams
  7150  	}
  7151  	return nil
  7152  }
  7153  
  7154  // SetResourceArn sets the ResourceArn field's value.
  7155  func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
  7156  	s.ResourceArn = &v
  7157  	return s
  7158  }
  7159  
  7160  // SetTagKeys sets the TagKeys field's value.
  7161  func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
  7162  	s.TagKeys = v
  7163  	return s
  7164  }
  7165  
  7166  type UntagResourceOutput struct {
  7167  	_ struct{} `type:"structure" nopayload:"true"`
  7168  }
  7169  
  7170  // String returns the string representation.
  7171  //
  7172  // API parameter values that are decorated as "sensitive" in the API will not
  7173  // be included in the string output. The member name will be present, but the
  7174  // value will be replaced with "sensitive".
  7175  func (s UntagResourceOutput) String() string {
  7176  	return awsutil.Prettify(s)
  7177  }
  7178  
  7179  // GoString returns the string representation.
  7180  //
  7181  // API parameter values that are decorated as "sensitive" in the API will not
  7182  // be included in the string output. The member name will be present, but the
  7183  // value will be replaced with "sensitive".
  7184  func (s UntagResourceOutput) GoString() string {
  7185  	return s.String()
  7186  }
  7187  
  7188  type UpdateCellInput struct {
  7189  	_ struct{} `type:"structure"`
  7190  
  7191  	// CellName is a required field
  7192  	CellName *string `location:"uri" locationName:"cellName" type:"string" required:"true"`
  7193  
  7194  	// Cells is a required field
  7195  	Cells []*string `locationName:"cells" type:"list" required:"true"`
  7196  }
  7197  
  7198  // String returns the string representation.
  7199  //
  7200  // API parameter values that are decorated as "sensitive" in the API will not
  7201  // be included in the string output. The member name will be present, but the
  7202  // value will be replaced with "sensitive".
  7203  func (s UpdateCellInput) String() string {
  7204  	return awsutil.Prettify(s)
  7205  }
  7206  
  7207  // GoString returns the string representation.
  7208  //
  7209  // API parameter values that are decorated as "sensitive" in the API will not
  7210  // be included in the string output. The member name will be present, but the
  7211  // value will be replaced with "sensitive".
  7212  func (s UpdateCellInput) GoString() string {
  7213  	return s.String()
  7214  }
  7215  
  7216  // Validate inspects the fields of the type to determine if they are valid.
  7217  func (s *UpdateCellInput) Validate() error {
  7218  	invalidParams := request.ErrInvalidParams{Context: "UpdateCellInput"}
  7219  	if s.CellName == nil {
  7220  		invalidParams.Add(request.NewErrParamRequired("CellName"))
  7221  	}
  7222  	if s.CellName != nil && len(*s.CellName) < 1 {
  7223  		invalidParams.Add(request.NewErrParamMinLen("CellName", 1))
  7224  	}
  7225  	if s.Cells == nil {
  7226  		invalidParams.Add(request.NewErrParamRequired("Cells"))
  7227  	}
  7228  
  7229  	if invalidParams.Len() > 0 {
  7230  		return invalidParams
  7231  	}
  7232  	return nil
  7233  }
  7234  
  7235  // SetCellName sets the CellName field's value.
  7236  func (s *UpdateCellInput) SetCellName(v string) *UpdateCellInput {
  7237  	s.CellName = &v
  7238  	return s
  7239  }
  7240  
  7241  // SetCells sets the Cells field's value.
  7242  func (s *UpdateCellInput) SetCells(v []*string) *UpdateCellInput {
  7243  	s.Cells = v
  7244  	return s
  7245  }
  7246  
  7247  type UpdateCellOutput struct {
  7248  	_ struct{} `type:"structure"`
  7249  
  7250  	CellArn *string `locationName:"cellArn" type:"string"`
  7251  
  7252  	CellName *string `locationName:"cellName" type:"string"`
  7253  
  7254  	Cells []*string `locationName:"cells" type:"list"`
  7255  
  7256  	ParentReadinessScopes []*string `locationName:"parentReadinessScopes" type:"list"`
  7257  
  7258  	// A collection of tags associated with a resource
  7259  	Tags map[string]*string `locationName:"tags" type:"map"`
  7260  }
  7261  
  7262  // String returns the string representation.
  7263  //
  7264  // API parameter values that are decorated as "sensitive" in the API will not
  7265  // be included in the string output. The member name will be present, but the
  7266  // value will be replaced with "sensitive".
  7267  func (s UpdateCellOutput) String() string {
  7268  	return awsutil.Prettify(s)
  7269  }
  7270  
  7271  // GoString returns the string representation.
  7272  //
  7273  // API parameter values that are decorated as "sensitive" in the API will not
  7274  // be included in the string output. The member name will be present, but the
  7275  // value will be replaced with "sensitive".
  7276  func (s UpdateCellOutput) GoString() string {
  7277  	return s.String()
  7278  }
  7279  
  7280  // SetCellArn sets the CellArn field's value.
  7281  func (s *UpdateCellOutput) SetCellArn(v string) *UpdateCellOutput {
  7282  	s.CellArn = &v
  7283  	return s
  7284  }
  7285  
  7286  // SetCellName sets the CellName field's value.
  7287  func (s *UpdateCellOutput) SetCellName(v string) *UpdateCellOutput {
  7288  	s.CellName = &v
  7289  	return s
  7290  }
  7291  
  7292  // SetCells sets the Cells field's value.
  7293  func (s *UpdateCellOutput) SetCells(v []*string) *UpdateCellOutput {
  7294  	s.Cells = v
  7295  	return s
  7296  }
  7297  
  7298  // SetParentReadinessScopes sets the ParentReadinessScopes field's value.
  7299  func (s *UpdateCellOutput) SetParentReadinessScopes(v []*string) *UpdateCellOutput {
  7300  	s.ParentReadinessScopes = v
  7301  	return s
  7302  }
  7303  
  7304  // SetTags sets the Tags field's value.
  7305  func (s *UpdateCellOutput) SetTags(v map[string]*string) *UpdateCellOutput {
  7306  	s.Tags = v
  7307  	return s
  7308  }
  7309  
  7310  type UpdateReadinessCheckInput struct {
  7311  	_ struct{} `type:"structure"`
  7312  
  7313  	// ReadinessCheckName is a required field
  7314  	ReadinessCheckName *string `location:"uri" locationName:"readinessCheckName" type:"string" required:"true"`
  7315  
  7316  	// ResourceSetName is a required field
  7317  	ResourceSetName *string `locationName:"resourceSetName" type:"string" required:"true"`
  7318  }
  7319  
  7320  // String returns the string representation.
  7321  //
  7322  // API parameter values that are decorated as "sensitive" in the API will not
  7323  // be included in the string output. The member name will be present, but the
  7324  // value will be replaced with "sensitive".
  7325  func (s UpdateReadinessCheckInput) String() string {
  7326  	return awsutil.Prettify(s)
  7327  }
  7328  
  7329  // GoString returns the string representation.
  7330  //
  7331  // API parameter values that are decorated as "sensitive" in the API will not
  7332  // be included in the string output. The member name will be present, but the
  7333  // value will be replaced with "sensitive".
  7334  func (s UpdateReadinessCheckInput) GoString() string {
  7335  	return s.String()
  7336  }
  7337  
  7338  // Validate inspects the fields of the type to determine if they are valid.
  7339  func (s *UpdateReadinessCheckInput) Validate() error {
  7340  	invalidParams := request.ErrInvalidParams{Context: "UpdateReadinessCheckInput"}
  7341  	if s.ReadinessCheckName == nil {
  7342  		invalidParams.Add(request.NewErrParamRequired("ReadinessCheckName"))
  7343  	}
  7344  	if s.ReadinessCheckName != nil && len(*s.ReadinessCheckName) < 1 {
  7345  		invalidParams.Add(request.NewErrParamMinLen("ReadinessCheckName", 1))
  7346  	}
  7347  	if s.ResourceSetName == nil {
  7348  		invalidParams.Add(request.NewErrParamRequired("ResourceSetName"))
  7349  	}
  7350  
  7351  	if invalidParams.Len() > 0 {
  7352  		return invalidParams
  7353  	}
  7354  	return nil
  7355  }
  7356  
  7357  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  7358  func (s *UpdateReadinessCheckInput) SetReadinessCheckName(v string) *UpdateReadinessCheckInput {
  7359  	s.ReadinessCheckName = &v
  7360  	return s
  7361  }
  7362  
  7363  // SetResourceSetName sets the ResourceSetName field's value.
  7364  func (s *UpdateReadinessCheckInput) SetResourceSetName(v string) *UpdateReadinessCheckInput {
  7365  	s.ResourceSetName = &v
  7366  	return s
  7367  }
  7368  
  7369  type UpdateReadinessCheckOutput struct {
  7370  	_ struct{} `type:"structure"`
  7371  
  7372  	ReadinessCheckArn *string `locationName:"readinessCheckArn" type:"string"`
  7373  
  7374  	ReadinessCheckName *string `locationName:"readinessCheckName" type:"string"`
  7375  
  7376  	ResourceSet *string `locationName:"resourceSet" type:"string"`
  7377  
  7378  	// A collection of tags associated with a resource
  7379  	Tags map[string]*string `locationName:"tags" type:"map"`
  7380  }
  7381  
  7382  // String returns the string representation.
  7383  //
  7384  // API parameter values that are decorated as "sensitive" in the API will not
  7385  // be included in the string output. The member name will be present, but the
  7386  // value will be replaced with "sensitive".
  7387  func (s UpdateReadinessCheckOutput) String() string {
  7388  	return awsutil.Prettify(s)
  7389  }
  7390  
  7391  // GoString returns the string representation.
  7392  //
  7393  // API parameter values that are decorated as "sensitive" in the API will not
  7394  // be included in the string output. The member name will be present, but the
  7395  // value will be replaced with "sensitive".
  7396  func (s UpdateReadinessCheckOutput) GoString() string {
  7397  	return s.String()
  7398  }
  7399  
  7400  // SetReadinessCheckArn sets the ReadinessCheckArn field's value.
  7401  func (s *UpdateReadinessCheckOutput) SetReadinessCheckArn(v string) *UpdateReadinessCheckOutput {
  7402  	s.ReadinessCheckArn = &v
  7403  	return s
  7404  }
  7405  
  7406  // SetReadinessCheckName sets the ReadinessCheckName field's value.
  7407  func (s *UpdateReadinessCheckOutput) SetReadinessCheckName(v string) *UpdateReadinessCheckOutput {
  7408  	s.ReadinessCheckName = &v
  7409  	return s
  7410  }
  7411  
  7412  // SetResourceSet sets the ResourceSet field's value.
  7413  func (s *UpdateReadinessCheckOutput) SetResourceSet(v string) *UpdateReadinessCheckOutput {
  7414  	s.ResourceSet = &v
  7415  	return s
  7416  }
  7417  
  7418  // SetTags sets the Tags field's value.
  7419  func (s *UpdateReadinessCheckOutput) SetTags(v map[string]*string) *UpdateReadinessCheckOutput {
  7420  	s.Tags = v
  7421  	return s
  7422  }
  7423  
  7424  type UpdateRecoveryGroupInput struct {
  7425  	_ struct{} `type:"structure"`
  7426  
  7427  	// Cells is a required field
  7428  	Cells []*string `locationName:"cells" type:"list" required:"true"`
  7429  
  7430  	// RecoveryGroupName is a required field
  7431  	RecoveryGroupName *string `location:"uri" locationName:"recoveryGroupName" type:"string" required:"true"`
  7432  }
  7433  
  7434  // String returns the string representation.
  7435  //
  7436  // API parameter values that are decorated as "sensitive" in the API will not
  7437  // be included in the string output. The member name will be present, but the
  7438  // value will be replaced with "sensitive".
  7439  func (s UpdateRecoveryGroupInput) String() string {
  7440  	return awsutil.Prettify(s)
  7441  }
  7442  
  7443  // GoString returns the string representation.
  7444  //
  7445  // API parameter values that are decorated as "sensitive" in the API will not
  7446  // be included in the string output. The member name will be present, but the
  7447  // value will be replaced with "sensitive".
  7448  func (s UpdateRecoveryGroupInput) GoString() string {
  7449  	return s.String()
  7450  }
  7451  
  7452  // Validate inspects the fields of the type to determine if they are valid.
  7453  func (s *UpdateRecoveryGroupInput) Validate() error {
  7454  	invalidParams := request.ErrInvalidParams{Context: "UpdateRecoveryGroupInput"}
  7455  	if s.Cells == nil {
  7456  		invalidParams.Add(request.NewErrParamRequired("Cells"))
  7457  	}
  7458  	if s.RecoveryGroupName == nil {
  7459  		invalidParams.Add(request.NewErrParamRequired("RecoveryGroupName"))
  7460  	}
  7461  	if s.RecoveryGroupName != nil && len(*s.RecoveryGroupName) < 1 {
  7462  		invalidParams.Add(request.NewErrParamMinLen("RecoveryGroupName", 1))
  7463  	}
  7464  
  7465  	if invalidParams.Len() > 0 {
  7466  		return invalidParams
  7467  	}
  7468  	return nil
  7469  }
  7470  
  7471  // SetCells sets the Cells field's value.
  7472  func (s *UpdateRecoveryGroupInput) SetCells(v []*string) *UpdateRecoveryGroupInput {
  7473  	s.Cells = v
  7474  	return s
  7475  }
  7476  
  7477  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  7478  func (s *UpdateRecoveryGroupInput) SetRecoveryGroupName(v string) *UpdateRecoveryGroupInput {
  7479  	s.RecoveryGroupName = &v
  7480  	return s
  7481  }
  7482  
  7483  type UpdateRecoveryGroupOutput struct {
  7484  	_ struct{} `type:"structure"`
  7485  
  7486  	Cells []*string `locationName:"cells" type:"list"`
  7487  
  7488  	RecoveryGroupArn *string `locationName:"recoveryGroupArn" type:"string"`
  7489  
  7490  	RecoveryGroupName *string `locationName:"recoveryGroupName" type:"string"`
  7491  
  7492  	// A collection of tags associated with a resource
  7493  	Tags map[string]*string `locationName:"tags" type:"map"`
  7494  }
  7495  
  7496  // String returns the string representation.
  7497  //
  7498  // API parameter values that are decorated as "sensitive" in the API will not
  7499  // be included in the string output. The member name will be present, but the
  7500  // value will be replaced with "sensitive".
  7501  func (s UpdateRecoveryGroupOutput) String() string {
  7502  	return awsutil.Prettify(s)
  7503  }
  7504  
  7505  // GoString returns the string representation.
  7506  //
  7507  // API parameter values that are decorated as "sensitive" in the API will not
  7508  // be included in the string output. The member name will be present, but the
  7509  // value will be replaced with "sensitive".
  7510  func (s UpdateRecoveryGroupOutput) GoString() string {
  7511  	return s.String()
  7512  }
  7513  
  7514  // SetCells sets the Cells field's value.
  7515  func (s *UpdateRecoveryGroupOutput) SetCells(v []*string) *UpdateRecoveryGroupOutput {
  7516  	s.Cells = v
  7517  	return s
  7518  }
  7519  
  7520  // SetRecoveryGroupArn sets the RecoveryGroupArn field's value.
  7521  func (s *UpdateRecoveryGroupOutput) SetRecoveryGroupArn(v string) *UpdateRecoveryGroupOutput {
  7522  	s.RecoveryGroupArn = &v
  7523  	return s
  7524  }
  7525  
  7526  // SetRecoveryGroupName sets the RecoveryGroupName field's value.
  7527  func (s *UpdateRecoveryGroupOutput) SetRecoveryGroupName(v string) *UpdateRecoveryGroupOutput {
  7528  	s.RecoveryGroupName = &v
  7529  	return s
  7530  }
  7531  
  7532  // SetTags sets the Tags field's value.
  7533  func (s *UpdateRecoveryGroupOutput) SetTags(v map[string]*string) *UpdateRecoveryGroupOutput {
  7534  	s.Tags = v
  7535  	return s
  7536  }
  7537  
  7538  type UpdateResourceSetInput struct {
  7539  	_ struct{} `type:"structure"`
  7540  
  7541  	// ResourceSetName is a required field
  7542  	ResourceSetName *string `location:"uri" locationName:"resourceSetName" type:"string" required:"true"`
  7543  
  7544  	// ResourceSetType is a required field
  7545  	ResourceSetType *string `locationName:"resourceSetType" type:"string" required:"true"`
  7546  
  7547  	// Resources is a required field
  7548  	Resources []*Resource `locationName:"resources" type:"list" required:"true"`
  7549  }
  7550  
  7551  // String returns the string representation.
  7552  //
  7553  // API parameter values that are decorated as "sensitive" in the API will not
  7554  // be included in the string output. The member name will be present, but the
  7555  // value will be replaced with "sensitive".
  7556  func (s UpdateResourceSetInput) String() string {
  7557  	return awsutil.Prettify(s)
  7558  }
  7559  
  7560  // GoString returns the string representation.
  7561  //
  7562  // API parameter values that are decorated as "sensitive" in the API will not
  7563  // be included in the string output. The member name will be present, but the
  7564  // value will be replaced with "sensitive".
  7565  func (s UpdateResourceSetInput) GoString() string {
  7566  	return s.String()
  7567  }
  7568  
  7569  // Validate inspects the fields of the type to determine if they are valid.
  7570  func (s *UpdateResourceSetInput) Validate() error {
  7571  	invalidParams := request.ErrInvalidParams{Context: "UpdateResourceSetInput"}
  7572  	if s.ResourceSetName == nil {
  7573  		invalidParams.Add(request.NewErrParamRequired("ResourceSetName"))
  7574  	}
  7575  	if s.ResourceSetName != nil && len(*s.ResourceSetName) < 1 {
  7576  		invalidParams.Add(request.NewErrParamMinLen("ResourceSetName", 1))
  7577  	}
  7578  	if s.ResourceSetType == nil {
  7579  		invalidParams.Add(request.NewErrParamRequired("ResourceSetType"))
  7580  	}
  7581  	if s.Resources == nil {
  7582  		invalidParams.Add(request.NewErrParamRequired("Resources"))
  7583  	}
  7584  
  7585  	if invalidParams.Len() > 0 {
  7586  		return invalidParams
  7587  	}
  7588  	return nil
  7589  }
  7590  
  7591  // SetResourceSetName sets the ResourceSetName field's value.
  7592  func (s *UpdateResourceSetInput) SetResourceSetName(v string) *UpdateResourceSetInput {
  7593  	s.ResourceSetName = &v
  7594  	return s
  7595  }
  7596  
  7597  // SetResourceSetType sets the ResourceSetType field's value.
  7598  func (s *UpdateResourceSetInput) SetResourceSetType(v string) *UpdateResourceSetInput {
  7599  	s.ResourceSetType = &v
  7600  	return s
  7601  }
  7602  
  7603  // SetResources sets the Resources field's value.
  7604  func (s *UpdateResourceSetInput) SetResources(v []*Resource) *UpdateResourceSetInput {
  7605  	s.Resources = v
  7606  	return s
  7607  }
  7608  
  7609  type UpdateResourceSetOutput struct {
  7610  	_ struct{} `type:"structure"`
  7611  
  7612  	ResourceSetArn *string `locationName:"resourceSetArn" type:"string"`
  7613  
  7614  	ResourceSetName *string `locationName:"resourceSetName" type:"string"`
  7615  
  7616  	ResourceSetType *string `locationName:"resourceSetType" type:"string"`
  7617  
  7618  	Resources []*Resource `locationName:"resources" type:"list"`
  7619  
  7620  	// A collection of tags associated with a resource
  7621  	Tags map[string]*string `locationName:"tags" type:"map"`
  7622  }
  7623  
  7624  // String returns the string representation.
  7625  //
  7626  // API parameter values that are decorated as "sensitive" in the API will not
  7627  // be included in the string output. The member name will be present, but the
  7628  // value will be replaced with "sensitive".
  7629  func (s UpdateResourceSetOutput) String() string {
  7630  	return awsutil.Prettify(s)
  7631  }
  7632  
  7633  // GoString returns the string representation.
  7634  //
  7635  // API parameter values that are decorated as "sensitive" in the API will not
  7636  // be included in the string output. The member name will be present, but the
  7637  // value will be replaced with "sensitive".
  7638  func (s UpdateResourceSetOutput) GoString() string {
  7639  	return s.String()
  7640  }
  7641  
  7642  // SetResourceSetArn sets the ResourceSetArn field's value.
  7643  func (s *UpdateResourceSetOutput) SetResourceSetArn(v string) *UpdateResourceSetOutput {
  7644  	s.ResourceSetArn = &v
  7645  	return s
  7646  }
  7647  
  7648  // SetResourceSetName sets the ResourceSetName field's value.
  7649  func (s *UpdateResourceSetOutput) SetResourceSetName(v string) *UpdateResourceSetOutput {
  7650  	s.ResourceSetName = &v
  7651  	return s
  7652  }
  7653  
  7654  // SetResourceSetType sets the ResourceSetType field's value.
  7655  func (s *UpdateResourceSetOutput) SetResourceSetType(v string) *UpdateResourceSetOutput {
  7656  	s.ResourceSetType = &v
  7657  	return s
  7658  }
  7659  
  7660  // SetResources sets the Resources field's value.
  7661  func (s *UpdateResourceSetOutput) SetResources(v []*Resource) *UpdateResourceSetOutput {
  7662  	s.Resources = v
  7663  	return s
  7664  }
  7665  
  7666  // SetTags sets the Tags field's value.
  7667  func (s *UpdateResourceSetOutput) SetTags(v map[string]*string) *UpdateResourceSetOutput {
  7668  	s.Tags = v
  7669  	return s
  7670  }
  7671  
  7672  type ValidationException struct {
  7673  	_            struct{}                  `type:"structure"`
  7674  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  7675  
  7676  	Message_ *string `locationName:"message" type:"string"`
  7677  }
  7678  
  7679  // String returns the string representation.
  7680  //
  7681  // API parameter values that are decorated as "sensitive" in the API will not
  7682  // be included in the string output. The member name will be present, but the
  7683  // value will be replaced with "sensitive".
  7684  func (s ValidationException) String() string {
  7685  	return awsutil.Prettify(s)
  7686  }
  7687  
  7688  // GoString returns the string representation.
  7689  //
  7690  // API parameter values that are decorated as "sensitive" in the API will not
  7691  // be included in the string output. The member name will be present, but the
  7692  // value will be replaced with "sensitive".
  7693  func (s ValidationException) GoString() string {
  7694  	return s.String()
  7695  }
  7696  
  7697  func newErrorValidationException(v protocol.ResponseMetadata) error {
  7698  	return &ValidationException{
  7699  		RespMetadata: v,
  7700  	}
  7701  }
  7702  
  7703  // Code returns the exception type name.
  7704  func (s *ValidationException) Code() string {
  7705  	return "ValidationException"
  7706  }
  7707  
  7708  // Message returns the exception's message.
  7709  func (s *ValidationException) Message() string {
  7710  	if s.Message_ != nil {
  7711  		return *s.Message_
  7712  	}
  7713  	return ""
  7714  }
  7715  
  7716  // OrigErr always returns nil, satisfies awserr.Error interface.
  7717  func (s *ValidationException) OrigErr() error {
  7718  	return nil
  7719  }
  7720  
  7721  func (s *ValidationException) Error() string {
  7722  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  7723  }
  7724  
  7725  // Status code returns the HTTP status code for the request's response error.
  7726  func (s *ValidationException) StatusCode() int {
  7727  	return s.RespMetadata.StatusCode
  7728  }
  7729  
  7730  // RequestID returns the service's response RequestID for request.
  7731  func (s *ValidationException) RequestID() string {
  7732  	return s.RespMetadata.RequestID
  7733  }
  7734  
  7735  // The readiness of an entire ReadinessCheck or an individual resource ARN.
  7736  const (
  7737  	// ReadinessReady is a Readiness enum value
  7738  	ReadinessReady = "READY"
  7739  
  7740  	// ReadinessNotReady is a Readiness enum value
  7741  	ReadinessNotReady = "NOT_READY"
  7742  
  7743  	// ReadinessUnknown is a Readiness enum value
  7744  	ReadinessUnknown = "UNKNOWN"
  7745  
  7746  	// ReadinessNotAuthorized is a Readiness enum value
  7747  	ReadinessNotAuthorized = "NOT_AUTHORIZED"
  7748  )
  7749  
  7750  // Readiness_Values returns all elements of the Readiness enum
  7751  func Readiness_Values() []string {
  7752  	return []string{
  7753  		ReadinessReady,
  7754  		ReadinessNotReady,
  7755  		ReadinessUnknown,
  7756  		ReadinessNotAuthorized,
  7757  	}
  7758  }