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

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package macie2
     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 opAcceptInvitation = "AcceptInvitation"
    17  
    18  // AcceptInvitationRequest generates a "aws/request.Request" representing the
    19  // client's request for the AcceptInvitation 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 AcceptInvitation for more information on using the AcceptInvitation
    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 AcceptInvitationRequest method.
    34  //    req, resp := client.AcceptInvitationRequest(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/macie2-2020-01-01/AcceptInvitation
    42  func (c *Macie2) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput) {
    43  	op := &request.Operation{
    44  		Name:       opAcceptInvitation,
    45  		HTTPMethod: "POST",
    46  		HTTPPath:   "/invitations/accept",
    47  	}
    48  
    49  	if input == nil {
    50  		input = &AcceptInvitationInput{}
    51  	}
    52  
    53  	output = &AcceptInvitationOutput{}
    54  	req = c.newRequest(op, input, output)
    55  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
    56  	return
    57  }
    58  
    59  // AcceptInvitation API operation for Amazon Macie 2.
    60  //
    61  // Accepts an Amazon Macie membership invitation that was received from a specific
    62  // account.
    63  //
    64  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
    65  // with awserr.Error's Code and Message methods to get detailed information about
    66  // the error.
    67  //
    68  // See the AWS API reference guide for Amazon Macie 2's
    69  // API operation AcceptInvitation for usage and error information.
    70  //
    71  // Returned Error Types:
    72  //   * ValidationException
    73  //   Provides information about an error that occurred due to a syntax error in
    74  //   a request.
    75  //
    76  //   * InternalServerException
    77  //   Provides information about an error that occurred due to an unknown internal
    78  //   server error, exception, or failure.
    79  //
    80  //   * ServiceQuotaExceededException
    81  //   Provides information about an error that occurred due to one or more service
    82  //   quotas for an account.
    83  //
    84  //   * AccessDeniedException
    85  //   Provides information about an error that occurred due to insufficient access
    86  //   to a specified resource.
    87  //
    88  //   * ResourceNotFoundException
    89  //   Provides information about an error that occurred because a specified resource
    90  //   wasn't found.
    91  //
    92  //   * ThrottlingException
    93  //   Provides information about an error that occurred because too many requests
    94  //   were sent during a certain amount of time.
    95  //
    96  //   * ConflictException
    97  //   Provides information about an error that occurred due to a versioning conflict
    98  //   for a specified resource.
    99  //
   100  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation
   101  func (c *Macie2) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error) {
   102  	req, out := c.AcceptInvitationRequest(input)
   103  	return out, req.Send()
   104  }
   105  
   106  // AcceptInvitationWithContext is the same as AcceptInvitation with the addition of
   107  // the ability to pass a context and additional request options.
   108  //
   109  // See AcceptInvitation for details on how to use this API operation.
   110  //
   111  // The context must be non-nil and will be used for request cancellation. If
   112  // the context is nil a panic will occur. In the future the SDK may create
   113  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   114  // for more information on using Contexts.
   115  func (c *Macie2) AcceptInvitationWithContext(ctx aws.Context, input *AcceptInvitationInput, opts ...request.Option) (*AcceptInvitationOutput, error) {
   116  	req, out := c.AcceptInvitationRequest(input)
   117  	req.SetContext(ctx)
   118  	req.ApplyOptions(opts...)
   119  	return out, req.Send()
   120  }
   121  
   122  const opBatchGetCustomDataIdentifiers = "BatchGetCustomDataIdentifiers"
   123  
   124  // BatchGetCustomDataIdentifiersRequest generates a "aws/request.Request" representing the
   125  // client's request for the BatchGetCustomDataIdentifiers operation. The "output" return
   126  // value will be populated with the request's response once the request completes
   127  // successfully.
   128  //
   129  // Use "Send" method on the returned Request to send the API call to the service.
   130  // the "output" return value is not valid until after Send returns without error.
   131  //
   132  // See BatchGetCustomDataIdentifiers for more information on using the BatchGetCustomDataIdentifiers
   133  // API call, and error handling.
   134  //
   135  // This method is useful when you want to inject custom logic or configuration
   136  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   137  //
   138  //
   139  //    // Example sending a request using the BatchGetCustomDataIdentifiersRequest method.
   140  //    req, resp := client.BatchGetCustomDataIdentifiersRequest(params)
   141  //
   142  //    err := req.Send()
   143  //    if err == nil { // resp is now filled
   144  //        fmt.Println(resp)
   145  //    }
   146  //
   147  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers
   148  func (c *Macie2) BatchGetCustomDataIdentifiersRequest(input *BatchGetCustomDataIdentifiersInput) (req *request.Request, output *BatchGetCustomDataIdentifiersOutput) {
   149  	op := &request.Operation{
   150  		Name:       opBatchGetCustomDataIdentifiers,
   151  		HTTPMethod: "POST",
   152  		HTTPPath:   "/custom-data-identifiers/get",
   153  	}
   154  
   155  	if input == nil {
   156  		input = &BatchGetCustomDataIdentifiersInput{}
   157  	}
   158  
   159  	output = &BatchGetCustomDataIdentifiersOutput{}
   160  	req = c.newRequest(op, input, output)
   161  	return
   162  }
   163  
   164  // BatchGetCustomDataIdentifiers API operation for Amazon Macie 2.
   165  //
   166  // Retrieves information about one or more custom data identifiers.
   167  //
   168  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   169  // with awserr.Error's Code and Message methods to get detailed information about
   170  // the error.
   171  //
   172  // See the AWS API reference guide for Amazon Macie 2's
   173  // API operation BatchGetCustomDataIdentifiers for usage and error information.
   174  //
   175  // Returned Error Types:
   176  //   * ValidationException
   177  //   Provides information about an error that occurred due to a syntax error in
   178  //   a request.
   179  //
   180  //   * InternalServerException
   181  //   Provides information about an error that occurred due to an unknown internal
   182  //   server error, exception, or failure.
   183  //
   184  //   * ServiceQuotaExceededException
   185  //   Provides information about an error that occurred due to one or more service
   186  //   quotas for an account.
   187  //
   188  //   * AccessDeniedException
   189  //   Provides information about an error that occurred due to insufficient access
   190  //   to a specified resource.
   191  //
   192  //   * ResourceNotFoundException
   193  //   Provides information about an error that occurred because a specified resource
   194  //   wasn't found.
   195  //
   196  //   * ThrottlingException
   197  //   Provides information about an error that occurred because too many requests
   198  //   were sent during a certain amount of time.
   199  //
   200  //   * ConflictException
   201  //   Provides information about an error that occurred due to a versioning conflict
   202  //   for a specified resource.
   203  //
   204  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers
   205  func (c *Macie2) BatchGetCustomDataIdentifiers(input *BatchGetCustomDataIdentifiersInput) (*BatchGetCustomDataIdentifiersOutput, error) {
   206  	req, out := c.BatchGetCustomDataIdentifiersRequest(input)
   207  	return out, req.Send()
   208  }
   209  
   210  // BatchGetCustomDataIdentifiersWithContext is the same as BatchGetCustomDataIdentifiers with the addition of
   211  // the ability to pass a context and additional request options.
   212  //
   213  // See BatchGetCustomDataIdentifiers for details on how to use this API operation.
   214  //
   215  // The context must be non-nil and will be used for request cancellation. If
   216  // the context is nil a panic will occur. In the future the SDK may create
   217  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   218  // for more information on using Contexts.
   219  func (c *Macie2) BatchGetCustomDataIdentifiersWithContext(ctx aws.Context, input *BatchGetCustomDataIdentifiersInput, opts ...request.Option) (*BatchGetCustomDataIdentifiersOutput, error) {
   220  	req, out := c.BatchGetCustomDataIdentifiersRequest(input)
   221  	req.SetContext(ctx)
   222  	req.ApplyOptions(opts...)
   223  	return out, req.Send()
   224  }
   225  
   226  const opCreateClassificationJob = "CreateClassificationJob"
   227  
   228  // CreateClassificationJobRequest generates a "aws/request.Request" representing the
   229  // client's request for the CreateClassificationJob operation. The "output" return
   230  // value will be populated with the request's response once the request completes
   231  // successfully.
   232  //
   233  // Use "Send" method on the returned Request to send the API call to the service.
   234  // the "output" return value is not valid until after Send returns without error.
   235  //
   236  // See CreateClassificationJob for more information on using the CreateClassificationJob
   237  // API call, and error handling.
   238  //
   239  // This method is useful when you want to inject custom logic or configuration
   240  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   241  //
   242  //
   243  //    // Example sending a request using the CreateClassificationJobRequest method.
   244  //    req, resp := client.CreateClassificationJobRequest(params)
   245  //
   246  //    err := req.Send()
   247  //    if err == nil { // resp is now filled
   248  //        fmt.Println(resp)
   249  //    }
   250  //
   251  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob
   252  func (c *Macie2) CreateClassificationJobRequest(input *CreateClassificationJobInput) (req *request.Request, output *CreateClassificationJobOutput) {
   253  	op := &request.Operation{
   254  		Name:       opCreateClassificationJob,
   255  		HTTPMethod: "POST",
   256  		HTTPPath:   "/jobs",
   257  	}
   258  
   259  	if input == nil {
   260  		input = &CreateClassificationJobInput{}
   261  	}
   262  
   263  	output = &CreateClassificationJobOutput{}
   264  	req = c.newRequest(op, input, output)
   265  	return
   266  }
   267  
   268  // CreateClassificationJob API operation for Amazon Macie 2.
   269  //
   270  // Creates and defines the settings for a classification job.
   271  //
   272  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   273  // with awserr.Error's Code and Message methods to get detailed information about
   274  // the error.
   275  //
   276  // See the AWS API reference guide for Amazon Macie 2's
   277  // API operation CreateClassificationJob for usage and error information.
   278  //
   279  // Returned Error Types:
   280  //   * ValidationException
   281  //   Provides information about an error that occurred due to a syntax error in
   282  //   a request.
   283  //
   284  //   * InternalServerException
   285  //   Provides information about an error that occurred due to an unknown internal
   286  //   server error, exception, or failure.
   287  //
   288  //   * ServiceQuotaExceededException
   289  //   Provides information about an error that occurred due to one or more service
   290  //   quotas for an account.
   291  //
   292  //   * AccessDeniedException
   293  //   Provides information about an error that occurred due to insufficient access
   294  //   to a specified resource.
   295  //
   296  //   * ResourceNotFoundException
   297  //   Provides information about an error that occurred because a specified resource
   298  //   wasn't found.
   299  //
   300  //   * ThrottlingException
   301  //   Provides information about an error that occurred because too many requests
   302  //   were sent during a certain amount of time.
   303  //
   304  //   * ConflictException
   305  //   Provides information about an error that occurred due to a versioning conflict
   306  //   for a specified resource.
   307  //
   308  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob
   309  func (c *Macie2) CreateClassificationJob(input *CreateClassificationJobInput) (*CreateClassificationJobOutput, error) {
   310  	req, out := c.CreateClassificationJobRequest(input)
   311  	return out, req.Send()
   312  }
   313  
   314  // CreateClassificationJobWithContext is the same as CreateClassificationJob with the addition of
   315  // the ability to pass a context and additional request options.
   316  //
   317  // See CreateClassificationJob for details on how to use this API operation.
   318  //
   319  // The context must be non-nil and will be used for request cancellation. If
   320  // the context is nil a panic will occur. In the future the SDK may create
   321  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   322  // for more information on using Contexts.
   323  func (c *Macie2) CreateClassificationJobWithContext(ctx aws.Context, input *CreateClassificationJobInput, opts ...request.Option) (*CreateClassificationJobOutput, error) {
   324  	req, out := c.CreateClassificationJobRequest(input)
   325  	req.SetContext(ctx)
   326  	req.ApplyOptions(opts...)
   327  	return out, req.Send()
   328  }
   329  
   330  const opCreateCustomDataIdentifier = "CreateCustomDataIdentifier"
   331  
   332  // CreateCustomDataIdentifierRequest generates a "aws/request.Request" representing the
   333  // client's request for the CreateCustomDataIdentifier operation. The "output" return
   334  // value will be populated with the request's response once the request completes
   335  // successfully.
   336  //
   337  // Use "Send" method on the returned Request to send the API call to the service.
   338  // the "output" return value is not valid until after Send returns without error.
   339  //
   340  // See CreateCustomDataIdentifier for more information on using the CreateCustomDataIdentifier
   341  // API call, and error handling.
   342  //
   343  // This method is useful when you want to inject custom logic or configuration
   344  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   345  //
   346  //
   347  //    // Example sending a request using the CreateCustomDataIdentifierRequest method.
   348  //    req, resp := client.CreateCustomDataIdentifierRequest(params)
   349  //
   350  //    err := req.Send()
   351  //    if err == nil { // resp is now filled
   352  //        fmt.Println(resp)
   353  //    }
   354  //
   355  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier
   356  func (c *Macie2) CreateCustomDataIdentifierRequest(input *CreateCustomDataIdentifierInput) (req *request.Request, output *CreateCustomDataIdentifierOutput) {
   357  	op := &request.Operation{
   358  		Name:       opCreateCustomDataIdentifier,
   359  		HTTPMethod: "POST",
   360  		HTTPPath:   "/custom-data-identifiers",
   361  	}
   362  
   363  	if input == nil {
   364  		input = &CreateCustomDataIdentifierInput{}
   365  	}
   366  
   367  	output = &CreateCustomDataIdentifierOutput{}
   368  	req = c.newRequest(op, input, output)
   369  	return
   370  }
   371  
   372  // CreateCustomDataIdentifier API operation for Amazon Macie 2.
   373  //
   374  // Creates and defines the criteria and other settings for a custom data identifier.
   375  //
   376  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   377  // with awserr.Error's Code and Message methods to get detailed information about
   378  // the error.
   379  //
   380  // See the AWS API reference guide for Amazon Macie 2's
   381  // API operation CreateCustomDataIdentifier for usage and error information.
   382  //
   383  // Returned Error Types:
   384  //   * ValidationException
   385  //   Provides information about an error that occurred due to a syntax error in
   386  //   a request.
   387  //
   388  //   * InternalServerException
   389  //   Provides information about an error that occurred due to an unknown internal
   390  //   server error, exception, or failure.
   391  //
   392  //   * ServiceQuotaExceededException
   393  //   Provides information about an error that occurred due to one or more service
   394  //   quotas for an account.
   395  //
   396  //   * AccessDeniedException
   397  //   Provides information about an error that occurred due to insufficient access
   398  //   to a specified resource.
   399  //
   400  //   * ResourceNotFoundException
   401  //   Provides information about an error that occurred because a specified resource
   402  //   wasn't found.
   403  //
   404  //   * ThrottlingException
   405  //   Provides information about an error that occurred because too many requests
   406  //   were sent during a certain amount of time.
   407  //
   408  //   * ConflictException
   409  //   Provides information about an error that occurred due to a versioning conflict
   410  //   for a specified resource.
   411  //
   412  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier
   413  func (c *Macie2) CreateCustomDataIdentifier(input *CreateCustomDataIdentifierInput) (*CreateCustomDataIdentifierOutput, error) {
   414  	req, out := c.CreateCustomDataIdentifierRequest(input)
   415  	return out, req.Send()
   416  }
   417  
   418  // CreateCustomDataIdentifierWithContext is the same as CreateCustomDataIdentifier with the addition of
   419  // the ability to pass a context and additional request options.
   420  //
   421  // See CreateCustomDataIdentifier for details on how to use this API operation.
   422  //
   423  // The context must be non-nil and will be used for request cancellation. If
   424  // the context is nil a panic will occur. In the future the SDK may create
   425  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   426  // for more information on using Contexts.
   427  func (c *Macie2) CreateCustomDataIdentifierWithContext(ctx aws.Context, input *CreateCustomDataIdentifierInput, opts ...request.Option) (*CreateCustomDataIdentifierOutput, error) {
   428  	req, out := c.CreateCustomDataIdentifierRequest(input)
   429  	req.SetContext(ctx)
   430  	req.ApplyOptions(opts...)
   431  	return out, req.Send()
   432  }
   433  
   434  const opCreateFindingsFilter = "CreateFindingsFilter"
   435  
   436  // CreateFindingsFilterRequest generates a "aws/request.Request" representing the
   437  // client's request for the CreateFindingsFilter operation. The "output" return
   438  // value will be populated with the request's response once the request completes
   439  // successfully.
   440  //
   441  // Use "Send" method on the returned Request to send the API call to the service.
   442  // the "output" return value is not valid until after Send returns without error.
   443  //
   444  // See CreateFindingsFilter for more information on using the CreateFindingsFilter
   445  // API call, and error handling.
   446  //
   447  // This method is useful when you want to inject custom logic or configuration
   448  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   449  //
   450  //
   451  //    // Example sending a request using the CreateFindingsFilterRequest method.
   452  //    req, resp := client.CreateFindingsFilterRequest(params)
   453  //
   454  //    err := req.Send()
   455  //    if err == nil { // resp is now filled
   456  //        fmt.Println(resp)
   457  //    }
   458  //
   459  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter
   460  func (c *Macie2) CreateFindingsFilterRequest(input *CreateFindingsFilterInput) (req *request.Request, output *CreateFindingsFilterOutput) {
   461  	op := &request.Operation{
   462  		Name:       opCreateFindingsFilter,
   463  		HTTPMethod: "POST",
   464  		HTTPPath:   "/findingsfilters",
   465  	}
   466  
   467  	if input == nil {
   468  		input = &CreateFindingsFilterInput{}
   469  	}
   470  
   471  	output = &CreateFindingsFilterOutput{}
   472  	req = c.newRequest(op, input, output)
   473  	return
   474  }
   475  
   476  // CreateFindingsFilter API operation for Amazon Macie 2.
   477  //
   478  // Creates and defines the criteria and other settings for a findings filter.
   479  //
   480  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   481  // with awserr.Error's Code and Message methods to get detailed information about
   482  // the error.
   483  //
   484  // See the AWS API reference guide for Amazon Macie 2's
   485  // API operation CreateFindingsFilter for usage and error information.
   486  //
   487  // Returned Error Types:
   488  //   * ValidationException
   489  //   Provides information about an error that occurred due to a syntax error in
   490  //   a request.
   491  //
   492  //   * InternalServerException
   493  //   Provides information about an error that occurred due to an unknown internal
   494  //   server error, exception, or failure.
   495  //
   496  //   * ServiceQuotaExceededException
   497  //   Provides information about an error that occurred due to one or more service
   498  //   quotas for an account.
   499  //
   500  //   * AccessDeniedException
   501  //   Provides information about an error that occurred due to insufficient access
   502  //   to a specified resource.
   503  //
   504  //   * ResourceNotFoundException
   505  //   Provides information about an error that occurred because a specified resource
   506  //   wasn't found.
   507  //
   508  //   * ThrottlingException
   509  //   Provides information about an error that occurred because too many requests
   510  //   were sent during a certain amount of time.
   511  //
   512  //   * ConflictException
   513  //   Provides information about an error that occurred due to a versioning conflict
   514  //   for a specified resource.
   515  //
   516  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter
   517  func (c *Macie2) CreateFindingsFilter(input *CreateFindingsFilterInput) (*CreateFindingsFilterOutput, error) {
   518  	req, out := c.CreateFindingsFilterRequest(input)
   519  	return out, req.Send()
   520  }
   521  
   522  // CreateFindingsFilterWithContext is the same as CreateFindingsFilter with the addition of
   523  // the ability to pass a context and additional request options.
   524  //
   525  // See CreateFindingsFilter for details on how to use this API operation.
   526  //
   527  // The context must be non-nil and will be used for request cancellation. If
   528  // the context is nil a panic will occur. In the future the SDK may create
   529  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   530  // for more information on using Contexts.
   531  func (c *Macie2) CreateFindingsFilterWithContext(ctx aws.Context, input *CreateFindingsFilterInput, opts ...request.Option) (*CreateFindingsFilterOutput, error) {
   532  	req, out := c.CreateFindingsFilterRequest(input)
   533  	req.SetContext(ctx)
   534  	req.ApplyOptions(opts...)
   535  	return out, req.Send()
   536  }
   537  
   538  const opCreateInvitations = "CreateInvitations"
   539  
   540  // CreateInvitationsRequest generates a "aws/request.Request" representing the
   541  // client's request for the CreateInvitations operation. The "output" return
   542  // value will be populated with the request's response once the request completes
   543  // successfully.
   544  //
   545  // Use "Send" method on the returned Request to send the API call to the service.
   546  // the "output" return value is not valid until after Send returns without error.
   547  //
   548  // See CreateInvitations for more information on using the CreateInvitations
   549  // API call, and error handling.
   550  //
   551  // This method is useful when you want to inject custom logic or configuration
   552  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   553  //
   554  //
   555  //    // Example sending a request using the CreateInvitationsRequest method.
   556  //    req, resp := client.CreateInvitationsRequest(params)
   557  //
   558  //    err := req.Send()
   559  //    if err == nil { // resp is now filled
   560  //        fmt.Println(resp)
   561  //    }
   562  //
   563  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations
   564  func (c *Macie2) CreateInvitationsRequest(input *CreateInvitationsInput) (req *request.Request, output *CreateInvitationsOutput) {
   565  	op := &request.Operation{
   566  		Name:       opCreateInvitations,
   567  		HTTPMethod: "POST",
   568  		HTTPPath:   "/invitations",
   569  	}
   570  
   571  	if input == nil {
   572  		input = &CreateInvitationsInput{}
   573  	}
   574  
   575  	output = &CreateInvitationsOutput{}
   576  	req = c.newRequest(op, input, output)
   577  	return
   578  }
   579  
   580  // CreateInvitations API operation for Amazon Macie 2.
   581  //
   582  // Sends an Amazon Macie membership invitation to one or more accounts.
   583  //
   584  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   585  // with awserr.Error's Code and Message methods to get detailed information about
   586  // the error.
   587  //
   588  // See the AWS API reference guide for Amazon Macie 2's
   589  // API operation CreateInvitations for usage and error information.
   590  //
   591  // Returned Error Types:
   592  //   * ValidationException
   593  //   Provides information about an error that occurred due to a syntax error in
   594  //   a request.
   595  //
   596  //   * InternalServerException
   597  //   Provides information about an error that occurred due to an unknown internal
   598  //   server error, exception, or failure.
   599  //
   600  //   * ServiceQuotaExceededException
   601  //   Provides information about an error that occurred due to one or more service
   602  //   quotas for an account.
   603  //
   604  //   * AccessDeniedException
   605  //   Provides information about an error that occurred due to insufficient access
   606  //   to a specified resource.
   607  //
   608  //   * ResourceNotFoundException
   609  //   Provides information about an error that occurred because a specified resource
   610  //   wasn't found.
   611  //
   612  //   * ThrottlingException
   613  //   Provides information about an error that occurred because too many requests
   614  //   were sent during a certain amount of time.
   615  //
   616  //   * ConflictException
   617  //   Provides information about an error that occurred due to a versioning conflict
   618  //   for a specified resource.
   619  //
   620  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations
   621  func (c *Macie2) CreateInvitations(input *CreateInvitationsInput) (*CreateInvitationsOutput, error) {
   622  	req, out := c.CreateInvitationsRequest(input)
   623  	return out, req.Send()
   624  }
   625  
   626  // CreateInvitationsWithContext is the same as CreateInvitations with the addition of
   627  // the ability to pass a context and additional request options.
   628  //
   629  // See CreateInvitations for details on how to use this API operation.
   630  //
   631  // The context must be non-nil and will be used for request cancellation. If
   632  // the context is nil a panic will occur. In the future the SDK may create
   633  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   634  // for more information on using Contexts.
   635  func (c *Macie2) CreateInvitationsWithContext(ctx aws.Context, input *CreateInvitationsInput, opts ...request.Option) (*CreateInvitationsOutput, error) {
   636  	req, out := c.CreateInvitationsRequest(input)
   637  	req.SetContext(ctx)
   638  	req.ApplyOptions(opts...)
   639  	return out, req.Send()
   640  }
   641  
   642  const opCreateMember = "CreateMember"
   643  
   644  // CreateMemberRequest generates a "aws/request.Request" representing the
   645  // client's request for the CreateMember operation. The "output" return
   646  // value will be populated with the request's response once the request completes
   647  // successfully.
   648  //
   649  // Use "Send" method on the returned Request to send the API call to the service.
   650  // the "output" return value is not valid until after Send returns without error.
   651  //
   652  // See CreateMember for more information on using the CreateMember
   653  // API call, and error handling.
   654  //
   655  // This method is useful when you want to inject custom logic or configuration
   656  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   657  //
   658  //
   659  //    // Example sending a request using the CreateMemberRequest method.
   660  //    req, resp := client.CreateMemberRequest(params)
   661  //
   662  //    err := req.Send()
   663  //    if err == nil { // resp is now filled
   664  //        fmt.Println(resp)
   665  //    }
   666  //
   667  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember
   668  func (c *Macie2) CreateMemberRequest(input *CreateMemberInput) (req *request.Request, output *CreateMemberOutput) {
   669  	op := &request.Operation{
   670  		Name:       opCreateMember,
   671  		HTTPMethod: "POST",
   672  		HTTPPath:   "/members",
   673  	}
   674  
   675  	if input == nil {
   676  		input = &CreateMemberInput{}
   677  	}
   678  
   679  	output = &CreateMemberOutput{}
   680  	req = c.newRequest(op, input, output)
   681  	return
   682  }
   683  
   684  // CreateMember API operation for Amazon Macie 2.
   685  //
   686  // Associates an account with an Amazon Macie administrator account.
   687  //
   688  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   689  // with awserr.Error's Code and Message methods to get detailed information about
   690  // the error.
   691  //
   692  // See the AWS API reference guide for Amazon Macie 2's
   693  // API operation CreateMember for usage and error information.
   694  //
   695  // Returned Error Types:
   696  //   * ValidationException
   697  //   Provides information about an error that occurred due to a syntax error in
   698  //   a request.
   699  //
   700  //   * InternalServerException
   701  //   Provides information about an error that occurred due to an unknown internal
   702  //   server error, exception, or failure.
   703  //
   704  //   * ServiceQuotaExceededException
   705  //   Provides information about an error that occurred due to one or more service
   706  //   quotas for an account.
   707  //
   708  //   * AccessDeniedException
   709  //   Provides information about an error that occurred due to insufficient access
   710  //   to a specified resource.
   711  //
   712  //   * ResourceNotFoundException
   713  //   Provides information about an error that occurred because a specified resource
   714  //   wasn't found.
   715  //
   716  //   * ThrottlingException
   717  //   Provides information about an error that occurred because too many requests
   718  //   were sent during a certain amount of time.
   719  //
   720  //   * ConflictException
   721  //   Provides information about an error that occurred due to a versioning conflict
   722  //   for a specified resource.
   723  //
   724  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember
   725  func (c *Macie2) CreateMember(input *CreateMemberInput) (*CreateMemberOutput, error) {
   726  	req, out := c.CreateMemberRequest(input)
   727  	return out, req.Send()
   728  }
   729  
   730  // CreateMemberWithContext is the same as CreateMember with the addition of
   731  // the ability to pass a context and additional request options.
   732  //
   733  // See CreateMember for details on how to use this API operation.
   734  //
   735  // The context must be non-nil and will be used for request cancellation. If
   736  // the context is nil a panic will occur. In the future the SDK may create
   737  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   738  // for more information on using Contexts.
   739  func (c *Macie2) CreateMemberWithContext(ctx aws.Context, input *CreateMemberInput, opts ...request.Option) (*CreateMemberOutput, error) {
   740  	req, out := c.CreateMemberRequest(input)
   741  	req.SetContext(ctx)
   742  	req.ApplyOptions(opts...)
   743  	return out, req.Send()
   744  }
   745  
   746  const opCreateSampleFindings = "CreateSampleFindings"
   747  
   748  // CreateSampleFindingsRequest generates a "aws/request.Request" representing the
   749  // client's request for the CreateSampleFindings operation. The "output" return
   750  // value will be populated with the request's response once the request completes
   751  // successfully.
   752  //
   753  // Use "Send" method on the returned Request to send the API call to the service.
   754  // the "output" return value is not valid until after Send returns without error.
   755  //
   756  // See CreateSampleFindings for more information on using the CreateSampleFindings
   757  // API call, and error handling.
   758  //
   759  // This method is useful when you want to inject custom logic or configuration
   760  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   761  //
   762  //
   763  //    // Example sending a request using the CreateSampleFindingsRequest method.
   764  //    req, resp := client.CreateSampleFindingsRequest(params)
   765  //
   766  //    err := req.Send()
   767  //    if err == nil { // resp is now filled
   768  //        fmt.Println(resp)
   769  //    }
   770  //
   771  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings
   772  func (c *Macie2) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) (req *request.Request, output *CreateSampleFindingsOutput) {
   773  	op := &request.Operation{
   774  		Name:       opCreateSampleFindings,
   775  		HTTPMethod: "POST",
   776  		HTTPPath:   "/findings/sample",
   777  	}
   778  
   779  	if input == nil {
   780  		input = &CreateSampleFindingsInput{}
   781  	}
   782  
   783  	output = &CreateSampleFindingsOutput{}
   784  	req = c.newRequest(op, input, output)
   785  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   786  	return
   787  }
   788  
   789  // CreateSampleFindings API operation for Amazon Macie 2.
   790  //
   791  // Creates sample findings.
   792  //
   793  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   794  // with awserr.Error's Code and Message methods to get detailed information about
   795  // the error.
   796  //
   797  // See the AWS API reference guide for Amazon Macie 2's
   798  // API operation CreateSampleFindings for usage and error information.
   799  //
   800  // Returned Error Types:
   801  //   * ValidationException
   802  //   Provides information about an error that occurred due to a syntax error in
   803  //   a request.
   804  //
   805  //   * InternalServerException
   806  //   Provides information about an error that occurred due to an unknown internal
   807  //   server error, exception, or failure.
   808  //
   809  //   * ServiceQuotaExceededException
   810  //   Provides information about an error that occurred due to one or more service
   811  //   quotas for an account.
   812  //
   813  //   * AccessDeniedException
   814  //   Provides information about an error that occurred due to insufficient access
   815  //   to a specified resource.
   816  //
   817  //   * ResourceNotFoundException
   818  //   Provides information about an error that occurred because a specified resource
   819  //   wasn't found.
   820  //
   821  //   * ThrottlingException
   822  //   Provides information about an error that occurred because too many requests
   823  //   were sent during a certain amount of time.
   824  //
   825  //   * ConflictException
   826  //   Provides information about an error that occurred due to a versioning conflict
   827  //   for a specified resource.
   828  //
   829  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings
   830  func (c *Macie2) CreateSampleFindings(input *CreateSampleFindingsInput) (*CreateSampleFindingsOutput, error) {
   831  	req, out := c.CreateSampleFindingsRequest(input)
   832  	return out, req.Send()
   833  }
   834  
   835  // CreateSampleFindingsWithContext is the same as CreateSampleFindings with the addition of
   836  // the ability to pass a context and additional request options.
   837  //
   838  // See CreateSampleFindings for details on how to use this API operation.
   839  //
   840  // The context must be non-nil and will be used for request cancellation. If
   841  // the context is nil a panic will occur. In the future the SDK may create
   842  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   843  // for more information on using Contexts.
   844  func (c *Macie2) CreateSampleFindingsWithContext(ctx aws.Context, input *CreateSampleFindingsInput, opts ...request.Option) (*CreateSampleFindingsOutput, error) {
   845  	req, out := c.CreateSampleFindingsRequest(input)
   846  	req.SetContext(ctx)
   847  	req.ApplyOptions(opts...)
   848  	return out, req.Send()
   849  }
   850  
   851  const opDeclineInvitations = "DeclineInvitations"
   852  
   853  // DeclineInvitationsRequest generates a "aws/request.Request" representing the
   854  // client's request for the DeclineInvitations operation. The "output" return
   855  // value will be populated with the request's response once the request completes
   856  // successfully.
   857  //
   858  // Use "Send" method on the returned Request to send the API call to the service.
   859  // the "output" return value is not valid until after Send returns without error.
   860  //
   861  // See DeclineInvitations for more information on using the DeclineInvitations
   862  // API call, and error handling.
   863  //
   864  // This method is useful when you want to inject custom logic or configuration
   865  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   866  //
   867  //
   868  //    // Example sending a request using the DeclineInvitationsRequest method.
   869  //    req, resp := client.DeclineInvitationsRequest(params)
   870  //
   871  //    err := req.Send()
   872  //    if err == nil { // resp is now filled
   873  //        fmt.Println(resp)
   874  //    }
   875  //
   876  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations
   877  func (c *Macie2) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput) {
   878  	op := &request.Operation{
   879  		Name:       opDeclineInvitations,
   880  		HTTPMethod: "POST",
   881  		HTTPPath:   "/invitations/decline",
   882  	}
   883  
   884  	if input == nil {
   885  		input = &DeclineInvitationsInput{}
   886  	}
   887  
   888  	output = &DeclineInvitationsOutput{}
   889  	req = c.newRequest(op, input, output)
   890  	return
   891  }
   892  
   893  // DeclineInvitations API operation for Amazon Macie 2.
   894  //
   895  // Declines Amazon Macie membership invitations that were received from specific
   896  // accounts.
   897  //
   898  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   899  // with awserr.Error's Code and Message methods to get detailed information about
   900  // the error.
   901  //
   902  // See the AWS API reference guide for Amazon Macie 2's
   903  // API operation DeclineInvitations for usage and error information.
   904  //
   905  // Returned Error Types:
   906  //   * ValidationException
   907  //   Provides information about an error that occurred due to a syntax error in
   908  //   a request.
   909  //
   910  //   * InternalServerException
   911  //   Provides information about an error that occurred due to an unknown internal
   912  //   server error, exception, or failure.
   913  //
   914  //   * ServiceQuotaExceededException
   915  //   Provides information about an error that occurred due to one or more service
   916  //   quotas for an account.
   917  //
   918  //   * AccessDeniedException
   919  //   Provides information about an error that occurred due to insufficient access
   920  //   to a specified resource.
   921  //
   922  //   * ResourceNotFoundException
   923  //   Provides information about an error that occurred because a specified resource
   924  //   wasn't found.
   925  //
   926  //   * ThrottlingException
   927  //   Provides information about an error that occurred because too many requests
   928  //   were sent during a certain amount of time.
   929  //
   930  //   * ConflictException
   931  //   Provides information about an error that occurred due to a versioning conflict
   932  //   for a specified resource.
   933  //
   934  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations
   935  func (c *Macie2) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error) {
   936  	req, out := c.DeclineInvitationsRequest(input)
   937  	return out, req.Send()
   938  }
   939  
   940  // DeclineInvitationsWithContext is the same as DeclineInvitations with the addition of
   941  // the ability to pass a context and additional request options.
   942  //
   943  // See DeclineInvitations for details on how to use this API operation.
   944  //
   945  // The context must be non-nil and will be used for request cancellation. If
   946  // the context is nil a panic will occur. In the future the SDK may create
   947  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   948  // for more information on using Contexts.
   949  func (c *Macie2) DeclineInvitationsWithContext(ctx aws.Context, input *DeclineInvitationsInput, opts ...request.Option) (*DeclineInvitationsOutput, error) {
   950  	req, out := c.DeclineInvitationsRequest(input)
   951  	req.SetContext(ctx)
   952  	req.ApplyOptions(opts...)
   953  	return out, req.Send()
   954  }
   955  
   956  const opDeleteCustomDataIdentifier = "DeleteCustomDataIdentifier"
   957  
   958  // DeleteCustomDataIdentifierRequest generates a "aws/request.Request" representing the
   959  // client's request for the DeleteCustomDataIdentifier operation. The "output" return
   960  // value will be populated with the request's response once the request completes
   961  // successfully.
   962  //
   963  // Use "Send" method on the returned Request to send the API call to the service.
   964  // the "output" return value is not valid until after Send returns without error.
   965  //
   966  // See DeleteCustomDataIdentifier for more information on using the DeleteCustomDataIdentifier
   967  // API call, and error handling.
   968  //
   969  // This method is useful when you want to inject custom logic or configuration
   970  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   971  //
   972  //
   973  //    // Example sending a request using the DeleteCustomDataIdentifierRequest method.
   974  //    req, resp := client.DeleteCustomDataIdentifierRequest(params)
   975  //
   976  //    err := req.Send()
   977  //    if err == nil { // resp is now filled
   978  //        fmt.Println(resp)
   979  //    }
   980  //
   981  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier
   982  func (c *Macie2) DeleteCustomDataIdentifierRequest(input *DeleteCustomDataIdentifierInput) (req *request.Request, output *DeleteCustomDataIdentifierOutput) {
   983  	op := &request.Operation{
   984  		Name:       opDeleteCustomDataIdentifier,
   985  		HTTPMethod: "DELETE",
   986  		HTTPPath:   "/custom-data-identifiers/{id}",
   987  	}
   988  
   989  	if input == nil {
   990  		input = &DeleteCustomDataIdentifierInput{}
   991  	}
   992  
   993  	output = &DeleteCustomDataIdentifierOutput{}
   994  	req = c.newRequest(op, input, output)
   995  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   996  	return
   997  }
   998  
   999  // DeleteCustomDataIdentifier API operation for Amazon Macie 2.
  1000  //
  1001  // Soft deletes a custom data identifier.
  1002  //
  1003  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1004  // with awserr.Error's Code and Message methods to get detailed information about
  1005  // the error.
  1006  //
  1007  // See the AWS API reference guide for Amazon Macie 2's
  1008  // API operation DeleteCustomDataIdentifier for usage and error information.
  1009  //
  1010  // Returned Error Types:
  1011  //   * ValidationException
  1012  //   Provides information about an error that occurred due to a syntax error in
  1013  //   a request.
  1014  //
  1015  //   * InternalServerException
  1016  //   Provides information about an error that occurred due to an unknown internal
  1017  //   server error, exception, or failure.
  1018  //
  1019  //   * ServiceQuotaExceededException
  1020  //   Provides information about an error that occurred due to one or more service
  1021  //   quotas for an account.
  1022  //
  1023  //   * AccessDeniedException
  1024  //   Provides information about an error that occurred due to insufficient access
  1025  //   to a specified resource.
  1026  //
  1027  //   * ResourceNotFoundException
  1028  //   Provides information about an error that occurred because a specified resource
  1029  //   wasn't found.
  1030  //
  1031  //   * ThrottlingException
  1032  //   Provides information about an error that occurred because too many requests
  1033  //   were sent during a certain amount of time.
  1034  //
  1035  //   * ConflictException
  1036  //   Provides information about an error that occurred due to a versioning conflict
  1037  //   for a specified resource.
  1038  //
  1039  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier
  1040  func (c *Macie2) DeleteCustomDataIdentifier(input *DeleteCustomDataIdentifierInput) (*DeleteCustomDataIdentifierOutput, error) {
  1041  	req, out := c.DeleteCustomDataIdentifierRequest(input)
  1042  	return out, req.Send()
  1043  }
  1044  
  1045  // DeleteCustomDataIdentifierWithContext is the same as DeleteCustomDataIdentifier with the addition of
  1046  // the ability to pass a context and additional request options.
  1047  //
  1048  // See DeleteCustomDataIdentifier for details on how to use this API operation.
  1049  //
  1050  // The context must be non-nil and will be used for request cancellation. If
  1051  // the context is nil a panic will occur. In the future the SDK may create
  1052  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1053  // for more information on using Contexts.
  1054  func (c *Macie2) DeleteCustomDataIdentifierWithContext(ctx aws.Context, input *DeleteCustomDataIdentifierInput, opts ...request.Option) (*DeleteCustomDataIdentifierOutput, error) {
  1055  	req, out := c.DeleteCustomDataIdentifierRequest(input)
  1056  	req.SetContext(ctx)
  1057  	req.ApplyOptions(opts...)
  1058  	return out, req.Send()
  1059  }
  1060  
  1061  const opDeleteFindingsFilter = "DeleteFindingsFilter"
  1062  
  1063  // DeleteFindingsFilterRequest generates a "aws/request.Request" representing the
  1064  // client's request for the DeleteFindingsFilter operation. The "output" return
  1065  // value will be populated with the request's response once the request completes
  1066  // successfully.
  1067  //
  1068  // Use "Send" method on the returned Request to send the API call to the service.
  1069  // the "output" return value is not valid until after Send returns without error.
  1070  //
  1071  // See DeleteFindingsFilter for more information on using the DeleteFindingsFilter
  1072  // API call, and error handling.
  1073  //
  1074  // This method is useful when you want to inject custom logic or configuration
  1075  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1076  //
  1077  //
  1078  //    // Example sending a request using the DeleteFindingsFilterRequest method.
  1079  //    req, resp := client.DeleteFindingsFilterRequest(params)
  1080  //
  1081  //    err := req.Send()
  1082  //    if err == nil { // resp is now filled
  1083  //        fmt.Println(resp)
  1084  //    }
  1085  //
  1086  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter
  1087  func (c *Macie2) DeleteFindingsFilterRequest(input *DeleteFindingsFilterInput) (req *request.Request, output *DeleteFindingsFilterOutput) {
  1088  	op := &request.Operation{
  1089  		Name:       opDeleteFindingsFilter,
  1090  		HTTPMethod: "DELETE",
  1091  		HTTPPath:   "/findingsfilters/{id}",
  1092  	}
  1093  
  1094  	if input == nil {
  1095  		input = &DeleteFindingsFilterInput{}
  1096  	}
  1097  
  1098  	output = &DeleteFindingsFilterOutput{}
  1099  	req = c.newRequest(op, input, output)
  1100  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1101  	return
  1102  }
  1103  
  1104  // DeleteFindingsFilter API operation for Amazon Macie 2.
  1105  //
  1106  // Deletes a findings filter.
  1107  //
  1108  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1109  // with awserr.Error's Code and Message methods to get detailed information about
  1110  // the error.
  1111  //
  1112  // See the AWS API reference guide for Amazon Macie 2's
  1113  // API operation DeleteFindingsFilter for usage and error information.
  1114  //
  1115  // Returned Error Types:
  1116  //   * ValidationException
  1117  //   Provides information about an error that occurred due to a syntax error in
  1118  //   a request.
  1119  //
  1120  //   * InternalServerException
  1121  //   Provides information about an error that occurred due to an unknown internal
  1122  //   server error, exception, or failure.
  1123  //
  1124  //   * ServiceQuotaExceededException
  1125  //   Provides information about an error that occurred due to one or more service
  1126  //   quotas for an account.
  1127  //
  1128  //   * AccessDeniedException
  1129  //   Provides information about an error that occurred due to insufficient access
  1130  //   to a specified resource.
  1131  //
  1132  //   * ResourceNotFoundException
  1133  //   Provides information about an error that occurred because a specified resource
  1134  //   wasn't found.
  1135  //
  1136  //   * ThrottlingException
  1137  //   Provides information about an error that occurred because too many requests
  1138  //   were sent during a certain amount of time.
  1139  //
  1140  //   * ConflictException
  1141  //   Provides information about an error that occurred due to a versioning conflict
  1142  //   for a specified resource.
  1143  //
  1144  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter
  1145  func (c *Macie2) DeleteFindingsFilter(input *DeleteFindingsFilterInput) (*DeleteFindingsFilterOutput, error) {
  1146  	req, out := c.DeleteFindingsFilterRequest(input)
  1147  	return out, req.Send()
  1148  }
  1149  
  1150  // DeleteFindingsFilterWithContext is the same as DeleteFindingsFilter with the addition of
  1151  // the ability to pass a context and additional request options.
  1152  //
  1153  // See DeleteFindingsFilter for details on how to use this API operation.
  1154  //
  1155  // The context must be non-nil and will be used for request cancellation. If
  1156  // the context is nil a panic will occur. In the future the SDK may create
  1157  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1158  // for more information on using Contexts.
  1159  func (c *Macie2) DeleteFindingsFilterWithContext(ctx aws.Context, input *DeleteFindingsFilterInput, opts ...request.Option) (*DeleteFindingsFilterOutput, error) {
  1160  	req, out := c.DeleteFindingsFilterRequest(input)
  1161  	req.SetContext(ctx)
  1162  	req.ApplyOptions(opts...)
  1163  	return out, req.Send()
  1164  }
  1165  
  1166  const opDeleteInvitations = "DeleteInvitations"
  1167  
  1168  // DeleteInvitationsRequest generates a "aws/request.Request" representing the
  1169  // client's request for the DeleteInvitations operation. The "output" return
  1170  // value will be populated with the request's response once the request completes
  1171  // successfully.
  1172  //
  1173  // Use "Send" method on the returned Request to send the API call to the service.
  1174  // the "output" return value is not valid until after Send returns without error.
  1175  //
  1176  // See DeleteInvitations for more information on using the DeleteInvitations
  1177  // API call, and error handling.
  1178  //
  1179  // This method is useful when you want to inject custom logic or configuration
  1180  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1181  //
  1182  //
  1183  //    // Example sending a request using the DeleteInvitationsRequest method.
  1184  //    req, resp := client.DeleteInvitationsRequest(params)
  1185  //
  1186  //    err := req.Send()
  1187  //    if err == nil { // resp is now filled
  1188  //        fmt.Println(resp)
  1189  //    }
  1190  //
  1191  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations
  1192  func (c *Macie2) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput) {
  1193  	op := &request.Operation{
  1194  		Name:       opDeleteInvitations,
  1195  		HTTPMethod: "POST",
  1196  		HTTPPath:   "/invitations/delete",
  1197  	}
  1198  
  1199  	if input == nil {
  1200  		input = &DeleteInvitationsInput{}
  1201  	}
  1202  
  1203  	output = &DeleteInvitationsOutput{}
  1204  	req = c.newRequest(op, input, output)
  1205  	return
  1206  }
  1207  
  1208  // DeleteInvitations API operation for Amazon Macie 2.
  1209  //
  1210  // Deletes Amazon Macie membership invitations that were received from specific
  1211  // accounts.
  1212  //
  1213  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1214  // with awserr.Error's Code and Message methods to get detailed information about
  1215  // the error.
  1216  //
  1217  // See the AWS API reference guide for Amazon Macie 2's
  1218  // API operation DeleteInvitations for usage and error information.
  1219  //
  1220  // Returned Error Types:
  1221  //   * ValidationException
  1222  //   Provides information about an error that occurred due to a syntax error in
  1223  //   a request.
  1224  //
  1225  //   * InternalServerException
  1226  //   Provides information about an error that occurred due to an unknown internal
  1227  //   server error, exception, or failure.
  1228  //
  1229  //   * ServiceQuotaExceededException
  1230  //   Provides information about an error that occurred due to one or more service
  1231  //   quotas for an account.
  1232  //
  1233  //   * AccessDeniedException
  1234  //   Provides information about an error that occurred due to insufficient access
  1235  //   to a specified resource.
  1236  //
  1237  //   * ResourceNotFoundException
  1238  //   Provides information about an error that occurred because a specified resource
  1239  //   wasn't found.
  1240  //
  1241  //   * ThrottlingException
  1242  //   Provides information about an error that occurred because too many requests
  1243  //   were sent during a certain amount of time.
  1244  //
  1245  //   * ConflictException
  1246  //   Provides information about an error that occurred due to a versioning conflict
  1247  //   for a specified resource.
  1248  //
  1249  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations
  1250  func (c *Macie2) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error) {
  1251  	req, out := c.DeleteInvitationsRequest(input)
  1252  	return out, req.Send()
  1253  }
  1254  
  1255  // DeleteInvitationsWithContext is the same as DeleteInvitations with the addition of
  1256  // the ability to pass a context and additional request options.
  1257  //
  1258  // See DeleteInvitations for details on how to use this API operation.
  1259  //
  1260  // The context must be non-nil and will be used for request cancellation. If
  1261  // the context is nil a panic will occur. In the future the SDK may create
  1262  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1263  // for more information on using Contexts.
  1264  func (c *Macie2) DeleteInvitationsWithContext(ctx aws.Context, input *DeleteInvitationsInput, opts ...request.Option) (*DeleteInvitationsOutput, error) {
  1265  	req, out := c.DeleteInvitationsRequest(input)
  1266  	req.SetContext(ctx)
  1267  	req.ApplyOptions(opts...)
  1268  	return out, req.Send()
  1269  }
  1270  
  1271  const opDeleteMember = "DeleteMember"
  1272  
  1273  // DeleteMemberRequest generates a "aws/request.Request" representing the
  1274  // client's request for the DeleteMember operation. The "output" return
  1275  // value will be populated with the request's response once the request completes
  1276  // successfully.
  1277  //
  1278  // Use "Send" method on the returned Request to send the API call to the service.
  1279  // the "output" return value is not valid until after Send returns without error.
  1280  //
  1281  // See DeleteMember for more information on using the DeleteMember
  1282  // API call, and error handling.
  1283  //
  1284  // This method is useful when you want to inject custom logic or configuration
  1285  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1286  //
  1287  //
  1288  //    // Example sending a request using the DeleteMemberRequest method.
  1289  //    req, resp := client.DeleteMemberRequest(params)
  1290  //
  1291  //    err := req.Send()
  1292  //    if err == nil { // resp is now filled
  1293  //        fmt.Println(resp)
  1294  //    }
  1295  //
  1296  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember
  1297  func (c *Macie2) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Request, output *DeleteMemberOutput) {
  1298  	op := &request.Operation{
  1299  		Name:       opDeleteMember,
  1300  		HTTPMethod: "DELETE",
  1301  		HTTPPath:   "/members/{id}",
  1302  	}
  1303  
  1304  	if input == nil {
  1305  		input = &DeleteMemberInput{}
  1306  	}
  1307  
  1308  	output = &DeleteMemberOutput{}
  1309  	req = c.newRequest(op, input, output)
  1310  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1311  	return
  1312  }
  1313  
  1314  // DeleteMember API operation for Amazon Macie 2.
  1315  //
  1316  // Deletes the association between an Amazon Macie administrator account and
  1317  // an account.
  1318  //
  1319  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1320  // with awserr.Error's Code and Message methods to get detailed information about
  1321  // the error.
  1322  //
  1323  // See the AWS API reference guide for Amazon Macie 2's
  1324  // API operation DeleteMember for usage and error information.
  1325  //
  1326  // Returned Error Types:
  1327  //   * ValidationException
  1328  //   Provides information about an error that occurred due to a syntax error in
  1329  //   a request.
  1330  //
  1331  //   * InternalServerException
  1332  //   Provides information about an error that occurred due to an unknown internal
  1333  //   server error, exception, or failure.
  1334  //
  1335  //   * ServiceQuotaExceededException
  1336  //   Provides information about an error that occurred due to one or more service
  1337  //   quotas for an account.
  1338  //
  1339  //   * AccessDeniedException
  1340  //   Provides information about an error that occurred due to insufficient access
  1341  //   to a specified resource.
  1342  //
  1343  //   * ResourceNotFoundException
  1344  //   Provides information about an error that occurred because a specified resource
  1345  //   wasn't found.
  1346  //
  1347  //   * ThrottlingException
  1348  //   Provides information about an error that occurred because too many requests
  1349  //   were sent during a certain amount of time.
  1350  //
  1351  //   * ConflictException
  1352  //   Provides information about an error that occurred due to a versioning conflict
  1353  //   for a specified resource.
  1354  //
  1355  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember
  1356  func (c *Macie2) DeleteMember(input *DeleteMemberInput) (*DeleteMemberOutput, error) {
  1357  	req, out := c.DeleteMemberRequest(input)
  1358  	return out, req.Send()
  1359  }
  1360  
  1361  // DeleteMemberWithContext is the same as DeleteMember with the addition of
  1362  // the ability to pass a context and additional request options.
  1363  //
  1364  // See DeleteMember for details on how to use this API operation.
  1365  //
  1366  // The context must be non-nil and will be used for request cancellation. If
  1367  // the context is nil a panic will occur. In the future the SDK may create
  1368  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1369  // for more information on using Contexts.
  1370  func (c *Macie2) DeleteMemberWithContext(ctx aws.Context, input *DeleteMemberInput, opts ...request.Option) (*DeleteMemberOutput, error) {
  1371  	req, out := c.DeleteMemberRequest(input)
  1372  	req.SetContext(ctx)
  1373  	req.ApplyOptions(opts...)
  1374  	return out, req.Send()
  1375  }
  1376  
  1377  const opDescribeBuckets = "DescribeBuckets"
  1378  
  1379  // DescribeBucketsRequest generates a "aws/request.Request" representing the
  1380  // client's request for the DescribeBuckets operation. The "output" return
  1381  // value will be populated with the request's response once the request completes
  1382  // successfully.
  1383  //
  1384  // Use "Send" method on the returned Request to send the API call to the service.
  1385  // the "output" return value is not valid until after Send returns without error.
  1386  //
  1387  // See DescribeBuckets for more information on using the DescribeBuckets
  1388  // API call, and error handling.
  1389  //
  1390  // This method is useful when you want to inject custom logic or configuration
  1391  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1392  //
  1393  //
  1394  //    // Example sending a request using the DescribeBucketsRequest method.
  1395  //    req, resp := client.DescribeBucketsRequest(params)
  1396  //
  1397  //    err := req.Send()
  1398  //    if err == nil { // resp is now filled
  1399  //        fmt.Println(resp)
  1400  //    }
  1401  //
  1402  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets
  1403  func (c *Macie2) DescribeBucketsRequest(input *DescribeBucketsInput) (req *request.Request, output *DescribeBucketsOutput) {
  1404  	op := &request.Operation{
  1405  		Name:       opDescribeBuckets,
  1406  		HTTPMethod: "POST",
  1407  		HTTPPath:   "/datasources/s3",
  1408  		Paginator: &request.Paginator{
  1409  			InputTokens:     []string{"nextToken"},
  1410  			OutputTokens:    []string{"nextToken"},
  1411  			LimitToken:      "maxResults",
  1412  			TruncationToken: "",
  1413  		},
  1414  	}
  1415  
  1416  	if input == nil {
  1417  		input = &DescribeBucketsInput{}
  1418  	}
  1419  
  1420  	output = &DescribeBucketsOutput{}
  1421  	req = c.newRequest(op, input, output)
  1422  	return
  1423  }
  1424  
  1425  // DescribeBuckets API operation for Amazon Macie 2.
  1426  //
  1427  // Retrieves (queries) statistical data and other information about one or more
  1428  // S3 buckets that Amazon Macie monitors and analyzes.
  1429  //
  1430  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1431  // with awserr.Error's Code and Message methods to get detailed information about
  1432  // the error.
  1433  //
  1434  // See the AWS API reference guide for Amazon Macie 2's
  1435  // API operation DescribeBuckets for usage and error information.
  1436  //
  1437  // Returned Error Types:
  1438  //   * ValidationException
  1439  //   Provides information about an error that occurred due to a syntax error in
  1440  //   a request.
  1441  //
  1442  //   * InternalServerException
  1443  //   Provides information about an error that occurred due to an unknown internal
  1444  //   server error, exception, or failure.
  1445  //
  1446  //   * ServiceQuotaExceededException
  1447  //   Provides information about an error that occurred due to one or more service
  1448  //   quotas for an account.
  1449  //
  1450  //   * AccessDeniedException
  1451  //   Provides information about an error that occurred due to insufficient access
  1452  //   to a specified resource.
  1453  //
  1454  //   * ResourceNotFoundException
  1455  //   Provides information about an error that occurred because a specified resource
  1456  //   wasn't found.
  1457  //
  1458  //   * ThrottlingException
  1459  //   Provides information about an error that occurred because too many requests
  1460  //   were sent during a certain amount of time.
  1461  //
  1462  //   * ConflictException
  1463  //   Provides information about an error that occurred due to a versioning conflict
  1464  //   for a specified resource.
  1465  //
  1466  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets
  1467  func (c *Macie2) DescribeBuckets(input *DescribeBucketsInput) (*DescribeBucketsOutput, error) {
  1468  	req, out := c.DescribeBucketsRequest(input)
  1469  	return out, req.Send()
  1470  }
  1471  
  1472  // DescribeBucketsWithContext is the same as DescribeBuckets with the addition of
  1473  // the ability to pass a context and additional request options.
  1474  //
  1475  // See DescribeBuckets for details on how to use this API operation.
  1476  //
  1477  // The context must be non-nil and will be used for request cancellation. If
  1478  // the context is nil a panic will occur. In the future the SDK may create
  1479  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1480  // for more information on using Contexts.
  1481  func (c *Macie2) DescribeBucketsWithContext(ctx aws.Context, input *DescribeBucketsInput, opts ...request.Option) (*DescribeBucketsOutput, error) {
  1482  	req, out := c.DescribeBucketsRequest(input)
  1483  	req.SetContext(ctx)
  1484  	req.ApplyOptions(opts...)
  1485  	return out, req.Send()
  1486  }
  1487  
  1488  // DescribeBucketsPages iterates over the pages of a DescribeBuckets operation,
  1489  // calling the "fn" function with the response data for each page. To stop
  1490  // iterating, return false from the fn function.
  1491  //
  1492  // See DescribeBuckets method for more information on how to use this operation.
  1493  //
  1494  // Note: This operation can generate multiple requests to a service.
  1495  //
  1496  //    // Example iterating over at most 3 pages of a DescribeBuckets operation.
  1497  //    pageNum := 0
  1498  //    err := client.DescribeBucketsPages(params,
  1499  //        func(page *macie2.DescribeBucketsOutput, lastPage bool) bool {
  1500  //            pageNum++
  1501  //            fmt.Println(page)
  1502  //            return pageNum <= 3
  1503  //        })
  1504  //
  1505  func (c *Macie2) DescribeBucketsPages(input *DescribeBucketsInput, fn func(*DescribeBucketsOutput, bool) bool) error {
  1506  	return c.DescribeBucketsPagesWithContext(aws.BackgroundContext(), input, fn)
  1507  }
  1508  
  1509  // DescribeBucketsPagesWithContext same as DescribeBucketsPages except
  1510  // it takes a Context and allows setting request options on the pages.
  1511  //
  1512  // The context must be non-nil and will be used for request cancellation. If
  1513  // the context is nil a panic will occur. In the future the SDK may create
  1514  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1515  // for more information on using Contexts.
  1516  func (c *Macie2) DescribeBucketsPagesWithContext(ctx aws.Context, input *DescribeBucketsInput, fn func(*DescribeBucketsOutput, bool) bool, opts ...request.Option) error {
  1517  	p := request.Pagination{
  1518  		NewRequest: func() (*request.Request, error) {
  1519  			var inCpy *DescribeBucketsInput
  1520  			if input != nil {
  1521  				tmp := *input
  1522  				inCpy = &tmp
  1523  			}
  1524  			req, _ := c.DescribeBucketsRequest(inCpy)
  1525  			req.SetContext(ctx)
  1526  			req.ApplyOptions(opts...)
  1527  			return req, nil
  1528  		},
  1529  	}
  1530  
  1531  	for p.Next() {
  1532  		if !fn(p.Page().(*DescribeBucketsOutput), !p.HasNextPage()) {
  1533  			break
  1534  		}
  1535  	}
  1536  
  1537  	return p.Err()
  1538  }
  1539  
  1540  const opDescribeClassificationJob = "DescribeClassificationJob"
  1541  
  1542  // DescribeClassificationJobRequest generates a "aws/request.Request" representing the
  1543  // client's request for the DescribeClassificationJob operation. The "output" return
  1544  // value will be populated with the request's response once the request completes
  1545  // successfully.
  1546  //
  1547  // Use "Send" method on the returned Request to send the API call to the service.
  1548  // the "output" return value is not valid until after Send returns without error.
  1549  //
  1550  // See DescribeClassificationJob for more information on using the DescribeClassificationJob
  1551  // API call, and error handling.
  1552  //
  1553  // This method is useful when you want to inject custom logic or configuration
  1554  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1555  //
  1556  //
  1557  //    // Example sending a request using the DescribeClassificationJobRequest method.
  1558  //    req, resp := client.DescribeClassificationJobRequest(params)
  1559  //
  1560  //    err := req.Send()
  1561  //    if err == nil { // resp is now filled
  1562  //        fmt.Println(resp)
  1563  //    }
  1564  //
  1565  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob
  1566  func (c *Macie2) DescribeClassificationJobRequest(input *DescribeClassificationJobInput) (req *request.Request, output *DescribeClassificationJobOutput) {
  1567  	op := &request.Operation{
  1568  		Name:       opDescribeClassificationJob,
  1569  		HTTPMethod: "GET",
  1570  		HTTPPath:   "/jobs/{jobId}",
  1571  	}
  1572  
  1573  	if input == nil {
  1574  		input = &DescribeClassificationJobInput{}
  1575  	}
  1576  
  1577  	output = &DescribeClassificationJobOutput{}
  1578  	req = c.newRequest(op, input, output)
  1579  	return
  1580  }
  1581  
  1582  // DescribeClassificationJob API operation for Amazon Macie 2.
  1583  //
  1584  // Retrieves the status and settings for a classification job.
  1585  //
  1586  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1587  // with awserr.Error's Code and Message methods to get detailed information about
  1588  // the error.
  1589  //
  1590  // See the AWS API reference guide for Amazon Macie 2's
  1591  // API operation DescribeClassificationJob for usage and error information.
  1592  //
  1593  // Returned Error Types:
  1594  //   * ValidationException
  1595  //   Provides information about an error that occurred due to a syntax error in
  1596  //   a request.
  1597  //
  1598  //   * InternalServerException
  1599  //   Provides information about an error that occurred due to an unknown internal
  1600  //   server error, exception, or failure.
  1601  //
  1602  //   * ServiceQuotaExceededException
  1603  //   Provides information about an error that occurred due to one or more service
  1604  //   quotas for an account.
  1605  //
  1606  //   * AccessDeniedException
  1607  //   Provides information about an error that occurred due to insufficient access
  1608  //   to a specified resource.
  1609  //
  1610  //   * ResourceNotFoundException
  1611  //   Provides information about an error that occurred because a specified resource
  1612  //   wasn't found.
  1613  //
  1614  //   * ThrottlingException
  1615  //   Provides information about an error that occurred because too many requests
  1616  //   were sent during a certain amount of time.
  1617  //
  1618  //   * ConflictException
  1619  //   Provides information about an error that occurred due to a versioning conflict
  1620  //   for a specified resource.
  1621  //
  1622  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob
  1623  func (c *Macie2) DescribeClassificationJob(input *DescribeClassificationJobInput) (*DescribeClassificationJobOutput, error) {
  1624  	req, out := c.DescribeClassificationJobRequest(input)
  1625  	return out, req.Send()
  1626  }
  1627  
  1628  // DescribeClassificationJobWithContext is the same as DescribeClassificationJob with the addition of
  1629  // the ability to pass a context and additional request options.
  1630  //
  1631  // See DescribeClassificationJob for details on how to use this API operation.
  1632  //
  1633  // The context must be non-nil and will be used for request cancellation. If
  1634  // the context is nil a panic will occur. In the future the SDK may create
  1635  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1636  // for more information on using Contexts.
  1637  func (c *Macie2) DescribeClassificationJobWithContext(ctx aws.Context, input *DescribeClassificationJobInput, opts ...request.Option) (*DescribeClassificationJobOutput, error) {
  1638  	req, out := c.DescribeClassificationJobRequest(input)
  1639  	req.SetContext(ctx)
  1640  	req.ApplyOptions(opts...)
  1641  	return out, req.Send()
  1642  }
  1643  
  1644  const opDescribeOrganizationConfiguration = "DescribeOrganizationConfiguration"
  1645  
  1646  // DescribeOrganizationConfigurationRequest generates a "aws/request.Request" representing the
  1647  // client's request for the DescribeOrganizationConfiguration operation. The "output" return
  1648  // value will be populated with the request's response once the request completes
  1649  // successfully.
  1650  //
  1651  // Use "Send" method on the returned Request to send the API call to the service.
  1652  // the "output" return value is not valid until after Send returns without error.
  1653  //
  1654  // See DescribeOrganizationConfiguration for more information on using the DescribeOrganizationConfiguration
  1655  // API call, and error handling.
  1656  //
  1657  // This method is useful when you want to inject custom logic or configuration
  1658  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1659  //
  1660  //
  1661  //    // Example sending a request using the DescribeOrganizationConfigurationRequest method.
  1662  //    req, resp := client.DescribeOrganizationConfigurationRequest(params)
  1663  //
  1664  //    err := req.Send()
  1665  //    if err == nil { // resp is now filled
  1666  //        fmt.Println(resp)
  1667  //    }
  1668  //
  1669  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration
  1670  func (c *Macie2) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput) {
  1671  	op := &request.Operation{
  1672  		Name:       opDescribeOrganizationConfiguration,
  1673  		HTTPMethod: "GET",
  1674  		HTTPPath:   "/admin/configuration",
  1675  	}
  1676  
  1677  	if input == nil {
  1678  		input = &DescribeOrganizationConfigurationInput{}
  1679  	}
  1680  
  1681  	output = &DescribeOrganizationConfigurationOutput{}
  1682  	req = c.newRequest(op, input, output)
  1683  	return
  1684  }
  1685  
  1686  // DescribeOrganizationConfiguration API operation for Amazon Macie 2.
  1687  //
  1688  // Retrieves the Amazon Macie configuration settings for an Amazon Web Services
  1689  // organization.
  1690  //
  1691  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1692  // with awserr.Error's Code and Message methods to get detailed information about
  1693  // the error.
  1694  //
  1695  // See the AWS API reference guide for Amazon Macie 2's
  1696  // API operation DescribeOrganizationConfiguration for usage and error information.
  1697  //
  1698  // Returned Error Types:
  1699  //   * ValidationException
  1700  //   Provides information about an error that occurred due to a syntax error in
  1701  //   a request.
  1702  //
  1703  //   * InternalServerException
  1704  //   Provides information about an error that occurred due to an unknown internal
  1705  //   server error, exception, or failure.
  1706  //
  1707  //   * ServiceQuotaExceededException
  1708  //   Provides information about an error that occurred due to one or more service
  1709  //   quotas for an account.
  1710  //
  1711  //   * AccessDeniedException
  1712  //   Provides information about an error that occurred due to insufficient access
  1713  //   to a specified resource.
  1714  //
  1715  //   * ResourceNotFoundException
  1716  //   Provides information about an error that occurred because a specified resource
  1717  //   wasn't found.
  1718  //
  1719  //   * ThrottlingException
  1720  //   Provides information about an error that occurred because too many requests
  1721  //   were sent during a certain amount of time.
  1722  //
  1723  //   * ConflictException
  1724  //   Provides information about an error that occurred due to a versioning conflict
  1725  //   for a specified resource.
  1726  //
  1727  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration
  1728  func (c *Macie2) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error) {
  1729  	req, out := c.DescribeOrganizationConfigurationRequest(input)
  1730  	return out, req.Send()
  1731  }
  1732  
  1733  // DescribeOrganizationConfigurationWithContext is the same as DescribeOrganizationConfiguration with the addition of
  1734  // the ability to pass a context and additional request options.
  1735  //
  1736  // See DescribeOrganizationConfiguration 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 *Macie2) DescribeOrganizationConfigurationWithContext(ctx aws.Context, input *DescribeOrganizationConfigurationInput, opts ...request.Option) (*DescribeOrganizationConfigurationOutput, error) {
  1743  	req, out := c.DescribeOrganizationConfigurationRequest(input)
  1744  	req.SetContext(ctx)
  1745  	req.ApplyOptions(opts...)
  1746  	return out, req.Send()
  1747  }
  1748  
  1749  const opDisableMacie = "DisableMacie"
  1750  
  1751  // DisableMacieRequest generates a "aws/request.Request" representing the
  1752  // client's request for the DisableMacie operation. The "output" return
  1753  // value will be populated with the request's response once the request completes
  1754  // successfully.
  1755  //
  1756  // Use "Send" method on the returned Request to send the API call to the service.
  1757  // the "output" return value is not valid until after Send returns without error.
  1758  //
  1759  // See DisableMacie for more information on using the DisableMacie
  1760  // API call, and error handling.
  1761  //
  1762  // This method is useful when you want to inject custom logic or configuration
  1763  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1764  //
  1765  //
  1766  //    // Example sending a request using the DisableMacieRequest method.
  1767  //    req, resp := client.DisableMacieRequest(params)
  1768  //
  1769  //    err := req.Send()
  1770  //    if err == nil { // resp is now filled
  1771  //        fmt.Println(resp)
  1772  //    }
  1773  //
  1774  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie
  1775  func (c *Macie2) DisableMacieRequest(input *DisableMacieInput) (req *request.Request, output *DisableMacieOutput) {
  1776  	op := &request.Operation{
  1777  		Name:       opDisableMacie,
  1778  		HTTPMethod: "DELETE",
  1779  		HTTPPath:   "/macie",
  1780  	}
  1781  
  1782  	if input == nil {
  1783  		input = &DisableMacieInput{}
  1784  	}
  1785  
  1786  	output = &DisableMacieOutput{}
  1787  	req = c.newRequest(op, input, output)
  1788  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1789  	return
  1790  }
  1791  
  1792  // DisableMacie API operation for Amazon Macie 2.
  1793  //
  1794  // Disables an Amazon Macie account and deletes Macie resources for the account.
  1795  //
  1796  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1797  // with awserr.Error's Code and Message methods to get detailed information about
  1798  // the error.
  1799  //
  1800  // See the AWS API reference guide for Amazon Macie 2's
  1801  // API operation DisableMacie for usage and error information.
  1802  //
  1803  // Returned Error Types:
  1804  //   * ValidationException
  1805  //   Provides information about an error that occurred due to a syntax error in
  1806  //   a request.
  1807  //
  1808  //   * InternalServerException
  1809  //   Provides information about an error that occurred due to an unknown internal
  1810  //   server error, exception, or failure.
  1811  //
  1812  //   * ServiceQuotaExceededException
  1813  //   Provides information about an error that occurred due to one or more service
  1814  //   quotas for an account.
  1815  //
  1816  //   * AccessDeniedException
  1817  //   Provides information about an error that occurred due to insufficient access
  1818  //   to a specified resource.
  1819  //
  1820  //   * ResourceNotFoundException
  1821  //   Provides information about an error that occurred because a specified resource
  1822  //   wasn't found.
  1823  //
  1824  //   * ThrottlingException
  1825  //   Provides information about an error that occurred because too many requests
  1826  //   were sent during a certain amount of time.
  1827  //
  1828  //   * ConflictException
  1829  //   Provides information about an error that occurred due to a versioning conflict
  1830  //   for a specified resource.
  1831  //
  1832  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie
  1833  func (c *Macie2) DisableMacie(input *DisableMacieInput) (*DisableMacieOutput, error) {
  1834  	req, out := c.DisableMacieRequest(input)
  1835  	return out, req.Send()
  1836  }
  1837  
  1838  // DisableMacieWithContext is the same as DisableMacie with the addition of
  1839  // the ability to pass a context and additional request options.
  1840  //
  1841  // See DisableMacie for details on how to use this API operation.
  1842  //
  1843  // The context must be non-nil and will be used for request cancellation. If
  1844  // the context is nil a panic will occur. In the future the SDK may create
  1845  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1846  // for more information on using Contexts.
  1847  func (c *Macie2) DisableMacieWithContext(ctx aws.Context, input *DisableMacieInput, opts ...request.Option) (*DisableMacieOutput, error) {
  1848  	req, out := c.DisableMacieRequest(input)
  1849  	req.SetContext(ctx)
  1850  	req.ApplyOptions(opts...)
  1851  	return out, req.Send()
  1852  }
  1853  
  1854  const opDisableOrganizationAdminAccount = "DisableOrganizationAdminAccount"
  1855  
  1856  // DisableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the
  1857  // client's request for the DisableOrganizationAdminAccount operation. The "output" return
  1858  // value will be populated with the request's response once the request completes
  1859  // successfully.
  1860  //
  1861  // Use "Send" method on the returned Request to send the API call to the service.
  1862  // the "output" return value is not valid until after Send returns without error.
  1863  //
  1864  // See DisableOrganizationAdminAccount for more information on using the DisableOrganizationAdminAccount
  1865  // API call, and error handling.
  1866  //
  1867  // This method is useful when you want to inject custom logic or configuration
  1868  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1869  //
  1870  //
  1871  //    // Example sending a request using the DisableOrganizationAdminAccountRequest method.
  1872  //    req, resp := client.DisableOrganizationAdminAccountRequest(params)
  1873  //
  1874  //    err := req.Send()
  1875  //    if err == nil { // resp is now filled
  1876  //        fmt.Println(resp)
  1877  //    }
  1878  //
  1879  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount
  1880  func (c *Macie2) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput) {
  1881  	op := &request.Operation{
  1882  		Name:       opDisableOrganizationAdminAccount,
  1883  		HTTPMethod: "DELETE",
  1884  		HTTPPath:   "/admin",
  1885  	}
  1886  
  1887  	if input == nil {
  1888  		input = &DisableOrganizationAdminAccountInput{}
  1889  	}
  1890  
  1891  	output = &DisableOrganizationAdminAccountOutput{}
  1892  	req = c.newRequest(op, input, output)
  1893  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1894  	return
  1895  }
  1896  
  1897  // DisableOrganizationAdminAccount API operation for Amazon Macie 2.
  1898  //
  1899  // Disables an account as the delegated Amazon Macie administrator account for
  1900  // an Amazon Web Services organization.
  1901  //
  1902  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1903  // with awserr.Error's Code and Message methods to get detailed information about
  1904  // the error.
  1905  //
  1906  // See the AWS API reference guide for Amazon Macie 2's
  1907  // API operation DisableOrganizationAdminAccount for usage and error information.
  1908  //
  1909  // Returned Error Types:
  1910  //   * ValidationException
  1911  //   Provides information about an error that occurred due to a syntax error in
  1912  //   a request.
  1913  //
  1914  //   * InternalServerException
  1915  //   Provides information about an error that occurred due to an unknown internal
  1916  //   server error, exception, or failure.
  1917  //
  1918  //   * ServiceQuotaExceededException
  1919  //   Provides information about an error that occurred due to one or more service
  1920  //   quotas for an account.
  1921  //
  1922  //   * AccessDeniedException
  1923  //   Provides information about an error that occurred due to insufficient access
  1924  //   to a specified resource.
  1925  //
  1926  //   * ResourceNotFoundException
  1927  //   Provides information about an error that occurred because a specified resource
  1928  //   wasn't found.
  1929  //
  1930  //   * ThrottlingException
  1931  //   Provides information about an error that occurred because too many requests
  1932  //   were sent during a certain amount of time.
  1933  //
  1934  //   * ConflictException
  1935  //   Provides information about an error that occurred due to a versioning conflict
  1936  //   for a specified resource.
  1937  //
  1938  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount
  1939  func (c *Macie2) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error) {
  1940  	req, out := c.DisableOrganizationAdminAccountRequest(input)
  1941  	return out, req.Send()
  1942  }
  1943  
  1944  // DisableOrganizationAdminAccountWithContext is the same as DisableOrganizationAdminAccount with the addition of
  1945  // the ability to pass a context and additional request options.
  1946  //
  1947  // See DisableOrganizationAdminAccount for details on how to use this API operation.
  1948  //
  1949  // The context must be non-nil and will be used for request cancellation. If
  1950  // the context is nil a panic will occur. In the future the SDK may create
  1951  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1952  // for more information on using Contexts.
  1953  func (c *Macie2) DisableOrganizationAdminAccountWithContext(ctx aws.Context, input *DisableOrganizationAdminAccountInput, opts ...request.Option) (*DisableOrganizationAdminAccountOutput, error) {
  1954  	req, out := c.DisableOrganizationAdminAccountRequest(input)
  1955  	req.SetContext(ctx)
  1956  	req.ApplyOptions(opts...)
  1957  	return out, req.Send()
  1958  }
  1959  
  1960  const opDisassociateFromAdministratorAccount = "DisassociateFromAdministratorAccount"
  1961  
  1962  // DisassociateFromAdministratorAccountRequest generates a "aws/request.Request" representing the
  1963  // client's request for the DisassociateFromAdministratorAccount operation. The "output" return
  1964  // value will be populated with the request's response once the request completes
  1965  // successfully.
  1966  //
  1967  // Use "Send" method on the returned Request to send the API call to the service.
  1968  // the "output" return value is not valid until after Send returns without error.
  1969  //
  1970  // See DisassociateFromAdministratorAccount for more information on using the DisassociateFromAdministratorAccount
  1971  // API call, and error handling.
  1972  //
  1973  // This method is useful when you want to inject custom logic or configuration
  1974  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1975  //
  1976  //
  1977  //    // Example sending a request using the DisassociateFromAdministratorAccountRequest method.
  1978  //    req, resp := client.DisassociateFromAdministratorAccountRequest(params)
  1979  //
  1980  //    err := req.Send()
  1981  //    if err == nil { // resp is now filled
  1982  //        fmt.Println(resp)
  1983  //    }
  1984  //
  1985  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount
  1986  func (c *Macie2) DisassociateFromAdministratorAccountRequest(input *DisassociateFromAdministratorAccountInput) (req *request.Request, output *DisassociateFromAdministratorAccountOutput) {
  1987  	op := &request.Operation{
  1988  		Name:       opDisassociateFromAdministratorAccount,
  1989  		HTTPMethod: "POST",
  1990  		HTTPPath:   "/administrator/disassociate",
  1991  	}
  1992  
  1993  	if input == nil {
  1994  		input = &DisassociateFromAdministratorAccountInput{}
  1995  	}
  1996  
  1997  	output = &DisassociateFromAdministratorAccountOutput{}
  1998  	req = c.newRequest(op, input, output)
  1999  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2000  	return
  2001  }
  2002  
  2003  // DisassociateFromAdministratorAccount API operation for Amazon Macie 2.
  2004  //
  2005  // Disassociates a member account from its Amazon Macie administrator account.
  2006  //
  2007  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2008  // with awserr.Error's Code and Message methods to get detailed information about
  2009  // the error.
  2010  //
  2011  // See the AWS API reference guide for Amazon Macie 2's
  2012  // API operation DisassociateFromAdministratorAccount for usage and error information.
  2013  //
  2014  // Returned Error Types:
  2015  //   * ValidationException
  2016  //   Provides information about an error that occurred due to a syntax error in
  2017  //   a request.
  2018  //
  2019  //   * InternalServerException
  2020  //   Provides information about an error that occurred due to an unknown internal
  2021  //   server error, exception, or failure.
  2022  //
  2023  //   * ServiceQuotaExceededException
  2024  //   Provides information about an error that occurred due to one or more service
  2025  //   quotas for an account.
  2026  //
  2027  //   * AccessDeniedException
  2028  //   Provides information about an error that occurred due to insufficient access
  2029  //   to a specified resource.
  2030  //
  2031  //   * ResourceNotFoundException
  2032  //   Provides information about an error that occurred because a specified resource
  2033  //   wasn't found.
  2034  //
  2035  //   * ThrottlingException
  2036  //   Provides information about an error that occurred because too many requests
  2037  //   were sent during a certain amount of time.
  2038  //
  2039  //   * ConflictException
  2040  //   Provides information about an error that occurred due to a versioning conflict
  2041  //   for a specified resource.
  2042  //
  2043  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount
  2044  func (c *Macie2) DisassociateFromAdministratorAccount(input *DisassociateFromAdministratorAccountInput) (*DisassociateFromAdministratorAccountOutput, error) {
  2045  	req, out := c.DisassociateFromAdministratorAccountRequest(input)
  2046  	return out, req.Send()
  2047  }
  2048  
  2049  // DisassociateFromAdministratorAccountWithContext is the same as DisassociateFromAdministratorAccount with the addition of
  2050  // the ability to pass a context and additional request options.
  2051  //
  2052  // See DisassociateFromAdministratorAccount for details on how to use this API operation.
  2053  //
  2054  // The context must be non-nil and will be used for request cancellation. If
  2055  // the context is nil a panic will occur. In the future the SDK may create
  2056  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2057  // for more information on using Contexts.
  2058  func (c *Macie2) DisassociateFromAdministratorAccountWithContext(ctx aws.Context, input *DisassociateFromAdministratorAccountInput, opts ...request.Option) (*DisassociateFromAdministratorAccountOutput, error) {
  2059  	req, out := c.DisassociateFromAdministratorAccountRequest(input)
  2060  	req.SetContext(ctx)
  2061  	req.ApplyOptions(opts...)
  2062  	return out, req.Send()
  2063  }
  2064  
  2065  const opDisassociateFromMasterAccount = "DisassociateFromMasterAccount"
  2066  
  2067  // DisassociateFromMasterAccountRequest generates a "aws/request.Request" representing the
  2068  // client's request for the DisassociateFromMasterAccount operation. The "output" return
  2069  // value will be populated with the request's response once the request completes
  2070  // successfully.
  2071  //
  2072  // Use "Send" method on the returned Request to send the API call to the service.
  2073  // the "output" return value is not valid until after Send returns without error.
  2074  //
  2075  // See DisassociateFromMasterAccount for more information on using the DisassociateFromMasterAccount
  2076  // API call, and error handling.
  2077  //
  2078  // This method is useful when you want to inject custom logic or configuration
  2079  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2080  //
  2081  //
  2082  //    // Example sending a request using the DisassociateFromMasterAccountRequest method.
  2083  //    req, resp := client.DisassociateFromMasterAccountRequest(params)
  2084  //
  2085  //    err := req.Send()
  2086  //    if err == nil { // resp is now filled
  2087  //        fmt.Println(resp)
  2088  //    }
  2089  //
  2090  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount
  2091  func (c *Macie2) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput) {
  2092  	op := &request.Operation{
  2093  		Name:       opDisassociateFromMasterAccount,
  2094  		HTTPMethod: "POST",
  2095  		HTTPPath:   "/master/disassociate",
  2096  	}
  2097  
  2098  	if input == nil {
  2099  		input = &DisassociateFromMasterAccountInput{}
  2100  	}
  2101  
  2102  	output = &DisassociateFromMasterAccountOutput{}
  2103  	req = c.newRequest(op, input, output)
  2104  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2105  	return
  2106  }
  2107  
  2108  // DisassociateFromMasterAccount API operation for Amazon Macie 2.
  2109  //
  2110  // (Deprecated) Disassociates a member account from its Amazon Macie administrator
  2111  // account. This operation has been replaced by the DisassociateFromAdministratorAccount
  2112  // operation.
  2113  //
  2114  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2115  // with awserr.Error's Code and Message methods to get detailed information about
  2116  // the error.
  2117  //
  2118  // See the AWS API reference guide for Amazon Macie 2's
  2119  // API operation DisassociateFromMasterAccount for usage and error information.
  2120  //
  2121  // Returned Error Types:
  2122  //   * ValidationException
  2123  //   Provides information about an error that occurred due to a syntax error in
  2124  //   a request.
  2125  //
  2126  //   * InternalServerException
  2127  //   Provides information about an error that occurred due to an unknown internal
  2128  //   server error, exception, or failure.
  2129  //
  2130  //   * ServiceQuotaExceededException
  2131  //   Provides information about an error that occurred due to one or more service
  2132  //   quotas for an account.
  2133  //
  2134  //   * AccessDeniedException
  2135  //   Provides information about an error that occurred due to insufficient access
  2136  //   to a specified resource.
  2137  //
  2138  //   * ResourceNotFoundException
  2139  //   Provides information about an error that occurred because a specified resource
  2140  //   wasn't found.
  2141  //
  2142  //   * ThrottlingException
  2143  //   Provides information about an error that occurred because too many requests
  2144  //   were sent during a certain amount of time.
  2145  //
  2146  //   * ConflictException
  2147  //   Provides information about an error that occurred due to a versioning conflict
  2148  //   for a specified resource.
  2149  //
  2150  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount
  2151  func (c *Macie2) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error) {
  2152  	req, out := c.DisassociateFromMasterAccountRequest(input)
  2153  	return out, req.Send()
  2154  }
  2155  
  2156  // DisassociateFromMasterAccountWithContext is the same as DisassociateFromMasterAccount with the addition of
  2157  // the ability to pass a context and additional request options.
  2158  //
  2159  // See DisassociateFromMasterAccount for details on how to use this API operation.
  2160  //
  2161  // The context must be non-nil and will be used for request cancellation. If
  2162  // the context is nil a panic will occur. In the future the SDK may create
  2163  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2164  // for more information on using Contexts.
  2165  func (c *Macie2) DisassociateFromMasterAccountWithContext(ctx aws.Context, input *DisassociateFromMasterAccountInput, opts ...request.Option) (*DisassociateFromMasterAccountOutput, error) {
  2166  	req, out := c.DisassociateFromMasterAccountRequest(input)
  2167  	req.SetContext(ctx)
  2168  	req.ApplyOptions(opts...)
  2169  	return out, req.Send()
  2170  }
  2171  
  2172  const opDisassociateMember = "DisassociateMember"
  2173  
  2174  // DisassociateMemberRequest generates a "aws/request.Request" representing the
  2175  // client's request for the DisassociateMember operation. The "output" return
  2176  // value will be populated with the request's response once the request completes
  2177  // successfully.
  2178  //
  2179  // Use "Send" method on the returned Request to send the API call to the service.
  2180  // the "output" return value is not valid until after Send returns without error.
  2181  //
  2182  // See DisassociateMember for more information on using the DisassociateMember
  2183  // API call, and error handling.
  2184  //
  2185  // This method is useful when you want to inject custom logic or configuration
  2186  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2187  //
  2188  //
  2189  //    // Example sending a request using the DisassociateMemberRequest method.
  2190  //    req, resp := client.DisassociateMemberRequest(params)
  2191  //
  2192  //    err := req.Send()
  2193  //    if err == nil { // resp is now filled
  2194  //        fmt.Println(resp)
  2195  //    }
  2196  //
  2197  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember
  2198  func (c *Macie2) DisassociateMemberRequest(input *DisassociateMemberInput) (req *request.Request, output *DisassociateMemberOutput) {
  2199  	op := &request.Operation{
  2200  		Name:       opDisassociateMember,
  2201  		HTTPMethod: "POST",
  2202  		HTTPPath:   "/members/disassociate/{id}",
  2203  	}
  2204  
  2205  	if input == nil {
  2206  		input = &DisassociateMemberInput{}
  2207  	}
  2208  
  2209  	output = &DisassociateMemberOutput{}
  2210  	req = c.newRequest(op, input, output)
  2211  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2212  	return
  2213  }
  2214  
  2215  // DisassociateMember API operation for Amazon Macie 2.
  2216  //
  2217  // Disassociates an Amazon Macie administrator account from a member account.
  2218  //
  2219  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2220  // with awserr.Error's Code and Message methods to get detailed information about
  2221  // the error.
  2222  //
  2223  // See the AWS API reference guide for Amazon Macie 2's
  2224  // API operation DisassociateMember for usage and error information.
  2225  //
  2226  // Returned Error Types:
  2227  //   * ValidationException
  2228  //   Provides information about an error that occurred due to a syntax error in
  2229  //   a request.
  2230  //
  2231  //   * InternalServerException
  2232  //   Provides information about an error that occurred due to an unknown internal
  2233  //   server error, exception, or failure.
  2234  //
  2235  //   * ServiceQuotaExceededException
  2236  //   Provides information about an error that occurred due to one or more service
  2237  //   quotas for an account.
  2238  //
  2239  //   * AccessDeniedException
  2240  //   Provides information about an error that occurred due to insufficient access
  2241  //   to a specified resource.
  2242  //
  2243  //   * ResourceNotFoundException
  2244  //   Provides information about an error that occurred because a specified resource
  2245  //   wasn't found.
  2246  //
  2247  //   * ThrottlingException
  2248  //   Provides information about an error that occurred because too many requests
  2249  //   were sent during a certain amount of time.
  2250  //
  2251  //   * ConflictException
  2252  //   Provides information about an error that occurred due to a versioning conflict
  2253  //   for a specified resource.
  2254  //
  2255  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember
  2256  func (c *Macie2) DisassociateMember(input *DisassociateMemberInput) (*DisassociateMemberOutput, error) {
  2257  	req, out := c.DisassociateMemberRequest(input)
  2258  	return out, req.Send()
  2259  }
  2260  
  2261  // DisassociateMemberWithContext is the same as DisassociateMember with the addition of
  2262  // the ability to pass a context and additional request options.
  2263  //
  2264  // See DisassociateMember for details on how to use this API operation.
  2265  //
  2266  // The context must be non-nil and will be used for request cancellation. If
  2267  // the context is nil a panic will occur. In the future the SDK may create
  2268  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2269  // for more information on using Contexts.
  2270  func (c *Macie2) DisassociateMemberWithContext(ctx aws.Context, input *DisassociateMemberInput, opts ...request.Option) (*DisassociateMemberOutput, error) {
  2271  	req, out := c.DisassociateMemberRequest(input)
  2272  	req.SetContext(ctx)
  2273  	req.ApplyOptions(opts...)
  2274  	return out, req.Send()
  2275  }
  2276  
  2277  const opEnableMacie = "EnableMacie"
  2278  
  2279  // EnableMacieRequest generates a "aws/request.Request" representing the
  2280  // client's request for the EnableMacie operation. The "output" return
  2281  // value will be populated with the request's response once the request completes
  2282  // successfully.
  2283  //
  2284  // Use "Send" method on the returned Request to send the API call to the service.
  2285  // the "output" return value is not valid until after Send returns without error.
  2286  //
  2287  // See EnableMacie for more information on using the EnableMacie
  2288  // API call, and error handling.
  2289  //
  2290  // This method is useful when you want to inject custom logic or configuration
  2291  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2292  //
  2293  //
  2294  //    // Example sending a request using the EnableMacieRequest method.
  2295  //    req, resp := client.EnableMacieRequest(params)
  2296  //
  2297  //    err := req.Send()
  2298  //    if err == nil { // resp is now filled
  2299  //        fmt.Println(resp)
  2300  //    }
  2301  //
  2302  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie
  2303  func (c *Macie2) EnableMacieRequest(input *EnableMacieInput) (req *request.Request, output *EnableMacieOutput) {
  2304  	op := &request.Operation{
  2305  		Name:       opEnableMacie,
  2306  		HTTPMethod: "POST",
  2307  		HTTPPath:   "/macie",
  2308  	}
  2309  
  2310  	if input == nil {
  2311  		input = &EnableMacieInput{}
  2312  	}
  2313  
  2314  	output = &EnableMacieOutput{}
  2315  	req = c.newRequest(op, input, output)
  2316  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2317  	return
  2318  }
  2319  
  2320  // EnableMacie API operation for Amazon Macie 2.
  2321  //
  2322  // Enables Amazon Macie and specifies the configuration settings for a Macie
  2323  // account.
  2324  //
  2325  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2326  // with awserr.Error's Code and Message methods to get detailed information about
  2327  // the error.
  2328  //
  2329  // See the AWS API reference guide for Amazon Macie 2's
  2330  // API operation EnableMacie for usage and error information.
  2331  //
  2332  // Returned Error Types:
  2333  //   * ValidationException
  2334  //   Provides information about an error that occurred due to a syntax error in
  2335  //   a request.
  2336  //
  2337  //   * InternalServerException
  2338  //   Provides information about an error that occurred due to an unknown internal
  2339  //   server error, exception, or failure.
  2340  //
  2341  //   * ServiceQuotaExceededException
  2342  //   Provides information about an error that occurred due to one or more service
  2343  //   quotas for an account.
  2344  //
  2345  //   * AccessDeniedException
  2346  //   Provides information about an error that occurred due to insufficient access
  2347  //   to a specified resource.
  2348  //
  2349  //   * ResourceNotFoundException
  2350  //   Provides information about an error that occurred because a specified resource
  2351  //   wasn't found.
  2352  //
  2353  //   * ThrottlingException
  2354  //   Provides information about an error that occurred because too many requests
  2355  //   were sent during a certain amount of time.
  2356  //
  2357  //   * ConflictException
  2358  //   Provides information about an error that occurred due to a versioning conflict
  2359  //   for a specified resource.
  2360  //
  2361  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie
  2362  func (c *Macie2) EnableMacie(input *EnableMacieInput) (*EnableMacieOutput, error) {
  2363  	req, out := c.EnableMacieRequest(input)
  2364  	return out, req.Send()
  2365  }
  2366  
  2367  // EnableMacieWithContext is the same as EnableMacie with the addition of
  2368  // the ability to pass a context and additional request options.
  2369  //
  2370  // See EnableMacie for details on how to use this API operation.
  2371  //
  2372  // The context must be non-nil and will be used for request cancellation. If
  2373  // the context is nil a panic will occur. In the future the SDK may create
  2374  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2375  // for more information on using Contexts.
  2376  func (c *Macie2) EnableMacieWithContext(ctx aws.Context, input *EnableMacieInput, opts ...request.Option) (*EnableMacieOutput, error) {
  2377  	req, out := c.EnableMacieRequest(input)
  2378  	req.SetContext(ctx)
  2379  	req.ApplyOptions(opts...)
  2380  	return out, req.Send()
  2381  }
  2382  
  2383  const opEnableOrganizationAdminAccount = "EnableOrganizationAdminAccount"
  2384  
  2385  // EnableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the
  2386  // client's request for the EnableOrganizationAdminAccount operation. The "output" return
  2387  // value will be populated with the request's response once the request completes
  2388  // successfully.
  2389  //
  2390  // Use "Send" method on the returned Request to send the API call to the service.
  2391  // the "output" return value is not valid until after Send returns without error.
  2392  //
  2393  // See EnableOrganizationAdminAccount for more information on using the EnableOrganizationAdminAccount
  2394  // API call, and error handling.
  2395  //
  2396  // This method is useful when you want to inject custom logic or configuration
  2397  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2398  //
  2399  //
  2400  //    // Example sending a request using the EnableOrganizationAdminAccountRequest method.
  2401  //    req, resp := client.EnableOrganizationAdminAccountRequest(params)
  2402  //
  2403  //    err := req.Send()
  2404  //    if err == nil { // resp is now filled
  2405  //        fmt.Println(resp)
  2406  //    }
  2407  //
  2408  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount
  2409  func (c *Macie2) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput) {
  2410  	op := &request.Operation{
  2411  		Name:       opEnableOrganizationAdminAccount,
  2412  		HTTPMethod: "POST",
  2413  		HTTPPath:   "/admin",
  2414  	}
  2415  
  2416  	if input == nil {
  2417  		input = &EnableOrganizationAdminAccountInput{}
  2418  	}
  2419  
  2420  	output = &EnableOrganizationAdminAccountOutput{}
  2421  	req = c.newRequest(op, input, output)
  2422  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2423  	return
  2424  }
  2425  
  2426  // EnableOrganizationAdminAccount API operation for Amazon Macie 2.
  2427  //
  2428  // Designates an account as the delegated Amazon Macie administrator account
  2429  // for an Amazon Web Services organization.
  2430  //
  2431  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2432  // with awserr.Error's Code and Message methods to get detailed information about
  2433  // the error.
  2434  //
  2435  // See the AWS API reference guide for Amazon Macie 2's
  2436  // API operation EnableOrganizationAdminAccount for usage and error information.
  2437  //
  2438  // Returned Error Types:
  2439  //   * ValidationException
  2440  //   Provides information about an error that occurred due to a syntax error in
  2441  //   a request.
  2442  //
  2443  //   * InternalServerException
  2444  //   Provides information about an error that occurred due to an unknown internal
  2445  //   server error, exception, or failure.
  2446  //
  2447  //   * ServiceQuotaExceededException
  2448  //   Provides information about an error that occurred due to one or more service
  2449  //   quotas for an account.
  2450  //
  2451  //   * AccessDeniedException
  2452  //   Provides information about an error that occurred due to insufficient access
  2453  //   to a specified resource.
  2454  //
  2455  //   * ResourceNotFoundException
  2456  //   Provides information about an error that occurred because a specified resource
  2457  //   wasn't found.
  2458  //
  2459  //   * ThrottlingException
  2460  //   Provides information about an error that occurred because too many requests
  2461  //   were sent during a certain amount of time.
  2462  //
  2463  //   * ConflictException
  2464  //   Provides information about an error that occurred due to a versioning conflict
  2465  //   for a specified resource.
  2466  //
  2467  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount
  2468  func (c *Macie2) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error) {
  2469  	req, out := c.EnableOrganizationAdminAccountRequest(input)
  2470  	return out, req.Send()
  2471  }
  2472  
  2473  // EnableOrganizationAdminAccountWithContext is the same as EnableOrganizationAdminAccount with the addition of
  2474  // the ability to pass a context and additional request options.
  2475  //
  2476  // See EnableOrganizationAdminAccount for details on how to use this API operation.
  2477  //
  2478  // The context must be non-nil and will be used for request cancellation. If
  2479  // the context is nil a panic will occur. In the future the SDK may create
  2480  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2481  // for more information on using Contexts.
  2482  func (c *Macie2) EnableOrganizationAdminAccountWithContext(ctx aws.Context, input *EnableOrganizationAdminAccountInput, opts ...request.Option) (*EnableOrganizationAdminAccountOutput, error) {
  2483  	req, out := c.EnableOrganizationAdminAccountRequest(input)
  2484  	req.SetContext(ctx)
  2485  	req.ApplyOptions(opts...)
  2486  	return out, req.Send()
  2487  }
  2488  
  2489  const opGetAdministratorAccount = "GetAdministratorAccount"
  2490  
  2491  // GetAdministratorAccountRequest generates a "aws/request.Request" representing the
  2492  // client's request for the GetAdministratorAccount operation. The "output" return
  2493  // value will be populated with the request's response once the request completes
  2494  // successfully.
  2495  //
  2496  // Use "Send" method on the returned Request to send the API call to the service.
  2497  // the "output" return value is not valid until after Send returns without error.
  2498  //
  2499  // See GetAdministratorAccount for more information on using the GetAdministratorAccount
  2500  // API call, and error handling.
  2501  //
  2502  // This method is useful when you want to inject custom logic or configuration
  2503  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2504  //
  2505  //
  2506  //    // Example sending a request using the GetAdministratorAccountRequest method.
  2507  //    req, resp := client.GetAdministratorAccountRequest(params)
  2508  //
  2509  //    err := req.Send()
  2510  //    if err == nil { // resp is now filled
  2511  //        fmt.Println(resp)
  2512  //    }
  2513  //
  2514  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount
  2515  func (c *Macie2) GetAdministratorAccountRequest(input *GetAdministratorAccountInput) (req *request.Request, output *GetAdministratorAccountOutput) {
  2516  	op := &request.Operation{
  2517  		Name:       opGetAdministratorAccount,
  2518  		HTTPMethod: "GET",
  2519  		HTTPPath:   "/administrator",
  2520  	}
  2521  
  2522  	if input == nil {
  2523  		input = &GetAdministratorAccountInput{}
  2524  	}
  2525  
  2526  	output = &GetAdministratorAccountOutput{}
  2527  	req = c.newRequest(op, input, output)
  2528  	return
  2529  }
  2530  
  2531  // GetAdministratorAccount API operation for Amazon Macie 2.
  2532  //
  2533  // Retrieves information about the Amazon Macie administrator account for an
  2534  // account.
  2535  //
  2536  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2537  // with awserr.Error's Code and Message methods to get detailed information about
  2538  // the error.
  2539  //
  2540  // See the AWS API reference guide for Amazon Macie 2's
  2541  // API operation GetAdministratorAccount for usage and error information.
  2542  //
  2543  // Returned Error Types:
  2544  //   * ValidationException
  2545  //   Provides information about an error that occurred due to a syntax error in
  2546  //   a request.
  2547  //
  2548  //   * InternalServerException
  2549  //   Provides information about an error that occurred due to an unknown internal
  2550  //   server error, exception, or failure.
  2551  //
  2552  //   * ServiceQuotaExceededException
  2553  //   Provides information about an error that occurred due to one or more service
  2554  //   quotas for an account.
  2555  //
  2556  //   * AccessDeniedException
  2557  //   Provides information about an error that occurred due to insufficient access
  2558  //   to a specified resource.
  2559  //
  2560  //   * ResourceNotFoundException
  2561  //   Provides information about an error that occurred because a specified resource
  2562  //   wasn't found.
  2563  //
  2564  //   * ThrottlingException
  2565  //   Provides information about an error that occurred because too many requests
  2566  //   were sent during a certain amount of time.
  2567  //
  2568  //   * ConflictException
  2569  //   Provides information about an error that occurred due to a versioning conflict
  2570  //   for a specified resource.
  2571  //
  2572  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount
  2573  func (c *Macie2) GetAdministratorAccount(input *GetAdministratorAccountInput) (*GetAdministratorAccountOutput, error) {
  2574  	req, out := c.GetAdministratorAccountRequest(input)
  2575  	return out, req.Send()
  2576  }
  2577  
  2578  // GetAdministratorAccountWithContext is the same as GetAdministratorAccount with the addition of
  2579  // the ability to pass a context and additional request options.
  2580  //
  2581  // See GetAdministratorAccount for details on how to use this API operation.
  2582  //
  2583  // The context must be non-nil and will be used for request cancellation. If
  2584  // the context is nil a panic will occur. In the future the SDK may create
  2585  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2586  // for more information on using Contexts.
  2587  func (c *Macie2) GetAdministratorAccountWithContext(ctx aws.Context, input *GetAdministratorAccountInput, opts ...request.Option) (*GetAdministratorAccountOutput, error) {
  2588  	req, out := c.GetAdministratorAccountRequest(input)
  2589  	req.SetContext(ctx)
  2590  	req.ApplyOptions(opts...)
  2591  	return out, req.Send()
  2592  }
  2593  
  2594  const opGetBucketStatistics = "GetBucketStatistics"
  2595  
  2596  // GetBucketStatisticsRequest generates a "aws/request.Request" representing the
  2597  // client's request for the GetBucketStatistics operation. The "output" return
  2598  // value will be populated with the request's response once the request completes
  2599  // successfully.
  2600  //
  2601  // Use "Send" method on the returned Request to send the API call to the service.
  2602  // the "output" return value is not valid until after Send returns without error.
  2603  //
  2604  // See GetBucketStatistics for more information on using the GetBucketStatistics
  2605  // API call, and error handling.
  2606  //
  2607  // This method is useful when you want to inject custom logic or configuration
  2608  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2609  //
  2610  //
  2611  //    // Example sending a request using the GetBucketStatisticsRequest method.
  2612  //    req, resp := client.GetBucketStatisticsRequest(params)
  2613  //
  2614  //    err := req.Send()
  2615  //    if err == nil { // resp is now filled
  2616  //        fmt.Println(resp)
  2617  //    }
  2618  //
  2619  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics
  2620  func (c *Macie2) GetBucketStatisticsRequest(input *GetBucketStatisticsInput) (req *request.Request, output *GetBucketStatisticsOutput) {
  2621  	op := &request.Operation{
  2622  		Name:       opGetBucketStatistics,
  2623  		HTTPMethod: "POST",
  2624  		HTTPPath:   "/datasources/s3/statistics",
  2625  	}
  2626  
  2627  	if input == nil {
  2628  		input = &GetBucketStatisticsInput{}
  2629  	}
  2630  
  2631  	output = &GetBucketStatisticsOutput{}
  2632  	req = c.newRequest(op, input, output)
  2633  	return
  2634  }
  2635  
  2636  // GetBucketStatistics API operation for Amazon Macie 2.
  2637  //
  2638  // Retrieves (queries) aggregated statistical data for all the S3 buckets that
  2639  // Amazon Macie monitors and analyzes.
  2640  //
  2641  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2642  // with awserr.Error's Code and Message methods to get detailed information about
  2643  // the error.
  2644  //
  2645  // See the AWS API reference guide for Amazon Macie 2's
  2646  // API operation GetBucketStatistics for usage and error information.
  2647  //
  2648  // Returned Error Types:
  2649  //   * ValidationException
  2650  //   Provides information about an error that occurred due to a syntax error in
  2651  //   a request.
  2652  //
  2653  //   * InternalServerException
  2654  //   Provides information about an error that occurred due to an unknown internal
  2655  //   server error, exception, or failure.
  2656  //
  2657  //   * ServiceQuotaExceededException
  2658  //   Provides information about an error that occurred due to one or more service
  2659  //   quotas for an account.
  2660  //
  2661  //   * AccessDeniedException
  2662  //   Provides information about an error that occurred due to insufficient access
  2663  //   to a specified resource.
  2664  //
  2665  //   * ResourceNotFoundException
  2666  //   Provides information about an error that occurred because a specified resource
  2667  //   wasn't found.
  2668  //
  2669  //   * ThrottlingException
  2670  //   Provides information about an error that occurred because too many requests
  2671  //   were sent during a certain amount of time.
  2672  //
  2673  //   * ConflictException
  2674  //   Provides information about an error that occurred due to a versioning conflict
  2675  //   for a specified resource.
  2676  //
  2677  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics
  2678  func (c *Macie2) GetBucketStatistics(input *GetBucketStatisticsInput) (*GetBucketStatisticsOutput, error) {
  2679  	req, out := c.GetBucketStatisticsRequest(input)
  2680  	return out, req.Send()
  2681  }
  2682  
  2683  // GetBucketStatisticsWithContext is the same as GetBucketStatistics with the addition of
  2684  // the ability to pass a context and additional request options.
  2685  //
  2686  // See GetBucketStatistics for details on how to use this API operation.
  2687  //
  2688  // The context must be non-nil and will be used for request cancellation. If
  2689  // the context is nil a panic will occur. In the future the SDK may create
  2690  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2691  // for more information on using Contexts.
  2692  func (c *Macie2) GetBucketStatisticsWithContext(ctx aws.Context, input *GetBucketStatisticsInput, opts ...request.Option) (*GetBucketStatisticsOutput, error) {
  2693  	req, out := c.GetBucketStatisticsRequest(input)
  2694  	req.SetContext(ctx)
  2695  	req.ApplyOptions(opts...)
  2696  	return out, req.Send()
  2697  }
  2698  
  2699  const opGetClassificationExportConfiguration = "GetClassificationExportConfiguration"
  2700  
  2701  // GetClassificationExportConfigurationRequest generates a "aws/request.Request" representing the
  2702  // client's request for the GetClassificationExportConfiguration operation. The "output" return
  2703  // value will be populated with the request's response once the request completes
  2704  // successfully.
  2705  //
  2706  // Use "Send" method on the returned Request to send the API call to the service.
  2707  // the "output" return value is not valid until after Send returns without error.
  2708  //
  2709  // See GetClassificationExportConfiguration for more information on using the GetClassificationExportConfiguration
  2710  // API call, and error handling.
  2711  //
  2712  // This method is useful when you want to inject custom logic or configuration
  2713  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2714  //
  2715  //
  2716  //    // Example sending a request using the GetClassificationExportConfigurationRequest method.
  2717  //    req, resp := client.GetClassificationExportConfigurationRequest(params)
  2718  //
  2719  //    err := req.Send()
  2720  //    if err == nil { // resp is now filled
  2721  //        fmt.Println(resp)
  2722  //    }
  2723  //
  2724  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration
  2725  func (c *Macie2) GetClassificationExportConfigurationRequest(input *GetClassificationExportConfigurationInput) (req *request.Request, output *GetClassificationExportConfigurationOutput) {
  2726  	op := &request.Operation{
  2727  		Name:       opGetClassificationExportConfiguration,
  2728  		HTTPMethod: "GET",
  2729  		HTTPPath:   "/classification-export-configuration",
  2730  	}
  2731  
  2732  	if input == nil {
  2733  		input = &GetClassificationExportConfigurationInput{}
  2734  	}
  2735  
  2736  	output = &GetClassificationExportConfigurationOutput{}
  2737  	req = c.newRequest(op, input, output)
  2738  	return
  2739  }
  2740  
  2741  // GetClassificationExportConfiguration API operation for Amazon Macie 2.
  2742  //
  2743  // Retrieves the configuration settings for storing data classification results.
  2744  //
  2745  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2746  // with awserr.Error's Code and Message methods to get detailed information about
  2747  // the error.
  2748  //
  2749  // See the AWS API reference guide for Amazon Macie 2's
  2750  // API operation GetClassificationExportConfiguration for usage and error information.
  2751  //
  2752  // Returned Error Types:
  2753  //   * ValidationException
  2754  //   Provides information about an error that occurred due to a syntax error in
  2755  //   a request.
  2756  //
  2757  //   * InternalServerException
  2758  //   Provides information about an error that occurred due to an unknown internal
  2759  //   server error, exception, or failure.
  2760  //
  2761  //   * ServiceQuotaExceededException
  2762  //   Provides information about an error that occurred due to one or more service
  2763  //   quotas for an account.
  2764  //
  2765  //   * AccessDeniedException
  2766  //   Provides information about an error that occurred due to insufficient access
  2767  //   to a specified resource.
  2768  //
  2769  //   * ResourceNotFoundException
  2770  //   Provides information about an error that occurred because a specified resource
  2771  //   wasn't found.
  2772  //
  2773  //   * ThrottlingException
  2774  //   Provides information about an error that occurred because too many requests
  2775  //   were sent during a certain amount of time.
  2776  //
  2777  //   * ConflictException
  2778  //   Provides information about an error that occurred due to a versioning conflict
  2779  //   for a specified resource.
  2780  //
  2781  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration
  2782  func (c *Macie2) GetClassificationExportConfiguration(input *GetClassificationExportConfigurationInput) (*GetClassificationExportConfigurationOutput, error) {
  2783  	req, out := c.GetClassificationExportConfigurationRequest(input)
  2784  	return out, req.Send()
  2785  }
  2786  
  2787  // GetClassificationExportConfigurationWithContext is the same as GetClassificationExportConfiguration with the addition of
  2788  // the ability to pass a context and additional request options.
  2789  //
  2790  // See GetClassificationExportConfiguration for details on how to use this API operation.
  2791  //
  2792  // The context must be non-nil and will be used for request cancellation. If
  2793  // the context is nil a panic will occur. In the future the SDK may create
  2794  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2795  // for more information on using Contexts.
  2796  func (c *Macie2) GetClassificationExportConfigurationWithContext(ctx aws.Context, input *GetClassificationExportConfigurationInput, opts ...request.Option) (*GetClassificationExportConfigurationOutput, error) {
  2797  	req, out := c.GetClassificationExportConfigurationRequest(input)
  2798  	req.SetContext(ctx)
  2799  	req.ApplyOptions(opts...)
  2800  	return out, req.Send()
  2801  }
  2802  
  2803  const opGetCustomDataIdentifier = "GetCustomDataIdentifier"
  2804  
  2805  // GetCustomDataIdentifierRequest generates a "aws/request.Request" representing the
  2806  // client's request for the GetCustomDataIdentifier operation. The "output" return
  2807  // value will be populated with the request's response once the request completes
  2808  // successfully.
  2809  //
  2810  // Use "Send" method on the returned Request to send the API call to the service.
  2811  // the "output" return value is not valid until after Send returns without error.
  2812  //
  2813  // See GetCustomDataIdentifier for more information on using the GetCustomDataIdentifier
  2814  // API call, and error handling.
  2815  //
  2816  // This method is useful when you want to inject custom logic or configuration
  2817  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2818  //
  2819  //
  2820  //    // Example sending a request using the GetCustomDataIdentifierRequest method.
  2821  //    req, resp := client.GetCustomDataIdentifierRequest(params)
  2822  //
  2823  //    err := req.Send()
  2824  //    if err == nil { // resp is now filled
  2825  //        fmt.Println(resp)
  2826  //    }
  2827  //
  2828  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier
  2829  func (c *Macie2) GetCustomDataIdentifierRequest(input *GetCustomDataIdentifierInput) (req *request.Request, output *GetCustomDataIdentifierOutput) {
  2830  	op := &request.Operation{
  2831  		Name:       opGetCustomDataIdentifier,
  2832  		HTTPMethod: "GET",
  2833  		HTTPPath:   "/custom-data-identifiers/{id}",
  2834  	}
  2835  
  2836  	if input == nil {
  2837  		input = &GetCustomDataIdentifierInput{}
  2838  	}
  2839  
  2840  	output = &GetCustomDataIdentifierOutput{}
  2841  	req = c.newRequest(op, input, output)
  2842  	return
  2843  }
  2844  
  2845  // GetCustomDataIdentifier API operation for Amazon Macie 2.
  2846  //
  2847  // Retrieves the criteria and other settings for a custom data identifier.
  2848  //
  2849  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2850  // with awserr.Error's Code and Message methods to get detailed information about
  2851  // the error.
  2852  //
  2853  // See the AWS API reference guide for Amazon Macie 2's
  2854  // API operation GetCustomDataIdentifier for usage and error information.
  2855  //
  2856  // Returned Error Types:
  2857  //   * ValidationException
  2858  //   Provides information about an error that occurred due to a syntax error in
  2859  //   a request.
  2860  //
  2861  //   * InternalServerException
  2862  //   Provides information about an error that occurred due to an unknown internal
  2863  //   server error, exception, or failure.
  2864  //
  2865  //   * ServiceQuotaExceededException
  2866  //   Provides information about an error that occurred due to one or more service
  2867  //   quotas for an account.
  2868  //
  2869  //   * AccessDeniedException
  2870  //   Provides information about an error that occurred due to insufficient access
  2871  //   to a specified resource.
  2872  //
  2873  //   * ResourceNotFoundException
  2874  //   Provides information about an error that occurred because a specified resource
  2875  //   wasn't found.
  2876  //
  2877  //   * ThrottlingException
  2878  //   Provides information about an error that occurred because too many requests
  2879  //   were sent during a certain amount of time.
  2880  //
  2881  //   * ConflictException
  2882  //   Provides information about an error that occurred due to a versioning conflict
  2883  //   for a specified resource.
  2884  //
  2885  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier
  2886  func (c *Macie2) GetCustomDataIdentifier(input *GetCustomDataIdentifierInput) (*GetCustomDataIdentifierOutput, error) {
  2887  	req, out := c.GetCustomDataIdentifierRequest(input)
  2888  	return out, req.Send()
  2889  }
  2890  
  2891  // GetCustomDataIdentifierWithContext is the same as GetCustomDataIdentifier with the addition of
  2892  // the ability to pass a context and additional request options.
  2893  //
  2894  // See GetCustomDataIdentifier for details on how to use this API operation.
  2895  //
  2896  // The context must be non-nil and will be used for request cancellation. If
  2897  // the context is nil a panic will occur. In the future the SDK may create
  2898  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2899  // for more information on using Contexts.
  2900  func (c *Macie2) GetCustomDataIdentifierWithContext(ctx aws.Context, input *GetCustomDataIdentifierInput, opts ...request.Option) (*GetCustomDataIdentifierOutput, error) {
  2901  	req, out := c.GetCustomDataIdentifierRequest(input)
  2902  	req.SetContext(ctx)
  2903  	req.ApplyOptions(opts...)
  2904  	return out, req.Send()
  2905  }
  2906  
  2907  const opGetFindingStatistics = "GetFindingStatistics"
  2908  
  2909  // GetFindingStatisticsRequest generates a "aws/request.Request" representing the
  2910  // client's request for the GetFindingStatistics operation. The "output" return
  2911  // value will be populated with the request's response once the request completes
  2912  // successfully.
  2913  //
  2914  // Use "Send" method on the returned Request to send the API call to the service.
  2915  // the "output" return value is not valid until after Send returns without error.
  2916  //
  2917  // See GetFindingStatistics for more information on using the GetFindingStatistics
  2918  // API call, and error handling.
  2919  //
  2920  // This method is useful when you want to inject custom logic or configuration
  2921  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2922  //
  2923  //
  2924  //    // Example sending a request using the GetFindingStatisticsRequest method.
  2925  //    req, resp := client.GetFindingStatisticsRequest(params)
  2926  //
  2927  //    err := req.Send()
  2928  //    if err == nil { // resp is now filled
  2929  //        fmt.Println(resp)
  2930  //    }
  2931  //
  2932  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics
  2933  func (c *Macie2) GetFindingStatisticsRequest(input *GetFindingStatisticsInput) (req *request.Request, output *GetFindingStatisticsOutput) {
  2934  	op := &request.Operation{
  2935  		Name:       opGetFindingStatistics,
  2936  		HTTPMethod: "POST",
  2937  		HTTPPath:   "/findings/statistics",
  2938  	}
  2939  
  2940  	if input == nil {
  2941  		input = &GetFindingStatisticsInput{}
  2942  	}
  2943  
  2944  	output = &GetFindingStatisticsOutput{}
  2945  	req = c.newRequest(op, input, output)
  2946  	return
  2947  }
  2948  
  2949  // GetFindingStatistics API operation for Amazon Macie 2.
  2950  //
  2951  // Retrieves (queries) aggregated statistical data about findings.
  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 Amazon Macie 2's
  2958  // API operation GetFindingStatistics for usage and error information.
  2959  //
  2960  // Returned Error Types:
  2961  //   * ValidationException
  2962  //   Provides information about an error that occurred due to a syntax error in
  2963  //   a request.
  2964  //
  2965  //   * InternalServerException
  2966  //   Provides information about an error that occurred due to an unknown internal
  2967  //   server error, exception, or failure.
  2968  //
  2969  //   * ServiceQuotaExceededException
  2970  //   Provides information about an error that occurred due to one or more service
  2971  //   quotas for an account.
  2972  //
  2973  //   * AccessDeniedException
  2974  //   Provides information about an error that occurred due to insufficient access
  2975  //   to a specified resource.
  2976  //
  2977  //   * ResourceNotFoundException
  2978  //   Provides information about an error that occurred because a specified resource
  2979  //   wasn't found.
  2980  //
  2981  //   * ThrottlingException
  2982  //   Provides information about an error that occurred because too many requests
  2983  //   were sent during a certain amount of time.
  2984  //
  2985  //   * ConflictException
  2986  //   Provides information about an error that occurred due to a versioning conflict
  2987  //   for a specified resource.
  2988  //
  2989  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics
  2990  func (c *Macie2) GetFindingStatistics(input *GetFindingStatisticsInput) (*GetFindingStatisticsOutput, error) {
  2991  	req, out := c.GetFindingStatisticsRequest(input)
  2992  	return out, req.Send()
  2993  }
  2994  
  2995  // GetFindingStatisticsWithContext is the same as GetFindingStatistics with the addition of
  2996  // the ability to pass a context and additional request options.
  2997  //
  2998  // See GetFindingStatistics for details on how to use this API operation.
  2999  //
  3000  // The context must be non-nil and will be used for request cancellation. If
  3001  // the context is nil a panic will occur. In the future the SDK may create
  3002  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3003  // for more information on using Contexts.
  3004  func (c *Macie2) GetFindingStatisticsWithContext(ctx aws.Context, input *GetFindingStatisticsInput, opts ...request.Option) (*GetFindingStatisticsOutput, error) {
  3005  	req, out := c.GetFindingStatisticsRequest(input)
  3006  	req.SetContext(ctx)
  3007  	req.ApplyOptions(opts...)
  3008  	return out, req.Send()
  3009  }
  3010  
  3011  const opGetFindings = "GetFindings"
  3012  
  3013  // GetFindingsRequest generates a "aws/request.Request" representing the
  3014  // client's request for the GetFindings operation. The "output" return
  3015  // value will be populated with the request's response once the request completes
  3016  // successfully.
  3017  //
  3018  // Use "Send" method on the returned Request to send the API call to the service.
  3019  // the "output" return value is not valid until after Send returns without error.
  3020  //
  3021  // See GetFindings for more information on using the GetFindings
  3022  // API call, and error handling.
  3023  //
  3024  // This method is useful when you want to inject custom logic or configuration
  3025  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3026  //
  3027  //
  3028  //    // Example sending a request using the GetFindingsRequest method.
  3029  //    req, resp := client.GetFindingsRequest(params)
  3030  //
  3031  //    err := req.Send()
  3032  //    if err == nil { // resp is now filled
  3033  //        fmt.Println(resp)
  3034  //    }
  3035  //
  3036  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings
  3037  func (c *Macie2) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput) {
  3038  	op := &request.Operation{
  3039  		Name:       opGetFindings,
  3040  		HTTPMethod: "POST",
  3041  		HTTPPath:   "/findings/describe",
  3042  	}
  3043  
  3044  	if input == nil {
  3045  		input = &GetFindingsInput{}
  3046  	}
  3047  
  3048  	output = &GetFindingsOutput{}
  3049  	req = c.newRequest(op, input, output)
  3050  	return
  3051  }
  3052  
  3053  // GetFindings API operation for Amazon Macie 2.
  3054  //
  3055  // Retrieves the details of one or more findings.
  3056  //
  3057  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3058  // with awserr.Error's Code and Message methods to get detailed information about
  3059  // the error.
  3060  //
  3061  // See the AWS API reference guide for Amazon Macie 2's
  3062  // API operation GetFindings for usage and error information.
  3063  //
  3064  // Returned Error Types:
  3065  //   * ValidationException
  3066  //   Provides information about an error that occurred due to a syntax error in
  3067  //   a request.
  3068  //
  3069  //   * InternalServerException
  3070  //   Provides information about an error that occurred due to an unknown internal
  3071  //   server error, exception, or failure.
  3072  //
  3073  //   * ServiceQuotaExceededException
  3074  //   Provides information about an error that occurred due to one or more service
  3075  //   quotas for an account.
  3076  //
  3077  //   * AccessDeniedException
  3078  //   Provides information about an error that occurred due to insufficient access
  3079  //   to a specified resource.
  3080  //
  3081  //   * ResourceNotFoundException
  3082  //   Provides information about an error that occurred because a specified resource
  3083  //   wasn't found.
  3084  //
  3085  //   * ThrottlingException
  3086  //   Provides information about an error that occurred because too many requests
  3087  //   were sent during a certain amount of time.
  3088  //
  3089  //   * ConflictException
  3090  //   Provides information about an error that occurred due to a versioning conflict
  3091  //   for a specified resource.
  3092  //
  3093  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings
  3094  func (c *Macie2) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error) {
  3095  	req, out := c.GetFindingsRequest(input)
  3096  	return out, req.Send()
  3097  }
  3098  
  3099  // GetFindingsWithContext is the same as GetFindings with the addition of
  3100  // the ability to pass a context and additional request options.
  3101  //
  3102  // See GetFindings for details on how to use this API operation.
  3103  //
  3104  // The context must be non-nil and will be used for request cancellation. If
  3105  // the context is nil a panic will occur. In the future the SDK may create
  3106  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3107  // for more information on using Contexts.
  3108  func (c *Macie2) GetFindingsWithContext(ctx aws.Context, input *GetFindingsInput, opts ...request.Option) (*GetFindingsOutput, error) {
  3109  	req, out := c.GetFindingsRequest(input)
  3110  	req.SetContext(ctx)
  3111  	req.ApplyOptions(opts...)
  3112  	return out, req.Send()
  3113  }
  3114  
  3115  const opGetFindingsFilter = "GetFindingsFilter"
  3116  
  3117  // GetFindingsFilterRequest generates a "aws/request.Request" representing the
  3118  // client's request for the GetFindingsFilter operation. The "output" return
  3119  // value will be populated with the request's response once the request completes
  3120  // successfully.
  3121  //
  3122  // Use "Send" method on the returned Request to send the API call to the service.
  3123  // the "output" return value is not valid until after Send returns without error.
  3124  //
  3125  // See GetFindingsFilter for more information on using the GetFindingsFilter
  3126  // API call, and error handling.
  3127  //
  3128  // This method is useful when you want to inject custom logic or configuration
  3129  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3130  //
  3131  //
  3132  //    // Example sending a request using the GetFindingsFilterRequest method.
  3133  //    req, resp := client.GetFindingsFilterRequest(params)
  3134  //
  3135  //    err := req.Send()
  3136  //    if err == nil { // resp is now filled
  3137  //        fmt.Println(resp)
  3138  //    }
  3139  //
  3140  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter
  3141  func (c *Macie2) GetFindingsFilterRequest(input *GetFindingsFilterInput) (req *request.Request, output *GetFindingsFilterOutput) {
  3142  	op := &request.Operation{
  3143  		Name:       opGetFindingsFilter,
  3144  		HTTPMethod: "GET",
  3145  		HTTPPath:   "/findingsfilters/{id}",
  3146  	}
  3147  
  3148  	if input == nil {
  3149  		input = &GetFindingsFilterInput{}
  3150  	}
  3151  
  3152  	output = &GetFindingsFilterOutput{}
  3153  	req = c.newRequest(op, input, output)
  3154  	return
  3155  }
  3156  
  3157  // GetFindingsFilter API operation for Amazon Macie 2.
  3158  //
  3159  // Retrieves the criteria and other settings for a findings filter.
  3160  //
  3161  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3162  // with awserr.Error's Code and Message methods to get detailed information about
  3163  // the error.
  3164  //
  3165  // See the AWS API reference guide for Amazon Macie 2's
  3166  // API operation GetFindingsFilter for usage and error information.
  3167  //
  3168  // Returned Error Types:
  3169  //   * ValidationException
  3170  //   Provides information about an error that occurred due to a syntax error in
  3171  //   a request.
  3172  //
  3173  //   * InternalServerException
  3174  //   Provides information about an error that occurred due to an unknown internal
  3175  //   server error, exception, or failure.
  3176  //
  3177  //   * ServiceQuotaExceededException
  3178  //   Provides information about an error that occurred due to one or more service
  3179  //   quotas for an account.
  3180  //
  3181  //   * AccessDeniedException
  3182  //   Provides information about an error that occurred due to insufficient access
  3183  //   to a specified resource.
  3184  //
  3185  //   * ResourceNotFoundException
  3186  //   Provides information about an error that occurred because a specified resource
  3187  //   wasn't found.
  3188  //
  3189  //   * ThrottlingException
  3190  //   Provides information about an error that occurred because too many requests
  3191  //   were sent during a certain amount of time.
  3192  //
  3193  //   * ConflictException
  3194  //   Provides information about an error that occurred due to a versioning conflict
  3195  //   for a specified resource.
  3196  //
  3197  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter
  3198  func (c *Macie2) GetFindingsFilter(input *GetFindingsFilterInput) (*GetFindingsFilterOutput, error) {
  3199  	req, out := c.GetFindingsFilterRequest(input)
  3200  	return out, req.Send()
  3201  }
  3202  
  3203  // GetFindingsFilterWithContext is the same as GetFindingsFilter with the addition of
  3204  // the ability to pass a context and additional request options.
  3205  //
  3206  // See GetFindingsFilter for details on how to use this API operation.
  3207  //
  3208  // The context must be non-nil and will be used for request cancellation. If
  3209  // the context is nil a panic will occur. In the future the SDK may create
  3210  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3211  // for more information on using Contexts.
  3212  func (c *Macie2) GetFindingsFilterWithContext(ctx aws.Context, input *GetFindingsFilterInput, opts ...request.Option) (*GetFindingsFilterOutput, error) {
  3213  	req, out := c.GetFindingsFilterRequest(input)
  3214  	req.SetContext(ctx)
  3215  	req.ApplyOptions(opts...)
  3216  	return out, req.Send()
  3217  }
  3218  
  3219  const opGetFindingsPublicationConfiguration = "GetFindingsPublicationConfiguration"
  3220  
  3221  // GetFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the
  3222  // client's request for the GetFindingsPublicationConfiguration operation. The "output" return
  3223  // value will be populated with the request's response once the request completes
  3224  // successfully.
  3225  //
  3226  // Use "Send" method on the returned Request to send the API call to the service.
  3227  // the "output" return value is not valid until after Send returns without error.
  3228  //
  3229  // See GetFindingsPublicationConfiguration for more information on using the GetFindingsPublicationConfiguration
  3230  // API call, and error handling.
  3231  //
  3232  // This method is useful when you want to inject custom logic or configuration
  3233  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3234  //
  3235  //
  3236  //    // Example sending a request using the GetFindingsPublicationConfigurationRequest method.
  3237  //    req, resp := client.GetFindingsPublicationConfigurationRequest(params)
  3238  //
  3239  //    err := req.Send()
  3240  //    if err == nil { // resp is now filled
  3241  //        fmt.Println(resp)
  3242  //    }
  3243  //
  3244  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration
  3245  func (c *Macie2) GetFindingsPublicationConfigurationRequest(input *GetFindingsPublicationConfigurationInput) (req *request.Request, output *GetFindingsPublicationConfigurationOutput) {
  3246  	op := &request.Operation{
  3247  		Name:       opGetFindingsPublicationConfiguration,
  3248  		HTTPMethod: "GET",
  3249  		HTTPPath:   "/findings-publication-configuration",
  3250  	}
  3251  
  3252  	if input == nil {
  3253  		input = &GetFindingsPublicationConfigurationInput{}
  3254  	}
  3255  
  3256  	output = &GetFindingsPublicationConfigurationOutput{}
  3257  	req = c.newRequest(op, input, output)
  3258  	return
  3259  }
  3260  
  3261  // GetFindingsPublicationConfiguration API operation for Amazon Macie 2.
  3262  //
  3263  // Retrieves the configuration settings for publishing findings to Security
  3264  // Hub.
  3265  //
  3266  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3267  // with awserr.Error's Code and Message methods to get detailed information about
  3268  // the error.
  3269  //
  3270  // See the AWS API reference guide for Amazon Macie 2's
  3271  // API operation GetFindingsPublicationConfiguration for usage and error information.
  3272  //
  3273  // Returned Error Types:
  3274  //   * ValidationException
  3275  //   Provides information about an error that occurred due to a syntax error in
  3276  //   a request.
  3277  //
  3278  //   * InternalServerException
  3279  //   Provides information about an error that occurred due to an unknown internal
  3280  //   server error, exception, or failure.
  3281  //
  3282  //   * ServiceQuotaExceededException
  3283  //   Provides information about an error that occurred due to one or more service
  3284  //   quotas for an account.
  3285  //
  3286  //   * AccessDeniedException
  3287  //   Provides information about an error that occurred due to insufficient access
  3288  //   to a specified resource.
  3289  //
  3290  //   * ResourceNotFoundException
  3291  //   Provides information about an error that occurred because a specified resource
  3292  //   wasn't found.
  3293  //
  3294  //   * ThrottlingException
  3295  //   Provides information about an error that occurred because too many requests
  3296  //   were sent during a certain amount of time.
  3297  //
  3298  //   * ConflictException
  3299  //   Provides information about an error that occurred due to a versioning conflict
  3300  //   for a specified resource.
  3301  //
  3302  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration
  3303  func (c *Macie2) GetFindingsPublicationConfiguration(input *GetFindingsPublicationConfigurationInput) (*GetFindingsPublicationConfigurationOutput, error) {
  3304  	req, out := c.GetFindingsPublicationConfigurationRequest(input)
  3305  	return out, req.Send()
  3306  }
  3307  
  3308  // GetFindingsPublicationConfigurationWithContext is the same as GetFindingsPublicationConfiguration with the addition of
  3309  // the ability to pass a context and additional request options.
  3310  //
  3311  // See GetFindingsPublicationConfiguration for details on how to use this API operation.
  3312  //
  3313  // The context must be non-nil and will be used for request cancellation. If
  3314  // the context is nil a panic will occur. In the future the SDK may create
  3315  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3316  // for more information on using Contexts.
  3317  func (c *Macie2) GetFindingsPublicationConfigurationWithContext(ctx aws.Context, input *GetFindingsPublicationConfigurationInput, opts ...request.Option) (*GetFindingsPublicationConfigurationOutput, error) {
  3318  	req, out := c.GetFindingsPublicationConfigurationRequest(input)
  3319  	req.SetContext(ctx)
  3320  	req.ApplyOptions(opts...)
  3321  	return out, req.Send()
  3322  }
  3323  
  3324  const opGetInvitationsCount = "GetInvitationsCount"
  3325  
  3326  // GetInvitationsCountRequest generates a "aws/request.Request" representing the
  3327  // client's request for the GetInvitationsCount operation. The "output" return
  3328  // value will be populated with the request's response once the request completes
  3329  // successfully.
  3330  //
  3331  // Use "Send" method on the returned Request to send the API call to the service.
  3332  // the "output" return value is not valid until after Send returns without error.
  3333  //
  3334  // See GetInvitationsCount for more information on using the GetInvitationsCount
  3335  // API call, and error handling.
  3336  //
  3337  // This method is useful when you want to inject custom logic or configuration
  3338  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3339  //
  3340  //
  3341  //    // Example sending a request using the GetInvitationsCountRequest method.
  3342  //    req, resp := client.GetInvitationsCountRequest(params)
  3343  //
  3344  //    err := req.Send()
  3345  //    if err == nil { // resp is now filled
  3346  //        fmt.Println(resp)
  3347  //    }
  3348  //
  3349  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount
  3350  func (c *Macie2) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput) {
  3351  	op := &request.Operation{
  3352  		Name:       opGetInvitationsCount,
  3353  		HTTPMethod: "GET",
  3354  		HTTPPath:   "/invitations/count",
  3355  	}
  3356  
  3357  	if input == nil {
  3358  		input = &GetInvitationsCountInput{}
  3359  	}
  3360  
  3361  	output = &GetInvitationsCountOutput{}
  3362  	req = c.newRequest(op, input, output)
  3363  	return
  3364  }
  3365  
  3366  // GetInvitationsCount API operation for Amazon Macie 2.
  3367  //
  3368  // Retrieves the count of Amazon Macie membership invitations that were received
  3369  // by an account.
  3370  //
  3371  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3372  // with awserr.Error's Code and Message methods to get detailed information about
  3373  // the error.
  3374  //
  3375  // See the AWS API reference guide for Amazon Macie 2's
  3376  // API operation GetInvitationsCount for usage and error information.
  3377  //
  3378  // Returned Error Types:
  3379  //   * ValidationException
  3380  //   Provides information about an error that occurred due to a syntax error in
  3381  //   a request.
  3382  //
  3383  //   * InternalServerException
  3384  //   Provides information about an error that occurred due to an unknown internal
  3385  //   server error, exception, or failure.
  3386  //
  3387  //   * ServiceQuotaExceededException
  3388  //   Provides information about an error that occurred due to one or more service
  3389  //   quotas for an account.
  3390  //
  3391  //   * AccessDeniedException
  3392  //   Provides information about an error that occurred due to insufficient access
  3393  //   to a specified resource.
  3394  //
  3395  //   * ResourceNotFoundException
  3396  //   Provides information about an error that occurred because a specified resource
  3397  //   wasn't found.
  3398  //
  3399  //   * ThrottlingException
  3400  //   Provides information about an error that occurred because too many requests
  3401  //   were sent during a certain amount of time.
  3402  //
  3403  //   * ConflictException
  3404  //   Provides information about an error that occurred due to a versioning conflict
  3405  //   for a specified resource.
  3406  //
  3407  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount
  3408  func (c *Macie2) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error) {
  3409  	req, out := c.GetInvitationsCountRequest(input)
  3410  	return out, req.Send()
  3411  }
  3412  
  3413  // GetInvitationsCountWithContext is the same as GetInvitationsCount with the addition of
  3414  // the ability to pass a context and additional request options.
  3415  //
  3416  // See GetInvitationsCount for details on how to use this API operation.
  3417  //
  3418  // The context must be non-nil and will be used for request cancellation. If
  3419  // the context is nil a panic will occur. In the future the SDK may create
  3420  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3421  // for more information on using Contexts.
  3422  func (c *Macie2) GetInvitationsCountWithContext(ctx aws.Context, input *GetInvitationsCountInput, opts ...request.Option) (*GetInvitationsCountOutput, error) {
  3423  	req, out := c.GetInvitationsCountRequest(input)
  3424  	req.SetContext(ctx)
  3425  	req.ApplyOptions(opts...)
  3426  	return out, req.Send()
  3427  }
  3428  
  3429  const opGetMacieSession = "GetMacieSession"
  3430  
  3431  // GetMacieSessionRequest generates a "aws/request.Request" representing the
  3432  // client's request for the GetMacieSession operation. The "output" return
  3433  // value will be populated with the request's response once the request completes
  3434  // successfully.
  3435  //
  3436  // Use "Send" method on the returned Request to send the API call to the service.
  3437  // the "output" return value is not valid until after Send returns without error.
  3438  //
  3439  // See GetMacieSession for more information on using the GetMacieSession
  3440  // API call, and error handling.
  3441  //
  3442  // This method is useful when you want to inject custom logic or configuration
  3443  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3444  //
  3445  //
  3446  //    // Example sending a request using the GetMacieSessionRequest method.
  3447  //    req, resp := client.GetMacieSessionRequest(params)
  3448  //
  3449  //    err := req.Send()
  3450  //    if err == nil { // resp is now filled
  3451  //        fmt.Println(resp)
  3452  //    }
  3453  //
  3454  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession
  3455  func (c *Macie2) GetMacieSessionRequest(input *GetMacieSessionInput) (req *request.Request, output *GetMacieSessionOutput) {
  3456  	op := &request.Operation{
  3457  		Name:       opGetMacieSession,
  3458  		HTTPMethod: "GET",
  3459  		HTTPPath:   "/macie",
  3460  	}
  3461  
  3462  	if input == nil {
  3463  		input = &GetMacieSessionInput{}
  3464  	}
  3465  
  3466  	output = &GetMacieSessionOutput{}
  3467  	req = c.newRequest(op, input, output)
  3468  	return
  3469  }
  3470  
  3471  // GetMacieSession API operation for Amazon Macie 2.
  3472  //
  3473  // Retrieves the current status and configuration settings for an Amazon Macie
  3474  // account.
  3475  //
  3476  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3477  // with awserr.Error's Code and Message methods to get detailed information about
  3478  // the error.
  3479  //
  3480  // See the AWS API reference guide for Amazon Macie 2's
  3481  // API operation GetMacieSession for usage and error information.
  3482  //
  3483  // Returned Error Types:
  3484  //   * ValidationException
  3485  //   Provides information about an error that occurred due to a syntax error in
  3486  //   a request.
  3487  //
  3488  //   * InternalServerException
  3489  //   Provides information about an error that occurred due to an unknown internal
  3490  //   server error, exception, or failure.
  3491  //
  3492  //   * ServiceQuotaExceededException
  3493  //   Provides information about an error that occurred due to one or more service
  3494  //   quotas for an account.
  3495  //
  3496  //   * AccessDeniedException
  3497  //   Provides information about an error that occurred due to insufficient access
  3498  //   to a specified resource.
  3499  //
  3500  //   * ResourceNotFoundException
  3501  //   Provides information about an error that occurred because a specified resource
  3502  //   wasn't found.
  3503  //
  3504  //   * ThrottlingException
  3505  //   Provides information about an error that occurred because too many requests
  3506  //   were sent during a certain amount of time.
  3507  //
  3508  //   * ConflictException
  3509  //   Provides information about an error that occurred due to a versioning conflict
  3510  //   for a specified resource.
  3511  //
  3512  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession
  3513  func (c *Macie2) GetMacieSession(input *GetMacieSessionInput) (*GetMacieSessionOutput, error) {
  3514  	req, out := c.GetMacieSessionRequest(input)
  3515  	return out, req.Send()
  3516  }
  3517  
  3518  // GetMacieSessionWithContext is the same as GetMacieSession with the addition of
  3519  // the ability to pass a context and additional request options.
  3520  //
  3521  // See GetMacieSession for details on how to use this API operation.
  3522  //
  3523  // The context must be non-nil and will be used for request cancellation. If
  3524  // the context is nil a panic will occur. In the future the SDK may create
  3525  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3526  // for more information on using Contexts.
  3527  func (c *Macie2) GetMacieSessionWithContext(ctx aws.Context, input *GetMacieSessionInput, opts ...request.Option) (*GetMacieSessionOutput, error) {
  3528  	req, out := c.GetMacieSessionRequest(input)
  3529  	req.SetContext(ctx)
  3530  	req.ApplyOptions(opts...)
  3531  	return out, req.Send()
  3532  }
  3533  
  3534  const opGetMasterAccount = "GetMasterAccount"
  3535  
  3536  // GetMasterAccountRequest generates a "aws/request.Request" representing the
  3537  // client's request for the GetMasterAccount operation. The "output" return
  3538  // value will be populated with the request's response once the request completes
  3539  // successfully.
  3540  //
  3541  // Use "Send" method on the returned Request to send the API call to the service.
  3542  // the "output" return value is not valid until after Send returns without error.
  3543  //
  3544  // See GetMasterAccount for more information on using the GetMasterAccount
  3545  // API call, and error handling.
  3546  //
  3547  // This method is useful when you want to inject custom logic or configuration
  3548  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3549  //
  3550  //
  3551  //    // Example sending a request using the GetMasterAccountRequest method.
  3552  //    req, resp := client.GetMasterAccountRequest(params)
  3553  //
  3554  //    err := req.Send()
  3555  //    if err == nil { // resp is now filled
  3556  //        fmt.Println(resp)
  3557  //    }
  3558  //
  3559  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount
  3560  func (c *Macie2) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput) {
  3561  	op := &request.Operation{
  3562  		Name:       opGetMasterAccount,
  3563  		HTTPMethod: "GET",
  3564  		HTTPPath:   "/master",
  3565  	}
  3566  
  3567  	if input == nil {
  3568  		input = &GetMasterAccountInput{}
  3569  	}
  3570  
  3571  	output = &GetMasterAccountOutput{}
  3572  	req = c.newRequest(op, input, output)
  3573  	return
  3574  }
  3575  
  3576  // GetMasterAccount API operation for Amazon Macie 2.
  3577  //
  3578  // (Deprecated) Retrieves information about the Amazon Macie administrator account
  3579  // for an account. This operation has been replaced by the GetAdministratorAccount
  3580  // operation.
  3581  //
  3582  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3583  // with awserr.Error's Code and Message methods to get detailed information about
  3584  // the error.
  3585  //
  3586  // See the AWS API reference guide for Amazon Macie 2's
  3587  // API operation GetMasterAccount for usage and error information.
  3588  //
  3589  // Returned Error Types:
  3590  //   * ValidationException
  3591  //   Provides information about an error that occurred due to a syntax error in
  3592  //   a request.
  3593  //
  3594  //   * InternalServerException
  3595  //   Provides information about an error that occurred due to an unknown internal
  3596  //   server error, exception, or failure.
  3597  //
  3598  //   * ServiceQuotaExceededException
  3599  //   Provides information about an error that occurred due to one or more service
  3600  //   quotas for an account.
  3601  //
  3602  //   * AccessDeniedException
  3603  //   Provides information about an error that occurred due to insufficient access
  3604  //   to a specified resource.
  3605  //
  3606  //   * ResourceNotFoundException
  3607  //   Provides information about an error that occurred because a specified resource
  3608  //   wasn't found.
  3609  //
  3610  //   * ThrottlingException
  3611  //   Provides information about an error that occurred because too many requests
  3612  //   were sent during a certain amount of time.
  3613  //
  3614  //   * ConflictException
  3615  //   Provides information about an error that occurred due to a versioning conflict
  3616  //   for a specified resource.
  3617  //
  3618  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount
  3619  func (c *Macie2) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error) {
  3620  	req, out := c.GetMasterAccountRequest(input)
  3621  	return out, req.Send()
  3622  }
  3623  
  3624  // GetMasterAccountWithContext is the same as GetMasterAccount with the addition of
  3625  // the ability to pass a context and additional request options.
  3626  //
  3627  // See GetMasterAccount for details on how to use this API operation.
  3628  //
  3629  // The context must be non-nil and will be used for request cancellation. If
  3630  // the context is nil a panic will occur. In the future the SDK may create
  3631  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3632  // for more information on using Contexts.
  3633  func (c *Macie2) GetMasterAccountWithContext(ctx aws.Context, input *GetMasterAccountInput, opts ...request.Option) (*GetMasterAccountOutput, error) {
  3634  	req, out := c.GetMasterAccountRequest(input)
  3635  	req.SetContext(ctx)
  3636  	req.ApplyOptions(opts...)
  3637  	return out, req.Send()
  3638  }
  3639  
  3640  const opGetMember = "GetMember"
  3641  
  3642  // GetMemberRequest generates a "aws/request.Request" representing the
  3643  // client's request for the GetMember operation. The "output" return
  3644  // value will be populated with the request's response once the request completes
  3645  // successfully.
  3646  //
  3647  // Use "Send" method on the returned Request to send the API call to the service.
  3648  // the "output" return value is not valid until after Send returns without error.
  3649  //
  3650  // See GetMember for more information on using the GetMember
  3651  // API call, and error handling.
  3652  //
  3653  // This method is useful when you want to inject custom logic or configuration
  3654  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3655  //
  3656  //
  3657  //    // Example sending a request using the GetMemberRequest method.
  3658  //    req, resp := client.GetMemberRequest(params)
  3659  //
  3660  //    err := req.Send()
  3661  //    if err == nil { // resp is now filled
  3662  //        fmt.Println(resp)
  3663  //    }
  3664  //
  3665  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember
  3666  func (c *Macie2) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput) {
  3667  	op := &request.Operation{
  3668  		Name:       opGetMember,
  3669  		HTTPMethod: "GET",
  3670  		HTTPPath:   "/members/{id}",
  3671  	}
  3672  
  3673  	if input == nil {
  3674  		input = &GetMemberInput{}
  3675  	}
  3676  
  3677  	output = &GetMemberOutput{}
  3678  	req = c.newRequest(op, input, output)
  3679  	return
  3680  }
  3681  
  3682  // GetMember API operation for Amazon Macie 2.
  3683  //
  3684  // Retrieves information about an account that's associated with an Amazon Macie
  3685  // administrator account.
  3686  //
  3687  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3688  // with awserr.Error's Code and Message methods to get detailed information about
  3689  // the error.
  3690  //
  3691  // See the AWS API reference guide for Amazon Macie 2's
  3692  // API operation GetMember for usage and error information.
  3693  //
  3694  // Returned Error Types:
  3695  //   * ValidationException
  3696  //   Provides information about an error that occurred due to a syntax error in
  3697  //   a request.
  3698  //
  3699  //   * InternalServerException
  3700  //   Provides information about an error that occurred due to an unknown internal
  3701  //   server error, exception, or failure.
  3702  //
  3703  //   * ServiceQuotaExceededException
  3704  //   Provides information about an error that occurred due to one or more service
  3705  //   quotas for an account.
  3706  //
  3707  //   * AccessDeniedException
  3708  //   Provides information about an error that occurred due to insufficient access
  3709  //   to a specified resource.
  3710  //
  3711  //   * ResourceNotFoundException
  3712  //   Provides information about an error that occurred because a specified resource
  3713  //   wasn't found.
  3714  //
  3715  //   * ThrottlingException
  3716  //   Provides information about an error that occurred because too many requests
  3717  //   were sent during a certain amount of time.
  3718  //
  3719  //   * ConflictException
  3720  //   Provides information about an error that occurred due to a versioning conflict
  3721  //   for a specified resource.
  3722  //
  3723  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember
  3724  func (c *Macie2) GetMember(input *GetMemberInput) (*GetMemberOutput, error) {
  3725  	req, out := c.GetMemberRequest(input)
  3726  	return out, req.Send()
  3727  }
  3728  
  3729  // GetMemberWithContext is the same as GetMember with the addition of
  3730  // the ability to pass a context and additional request options.
  3731  //
  3732  // See GetMember for details on how to use this API operation.
  3733  //
  3734  // The context must be non-nil and will be used for request cancellation. If
  3735  // the context is nil a panic will occur. In the future the SDK may create
  3736  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3737  // for more information on using Contexts.
  3738  func (c *Macie2) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, opts ...request.Option) (*GetMemberOutput, error) {
  3739  	req, out := c.GetMemberRequest(input)
  3740  	req.SetContext(ctx)
  3741  	req.ApplyOptions(opts...)
  3742  	return out, req.Send()
  3743  }
  3744  
  3745  const opGetUsageStatistics = "GetUsageStatistics"
  3746  
  3747  // GetUsageStatisticsRequest generates a "aws/request.Request" representing the
  3748  // client's request for the GetUsageStatistics operation. The "output" return
  3749  // value will be populated with the request's response once the request completes
  3750  // successfully.
  3751  //
  3752  // Use "Send" method on the returned Request to send the API call to the service.
  3753  // the "output" return value is not valid until after Send returns without error.
  3754  //
  3755  // See GetUsageStatistics for more information on using the GetUsageStatistics
  3756  // API call, and error handling.
  3757  //
  3758  // This method is useful when you want to inject custom logic or configuration
  3759  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3760  //
  3761  //
  3762  //    // Example sending a request using the GetUsageStatisticsRequest method.
  3763  //    req, resp := client.GetUsageStatisticsRequest(params)
  3764  //
  3765  //    err := req.Send()
  3766  //    if err == nil { // resp is now filled
  3767  //        fmt.Println(resp)
  3768  //    }
  3769  //
  3770  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics
  3771  func (c *Macie2) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req *request.Request, output *GetUsageStatisticsOutput) {
  3772  	op := &request.Operation{
  3773  		Name:       opGetUsageStatistics,
  3774  		HTTPMethod: "POST",
  3775  		HTTPPath:   "/usage/statistics",
  3776  		Paginator: &request.Paginator{
  3777  			InputTokens:     []string{"nextToken"},
  3778  			OutputTokens:    []string{"nextToken"},
  3779  			LimitToken:      "maxResults",
  3780  			TruncationToken: "",
  3781  		},
  3782  	}
  3783  
  3784  	if input == nil {
  3785  		input = &GetUsageStatisticsInput{}
  3786  	}
  3787  
  3788  	output = &GetUsageStatisticsOutput{}
  3789  	req = c.newRequest(op, input, output)
  3790  	return
  3791  }
  3792  
  3793  // GetUsageStatistics API operation for Amazon Macie 2.
  3794  //
  3795  // Retrieves (queries) quotas and aggregated usage data for one or more accounts.
  3796  //
  3797  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3798  // with awserr.Error's Code and Message methods to get detailed information about
  3799  // the error.
  3800  //
  3801  // See the AWS API reference guide for Amazon Macie 2's
  3802  // API operation GetUsageStatistics for usage and error information.
  3803  //
  3804  // Returned Error Types:
  3805  //   * ValidationException
  3806  //   Provides information about an error that occurred due to a syntax error in
  3807  //   a request.
  3808  //
  3809  //   * InternalServerException
  3810  //   Provides information about an error that occurred due to an unknown internal
  3811  //   server error, exception, or failure.
  3812  //
  3813  //   * ServiceQuotaExceededException
  3814  //   Provides information about an error that occurred due to one or more service
  3815  //   quotas for an account.
  3816  //
  3817  //   * AccessDeniedException
  3818  //   Provides information about an error that occurred due to insufficient access
  3819  //   to a specified resource.
  3820  //
  3821  //   * ResourceNotFoundException
  3822  //   Provides information about an error that occurred because a specified resource
  3823  //   wasn't found.
  3824  //
  3825  //   * ThrottlingException
  3826  //   Provides information about an error that occurred because too many requests
  3827  //   were sent during a certain amount of time.
  3828  //
  3829  //   * ConflictException
  3830  //   Provides information about an error that occurred due to a versioning conflict
  3831  //   for a specified resource.
  3832  //
  3833  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics
  3834  func (c *Macie2) GetUsageStatistics(input *GetUsageStatisticsInput) (*GetUsageStatisticsOutput, error) {
  3835  	req, out := c.GetUsageStatisticsRequest(input)
  3836  	return out, req.Send()
  3837  }
  3838  
  3839  // GetUsageStatisticsWithContext is the same as GetUsageStatistics with the addition of
  3840  // the ability to pass a context and additional request options.
  3841  //
  3842  // See GetUsageStatistics for details on how to use this API operation.
  3843  //
  3844  // The context must be non-nil and will be used for request cancellation. If
  3845  // the context is nil a panic will occur. In the future the SDK may create
  3846  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3847  // for more information on using Contexts.
  3848  func (c *Macie2) GetUsageStatisticsWithContext(ctx aws.Context, input *GetUsageStatisticsInput, opts ...request.Option) (*GetUsageStatisticsOutput, error) {
  3849  	req, out := c.GetUsageStatisticsRequest(input)
  3850  	req.SetContext(ctx)
  3851  	req.ApplyOptions(opts...)
  3852  	return out, req.Send()
  3853  }
  3854  
  3855  // GetUsageStatisticsPages iterates over the pages of a GetUsageStatistics operation,
  3856  // calling the "fn" function with the response data for each page. To stop
  3857  // iterating, return false from the fn function.
  3858  //
  3859  // See GetUsageStatistics method for more information on how to use this operation.
  3860  //
  3861  // Note: This operation can generate multiple requests to a service.
  3862  //
  3863  //    // Example iterating over at most 3 pages of a GetUsageStatistics operation.
  3864  //    pageNum := 0
  3865  //    err := client.GetUsageStatisticsPages(params,
  3866  //        func(page *macie2.GetUsageStatisticsOutput, lastPage bool) bool {
  3867  //            pageNum++
  3868  //            fmt.Println(page)
  3869  //            return pageNum <= 3
  3870  //        })
  3871  //
  3872  func (c *Macie2) GetUsageStatisticsPages(input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool) error {
  3873  	return c.GetUsageStatisticsPagesWithContext(aws.BackgroundContext(), input, fn)
  3874  }
  3875  
  3876  // GetUsageStatisticsPagesWithContext same as GetUsageStatisticsPages except
  3877  // it takes a Context and allows setting request options on the pages.
  3878  //
  3879  // The context must be non-nil and will be used for request cancellation. If
  3880  // the context is nil a panic will occur. In the future the SDK may create
  3881  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3882  // for more information on using Contexts.
  3883  func (c *Macie2) GetUsageStatisticsPagesWithContext(ctx aws.Context, input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool, opts ...request.Option) error {
  3884  	p := request.Pagination{
  3885  		NewRequest: func() (*request.Request, error) {
  3886  			var inCpy *GetUsageStatisticsInput
  3887  			if input != nil {
  3888  				tmp := *input
  3889  				inCpy = &tmp
  3890  			}
  3891  			req, _ := c.GetUsageStatisticsRequest(inCpy)
  3892  			req.SetContext(ctx)
  3893  			req.ApplyOptions(opts...)
  3894  			return req, nil
  3895  		},
  3896  	}
  3897  
  3898  	for p.Next() {
  3899  		if !fn(p.Page().(*GetUsageStatisticsOutput), !p.HasNextPage()) {
  3900  			break
  3901  		}
  3902  	}
  3903  
  3904  	return p.Err()
  3905  }
  3906  
  3907  const opGetUsageTotals = "GetUsageTotals"
  3908  
  3909  // GetUsageTotalsRequest generates a "aws/request.Request" representing the
  3910  // client's request for the GetUsageTotals operation. The "output" return
  3911  // value will be populated with the request's response once the request completes
  3912  // successfully.
  3913  //
  3914  // Use "Send" method on the returned Request to send the API call to the service.
  3915  // the "output" return value is not valid until after Send returns without error.
  3916  //
  3917  // See GetUsageTotals for more information on using the GetUsageTotals
  3918  // API call, and error handling.
  3919  //
  3920  // This method is useful when you want to inject custom logic or configuration
  3921  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3922  //
  3923  //
  3924  //    // Example sending a request using the GetUsageTotalsRequest method.
  3925  //    req, resp := client.GetUsageTotalsRequest(params)
  3926  //
  3927  //    err := req.Send()
  3928  //    if err == nil { // resp is now filled
  3929  //        fmt.Println(resp)
  3930  //    }
  3931  //
  3932  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals
  3933  func (c *Macie2) GetUsageTotalsRequest(input *GetUsageTotalsInput) (req *request.Request, output *GetUsageTotalsOutput) {
  3934  	op := &request.Operation{
  3935  		Name:       opGetUsageTotals,
  3936  		HTTPMethod: "GET",
  3937  		HTTPPath:   "/usage",
  3938  	}
  3939  
  3940  	if input == nil {
  3941  		input = &GetUsageTotalsInput{}
  3942  	}
  3943  
  3944  	output = &GetUsageTotalsOutput{}
  3945  	req = c.newRequest(op, input, output)
  3946  	return
  3947  }
  3948  
  3949  // GetUsageTotals API operation for Amazon Macie 2.
  3950  //
  3951  // Retrieves (queries) aggregated usage data for an account.
  3952  //
  3953  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3954  // with awserr.Error's Code and Message methods to get detailed information about
  3955  // the error.
  3956  //
  3957  // See the AWS API reference guide for Amazon Macie 2's
  3958  // API operation GetUsageTotals for usage and error information.
  3959  //
  3960  // Returned Error Types:
  3961  //   * ValidationException
  3962  //   Provides information about an error that occurred due to a syntax error in
  3963  //   a request.
  3964  //
  3965  //   * InternalServerException
  3966  //   Provides information about an error that occurred due to an unknown internal
  3967  //   server error, exception, or failure.
  3968  //
  3969  //   * ServiceQuotaExceededException
  3970  //   Provides information about an error that occurred due to one or more service
  3971  //   quotas for an account.
  3972  //
  3973  //   * AccessDeniedException
  3974  //   Provides information about an error that occurred due to insufficient access
  3975  //   to a specified resource.
  3976  //
  3977  //   * ResourceNotFoundException
  3978  //   Provides information about an error that occurred because a specified resource
  3979  //   wasn't found.
  3980  //
  3981  //   * ThrottlingException
  3982  //   Provides information about an error that occurred because too many requests
  3983  //   were sent during a certain amount of time.
  3984  //
  3985  //   * ConflictException
  3986  //   Provides information about an error that occurred due to a versioning conflict
  3987  //   for a specified resource.
  3988  //
  3989  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals
  3990  func (c *Macie2) GetUsageTotals(input *GetUsageTotalsInput) (*GetUsageTotalsOutput, error) {
  3991  	req, out := c.GetUsageTotalsRequest(input)
  3992  	return out, req.Send()
  3993  }
  3994  
  3995  // GetUsageTotalsWithContext is the same as GetUsageTotals with the addition of
  3996  // the ability to pass a context and additional request options.
  3997  //
  3998  // See GetUsageTotals for details on how to use this API operation.
  3999  //
  4000  // The context must be non-nil and will be used for request cancellation. If
  4001  // the context is nil a panic will occur. In the future the SDK may create
  4002  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4003  // for more information on using Contexts.
  4004  func (c *Macie2) GetUsageTotalsWithContext(ctx aws.Context, input *GetUsageTotalsInput, opts ...request.Option) (*GetUsageTotalsOutput, error) {
  4005  	req, out := c.GetUsageTotalsRequest(input)
  4006  	req.SetContext(ctx)
  4007  	req.ApplyOptions(opts...)
  4008  	return out, req.Send()
  4009  }
  4010  
  4011  const opListClassificationJobs = "ListClassificationJobs"
  4012  
  4013  // ListClassificationJobsRequest generates a "aws/request.Request" representing the
  4014  // client's request for the ListClassificationJobs operation. The "output" return
  4015  // value will be populated with the request's response once the request completes
  4016  // successfully.
  4017  //
  4018  // Use "Send" method on the returned Request to send the API call to the service.
  4019  // the "output" return value is not valid until after Send returns without error.
  4020  //
  4021  // See ListClassificationJobs for more information on using the ListClassificationJobs
  4022  // API call, and error handling.
  4023  //
  4024  // This method is useful when you want to inject custom logic or configuration
  4025  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4026  //
  4027  //
  4028  //    // Example sending a request using the ListClassificationJobsRequest method.
  4029  //    req, resp := client.ListClassificationJobsRequest(params)
  4030  //
  4031  //    err := req.Send()
  4032  //    if err == nil { // resp is now filled
  4033  //        fmt.Println(resp)
  4034  //    }
  4035  //
  4036  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs
  4037  func (c *Macie2) ListClassificationJobsRequest(input *ListClassificationJobsInput) (req *request.Request, output *ListClassificationJobsOutput) {
  4038  	op := &request.Operation{
  4039  		Name:       opListClassificationJobs,
  4040  		HTTPMethod: "POST",
  4041  		HTTPPath:   "/jobs/list",
  4042  		Paginator: &request.Paginator{
  4043  			InputTokens:     []string{"nextToken"},
  4044  			OutputTokens:    []string{"nextToken"},
  4045  			LimitToken:      "maxResults",
  4046  			TruncationToken: "",
  4047  		},
  4048  	}
  4049  
  4050  	if input == nil {
  4051  		input = &ListClassificationJobsInput{}
  4052  	}
  4053  
  4054  	output = &ListClassificationJobsOutput{}
  4055  	req = c.newRequest(op, input, output)
  4056  	return
  4057  }
  4058  
  4059  // ListClassificationJobs API operation for Amazon Macie 2.
  4060  //
  4061  // Retrieves a subset of information about one or more classification jobs.
  4062  //
  4063  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4064  // with awserr.Error's Code and Message methods to get detailed information about
  4065  // the error.
  4066  //
  4067  // See the AWS API reference guide for Amazon Macie 2's
  4068  // API operation ListClassificationJobs for usage and error information.
  4069  //
  4070  // Returned Error Types:
  4071  //   * ValidationException
  4072  //   Provides information about an error that occurred due to a syntax error in
  4073  //   a request.
  4074  //
  4075  //   * InternalServerException
  4076  //   Provides information about an error that occurred due to an unknown internal
  4077  //   server error, exception, or failure.
  4078  //
  4079  //   * ServiceQuotaExceededException
  4080  //   Provides information about an error that occurred due to one or more service
  4081  //   quotas for an account.
  4082  //
  4083  //   * AccessDeniedException
  4084  //   Provides information about an error that occurred due to insufficient access
  4085  //   to a specified resource.
  4086  //
  4087  //   * ResourceNotFoundException
  4088  //   Provides information about an error that occurred because a specified resource
  4089  //   wasn't found.
  4090  //
  4091  //   * ThrottlingException
  4092  //   Provides information about an error that occurred because too many requests
  4093  //   were sent during a certain amount of time.
  4094  //
  4095  //   * ConflictException
  4096  //   Provides information about an error that occurred due to a versioning conflict
  4097  //   for a specified resource.
  4098  //
  4099  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs
  4100  func (c *Macie2) ListClassificationJobs(input *ListClassificationJobsInput) (*ListClassificationJobsOutput, error) {
  4101  	req, out := c.ListClassificationJobsRequest(input)
  4102  	return out, req.Send()
  4103  }
  4104  
  4105  // ListClassificationJobsWithContext is the same as ListClassificationJobs with the addition of
  4106  // the ability to pass a context and additional request options.
  4107  //
  4108  // See ListClassificationJobs for details on how to use this API operation.
  4109  //
  4110  // The context must be non-nil and will be used for request cancellation. If
  4111  // the context is nil a panic will occur. In the future the SDK may create
  4112  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4113  // for more information on using Contexts.
  4114  func (c *Macie2) ListClassificationJobsWithContext(ctx aws.Context, input *ListClassificationJobsInput, opts ...request.Option) (*ListClassificationJobsOutput, error) {
  4115  	req, out := c.ListClassificationJobsRequest(input)
  4116  	req.SetContext(ctx)
  4117  	req.ApplyOptions(opts...)
  4118  	return out, req.Send()
  4119  }
  4120  
  4121  // ListClassificationJobsPages iterates over the pages of a ListClassificationJobs operation,
  4122  // calling the "fn" function with the response data for each page. To stop
  4123  // iterating, return false from the fn function.
  4124  //
  4125  // See ListClassificationJobs method for more information on how to use this operation.
  4126  //
  4127  // Note: This operation can generate multiple requests to a service.
  4128  //
  4129  //    // Example iterating over at most 3 pages of a ListClassificationJobs operation.
  4130  //    pageNum := 0
  4131  //    err := client.ListClassificationJobsPages(params,
  4132  //        func(page *macie2.ListClassificationJobsOutput, lastPage bool) bool {
  4133  //            pageNum++
  4134  //            fmt.Println(page)
  4135  //            return pageNum <= 3
  4136  //        })
  4137  //
  4138  func (c *Macie2) ListClassificationJobsPages(input *ListClassificationJobsInput, fn func(*ListClassificationJobsOutput, bool) bool) error {
  4139  	return c.ListClassificationJobsPagesWithContext(aws.BackgroundContext(), input, fn)
  4140  }
  4141  
  4142  // ListClassificationJobsPagesWithContext same as ListClassificationJobsPages except
  4143  // it takes a Context and allows setting request options on the pages.
  4144  //
  4145  // The context must be non-nil and will be used for request cancellation. If
  4146  // the context is nil a panic will occur. In the future the SDK may create
  4147  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4148  // for more information on using Contexts.
  4149  func (c *Macie2) ListClassificationJobsPagesWithContext(ctx aws.Context, input *ListClassificationJobsInput, fn func(*ListClassificationJobsOutput, bool) bool, opts ...request.Option) error {
  4150  	p := request.Pagination{
  4151  		NewRequest: func() (*request.Request, error) {
  4152  			var inCpy *ListClassificationJobsInput
  4153  			if input != nil {
  4154  				tmp := *input
  4155  				inCpy = &tmp
  4156  			}
  4157  			req, _ := c.ListClassificationJobsRequest(inCpy)
  4158  			req.SetContext(ctx)
  4159  			req.ApplyOptions(opts...)
  4160  			return req, nil
  4161  		},
  4162  	}
  4163  
  4164  	for p.Next() {
  4165  		if !fn(p.Page().(*ListClassificationJobsOutput), !p.HasNextPage()) {
  4166  			break
  4167  		}
  4168  	}
  4169  
  4170  	return p.Err()
  4171  }
  4172  
  4173  const opListCustomDataIdentifiers = "ListCustomDataIdentifiers"
  4174  
  4175  // ListCustomDataIdentifiersRequest generates a "aws/request.Request" representing the
  4176  // client's request for the ListCustomDataIdentifiers operation. The "output" return
  4177  // value will be populated with the request's response once the request completes
  4178  // successfully.
  4179  //
  4180  // Use "Send" method on the returned Request to send the API call to the service.
  4181  // the "output" return value is not valid until after Send returns without error.
  4182  //
  4183  // See ListCustomDataIdentifiers for more information on using the ListCustomDataIdentifiers
  4184  // API call, and error handling.
  4185  //
  4186  // This method is useful when you want to inject custom logic or configuration
  4187  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4188  //
  4189  //
  4190  //    // Example sending a request using the ListCustomDataIdentifiersRequest method.
  4191  //    req, resp := client.ListCustomDataIdentifiersRequest(params)
  4192  //
  4193  //    err := req.Send()
  4194  //    if err == nil { // resp is now filled
  4195  //        fmt.Println(resp)
  4196  //    }
  4197  //
  4198  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers
  4199  func (c *Macie2) ListCustomDataIdentifiersRequest(input *ListCustomDataIdentifiersInput) (req *request.Request, output *ListCustomDataIdentifiersOutput) {
  4200  	op := &request.Operation{
  4201  		Name:       opListCustomDataIdentifiers,
  4202  		HTTPMethod: "POST",
  4203  		HTTPPath:   "/custom-data-identifiers/list",
  4204  		Paginator: &request.Paginator{
  4205  			InputTokens:     []string{"nextToken"},
  4206  			OutputTokens:    []string{"nextToken"},
  4207  			LimitToken:      "maxResults",
  4208  			TruncationToken: "",
  4209  		},
  4210  	}
  4211  
  4212  	if input == nil {
  4213  		input = &ListCustomDataIdentifiersInput{}
  4214  	}
  4215  
  4216  	output = &ListCustomDataIdentifiersOutput{}
  4217  	req = c.newRequest(op, input, output)
  4218  	return
  4219  }
  4220  
  4221  // ListCustomDataIdentifiers API operation for Amazon Macie 2.
  4222  //
  4223  // Retrieves a subset of information about all the custom data identifiers for
  4224  // an account.
  4225  //
  4226  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4227  // with awserr.Error's Code and Message methods to get detailed information about
  4228  // the error.
  4229  //
  4230  // See the AWS API reference guide for Amazon Macie 2's
  4231  // API operation ListCustomDataIdentifiers for usage and error information.
  4232  //
  4233  // Returned Error Types:
  4234  //   * ValidationException
  4235  //   Provides information about an error that occurred due to a syntax error in
  4236  //   a request.
  4237  //
  4238  //   * InternalServerException
  4239  //   Provides information about an error that occurred due to an unknown internal
  4240  //   server error, exception, or failure.
  4241  //
  4242  //   * ServiceQuotaExceededException
  4243  //   Provides information about an error that occurred due to one or more service
  4244  //   quotas for an account.
  4245  //
  4246  //   * AccessDeniedException
  4247  //   Provides information about an error that occurred due to insufficient access
  4248  //   to a specified resource.
  4249  //
  4250  //   * ResourceNotFoundException
  4251  //   Provides information about an error that occurred because a specified resource
  4252  //   wasn't found.
  4253  //
  4254  //   * ThrottlingException
  4255  //   Provides information about an error that occurred because too many requests
  4256  //   were sent during a certain amount of time.
  4257  //
  4258  //   * ConflictException
  4259  //   Provides information about an error that occurred due to a versioning conflict
  4260  //   for a specified resource.
  4261  //
  4262  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers
  4263  func (c *Macie2) ListCustomDataIdentifiers(input *ListCustomDataIdentifiersInput) (*ListCustomDataIdentifiersOutput, error) {
  4264  	req, out := c.ListCustomDataIdentifiersRequest(input)
  4265  	return out, req.Send()
  4266  }
  4267  
  4268  // ListCustomDataIdentifiersWithContext is the same as ListCustomDataIdentifiers with the addition of
  4269  // the ability to pass a context and additional request options.
  4270  //
  4271  // See ListCustomDataIdentifiers for details on how to use this API operation.
  4272  //
  4273  // The context must be non-nil and will be used for request cancellation. If
  4274  // the context is nil a panic will occur. In the future the SDK may create
  4275  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4276  // for more information on using Contexts.
  4277  func (c *Macie2) ListCustomDataIdentifiersWithContext(ctx aws.Context, input *ListCustomDataIdentifiersInput, opts ...request.Option) (*ListCustomDataIdentifiersOutput, error) {
  4278  	req, out := c.ListCustomDataIdentifiersRequest(input)
  4279  	req.SetContext(ctx)
  4280  	req.ApplyOptions(opts...)
  4281  	return out, req.Send()
  4282  }
  4283  
  4284  // ListCustomDataIdentifiersPages iterates over the pages of a ListCustomDataIdentifiers operation,
  4285  // calling the "fn" function with the response data for each page. To stop
  4286  // iterating, return false from the fn function.
  4287  //
  4288  // See ListCustomDataIdentifiers method for more information on how to use this operation.
  4289  //
  4290  // Note: This operation can generate multiple requests to a service.
  4291  //
  4292  //    // Example iterating over at most 3 pages of a ListCustomDataIdentifiers operation.
  4293  //    pageNum := 0
  4294  //    err := client.ListCustomDataIdentifiersPages(params,
  4295  //        func(page *macie2.ListCustomDataIdentifiersOutput, lastPage bool) bool {
  4296  //            pageNum++
  4297  //            fmt.Println(page)
  4298  //            return pageNum <= 3
  4299  //        })
  4300  //
  4301  func (c *Macie2) ListCustomDataIdentifiersPages(input *ListCustomDataIdentifiersInput, fn func(*ListCustomDataIdentifiersOutput, bool) bool) error {
  4302  	return c.ListCustomDataIdentifiersPagesWithContext(aws.BackgroundContext(), input, fn)
  4303  }
  4304  
  4305  // ListCustomDataIdentifiersPagesWithContext same as ListCustomDataIdentifiersPages except
  4306  // it takes a Context and allows setting request options on the pages.
  4307  //
  4308  // The context must be non-nil and will be used for request cancellation. If
  4309  // the context is nil a panic will occur. In the future the SDK may create
  4310  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4311  // for more information on using Contexts.
  4312  func (c *Macie2) ListCustomDataIdentifiersPagesWithContext(ctx aws.Context, input *ListCustomDataIdentifiersInput, fn func(*ListCustomDataIdentifiersOutput, bool) bool, opts ...request.Option) error {
  4313  	p := request.Pagination{
  4314  		NewRequest: func() (*request.Request, error) {
  4315  			var inCpy *ListCustomDataIdentifiersInput
  4316  			if input != nil {
  4317  				tmp := *input
  4318  				inCpy = &tmp
  4319  			}
  4320  			req, _ := c.ListCustomDataIdentifiersRequest(inCpy)
  4321  			req.SetContext(ctx)
  4322  			req.ApplyOptions(opts...)
  4323  			return req, nil
  4324  		},
  4325  	}
  4326  
  4327  	for p.Next() {
  4328  		if !fn(p.Page().(*ListCustomDataIdentifiersOutput), !p.HasNextPage()) {
  4329  			break
  4330  		}
  4331  	}
  4332  
  4333  	return p.Err()
  4334  }
  4335  
  4336  const opListFindings = "ListFindings"
  4337  
  4338  // ListFindingsRequest generates a "aws/request.Request" representing the
  4339  // client's request for the ListFindings operation. The "output" return
  4340  // value will be populated with the request's response once the request completes
  4341  // successfully.
  4342  //
  4343  // Use "Send" method on the returned Request to send the API call to the service.
  4344  // the "output" return value is not valid until after Send returns without error.
  4345  //
  4346  // See ListFindings for more information on using the ListFindings
  4347  // API call, and error handling.
  4348  //
  4349  // This method is useful when you want to inject custom logic or configuration
  4350  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4351  //
  4352  //
  4353  //    // Example sending a request using the ListFindingsRequest method.
  4354  //    req, resp := client.ListFindingsRequest(params)
  4355  //
  4356  //    err := req.Send()
  4357  //    if err == nil { // resp is now filled
  4358  //        fmt.Println(resp)
  4359  //    }
  4360  //
  4361  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings
  4362  func (c *Macie2) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput) {
  4363  	op := &request.Operation{
  4364  		Name:       opListFindings,
  4365  		HTTPMethod: "POST",
  4366  		HTTPPath:   "/findings",
  4367  		Paginator: &request.Paginator{
  4368  			InputTokens:     []string{"nextToken"},
  4369  			OutputTokens:    []string{"nextToken"},
  4370  			LimitToken:      "maxResults",
  4371  			TruncationToken: "",
  4372  		},
  4373  	}
  4374  
  4375  	if input == nil {
  4376  		input = &ListFindingsInput{}
  4377  	}
  4378  
  4379  	output = &ListFindingsOutput{}
  4380  	req = c.newRequest(op, input, output)
  4381  	return
  4382  }
  4383  
  4384  // ListFindings API operation for Amazon Macie 2.
  4385  //
  4386  // Retrieves a subset of information about one or more findings.
  4387  //
  4388  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4389  // with awserr.Error's Code and Message methods to get detailed information about
  4390  // the error.
  4391  //
  4392  // See the AWS API reference guide for Amazon Macie 2's
  4393  // API operation ListFindings for usage and error information.
  4394  //
  4395  // Returned Error Types:
  4396  //   * ValidationException
  4397  //   Provides information about an error that occurred due to a syntax error in
  4398  //   a request.
  4399  //
  4400  //   * InternalServerException
  4401  //   Provides information about an error that occurred due to an unknown internal
  4402  //   server error, exception, or failure.
  4403  //
  4404  //   * ServiceQuotaExceededException
  4405  //   Provides information about an error that occurred due to one or more service
  4406  //   quotas for an account.
  4407  //
  4408  //   * AccessDeniedException
  4409  //   Provides information about an error that occurred due to insufficient access
  4410  //   to a specified resource.
  4411  //
  4412  //   * ResourceNotFoundException
  4413  //   Provides information about an error that occurred because a specified resource
  4414  //   wasn't found.
  4415  //
  4416  //   * ThrottlingException
  4417  //   Provides information about an error that occurred because too many requests
  4418  //   were sent during a certain amount of time.
  4419  //
  4420  //   * ConflictException
  4421  //   Provides information about an error that occurred due to a versioning conflict
  4422  //   for a specified resource.
  4423  //
  4424  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings
  4425  func (c *Macie2) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error) {
  4426  	req, out := c.ListFindingsRequest(input)
  4427  	return out, req.Send()
  4428  }
  4429  
  4430  // ListFindingsWithContext is the same as ListFindings with the addition of
  4431  // the ability to pass a context and additional request options.
  4432  //
  4433  // See ListFindings for details on how to use this API operation.
  4434  //
  4435  // The context must be non-nil and will be used for request cancellation. If
  4436  // the context is nil a panic will occur. In the future the SDK may create
  4437  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4438  // for more information on using Contexts.
  4439  func (c *Macie2) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error) {
  4440  	req, out := c.ListFindingsRequest(input)
  4441  	req.SetContext(ctx)
  4442  	req.ApplyOptions(opts...)
  4443  	return out, req.Send()
  4444  }
  4445  
  4446  // ListFindingsPages iterates over the pages of a ListFindings operation,
  4447  // calling the "fn" function with the response data for each page. To stop
  4448  // iterating, return false from the fn function.
  4449  //
  4450  // See ListFindings method for more information on how to use this operation.
  4451  //
  4452  // Note: This operation can generate multiple requests to a service.
  4453  //
  4454  //    // Example iterating over at most 3 pages of a ListFindings operation.
  4455  //    pageNum := 0
  4456  //    err := client.ListFindingsPages(params,
  4457  //        func(page *macie2.ListFindingsOutput, lastPage bool) bool {
  4458  //            pageNum++
  4459  //            fmt.Println(page)
  4460  //            return pageNum <= 3
  4461  //        })
  4462  //
  4463  func (c *Macie2) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error {
  4464  	return c.ListFindingsPagesWithContext(aws.BackgroundContext(), input, fn)
  4465  }
  4466  
  4467  // ListFindingsPagesWithContext same as ListFindingsPages except
  4468  // it takes a Context and allows setting request options on the pages.
  4469  //
  4470  // The context must be non-nil and will be used for request cancellation. If
  4471  // the context is nil a panic will occur. In the future the SDK may create
  4472  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4473  // for more information on using Contexts.
  4474  func (c *Macie2) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) error {
  4475  	p := request.Pagination{
  4476  		NewRequest: func() (*request.Request, error) {
  4477  			var inCpy *ListFindingsInput
  4478  			if input != nil {
  4479  				tmp := *input
  4480  				inCpy = &tmp
  4481  			}
  4482  			req, _ := c.ListFindingsRequest(inCpy)
  4483  			req.SetContext(ctx)
  4484  			req.ApplyOptions(opts...)
  4485  			return req, nil
  4486  		},
  4487  	}
  4488  
  4489  	for p.Next() {
  4490  		if !fn(p.Page().(*ListFindingsOutput), !p.HasNextPage()) {
  4491  			break
  4492  		}
  4493  	}
  4494  
  4495  	return p.Err()
  4496  }
  4497  
  4498  const opListFindingsFilters = "ListFindingsFilters"
  4499  
  4500  // ListFindingsFiltersRequest generates a "aws/request.Request" representing the
  4501  // client's request for the ListFindingsFilters operation. The "output" return
  4502  // value will be populated with the request's response once the request completes
  4503  // successfully.
  4504  //
  4505  // Use "Send" method on the returned Request to send the API call to the service.
  4506  // the "output" return value is not valid until after Send returns without error.
  4507  //
  4508  // See ListFindingsFilters for more information on using the ListFindingsFilters
  4509  // API call, and error handling.
  4510  //
  4511  // This method is useful when you want to inject custom logic or configuration
  4512  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4513  //
  4514  //
  4515  //    // Example sending a request using the ListFindingsFiltersRequest method.
  4516  //    req, resp := client.ListFindingsFiltersRequest(params)
  4517  //
  4518  //    err := req.Send()
  4519  //    if err == nil { // resp is now filled
  4520  //        fmt.Println(resp)
  4521  //    }
  4522  //
  4523  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters
  4524  func (c *Macie2) ListFindingsFiltersRequest(input *ListFindingsFiltersInput) (req *request.Request, output *ListFindingsFiltersOutput) {
  4525  	op := &request.Operation{
  4526  		Name:       opListFindingsFilters,
  4527  		HTTPMethod: "GET",
  4528  		HTTPPath:   "/findingsfilters",
  4529  		Paginator: &request.Paginator{
  4530  			InputTokens:     []string{"nextToken"},
  4531  			OutputTokens:    []string{"nextToken"},
  4532  			LimitToken:      "maxResults",
  4533  			TruncationToken: "",
  4534  		},
  4535  	}
  4536  
  4537  	if input == nil {
  4538  		input = &ListFindingsFiltersInput{}
  4539  	}
  4540  
  4541  	output = &ListFindingsFiltersOutput{}
  4542  	req = c.newRequest(op, input, output)
  4543  	return
  4544  }
  4545  
  4546  // ListFindingsFilters API operation for Amazon Macie 2.
  4547  //
  4548  // Retrieves a subset of information about all the findings filters for an account.
  4549  //
  4550  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4551  // with awserr.Error's Code and Message methods to get detailed information about
  4552  // the error.
  4553  //
  4554  // See the AWS API reference guide for Amazon Macie 2's
  4555  // API operation ListFindingsFilters for usage and error information.
  4556  //
  4557  // Returned Error Types:
  4558  //   * ValidationException
  4559  //   Provides information about an error that occurred due to a syntax error in
  4560  //   a request.
  4561  //
  4562  //   * InternalServerException
  4563  //   Provides information about an error that occurred due to an unknown internal
  4564  //   server error, exception, or failure.
  4565  //
  4566  //   * ServiceQuotaExceededException
  4567  //   Provides information about an error that occurred due to one or more service
  4568  //   quotas for an account.
  4569  //
  4570  //   * AccessDeniedException
  4571  //   Provides information about an error that occurred due to insufficient access
  4572  //   to a specified resource.
  4573  //
  4574  //   * ResourceNotFoundException
  4575  //   Provides information about an error that occurred because a specified resource
  4576  //   wasn't found.
  4577  //
  4578  //   * ThrottlingException
  4579  //   Provides information about an error that occurred because too many requests
  4580  //   were sent during a certain amount of time.
  4581  //
  4582  //   * ConflictException
  4583  //   Provides information about an error that occurred due to a versioning conflict
  4584  //   for a specified resource.
  4585  //
  4586  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters
  4587  func (c *Macie2) ListFindingsFilters(input *ListFindingsFiltersInput) (*ListFindingsFiltersOutput, error) {
  4588  	req, out := c.ListFindingsFiltersRequest(input)
  4589  	return out, req.Send()
  4590  }
  4591  
  4592  // ListFindingsFiltersWithContext is the same as ListFindingsFilters with the addition of
  4593  // the ability to pass a context and additional request options.
  4594  //
  4595  // See ListFindingsFilters for details on how to use this API operation.
  4596  //
  4597  // The context must be non-nil and will be used for request cancellation. If
  4598  // the context is nil a panic will occur. In the future the SDK may create
  4599  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4600  // for more information on using Contexts.
  4601  func (c *Macie2) ListFindingsFiltersWithContext(ctx aws.Context, input *ListFindingsFiltersInput, opts ...request.Option) (*ListFindingsFiltersOutput, error) {
  4602  	req, out := c.ListFindingsFiltersRequest(input)
  4603  	req.SetContext(ctx)
  4604  	req.ApplyOptions(opts...)
  4605  	return out, req.Send()
  4606  }
  4607  
  4608  // ListFindingsFiltersPages iterates over the pages of a ListFindingsFilters operation,
  4609  // calling the "fn" function with the response data for each page. To stop
  4610  // iterating, return false from the fn function.
  4611  //
  4612  // See ListFindingsFilters method for more information on how to use this operation.
  4613  //
  4614  // Note: This operation can generate multiple requests to a service.
  4615  //
  4616  //    // Example iterating over at most 3 pages of a ListFindingsFilters operation.
  4617  //    pageNum := 0
  4618  //    err := client.ListFindingsFiltersPages(params,
  4619  //        func(page *macie2.ListFindingsFiltersOutput, lastPage bool) bool {
  4620  //            pageNum++
  4621  //            fmt.Println(page)
  4622  //            return pageNum <= 3
  4623  //        })
  4624  //
  4625  func (c *Macie2) ListFindingsFiltersPages(input *ListFindingsFiltersInput, fn func(*ListFindingsFiltersOutput, bool) bool) error {
  4626  	return c.ListFindingsFiltersPagesWithContext(aws.BackgroundContext(), input, fn)
  4627  }
  4628  
  4629  // ListFindingsFiltersPagesWithContext same as ListFindingsFiltersPages except
  4630  // it takes a Context and allows setting request options on the pages.
  4631  //
  4632  // The context must be non-nil and will be used for request cancellation. If
  4633  // the context is nil a panic will occur. In the future the SDK may create
  4634  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4635  // for more information on using Contexts.
  4636  func (c *Macie2) ListFindingsFiltersPagesWithContext(ctx aws.Context, input *ListFindingsFiltersInput, fn func(*ListFindingsFiltersOutput, bool) bool, opts ...request.Option) error {
  4637  	p := request.Pagination{
  4638  		NewRequest: func() (*request.Request, error) {
  4639  			var inCpy *ListFindingsFiltersInput
  4640  			if input != nil {
  4641  				tmp := *input
  4642  				inCpy = &tmp
  4643  			}
  4644  			req, _ := c.ListFindingsFiltersRequest(inCpy)
  4645  			req.SetContext(ctx)
  4646  			req.ApplyOptions(opts...)
  4647  			return req, nil
  4648  		},
  4649  	}
  4650  
  4651  	for p.Next() {
  4652  		if !fn(p.Page().(*ListFindingsFiltersOutput), !p.HasNextPage()) {
  4653  			break
  4654  		}
  4655  	}
  4656  
  4657  	return p.Err()
  4658  }
  4659  
  4660  const opListInvitations = "ListInvitations"
  4661  
  4662  // ListInvitationsRequest generates a "aws/request.Request" representing the
  4663  // client's request for the ListInvitations operation. The "output" return
  4664  // value will be populated with the request's response once the request completes
  4665  // successfully.
  4666  //
  4667  // Use "Send" method on the returned Request to send the API call to the service.
  4668  // the "output" return value is not valid until after Send returns without error.
  4669  //
  4670  // See ListInvitations for more information on using the ListInvitations
  4671  // API call, and error handling.
  4672  //
  4673  // This method is useful when you want to inject custom logic or configuration
  4674  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4675  //
  4676  //
  4677  //    // Example sending a request using the ListInvitationsRequest method.
  4678  //    req, resp := client.ListInvitationsRequest(params)
  4679  //
  4680  //    err := req.Send()
  4681  //    if err == nil { // resp is now filled
  4682  //        fmt.Println(resp)
  4683  //    }
  4684  //
  4685  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations
  4686  func (c *Macie2) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput) {
  4687  	op := &request.Operation{
  4688  		Name:       opListInvitations,
  4689  		HTTPMethod: "GET",
  4690  		HTTPPath:   "/invitations",
  4691  		Paginator: &request.Paginator{
  4692  			InputTokens:     []string{"nextToken"},
  4693  			OutputTokens:    []string{"nextToken"},
  4694  			LimitToken:      "maxResults",
  4695  			TruncationToken: "",
  4696  		},
  4697  	}
  4698  
  4699  	if input == nil {
  4700  		input = &ListInvitationsInput{}
  4701  	}
  4702  
  4703  	output = &ListInvitationsOutput{}
  4704  	req = c.newRequest(op, input, output)
  4705  	return
  4706  }
  4707  
  4708  // ListInvitations API operation for Amazon Macie 2.
  4709  //
  4710  // Retrieves information about the Amazon Macie membership invitations that
  4711  // were received by an account.
  4712  //
  4713  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4714  // with awserr.Error's Code and Message methods to get detailed information about
  4715  // the error.
  4716  //
  4717  // See the AWS API reference guide for Amazon Macie 2's
  4718  // API operation ListInvitations for usage and error information.
  4719  //
  4720  // Returned Error Types:
  4721  //   * ValidationException
  4722  //   Provides information about an error that occurred due to a syntax error in
  4723  //   a request.
  4724  //
  4725  //   * InternalServerException
  4726  //   Provides information about an error that occurred due to an unknown internal
  4727  //   server error, exception, or failure.
  4728  //
  4729  //   * ServiceQuotaExceededException
  4730  //   Provides information about an error that occurred due to one or more service
  4731  //   quotas for an account.
  4732  //
  4733  //   * AccessDeniedException
  4734  //   Provides information about an error that occurred due to insufficient access
  4735  //   to a specified resource.
  4736  //
  4737  //   * ResourceNotFoundException
  4738  //   Provides information about an error that occurred because a specified resource
  4739  //   wasn't found.
  4740  //
  4741  //   * ThrottlingException
  4742  //   Provides information about an error that occurred because too many requests
  4743  //   were sent during a certain amount of time.
  4744  //
  4745  //   * ConflictException
  4746  //   Provides information about an error that occurred due to a versioning conflict
  4747  //   for a specified resource.
  4748  //
  4749  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations
  4750  func (c *Macie2) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error) {
  4751  	req, out := c.ListInvitationsRequest(input)
  4752  	return out, req.Send()
  4753  }
  4754  
  4755  // ListInvitationsWithContext is the same as ListInvitations with the addition of
  4756  // the ability to pass a context and additional request options.
  4757  //
  4758  // See ListInvitations for details on how to use this API operation.
  4759  //
  4760  // The context must be non-nil and will be used for request cancellation. If
  4761  // the context is nil a panic will occur. In the future the SDK may create
  4762  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4763  // for more information on using Contexts.
  4764  func (c *Macie2) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error) {
  4765  	req, out := c.ListInvitationsRequest(input)
  4766  	req.SetContext(ctx)
  4767  	req.ApplyOptions(opts...)
  4768  	return out, req.Send()
  4769  }
  4770  
  4771  // ListInvitationsPages iterates over the pages of a ListInvitations operation,
  4772  // calling the "fn" function with the response data for each page. To stop
  4773  // iterating, return false from the fn function.
  4774  //
  4775  // See ListInvitations method for more information on how to use this operation.
  4776  //
  4777  // Note: This operation can generate multiple requests to a service.
  4778  //
  4779  //    // Example iterating over at most 3 pages of a ListInvitations operation.
  4780  //    pageNum := 0
  4781  //    err := client.ListInvitationsPages(params,
  4782  //        func(page *macie2.ListInvitationsOutput, lastPage bool) bool {
  4783  //            pageNum++
  4784  //            fmt.Println(page)
  4785  //            return pageNum <= 3
  4786  //        })
  4787  //
  4788  func (c *Macie2) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error {
  4789  	return c.ListInvitationsPagesWithContext(aws.BackgroundContext(), input, fn)
  4790  }
  4791  
  4792  // ListInvitationsPagesWithContext same as ListInvitationsPages except
  4793  // it takes a Context and allows setting request options on the pages.
  4794  //
  4795  // The context must be non-nil and will be used for request cancellation. If
  4796  // the context is nil a panic will occur. In the future the SDK may create
  4797  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4798  // for more information on using Contexts.
  4799  func (c *Macie2) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error {
  4800  	p := request.Pagination{
  4801  		NewRequest: func() (*request.Request, error) {
  4802  			var inCpy *ListInvitationsInput
  4803  			if input != nil {
  4804  				tmp := *input
  4805  				inCpy = &tmp
  4806  			}
  4807  			req, _ := c.ListInvitationsRequest(inCpy)
  4808  			req.SetContext(ctx)
  4809  			req.ApplyOptions(opts...)
  4810  			return req, nil
  4811  		},
  4812  	}
  4813  
  4814  	for p.Next() {
  4815  		if !fn(p.Page().(*ListInvitationsOutput), !p.HasNextPage()) {
  4816  			break
  4817  		}
  4818  	}
  4819  
  4820  	return p.Err()
  4821  }
  4822  
  4823  const opListManagedDataIdentifiers = "ListManagedDataIdentifiers"
  4824  
  4825  // ListManagedDataIdentifiersRequest generates a "aws/request.Request" representing the
  4826  // client's request for the ListManagedDataIdentifiers operation. The "output" return
  4827  // value will be populated with the request's response once the request completes
  4828  // successfully.
  4829  //
  4830  // Use "Send" method on the returned Request to send the API call to the service.
  4831  // the "output" return value is not valid until after Send returns without error.
  4832  //
  4833  // See ListManagedDataIdentifiers for more information on using the ListManagedDataIdentifiers
  4834  // API call, and error handling.
  4835  //
  4836  // This method is useful when you want to inject custom logic or configuration
  4837  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4838  //
  4839  //
  4840  //    // Example sending a request using the ListManagedDataIdentifiersRequest method.
  4841  //    req, resp := client.ListManagedDataIdentifiersRequest(params)
  4842  //
  4843  //    err := req.Send()
  4844  //    if err == nil { // resp is now filled
  4845  //        fmt.Println(resp)
  4846  //    }
  4847  //
  4848  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers
  4849  func (c *Macie2) ListManagedDataIdentifiersRequest(input *ListManagedDataIdentifiersInput) (req *request.Request, output *ListManagedDataIdentifiersOutput) {
  4850  	op := &request.Operation{
  4851  		Name:       opListManagedDataIdentifiers,
  4852  		HTTPMethod: "POST",
  4853  		HTTPPath:   "/managed-data-identifiers/list",
  4854  	}
  4855  
  4856  	if input == nil {
  4857  		input = &ListManagedDataIdentifiersInput{}
  4858  	}
  4859  
  4860  	output = &ListManagedDataIdentifiersOutput{}
  4861  	req = c.newRequest(op, input, output)
  4862  	return
  4863  }
  4864  
  4865  // ListManagedDataIdentifiers API operation for Amazon Macie 2.
  4866  //
  4867  // Retrieves information about all the managed data identifiers that Amazon
  4868  // Macie currently provides.
  4869  //
  4870  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4871  // with awserr.Error's Code and Message methods to get detailed information about
  4872  // the error.
  4873  //
  4874  // See the AWS API reference guide for Amazon Macie 2's
  4875  // API operation ListManagedDataIdentifiers for usage and error information.
  4876  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers
  4877  func (c *Macie2) ListManagedDataIdentifiers(input *ListManagedDataIdentifiersInput) (*ListManagedDataIdentifiersOutput, error) {
  4878  	req, out := c.ListManagedDataIdentifiersRequest(input)
  4879  	return out, req.Send()
  4880  }
  4881  
  4882  // ListManagedDataIdentifiersWithContext is the same as ListManagedDataIdentifiers with the addition of
  4883  // the ability to pass a context and additional request options.
  4884  //
  4885  // See ListManagedDataIdentifiers for details on how to use this API operation.
  4886  //
  4887  // The context must be non-nil and will be used for request cancellation. If
  4888  // the context is nil a panic will occur. In the future the SDK may create
  4889  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4890  // for more information on using Contexts.
  4891  func (c *Macie2) ListManagedDataIdentifiersWithContext(ctx aws.Context, input *ListManagedDataIdentifiersInput, opts ...request.Option) (*ListManagedDataIdentifiersOutput, error) {
  4892  	req, out := c.ListManagedDataIdentifiersRequest(input)
  4893  	req.SetContext(ctx)
  4894  	req.ApplyOptions(opts...)
  4895  	return out, req.Send()
  4896  }
  4897  
  4898  const opListMembers = "ListMembers"
  4899  
  4900  // ListMembersRequest generates a "aws/request.Request" representing the
  4901  // client's request for the ListMembers operation. The "output" return
  4902  // value will be populated with the request's response once the request completes
  4903  // successfully.
  4904  //
  4905  // Use "Send" method on the returned Request to send the API call to the service.
  4906  // the "output" return value is not valid until after Send returns without error.
  4907  //
  4908  // See ListMembers for more information on using the ListMembers
  4909  // API call, and error handling.
  4910  //
  4911  // This method is useful when you want to inject custom logic or configuration
  4912  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4913  //
  4914  //
  4915  //    // Example sending a request using the ListMembersRequest method.
  4916  //    req, resp := client.ListMembersRequest(params)
  4917  //
  4918  //    err := req.Send()
  4919  //    if err == nil { // resp is now filled
  4920  //        fmt.Println(resp)
  4921  //    }
  4922  //
  4923  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers
  4924  func (c *Macie2) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) {
  4925  	op := &request.Operation{
  4926  		Name:       opListMembers,
  4927  		HTTPMethod: "GET",
  4928  		HTTPPath:   "/members",
  4929  		Paginator: &request.Paginator{
  4930  			InputTokens:     []string{"nextToken"},
  4931  			OutputTokens:    []string{"nextToken"},
  4932  			LimitToken:      "maxResults",
  4933  			TruncationToken: "",
  4934  		},
  4935  	}
  4936  
  4937  	if input == nil {
  4938  		input = &ListMembersInput{}
  4939  	}
  4940  
  4941  	output = &ListMembersOutput{}
  4942  	req = c.newRequest(op, input, output)
  4943  	return
  4944  }
  4945  
  4946  // ListMembers API operation for Amazon Macie 2.
  4947  //
  4948  // Retrieves information about the accounts that are associated with an Amazon
  4949  // Macie administrator account.
  4950  //
  4951  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4952  // with awserr.Error's Code and Message methods to get detailed information about
  4953  // the error.
  4954  //
  4955  // See the AWS API reference guide for Amazon Macie 2's
  4956  // API operation ListMembers for usage and error information.
  4957  //
  4958  // Returned Error Types:
  4959  //   * ValidationException
  4960  //   Provides information about an error that occurred due to a syntax error in
  4961  //   a request.
  4962  //
  4963  //   * InternalServerException
  4964  //   Provides information about an error that occurred due to an unknown internal
  4965  //   server error, exception, or failure.
  4966  //
  4967  //   * ServiceQuotaExceededException
  4968  //   Provides information about an error that occurred due to one or more service
  4969  //   quotas for an account.
  4970  //
  4971  //   * AccessDeniedException
  4972  //   Provides information about an error that occurred due to insufficient access
  4973  //   to a specified resource.
  4974  //
  4975  //   * ResourceNotFoundException
  4976  //   Provides information about an error that occurred because a specified resource
  4977  //   wasn't found.
  4978  //
  4979  //   * ThrottlingException
  4980  //   Provides information about an error that occurred because too many requests
  4981  //   were sent during a certain amount of time.
  4982  //
  4983  //   * ConflictException
  4984  //   Provides information about an error that occurred due to a versioning conflict
  4985  //   for a specified resource.
  4986  //
  4987  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers
  4988  func (c *Macie2) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) {
  4989  	req, out := c.ListMembersRequest(input)
  4990  	return out, req.Send()
  4991  }
  4992  
  4993  // ListMembersWithContext is the same as ListMembers with the addition of
  4994  // the ability to pass a context and additional request options.
  4995  //
  4996  // See ListMembers for details on how to use this API operation.
  4997  //
  4998  // The context must be non-nil and will be used for request cancellation. If
  4999  // the context is nil a panic will occur. In the future the SDK may create
  5000  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5001  // for more information on using Contexts.
  5002  func (c *Macie2) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error) {
  5003  	req, out := c.ListMembersRequest(input)
  5004  	req.SetContext(ctx)
  5005  	req.ApplyOptions(opts...)
  5006  	return out, req.Send()
  5007  }
  5008  
  5009  // ListMembersPages iterates over the pages of a ListMembers operation,
  5010  // calling the "fn" function with the response data for each page. To stop
  5011  // iterating, return false from the fn function.
  5012  //
  5013  // See ListMembers method for more information on how to use this operation.
  5014  //
  5015  // Note: This operation can generate multiple requests to a service.
  5016  //
  5017  //    // Example iterating over at most 3 pages of a ListMembers operation.
  5018  //    pageNum := 0
  5019  //    err := client.ListMembersPages(params,
  5020  //        func(page *macie2.ListMembersOutput, lastPage bool) bool {
  5021  //            pageNum++
  5022  //            fmt.Println(page)
  5023  //            return pageNum <= 3
  5024  //        })
  5025  //
  5026  func (c *Macie2) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error {
  5027  	return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn)
  5028  }
  5029  
  5030  // ListMembersPagesWithContext same as ListMembersPages except
  5031  // it takes a Context and allows setting request options on the pages.
  5032  //
  5033  // The context must be non-nil and will be used for request cancellation. If
  5034  // the context is nil a panic will occur. In the future the SDK may create
  5035  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5036  // for more information on using Contexts.
  5037  func (c *Macie2) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error {
  5038  	p := request.Pagination{
  5039  		NewRequest: func() (*request.Request, error) {
  5040  			var inCpy *ListMembersInput
  5041  			if input != nil {
  5042  				tmp := *input
  5043  				inCpy = &tmp
  5044  			}
  5045  			req, _ := c.ListMembersRequest(inCpy)
  5046  			req.SetContext(ctx)
  5047  			req.ApplyOptions(opts...)
  5048  			return req, nil
  5049  		},
  5050  	}
  5051  
  5052  	for p.Next() {
  5053  		if !fn(p.Page().(*ListMembersOutput), !p.HasNextPage()) {
  5054  			break
  5055  		}
  5056  	}
  5057  
  5058  	return p.Err()
  5059  }
  5060  
  5061  const opListOrganizationAdminAccounts = "ListOrganizationAdminAccounts"
  5062  
  5063  // ListOrganizationAdminAccountsRequest generates a "aws/request.Request" representing the
  5064  // client's request for the ListOrganizationAdminAccounts operation. The "output" return
  5065  // value will be populated with the request's response once the request completes
  5066  // successfully.
  5067  //
  5068  // Use "Send" method on the returned Request to send the API call to the service.
  5069  // the "output" return value is not valid until after Send returns without error.
  5070  //
  5071  // See ListOrganizationAdminAccounts for more information on using the ListOrganizationAdminAccounts
  5072  // API call, and error handling.
  5073  //
  5074  // This method is useful when you want to inject custom logic or configuration
  5075  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5076  //
  5077  //
  5078  //    // Example sending a request using the ListOrganizationAdminAccountsRequest method.
  5079  //    req, resp := client.ListOrganizationAdminAccountsRequest(params)
  5080  //
  5081  //    err := req.Send()
  5082  //    if err == nil { // resp is now filled
  5083  //        fmt.Println(resp)
  5084  //    }
  5085  //
  5086  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts
  5087  func (c *Macie2) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput) {
  5088  	op := &request.Operation{
  5089  		Name:       opListOrganizationAdminAccounts,
  5090  		HTTPMethod: "GET",
  5091  		HTTPPath:   "/admin",
  5092  		Paginator: &request.Paginator{
  5093  			InputTokens:     []string{"nextToken"},
  5094  			OutputTokens:    []string{"nextToken"},
  5095  			LimitToken:      "maxResults",
  5096  			TruncationToken: "",
  5097  		},
  5098  	}
  5099  
  5100  	if input == nil {
  5101  		input = &ListOrganizationAdminAccountsInput{}
  5102  	}
  5103  
  5104  	output = &ListOrganizationAdminAccountsOutput{}
  5105  	req = c.newRequest(op, input, output)
  5106  	return
  5107  }
  5108  
  5109  // ListOrganizationAdminAccounts API operation for Amazon Macie 2.
  5110  //
  5111  // Retrieves information about the delegated Amazon Macie administrator account
  5112  // for an Amazon Web Services organization.
  5113  //
  5114  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5115  // with awserr.Error's Code and Message methods to get detailed information about
  5116  // the error.
  5117  //
  5118  // See the AWS API reference guide for Amazon Macie 2's
  5119  // API operation ListOrganizationAdminAccounts for usage and error information.
  5120  //
  5121  // Returned Error Types:
  5122  //   * ValidationException
  5123  //   Provides information about an error that occurred due to a syntax error in
  5124  //   a request.
  5125  //
  5126  //   * InternalServerException
  5127  //   Provides information about an error that occurred due to an unknown internal
  5128  //   server error, exception, or failure.
  5129  //
  5130  //   * ServiceQuotaExceededException
  5131  //   Provides information about an error that occurred due to one or more service
  5132  //   quotas for an account.
  5133  //
  5134  //   * AccessDeniedException
  5135  //   Provides information about an error that occurred due to insufficient access
  5136  //   to a specified resource.
  5137  //
  5138  //   * ResourceNotFoundException
  5139  //   Provides information about an error that occurred because a specified resource
  5140  //   wasn't found.
  5141  //
  5142  //   * ThrottlingException
  5143  //   Provides information about an error that occurred because too many requests
  5144  //   were sent during a certain amount of time.
  5145  //
  5146  //   * ConflictException
  5147  //   Provides information about an error that occurred due to a versioning conflict
  5148  //   for a specified resource.
  5149  //
  5150  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts
  5151  func (c *Macie2) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error) {
  5152  	req, out := c.ListOrganizationAdminAccountsRequest(input)
  5153  	return out, req.Send()
  5154  }
  5155  
  5156  // ListOrganizationAdminAccountsWithContext is the same as ListOrganizationAdminAccounts with the addition of
  5157  // the ability to pass a context and additional request options.
  5158  //
  5159  // See ListOrganizationAdminAccounts for details on how to use this API operation.
  5160  //
  5161  // The context must be non-nil and will be used for request cancellation. If
  5162  // the context is nil a panic will occur. In the future the SDK may create
  5163  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5164  // for more information on using Contexts.
  5165  func (c *Macie2) ListOrganizationAdminAccountsWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, opts ...request.Option) (*ListOrganizationAdminAccountsOutput, error) {
  5166  	req, out := c.ListOrganizationAdminAccountsRequest(input)
  5167  	req.SetContext(ctx)
  5168  	req.ApplyOptions(opts...)
  5169  	return out, req.Send()
  5170  }
  5171  
  5172  // ListOrganizationAdminAccountsPages iterates over the pages of a ListOrganizationAdminAccounts operation,
  5173  // calling the "fn" function with the response data for each page. To stop
  5174  // iterating, return false from the fn function.
  5175  //
  5176  // See ListOrganizationAdminAccounts method for more information on how to use this operation.
  5177  //
  5178  // Note: This operation can generate multiple requests to a service.
  5179  //
  5180  //    // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation.
  5181  //    pageNum := 0
  5182  //    err := client.ListOrganizationAdminAccountsPages(params,
  5183  //        func(page *macie2.ListOrganizationAdminAccountsOutput, lastPage bool) bool {
  5184  //            pageNum++
  5185  //            fmt.Println(page)
  5186  //            return pageNum <= 3
  5187  //        })
  5188  //
  5189  func (c *Macie2) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error {
  5190  	return c.ListOrganizationAdminAccountsPagesWithContext(aws.BackgroundContext(), input, fn)
  5191  }
  5192  
  5193  // ListOrganizationAdminAccountsPagesWithContext same as ListOrganizationAdminAccountsPages except
  5194  // it takes a Context and allows setting request options on the pages.
  5195  //
  5196  // The context must be non-nil and will be used for request cancellation. If
  5197  // the context is nil a panic will occur. In the future the SDK may create
  5198  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5199  // for more information on using Contexts.
  5200  func (c *Macie2) ListOrganizationAdminAccountsPagesWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool, opts ...request.Option) error {
  5201  	p := request.Pagination{
  5202  		NewRequest: func() (*request.Request, error) {
  5203  			var inCpy *ListOrganizationAdminAccountsInput
  5204  			if input != nil {
  5205  				tmp := *input
  5206  				inCpy = &tmp
  5207  			}
  5208  			req, _ := c.ListOrganizationAdminAccountsRequest(inCpy)
  5209  			req.SetContext(ctx)
  5210  			req.ApplyOptions(opts...)
  5211  			return req, nil
  5212  		},
  5213  	}
  5214  
  5215  	for p.Next() {
  5216  		if !fn(p.Page().(*ListOrganizationAdminAccountsOutput), !p.HasNextPage()) {
  5217  			break
  5218  		}
  5219  	}
  5220  
  5221  	return p.Err()
  5222  }
  5223  
  5224  const opListTagsForResource = "ListTagsForResource"
  5225  
  5226  // ListTagsForResourceRequest generates a "aws/request.Request" representing the
  5227  // client's request for the ListTagsForResource operation. The "output" return
  5228  // value will be populated with the request's response once the request completes
  5229  // successfully.
  5230  //
  5231  // Use "Send" method on the returned Request to send the API call to the service.
  5232  // the "output" return value is not valid until after Send returns without error.
  5233  //
  5234  // See ListTagsForResource for more information on using the ListTagsForResource
  5235  // API call, and error handling.
  5236  //
  5237  // This method is useful when you want to inject custom logic or configuration
  5238  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5239  //
  5240  //
  5241  //    // Example sending a request using the ListTagsForResourceRequest method.
  5242  //    req, resp := client.ListTagsForResourceRequest(params)
  5243  //
  5244  //    err := req.Send()
  5245  //    if err == nil { // resp is now filled
  5246  //        fmt.Println(resp)
  5247  //    }
  5248  //
  5249  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource
  5250  func (c *Macie2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
  5251  	op := &request.Operation{
  5252  		Name:       opListTagsForResource,
  5253  		HTTPMethod: "GET",
  5254  		HTTPPath:   "/tags/{resourceArn}",
  5255  	}
  5256  
  5257  	if input == nil {
  5258  		input = &ListTagsForResourceInput{}
  5259  	}
  5260  
  5261  	output = &ListTagsForResourceOutput{}
  5262  	req = c.newRequest(op, input, output)
  5263  	return
  5264  }
  5265  
  5266  // ListTagsForResource API operation for Amazon Macie 2.
  5267  //
  5268  // Retrieves the tags (keys and values) that are associated with a classification
  5269  // job, custom data identifier, findings filter, or member account.
  5270  //
  5271  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5272  // with awserr.Error's Code and Message methods to get detailed information about
  5273  // the error.
  5274  //
  5275  // See the AWS API reference guide for Amazon Macie 2's
  5276  // API operation ListTagsForResource for usage and error information.
  5277  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource
  5278  func (c *Macie2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
  5279  	req, out := c.ListTagsForResourceRequest(input)
  5280  	return out, req.Send()
  5281  }
  5282  
  5283  // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
  5284  // the ability to pass a context and additional request options.
  5285  //
  5286  // See ListTagsForResource for details on how to use this API operation.
  5287  //
  5288  // The context must be non-nil and will be used for request cancellation. If
  5289  // the context is nil a panic will occur. In the future the SDK may create
  5290  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5291  // for more information on using Contexts.
  5292  func (c *Macie2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
  5293  	req, out := c.ListTagsForResourceRequest(input)
  5294  	req.SetContext(ctx)
  5295  	req.ApplyOptions(opts...)
  5296  	return out, req.Send()
  5297  }
  5298  
  5299  const opPutClassificationExportConfiguration = "PutClassificationExportConfiguration"
  5300  
  5301  // PutClassificationExportConfigurationRequest generates a "aws/request.Request" representing the
  5302  // client's request for the PutClassificationExportConfiguration operation. The "output" return
  5303  // value will be populated with the request's response once the request completes
  5304  // successfully.
  5305  //
  5306  // Use "Send" method on the returned Request to send the API call to the service.
  5307  // the "output" return value is not valid until after Send returns without error.
  5308  //
  5309  // See PutClassificationExportConfiguration for more information on using the PutClassificationExportConfiguration
  5310  // API call, and error handling.
  5311  //
  5312  // This method is useful when you want to inject custom logic or configuration
  5313  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5314  //
  5315  //
  5316  //    // Example sending a request using the PutClassificationExportConfigurationRequest method.
  5317  //    req, resp := client.PutClassificationExportConfigurationRequest(params)
  5318  //
  5319  //    err := req.Send()
  5320  //    if err == nil { // resp is now filled
  5321  //        fmt.Println(resp)
  5322  //    }
  5323  //
  5324  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration
  5325  func (c *Macie2) PutClassificationExportConfigurationRequest(input *PutClassificationExportConfigurationInput) (req *request.Request, output *PutClassificationExportConfigurationOutput) {
  5326  	op := &request.Operation{
  5327  		Name:       opPutClassificationExportConfiguration,
  5328  		HTTPMethod: "PUT",
  5329  		HTTPPath:   "/classification-export-configuration",
  5330  	}
  5331  
  5332  	if input == nil {
  5333  		input = &PutClassificationExportConfigurationInput{}
  5334  	}
  5335  
  5336  	output = &PutClassificationExportConfigurationOutput{}
  5337  	req = c.newRequest(op, input, output)
  5338  	return
  5339  }
  5340  
  5341  // PutClassificationExportConfiguration API operation for Amazon Macie 2.
  5342  //
  5343  // Creates or updates the configuration settings for storing data classification
  5344  // results.
  5345  //
  5346  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5347  // with awserr.Error's Code and Message methods to get detailed information about
  5348  // the error.
  5349  //
  5350  // See the AWS API reference guide for Amazon Macie 2's
  5351  // API operation PutClassificationExportConfiguration for usage and error information.
  5352  //
  5353  // Returned Error Types:
  5354  //   * ValidationException
  5355  //   Provides information about an error that occurred due to a syntax error in
  5356  //   a request.
  5357  //
  5358  //   * InternalServerException
  5359  //   Provides information about an error that occurred due to an unknown internal
  5360  //   server error, exception, or failure.
  5361  //
  5362  //   * ServiceQuotaExceededException
  5363  //   Provides information about an error that occurred due to one or more service
  5364  //   quotas for an account.
  5365  //
  5366  //   * AccessDeniedException
  5367  //   Provides information about an error that occurred due to insufficient access
  5368  //   to a specified resource.
  5369  //
  5370  //   * ResourceNotFoundException
  5371  //   Provides information about an error that occurred because a specified resource
  5372  //   wasn't found.
  5373  //
  5374  //   * ThrottlingException
  5375  //   Provides information about an error that occurred because too many requests
  5376  //   were sent during a certain amount of time.
  5377  //
  5378  //   * ConflictException
  5379  //   Provides information about an error that occurred due to a versioning conflict
  5380  //   for a specified resource.
  5381  //
  5382  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration
  5383  func (c *Macie2) PutClassificationExportConfiguration(input *PutClassificationExportConfigurationInput) (*PutClassificationExportConfigurationOutput, error) {
  5384  	req, out := c.PutClassificationExportConfigurationRequest(input)
  5385  	return out, req.Send()
  5386  }
  5387  
  5388  // PutClassificationExportConfigurationWithContext is the same as PutClassificationExportConfiguration with the addition of
  5389  // the ability to pass a context and additional request options.
  5390  //
  5391  // See PutClassificationExportConfiguration for details on how to use this API operation.
  5392  //
  5393  // The context must be non-nil and will be used for request cancellation. If
  5394  // the context is nil a panic will occur. In the future the SDK may create
  5395  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5396  // for more information on using Contexts.
  5397  func (c *Macie2) PutClassificationExportConfigurationWithContext(ctx aws.Context, input *PutClassificationExportConfigurationInput, opts ...request.Option) (*PutClassificationExportConfigurationOutput, error) {
  5398  	req, out := c.PutClassificationExportConfigurationRequest(input)
  5399  	req.SetContext(ctx)
  5400  	req.ApplyOptions(opts...)
  5401  	return out, req.Send()
  5402  }
  5403  
  5404  const opPutFindingsPublicationConfiguration = "PutFindingsPublicationConfiguration"
  5405  
  5406  // PutFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the
  5407  // client's request for the PutFindingsPublicationConfiguration operation. The "output" return
  5408  // value will be populated with the request's response once the request completes
  5409  // successfully.
  5410  //
  5411  // Use "Send" method on the returned Request to send the API call to the service.
  5412  // the "output" return value is not valid until after Send returns without error.
  5413  //
  5414  // See PutFindingsPublicationConfiguration for more information on using the PutFindingsPublicationConfiguration
  5415  // API call, and error handling.
  5416  //
  5417  // This method is useful when you want to inject custom logic or configuration
  5418  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5419  //
  5420  //
  5421  //    // Example sending a request using the PutFindingsPublicationConfigurationRequest method.
  5422  //    req, resp := client.PutFindingsPublicationConfigurationRequest(params)
  5423  //
  5424  //    err := req.Send()
  5425  //    if err == nil { // resp is now filled
  5426  //        fmt.Println(resp)
  5427  //    }
  5428  //
  5429  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration
  5430  func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPublicationConfigurationInput) (req *request.Request, output *PutFindingsPublicationConfigurationOutput) {
  5431  	op := &request.Operation{
  5432  		Name:       opPutFindingsPublicationConfiguration,
  5433  		HTTPMethod: "PUT",
  5434  		HTTPPath:   "/findings-publication-configuration",
  5435  	}
  5436  
  5437  	if input == nil {
  5438  		input = &PutFindingsPublicationConfigurationInput{}
  5439  	}
  5440  
  5441  	output = &PutFindingsPublicationConfigurationOutput{}
  5442  	req = c.newRequest(op, input, output)
  5443  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5444  	return
  5445  }
  5446  
  5447  // PutFindingsPublicationConfiguration API operation for Amazon Macie 2.
  5448  //
  5449  // Updates the configuration settings for publishing findings to Security Hub.
  5450  //
  5451  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5452  // with awserr.Error's Code and Message methods to get detailed information about
  5453  // the error.
  5454  //
  5455  // See the AWS API reference guide for Amazon Macie 2's
  5456  // API operation PutFindingsPublicationConfiguration for usage and error information.
  5457  //
  5458  // Returned Error Types:
  5459  //   * ValidationException
  5460  //   Provides information about an error that occurred due to a syntax error in
  5461  //   a request.
  5462  //
  5463  //   * InternalServerException
  5464  //   Provides information about an error that occurred due to an unknown internal
  5465  //   server error, exception, or failure.
  5466  //
  5467  //   * ServiceQuotaExceededException
  5468  //   Provides information about an error that occurred due to one or more service
  5469  //   quotas for an account.
  5470  //
  5471  //   * AccessDeniedException
  5472  //   Provides information about an error that occurred due to insufficient access
  5473  //   to a specified resource.
  5474  //
  5475  //   * ResourceNotFoundException
  5476  //   Provides information about an error that occurred because a specified resource
  5477  //   wasn't found.
  5478  //
  5479  //   * ThrottlingException
  5480  //   Provides information about an error that occurred because too many requests
  5481  //   were sent during a certain amount of time.
  5482  //
  5483  //   * ConflictException
  5484  //   Provides information about an error that occurred due to a versioning conflict
  5485  //   for a specified resource.
  5486  //
  5487  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration
  5488  func (c *Macie2) PutFindingsPublicationConfiguration(input *PutFindingsPublicationConfigurationInput) (*PutFindingsPublicationConfigurationOutput, error) {
  5489  	req, out := c.PutFindingsPublicationConfigurationRequest(input)
  5490  	return out, req.Send()
  5491  }
  5492  
  5493  // PutFindingsPublicationConfigurationWithContext is the same as PutFindingsPublicationConfiguration with the addition of
  5494  // the ability to pass a context and additional request options.
  5495  //
  5496  // See PutFindingsPublicationConfiguration for details on how to use this API operation.
  5497  //
  5498  // The context must be non-nil and will be used for request cancellation. If
  5499  // the context is nil a panic will occur. In the future the SDK may create
  5500  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5501  // for more information on using Contexts.
  5502  func (c *Macie2) PutFindingsPublicationConfigurationWithContext(ctx aws.Context, input *PutFindingsPublicationConfigurationInput, opts ...request.Option) (*PutFindingsPublicationConfigurationOutput, error) {
  5503  	req, out := c.PutFindingsPublicationConfigurationRequest(input)
  5504  	req.SetContext(ctx)
  5505  	req.ApplyOptions(opts...)
  5506  	return out, req.Send()
  5507  }
  5508  
  5509  const opSearchResources = "SearchResources"
  5510  
  5511  // SearchResourcesRequest generates a "aws/request.Request" representing the
  5512  // client's request for the SearchResources operation. The "output" return
  5513  // value will be populated with the request's response once the request completes
  5514  // successfully.
  5515  //
  5516  // Use "Send" method on the returned Request to send the API call to the service.
  5517  // the "output" return value is not valid until after Send returns without error.
  5518  //
  5519  // See SearchResources for more information on using the SearchResources
  5520  // API call, and error handling.
  5521  //
  5522  // This method is useful when you want to inject custom logic or configuration
  5523  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5524  //
  5525  //
  5526  //    // Example sending a request using the SearchResourcesRequest method.
  5527  //    req, resp := client.SearchResourcesRequest(params)
  5528  //
  5529  //    err := req.Send()
  5530  //    if err == nil { // resp is now filled
  5531  //        fmt.Println(resp)
  5532  //    }
  5533  //
  5534  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources
  5535  func (c *Macie2) SearchResourcesRequest(input *SearchResourcesInput) (req *request.Request, output *SearchResourcesOutput) {
  5536  	op := &request.Operation{
  5537  		Name:       opSearchResources,
  5538  		HTTPMethod: "POST",
  5539  		HTTPPath:   "/datasources/search-resources",
  5540  		Paginator: &request.Paginator{
  5541  			InputTokens:     []string{"nextToken"},
  5542  			OutputTokens:    []string{"nextToken"},
  5543  			LimitToken:      "maxResults",
  5544  			TruncationToken: "",
  5545  		},
  5546  	}
  5547  
  5548  	if input == nil {
  5549  		input = &SearchResourcesInput{}
  5550  	}
  5551  
  5552  	output = &SearchResourcesOutput{}
  5553  	req = c.newRequest(op, input, output)
  5554  	return
  5555  }
  5556  
  5557  // SearchResources API operation for Amazon Macie 2.
  5558  //
  5559  // Retrieves (queries) statistical data and other information about Amazon Web
  5560  // Services resources that Amazon Macie monitors and analyzes.
  5561  //
  5562  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5563  // with awserr.Error's Code and Message methods to get detailed information about
  5564  // the error.
  5565  //
  5566  // See the AWS API reference guide for Amazon Macie 2's
  5567  // API operation SearchResources for usage and error information.
  5568  //
  5569  // Returned Error Types:
  5570  //   * ValidationException
  5571  //   Provides information about an error that occurred due to a syntax error in
  5572  //   a request.
  5573  //
  5574  //   * InternalServerException
  5575  //   Provides information about an error that occurred due to an unknown internal
  5576  //   server error, exception, or failure.
  5577  //
  5578  //   * ServiceQuotaExceededException
  5579  //   Provides information about an error that occurred due to one or more service
  5580  //   quotas for an account.
  5581  //
  5582  //   * AccessDeniedException
  5583  //   Provides information about an error that occurred due to insufficient access
  5584  //   to a specified resource.
  5585  //
  5586  //   * ResourceNotFoundException
  5587  //   Provides information about an error that occurred because a specified resource
  5588  //   wasn't found.
  5589  //
  5590  //   * ThrottlingException
  5591  //   Provides information about an error that occurred because too many requests
  5592  //   were sent during a certain amount of time.
  5593  //
  5594  //   * ConflictException
  5595  //   Provides information about an error that occurred due to a versioning conflict
  5596  //   for a specified resource.
  5597  //
  5598  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources
  5599  func (c *Macie2) SearchResources(input *SearchResourcesInput) (*SearchResourcesOutput, error) {
  5600  	req, out := c.SearchResourcesRequest(input)
  5601  	return out, req.Send()
  5602  }
  5603  
  5604  // SearchResourcesWithContext is the same as SearchResources with the addition of
  5605  // the ability to pass a context and additional request options.
  5606  //
  5607  // See SearchResources for details on how to use this API operation.
  5608  //
  5609  // The context must be non-nil and will be used for request cancellation. If
  5610  // the context is nil a panic will occur. In the future the SDK may create
  5611  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5612  // for more information on using Contexts.
  5613  func (c *Macie2) SearchResourcesWithContext(ctx aws.Context, input *SearchResourcesInput, opts ...request.Option) (*SearchResourcesOutput, error) {
  5614  	req, out := c.SearchResourcesRequest(input)
  5615  	req.SetContext(ctx)
  5616  	req.ApplyOptions(opts...)
  5617  	return out, req.Send()
  5618  }
  5619  
  5620  // SearchResourcesPages iterates over the pages of a SearchResources operation,
  5621  // calling the "fn" function with the response data for each page. To stop
  5622  // iterating, return false from the fn function.
  5623  //
  5624  // See SearchResources method for more information on how to use this operation.
  5625  //
  5626  // Note: This operation can generate multiple requests to a service.
  5627  //
  5628  //    // Example iterating over at most 3 pages of a SearchResources operation.
  5629  //    pageNum := 0
  5630  //    err := client.SearchResourcesPages(params,
  5631  //        func(page *macie2.SearchResourcesOutput, lastPage bool) bool {
  5632  //            pageNum++
  5633  //            fmt.Println(page)
  5634  //            return pageNum <= 3
  5635  //        })
  5636  //
  5637  func (c *Macie2) SearchResourcesPages(input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool) error {
  5638  	return c.SearchResourcesPagesWithContext(aws.BackgroundContext(), input, fn)
  5639  }
  5640  
  5641  // SearchResourcesPagesWithContext same as SearchResourcesPages except
  5642  // it takes a Context and allows setting request options on the pages.
  5643  //
  5644  // The context must be non-nil and will be used for request cancellation. If
  5645  // the context is nil a panic will occur. In the future the SDK may create
  5646  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5647  // for more information on using Contexts.
  5648  func (c *Macie2) SearchResourcesPagesWithContext(ctx aws.Context, input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool, opts ...request.Option) error {
  5649  	p := request.Pagination{
  5650  		NewRequest: func() (*request.Request, error) {
  5651  			var inCpy *SearchResourcesInput
  5652  			if input != nil {
  5653  				tmp := *input
  5654  				inCpy = &tmp
  5655  			}
  5656  			req, _ := c.SearchResourcesRequest(inCpy)
  5657  			req.SetContext(ctx)
  5658  			req.ApplyOptions(opts...)
  5659  			return req, nil
  5660  		},
  5661  	}
  5662  
  5663  	for p.Next() {
  5664  		if !fn(p.Page().(*SearchResourcesOutput), !p.HasNextPage()) {
  5665  			break
  5666  		}
  5667  	}
  5668  
  5669  	return p.Err()
  5670  }
  5671  
  5672  const opTagResource = "TagResource"
  5673  
  5674  // TagResourceRequest generates a "aws/request.Request" representing the
  5675  // client's request for the TagResource operation. The "output" return
  5676  // value will be populated with the request's response once the request completes
  5677  // successfully.
  5678  //
  5679  // Use "Send" method on the returned Request to send the API call to the service.
  5680  // the "output" return value is not valid until after Send returns without error.
  5681  //
  5682  // See TagResource for more information on using the TagResource
  5683  // API call, and error handling.
  5684  //
  5685  // This method is useful when you want to inject custom logic or configuration
  5686  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5687  //
  5688  //
  5689  //    // Example sending a request using the TagResourceRequest method.
  5690  //    req, resp := client.TagResourceRequest(params)
  5691  //
  5692  //    err := req.Send()
  5693  //    if err == nil { // resp is now filled
  5694  //        fmt.Println(resp)
  5695  //    }
  5696  //
  5697  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource
  5698  func (c *Macie2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
  5699  	op := &request.Operation{
  5700  		Name:       opTagResource,
  5701  		HTTPMethod: "POST",
  5702  		HTTPPath:   "/tags/{resourceArn}",
  5703  	}
  5704  
  5705  	if input == nil {
  5706  		input = &TagResourceInput{}
  5707  	}
  5708  
  5709  	output = &TagResourceOutput{}
  5710  	req = c.newRequest(op, input, output)
  5711  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5712  	return
  5713  }
  5714  
  5715  // TagResource API operation for Amazon Macie 2.
  5716  //
  5717  // Adds or updates one or more tags (keys and values) that are associated with
  5718  // a classification job, custom data identifier, findings filter, or member
  5719  // account.
  5720  //
  5721  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5722  // with awserr.Error's Code and Message methods to get detailed information about
  5723  // the error.
  5724  //
  5725  // See the AWS API reference guide for Amazon Macie 2's
  5726  // API operation TagResource for usage and error information.
  5727  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource
  5728  func (c *Macie2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
  5729  	req, out := c.TagResourceRequest(input)
  5730  	return out, req.Send()
  5731  }
  5732  
  5733  // TagResourceWithContext is the same as TagResource with the addition of
  5734  // the ability to pass a context and additional request options.
  5735  //
  5736  // See TagResource for details on how to use this API operation.
  5737  //
  5738  // The context must be non-nil and will be used for request cancellation. If
  5739  // the context is nil a panic will occur. In the future the SDK may create
  5740  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5741  // for more information on using Contexts.
  5742  func (c *Macie2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
  5743  	req, out := c.TagResourceRequest(input)
  5744  	req.SetContext(ctx)
  5745  	req.ApplyOptions(opts...)
  5746  	return out, req.Send()
  5747  }
  5748  
  5749  const opTestCustomDataIdentifier = "TestCustomDataIdentifier"
  5750  
  5751  // TestCustomDataIdentifierRequest generates a "aws/request.Request" representing the
  5752  // client's request for the TestCustomDataIdentifier operation. The "output" return
  5753  // value will be populated with the request's response once the request completes
  5754  // successfully.
  5755  //
  5756  // Use "Send" method on the returned Request to send the API call to the service.
  5757  // the "output" return value is not valid until after Send returns without error.
  5758  //
  5759  // See TestCustomDataIdentifier for more information on using the TestCustomDataIdentifier
  5760  // API call, and error handling.
  5761  //
  5762  // This method is useful when you want to inject custom logic or configuration
  5763  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5764  //
  5765  //
  5766  //    // Example sending a request using the TestCustomDataIdentifierRequest method.
  5767  //    req, resp := client.TestCustomDataIdentifierRequest(params)
  5768  //
  5769  //    err := req.Send()
  5770  //    if err == nil { // resp is now filled
  5771  //        fmt.Println(resp)
  5772  //    }
  5773  //
  5774  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier
  5775  func (c *Macie2) TestCustomDataIdentifierRequest(input *TestCustomDataIdentifierInput) (req *request.Request, output *TestCustomDataIdentifierOutput) {
  5776  	op := &request.Operation{
  5777  		Name:       opTestCustomDataIdentifier,
  5778  		HTTPMethod: "POST",
  5779  		HTTPPath:   "/custom-data-identifiers/test",
  5780  	}
  5781  
  5782  	if input == nil {
  5783  		input = &TestCustomDataIdentifierInput{}
  5784  	}
  5785  
  5786  	output = &TestCustomDataIdentifierOutput{}
  5787  	req = c.newRequest(op, input, output)
  5788  	return
  5789  }
  5790  
  5791  // TestCustomDataIdentifier API operation for Amazon Macie 2.
  5792  //
  5793  // Tests a custom data identifier.
  5794  //
  5795  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5796  // with awserr.Error's Code and Message methods to get detailed information about
  5797  // the error.
  5798  //
  5799  // See the AWS API reference guide for Amazon Macie 2's
  5800  // API operation TestCustomDataIdentifier for usage and error information.
  5801  //
  5802  // Returned Error Types:
  5803  //   * ValidationException
  5804  //   Provides information about an error that occurred due to a syntax error in
  5805  //   a request.
  5806  //
  5807  //   * InternalServerException
  5808  //   Provides information about an error that occurred due to an unknown internal
  5809  //   server error, exception, or failure.
  5810  //
  5811  //   * ServiceQuotaExceededException
  5812  //   Provides information about an error that occurred due to one or more service
  5813  //   quotas for an account.
  5814  //
  5815  //   * AccessDeniedException
  5816  //   Provides information about an error that occurred due to insufficient access
  5817  //   to a specified resource.
  5818  //
  5819  //   * ResourceNotFoundException
  5820  //   Provides information about an error that occurred because a specified resource
  5821  //   wasn't found.
  5822  //
  5823  //   * ThrottlingException
  5824  //   Provides information about an error that occurred because too many requests
  5825  //   were sent during a certain amount of time.
  5826  //
  5827  //   * ConflictException
  5828  //   Provides information about an error that occurred due to a versioning conflict
  5829  //   for a specified resource.
  5830  //
  5831  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier
  5832  func (c *Macie2) TestCustomDataIdentifier(input *TestCustomDataIdentifierInput) (*TestCustomDataIdentifierOutput, error) {
  5833  	req, out := c.TestCustomDataIdentifierRequest(input)
  5834  	return out, req.Send()
  5835  }
  5836  
  5837  // TestCustomDataIdentifierWithContext is the same as TestCustomDataIdentifier with the addition of
  5838  // the ability to pass a context and additional request options.
  5839  //
  5840  // See TestCustomDataIdentifier for details on how to use this API operation.
  5841  //
  5842  // The context must be non-nil and will be used for request cancellation. If
  5843  // the context is nil a panic will occur. In the future the SDK may create
  5844  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5845  // for more information on using Contexts.
  5846  func (c *Macie2) TestCustomDataIdentifierWithContext(ctx aws.Context, input *TestCustomDataIdentifierInput, opts ...request.Option) (*TestCustomDataIdentifierOutput, error) {
  5847  	req, out := c.TestCustomDataIdentifierRequest(input)
  5848  	req.SetContext(ctx)
  5849  	req.ApplyOptions(opts...)
  5850  	return out, req.Send()
  5851  }
  5852  
  5853  const opUntagResource = "UntagResource"
  5854  
  5855  // UntagResourceRequest generates a "aws/request.Request" representing the
  5856  // client's request for the UntagResource operation. The "output" return
  5857  // value will be populated with the request's response once the request completes
  5858  // successfully.
  5859  //
  5860  // Use "Send" method on the returned Request to send the API call to the service.
  5861  // the "output" return value is not valid until after Send returns without error.
  5862  //
  5863  // See UntagResource for more information on using the UntagResource
  5864  // API call, and error handling.
  5865  //
  5866  // This method is useful when you want to inject custom logic or configuration
  5867  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5868  //
  5869  //
  5870  //    // Example sending a request using the UntagResourceRequest method.
  5871  //    req, resp := client.UntagResourceRequest(params)
  5872  //
  5873  //    err := req.Send()
  5874  //    if err == nil { // resp is now filled
  5875  //        fmt.Println(resp)
  5876  //    }
  5877  //
  5878  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource
  5879  func (c *Macie2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
  5880  	op := &request.Operation{
  5881  		Name:       opUntagResource,
  5882  		HTTPMethod: "DELETE",
  5883  		HTTPPath:   "/tags/{resourceArn}",
  5884  	}
  5885  
  5886  	if input == nil {
  5887  		input = &UntagResourceInput{}
  5888  	}
  5889  
  5890  	output = &UntagResourceOutput{}
  5891  	req = c.newRequest(op, input, output)
  5892  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5893  	return
  5894  }
  5895  
  5896  // UntagResource API operation for Amazon Macie 2.
  5897  //
  5898  // Removes one or more tags (keys and values) from a classification job, custom
  5899  // data identifier, findings filter, or member account.
  5900  //
  5901  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5902  // with awserr.Error's Code and Message methods to get detailed information about
  5903  // the error.
  5904  //
  5905  // See the AWS API reference guide for Amazon Macie 2's
  5906  // API operation UntagResource for usage and error information.
  5907  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource
  5908  func (c *Macie2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
  5909  	req, out := c.UntagResourceRequest(input)
  5910  	return out, req.Send()
  5911  }
  5912  
  5913  // UntagResourceWithContext is the same as UntagResource with the addition of
  5914  // the ability to pass a context and additional request options.
  5915  //
  5916  // See UntagResource for details on how to use this API operation.
  5917  //
  5918  // The context must be non-nil and will be used for request cancellation. If
  5919  // the context is nil a panic will occur. In the future the SDK may create
  5920  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5921  // for more information on using Contexts.
  5922  func (c *Macie2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
  5923  	req, out := c.UntagResourceRequest(input)
  5924  	req.SetContext(ctx)
  5925  	req.ApplyOptions(opts...)
  5926  	return out, req.Send()
  5927  }
  5928  
  5929  const opUpdateClassificationJob = "UpdateClassificationJob"
  5930  
  5931  // UpdateClassificationJobRequest generates a "aws/request.Request" representing the
  5932  // client's request for the UpdateClassificationJob operation. The "output" return
  5933  // value will be populated with the request's response once the request completes
  5934  // successfully.
  5935  //
  5936  // Use "Send" method on the returned Request to send the API call to the service.
  5937  // the "output" return value is not valid until after Send returns without error.
  5938  //
  5939  // See UpdateClassificationJob for more information on using the UpdateClassificationJob
  5940  // API call, and error handling.
  5941  //
  5942  // This method is useful when you want to inject custom logic or configuration
  5943  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5944  //
  5945  //
  5946  //    // Example sending a request using the UpdateClassificationJobRequest method.
  5947  //    req, resp := client.UpdateClassificationJobRequest(params)
  5948  //
  5949  //    err := req.Send()
  5950  //    if err == nil { // resp is now filled
  5951  //        fmt.Println(resp)
  5952  //    }
  5953  //
  5954  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob
  5955  func (c *Macie2) UpdateClassificationJobRequest(input *UpdateClassificationJobInput) (req *request.Request, output *UpdateClassificationJobOutput) {
  5956  	op := &request.Operation{
  5957  		Name:       opUpdateClassificationJob,
  5958  		HTTPMethod: "PATCH",
  5959  		HTTPPath:   "/jobs/{jobId}",
  5960  	}
  5961  
  5962  	if input == nil {
  5963  		input = &UpdateClassificationJobInput{}
  5964  	}
  5965  
  5966  	output = &UpdateClassificationJobOutput{}
  5967  	req = c.newRequest(op, input, output)
  5968  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5969  	return
  5970  }
  5971  
  5972  // UpdateClassificationJob API operation for Amazon Macie 2.
  5973  //
  5974  // Changes the status of a classification job.
  5975  //
  5976  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5977  // with awserr.Error's Code and Message methods to get detailed information about
  5978  // the error.
  5979  //
  5980  // See the AWS API reference guide for Amazon Macie 2's
  5981  // API operation UpdateClassificationJob for usage and error information.
  5982  //
  5983  // Returned Error Types:
  5984  //   * ValidationException
  5985  //   Provides information about an error that occurred due to a syntax error in
  5986  //   a request.
  5987  //
  5988  //   * InternalServerException
  5989  //   Provides information about an error that occurred due to an unknown internal
  5990  //   server error, exception, or failure.
  5991  //
  5992  //   * ServiceQuotaExceededException
  5993  //   Provides information about an error that occurred due to one or more service
  5994  //   quotas for an account.
  5995  //
  5996  //   * AccessDeniedException
  5997  //   Provides information about an error that occurred due to insufficient access
  5998  //   to a specified resource.
  5999  //
  6000  //   * ResourceNotFoundException
  6001  //   Provides information about an error that occurred because a specified resource
  6002  //   wasn't found.
  6003  //
  6004  //   * ThrottlingException
  6005  //   Provides information about an error that occurred because too many requests
  6006  //   were sent during a certain amount of time.
  6007  //
  6008  //   * ConflictException
  6009  //   Provides information about an error that occurred due to a versioning conflict
  6010  //   for a specified resource.
  6011  //
  6012  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob
  6013  func (c *Macie2) UpdateClassificationJob(input *UpdateClassificationJobInput) (*UpdateClassificationJobOutput, error) {
  6014  	req, out := c.UpdateClassificationJobRequest(input)
  6015  	return out, req.Send()
  6016  }
  6017  
  6018  // UpdateClassificationJobWithContext is the same as UpdateClassificationJob with the addition of
  6019  // the ability to pass a context and additional request options.
  6020  //
  6021  // See UpdateClassificationJob for details on how to use this API operation.
  6022  //
  6023  // The context must be non-nil and will be used for request cancellation. If
  6024  // the context is nil a panic will occur. In the future the SDK may create
  6025  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6026  // for more information on using Contexts.
  6027  func (c *Macie2) UpdateClassificationJobWithContext(ctx aws.Context, input *UpdateClassificationJobInput, opts ...request.Option) (*UpdateClassificationJobOutput, error) {
  6028  	req, out := c.UpdateClassificationJobRequest(input)
  6029  	req.SetContext(ctx)
  6030  	req.ApplyOptions(opts...)
  6031  	return out, req.Send()
  6032  }
  6033  
  6034  const opUpdateFindingsFilter = "UpdateFindingsFilter"
  6035  
  6036  // UpdateFindingsFilterRequest generates a "aws/request.Request" representing the
  6037  // client's request for the UpdateFindingsFilter operation. The "output" return
  6038  // value will be populated with the request's response once the request completes
  6039  // successfully.
  6040  //
  6041  // Use "Send" method on the returned Request to send the API call to the service.
  6042  // the "output" return value is not valid until after Send returns without error.
  6043  //
  6044  // See UpdateFindingsFilter for more information on using the UpdateFindingsFilter
  6045  // API call, and error handling.
  6046  //
  6047  // This method is useful when you want to inject custom logic or configuration
  6048  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6049  //
  6050  //
  6051  //    // Example sending a request using the UpdateFindingsFilterRequest method.
  6052  //    req, resp := client.UpdateFindingsFilterRequest(params)
  6053  //
  6054  //    err := req.Send()
  6055  //    if err == nil { // resp is now filled
  6056  //        fmt.Println(resp)
  6057  //    }
  6058  //
  6059  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter
  6060  func (c *Macie2) UpdateFindingsFilterRequest(input *UpdateFindingsFilterInput) (req *request.Request, output *UpdateFindingsFilterOutput) {
  6061  	op := &request.Operation{
  6062  		Name:       opUpdateFindingsFilter,
  6063  		HTTPMethod: "PATCH",
  6064  		HTTPPath:   "/findingsfilters/{id}",
  6065  	}
  6066  
  6067  	if input == nil {
  6068  		input = &UpdateFindingsFilterInput{}
  6069  	}
  6070  
  6071  	output = &UpdateFindingsFilterOutput{}
  6072  	req = c.newRequest(op, input, output)
  6073  	return
  6074  }
  6075  
  6076  // UpdateFindingsFilter API operation for Amazon Macie 2.
  6077  //
  6078  // Updates the criteria and other settings for a findings filter.
  6079  //
  6080  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6081  // with awserr.Error's Code and Message methods to get detailed information about
  6082  // the error.
  6083  //
  6084  // See the AWS API reference guide for Amazon Macie 2's
  6085  // API operation UpdateFindingsFilter for usage and error information.
  6086  //
  6087  // Returned Error Types:
  6088  //   * ValidationException
  6089  //   Provides information about an error that occurred due to a syntax error in
  6090  //   a request.
  6091  //
  6092  //   * InternalServerException
  6093  //   Provides information about an error that occurred due to an unknown internal
  6094  //   server error, exception, or failure.
  6095  //
  6096  //   * ServiceQuotaExceededException
  6097  //   Provides information about an error that occurred due to one or more service
  6098  //   quotas for an account.
  6099  //
  6100  //   * AccessDeniedException
  6101  //   Provides information about an error that occurred due to insufficient access
  6102  //   to a specified resource.
  6103  //
  6104  //   * ResourceNotFoundException
  6105  //   Provides information about an error that occurred because a specified resource
  6106  //   wasn't found.
  6107  //
  6108  //   * ThrottlingException
  6109  //   Provides information about an error that occurred because too many requests
  6110  //   were sent during a certain amount of time.
  6111  //
  6112  //   * ConflictException
  6113  //   Provides information about an error that occurred due to a versioning conflict
  6114  //   for a specified resource.
  6115  //
  6116  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter
  6117  func (c *Macie2) UpdateFindingsFilter(input *UpdateFindingsFilterInput) (*UpdateFindingsFilterOutput, error) {
  6118  	req, out := c.UpdateFindingsFilterRequest(input)
  6119  	return out, req.Send()
  6120  }
  6121  
  6122  // UpdateFindingsFilterWithContext is the same as UpdateFindingsFilter with the addition of
  6123  // the ability to pass a context and additional request options.
  6124  //
  6125  // See UpdateFindingsFilter for details on how to use this API operation.
  6126  //
  6127  // The context must be non-nil and will be used for request cancellation. If
  6128  // the context is nil a panic will occur. In the future the SDK may create
  6129  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6130  // for more information on using Contexts.
  6131  func (c *Macie2) UpdateFindingsFilterWithContext(ctx aws.Context, input *UpdateFindingsFilterInput, opts ...request.Option) (*UpdateFindingsFilterOutput, error) {
  6132  	req, out := c.UpdateFindingsFilterRequest(input)
  6133  	req.SetContext(ctx)
  6134  	req.ApplyOptions(opts...)
  6135  	return out, req.Send()
  6136  }
  6137  
  6138  const opUpdateMacieSession = "UpdateMacieSession"
  6139  
  6140  // UpdateMacieSessionRequest generates a "aws/request.Request" representing the
  6141  // client's request for the UpdateMacieSession operation. The "output" return
  6142  // value will be populated with the request's response once the request completes
  6143  // successfully.
  6144  //
  6145  // Use "Send" method on the returned Request to send the API call to the service.
  6146  // the "output" return value is not valid until after Send returns without error.
  6147  //
  6148  // See UpdateMacieSession for more information on using the UpdateMacieSession
  6149  // API call, and error handling.
  6150  //
  6151  // This method is useful when you want to inject custom logic or configuration
  6152  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6153  //
  6154  //
  6155  //    // Example sending a request using the UpdateMacieSessionRequest method.
  6156  //    req, resp := client.UpdateMacieSessionRequest(params)
  6157  //
  6158  //    err := req.Send()
  6159  //    if err == nil { // resp is now filled
  6160  //        fmt.Println(resp)
  6161  //    }
  6162  //
  6163  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession
  6164  func (c *Macie2) UpdateMacieSessionRequest(input *UpdateMacieSessionInput) (req *request.Request, output *UpdateMacieSessionOutput) {
  6165  	op := &request.Operation{
  6166  		Name:       opUpdateMacieSession,
  6167  		HTTPMethod: "PATCH",
  6168  		HTTPPath:   "/macie",
  6169  	}
  6170  
  6171  	if input == nil {
  6172  		input = &UpdateMacieSessionInput{}
  6173  	}
  6174  
  6175  	output = &UpdateMacieSessionOutput{}
  6176  	req = c.newRequest(op, input, output)
  6177  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  6178  	return
  6179  }
  6180  
  6181  // UpdateMacieSession API operation for Amazon Macie 2.
  6182  //
  6183  // Suspends or re-enables an Amazon Macie account, or updates the configuration
  6184  // settings for a Macie account.
  6185  //
  6186  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6187  // with awserr.Error's Code and Message methods to get detailed information about
  6188  // the error.
  6189  //
  6190  // See the AWS API reference guide for Amazon Macie 2's
  6191  // API operation UpdateMacieSession for usage and error information.
  6192  //
  6193  // Returned Error Types:
  6194  //   * ValidationException
  6195  //   Provides information about an error that occurred due to a syntax error in
  6196  //   a request.
  6197  //
  6198  //   * InternalServerException
  6199  //   Provides information about an error that occurred due to an unknown internal
  6200  //   server error, exception, or failure.
  6201  //
  6202  //   * ServiceQuotaExceededException
  6203  //   Provides information about an error that occurred due to one or more service
  6204  //   quotas for an account.
  6205  //
  6206  //   * AccessDeniedException
  6207  //   Provides information about an error that occurred due to insufficient access
  6208  //   to a specified resource.
  6209  //
  6210  //   * ResourceNotFoundException
  6211  //   Provides information about an error that occurred because a specified resource
  6212  //   wasn't found.
  6213  //
  6214  //   * ThrottlingException
  6215  //   Provides information about an error that occurred because too many requests
  6216  //   were sent during a certain amount of time.
  6217  //
  6218  //   * ConflictException
  6219  //   Provides information about an error that occurred due to a versioning conflict
  6220  //   for a specified resource.
  6221  //
  6222  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession
  6223  func (c *Macie2) UpdateMacieSession(input *UpdateMacieSessionInput) (*UpdateMacieSessionOutput, error) {
  6224  	req, out := c.UpdateMacieSessionRequest(input)
  6225  	return out, req.Send()
  6226  }
  6227  
  6228  // UpdateMacieSessionWithContext is the same as UpdateMacieSession with the addition of
  6229  // the ability to pass a context and additional request options.
  6230  //
  6231  // See UpdateMacieSession for details on how to use this API operation.
  6232  //
  6233  // The context must be non-nil and will be used for request cancellation. If
  6234  // the context is nil a panic will occur. In the future the SDK may create
  6235  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6236  // for more information on using Contexts.
  6237  func (c *Macie2) UpdateMacieSessionWithContext(ctx aws.Context, input *UpdateMacieSessionInput, opts ...request.Option) (*UpdateMacieSessionOutput, error) {
  6238  	req, out := c.UpdateMacieSessionRequest(input)
  6239  	req.SetContext(ctx)
  6240  	req.ApplyOptions(opts...)
  6241  	return out, req.Send()
  6242  }
  6243  
  6244  const opUpdateMemberSession = "UpdateMemberSession"
  6245  
  6246  // UpdateMemberSessionRequest generates a "aws/request.Request" representing the
  6247  // client's request for the UpdateMemberSession operation. The "output" return
  6248  // value will be populated with the request's response once the request completes
  6249  // successfully.
  6250  //
  6251  // Use "Send" method on the returned Request to send the API call to the service.
  6252  // the "output" return value is not valid until after Send returns without error.
  6253  //
  6254  // See UpdateMemberSession for more information on using the UpdateMemberSession
  6255  // API call, and error handling.
  6256  //
  6257  // This method is useful when you want to inject custom logic or configuration
  6258  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6259  //
  6260  //
  6261  //    // Example sending a request using the UpdateMemberSessionRequest method.
  6262  //    req, resp := client.UpdateMemberSessionRequest(params)
  6263  //
  6264  //    err := req.Send()
  6265  //    if err == nil { // resp is now filled
  6266  //        fmt.Println(resp)
  6267  //    }
  6268  //
  6269  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession
  6270  func (c *Macie2) UpdateMemberSessionRequest(input *UpdateMemberSessionInput) (req *request.Request, output *UpdateMemberSessionOutput) {
  6271  	op := &request.Operation{
  6272  		Name:       opUpdateMemberSession,
  6273  		HTTPMethod: "PATCH",
  6274  		HTTPPath:   "/macie/members/{id}",
  6275  	}
  6276  
  6277  	if input == nil {
  6278  		input = &UpdateMemberSessionInput{}
  6279  	}
  6280  
  6281  	output = &UpdateMemberSessionOutput{}
  6282  	req = c.newRequest(op, input, output)
  6283  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  6284  	return
  6285  }
  6286  
  6287  // UpdateMemberSession API operation for Amazon Macie 2.
  6288  //
  6289  // Enables an Amazon Macie administrator to suspend or re-enable a member account.
  6290  //
  6291  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6292  // with awserr.Error's Code and Message methods to get detailed information about
  6293  // the error.
  6294  //
  6295  // See the AWS API reference guide for Amazon Macie 2's
  6296  // API operation UpdateMemberSession for usage and error information.
  6297  //
  6298  // Returned Error Types:
  6299  //   * ValidationException
  6300  //   Provides information about an error that occurred due to a syntax error in
  6301  //   a request.
  6302  //
  6303  //   * InternalServerException
  6304  //   Provides information about an error that occurred due to an unknown internal
  6305  //   server error, exception, or failure.
  6306  //
  6307  //   * ServiceQuotaExceededException
  6308  //   Provides information about an error that occurred due to one or more service
  6309  //   quotas for an account.
  6310  //
  6311  //   * AccessDeniedException
  6312  //   Provides information about an error that occurred due to insufficient access
  6313  //   to a specified resource.
  6314  //
  6315  //   * ResourceNotFoundException
  6316  //   Provides information about an error that occurred because a specified resource
  6317  //   wasn't found.
  6318  //
  6319  //   * ThrottlingException
  6320  //   Provides information about an error that occurred because too many requests
  6321  //   were sent during a certain amount of time.
  6322  //
  6323  //   * ConflictException
  6324  //   Provides information about an error that occurred due to a versioning conflict
  6325  //   for a specified resource.
  6326  //
  6327  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession
  6328  func (c *Macie2) UpdateMemberSession(input *UpdateMemberSessionInput) (*UpdateMemberSessionOutput, error) {
  6329  	req, out := c.UpdateMemberSessionRequest(input)
  6330  	return out, req.Send()
  6331  }
  6332  
  6333  // UpdateMemberSessionWithContext is the same as UpdateMemberSession with the addition of
  6334  // the ability to pass a context and additional request options.
  6335  //
  6336  // See UpdateMemberSession for details on how to use this API operation.
  6337  //
  6338  // The context must be non-nil and will be used for request cancellation. If
  6339  // the context is nil a panic will occur. In the future the SDK may create
  6340  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6341  // for more information on using Contexts.
  6342  func (c *Macie2) UpdateMemberSessionWithContext(ctx aws.Context, input *UpdateMemberSessionInput, opts ...request.Option) (*UpdateMemberSessionOutput, error) {
  6343  	req, out := c.UpdateMemberSessionRequest(input)
  6344  	req.SetContext(ctx)
  6345  	req.ApplyOptions(opts...)
  6346  	return out, req.Send()
  6347  }
  6348  
  6349  const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration"
  6350  
  6351  // UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the
  6352  // client's request for the UpdateOrganizationConfiguration operation. The "output" return
  6353  // value will be populated with the request's response once the request completes
  6354  // successfully.
  6355  //
  6356  // Use "Send" method on the returned Request to send the API call to the service.
  6357  // the "output" return value is not valid until after Send returns without error.
  6358  //
  6359  // See UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration
  6360  // API call, and error handling.
  6361  //
  6362  // This method is useful when you want to inject custom logic or configuration
  6363  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6364  //
  6365  //
  6366  //    // Example sending a request using the UpdateOrganizationConfigurationRequest method.
  6367  //    req, resp := client.UpdateOrganizationConfigurationRequest(params)
  6368  //
  6369  //    err := req.Send()
  6370  //    if err == nil { // resp is now filled
  6371  //        fmt.Println(resp)
  6372  //    }
  6373  //
  6374  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration
  6375  func (c *Macie2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) {
  6376  	op := &request.Operation{
  6377  		Name:       opUpdateOrganizationConfiguration,
  6378  		HTTPMethod: "PATCH",
  6379  		HTTPPath:   "/admin/configuration",
  6380  	}
  6381  
  6382  	if input == nil {
  6383  		input = &UpdateOrganizationConfigurationInput{}
  6384  	}
  6385  
  6386  	output = &UpdateOrganizationConfigurationOutput{}
  6387  	req = c.newRequest(op, input, output)
  6388  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  6389  	return
  6390  }
  6391  
  6392  // UpdateOrganizationConfiguration API operation for Amazon Macie 2.
  6393  //
  6394  // Updates the Amazon Macie configuration settings for an Amazon Web Services
  6395  // organization.
  6396  //
  6397  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6398  // with awserr.Error's Code and Message methods to get detailed information about
  6399  // the error.
  6400  //
  6401  // See the AWS API reference guide for Amazon Macie 2's
  6402  // API operation UpdateOrganizationConfiguration for usage and error information.
  6403  //
  6404  // Returned Error Types:
  6405  //   * ValidationException
  6406  //   Provides information about an error that occurred due to a syntax error in
  6407  //   a request.
  6408  //
  6409  //   * InternalServerException
  6410  //   Provides information about an error that occurred due to an unknown internal
  6411  //   server error, exception, or failure.
  6412  //
  6413  //   * ServiceQuotaExceededException
  6414  //   Provides information about an error that occurred due to one or more service
  6415  //   quotas for an account.
  6416  //
  6417  //   * AccessDeniedException
  6418  //   Provides information about an error that occurred due to insufficient access
  6419  //   to a specified resource.
  6420  //
  6421  //   * ResourceNotFoundException
  6422  //   Provides information about an error that occurred because a specified resource
  6423  //   wasn't found.
  6424  //
  6425  //   * ThrottlingException
  6426  //   Provides information about an error that occurred because too many requests
  6427  //   were sent during a certain amount of time.
  6428  //
  6429  //   * ConflictException
  6430  //   Provides information about an error that occurred due to a versioning conflict
  6431  //   for a specified resource.
  6432  //
  6433  // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration
  6434  func (c *Macie2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) {
  6435  	req, out := c.UpdateOrganizationConfigurationRequest(input)
  6436  	return out, req.Send()
  6437  }
  6438  
  6439  // UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of
  6440  // the ability to pass a context and additional request options.
  6441  //
  6442  // See UpdateOrganizationConfiguration for details on how to use this API operation.
  6443  //
  6444  // The context must be non-nil and will be used for request cancellation. If
  6445  // the context is nil a panic will occur. In the future the SDK may create
  6446  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6447  // for more information on using Contexts.
  6448  func (c *Macie2) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error) {
  6449  	req, out := c.UpdateOrganizationConfigurationRequest(input)
  6450  	req.SetContext(ctx)
  6451  	req.ApplyOptions(opts...)
  6452  	return out, req.Send()
  6453  }
  6454  
  6455  // Specifies an Amazon Macie membership invitation to accept. In the request,
  6456  // you have to specify the ID for the Amazon Web Services account that sent
  6457  // the invitation. Otherwise, a validation error occurs. To specify this ID,
  6458  // we recommend that you use the administratorAccountId property instead of
  6459  // the masterAccount property. The masterAccount property has been deprecated
  6460  // and is retained only for backward compatibility.
  6461  type AcceptInvitationInput struct {
  6462  	_ struct{} `type:"structure"`
  6463  
  6464  	AdministratorAccountId *string `locationName:"administratorAccountId" type:"string"`
  6465  
  6466  	// InvitationId is a required field
  6467  	InvitationId *string `locationName:"invitationId" type:"string" required:"true"`
  6468  
  6469  	MasterAccount *string `locationName:"masterAccount" type:"string"`
  6470  }
  6471  
  6472  // String returns the string representation.
  6473  //
  6474  // API parameter values that are decorated as "sensitive" in the API will not
  6475  // be included in the string output. The member name will be present, but the
  6476  // value will be replaced with "sensitive".
  6477  func (s AcceptInvitationInput) String() string {
  6478  	return awsutil.Prettify(s)
  6479  }
  6480  
  6481  // GoString returns the string representation.
  6482  //
  6483  // API parameter values that are decorated as "sensitive" in the API will not
  6484  // be included in the string output. The member name will be present, but the
  6485  // value will be replaced with "sensitive".
  6486  func (s AcceptInvitationInput) GoString() string {
  6487  	return s.String()
  6488  }
  6489  
  6490  // Validate inspects the fields of the type to determine if they are valid.
  6491  func (s *AcceptInvitationInput) Validate() error {
  6492  	invalidParams := request.ErrInvalidParams{Context: "AcceptInvitationInput"}
  6493  	if s.InvitationId == nil {
  6494  		invalidParams.Add(request.NewErrParamRequired("InvitationId"))
  6495  	}
  6496  
  6497  	if invalidParams.Len() > 0 {
  6498  		return invalidParams
  6499  	}
  6500  	return nil
  6501  }
  6502  
  6503  // SetAdministratorAccountId sets the AdministratorAccountId field's value.
  6504  func (s *AcceptInvitationInput) SetAdministratorAccountId(v string) *AcceptInvitationInput {
  6505  	s.AdministratorAccountId = &v
  6506  	return s
  6507  }
  6508  
  6509  // SetInvitationId sets the InvitationId field's value.
  6510  func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput {
  6511  	s.InvitationId = &v
  6512  	return s
  6513  }
  6514  
  6515  // SetMasterAccount sets the MasterAccount field's value.
  6516  func (s *AcceptInvitationInput) SetMasterAccount(v string) *AcceptInvitationInput {
  6517  	s.MasterAccount = &v
  6518  	return s
  6519  }
  6520  
  6521  type AcceptInvitationOutput struct {
  6522  	_ struct{} `type:"structure" nopayload:"true"`
  6523  }
  6524  
  6525  // String returns the string representation.
  6526  //
  6527  // API parameter values that are decorated as "sensitive" in the API will not
  6528  // be included in the string output. The member name will be present, but the
  6529  // value will be replaced with "sensitive".
  6530  func (s AcceptInvitationOutput) String() string {
  6531  	return awsutil.Prettify(s)
  6532  }
  6533  
  6534  // GoString returns the string representation.
  6535  //
  6536  // API parameter values that are decorated as "sensitive" in the API will not
  6537  // be included in the string output. The member name will be present, but the
  6538  // value will be replaced with "sensitive".
  6539  func (s AcceptInvitationOutput) GoString() string {
  6540  	return s.String()
  6541  }
  6542  
  6543  // Provides information about the permissions settings of the bucket-level access
  6544  // control list (ACL) for an S3 bucket.
  6545  type AccessControlList struct {
  6546  	_ struct{} `type:"structure"`
  6547  
  6548  	AllowsPublicReadAccess *bool `locationName:"allowsPublicReadAccess" type:"boolean"`
  6549  
  6550  	AllowsPublicWriteAccess *bool `locationName:"allowsPublicWriteAccess" type:"boolean"`
  6551  }
  6552  
  6553  // String returns the string representation.
  6554  //
  6555  // API parameter values that are decorated as "sensitive" in the API will not
  6556  // be included in the string output. The member name will be present, but the
  6557  // value will be replaced with "sensitive".
  6558  func (s AccessControlList) String() string {
  6559  	return awsutil.Prettify(s)
  6560  }
  6561  
  6562  // GoString returns the string representation.
  6563  //
  6564  // API parameter values that are decorated as "sensitive" in the API will not
  6565  // be included in the string output. The member name will be present, but the
  6566  // value will be replaced with "sensitive".
  6567  func (s AccessControlList) GoString() string {
  6568  	return s.String()
  6569  }
  6570  
  6571  // SetAllowsPublicReadAccess sets the AllowsPublicReadAccess field's value.
  6572  func (s *AccessControlList) SetAllowsPublicReadAccess(v bool) *AccessControlList {
  6573  	s.AllowsPublicReadAccess = &v
  6574  	return s
  6575  }
  6576  
  6577  // SetAllowsPublicWriteAccess sets the AllowsPublicWriteAccess field's value.
  6578  func (s *AccessControlList) SetAllowsPublicWriteAccess(v bool) *AccessControlList {
  6579  	s.AllowsPublicWriteAccess = &v
  6580  	return s
  6581  }
  6582  
  6583  // Provides information about an error that occurred due to insufficient access
  6584  // to a specified resource.
  6585  type AccessDeniedException struct {
  6586  	_            struct{}                  `type:"structure"`
  6587  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  6588  
  6589  	Message_ *string `locationName:"message" type:"string"`
  6590  }
  6591  
  6592  // String returns the string representation.
  6593  //
  6594  // API parameter values that are decorated as "sensitive" in the API will not
  6595  // be included in the string output. The member name will be present, but the
  6596  // value will be replaced with "sensitive".
  6597  func (s AccessDeniedException) String() string {
  6598  	return awsutil.Prettify(s)
  6599  }
  6600  
  6601  // GoString returns the string representation.
  6602  //
  6603  // API parameter values that are decorated as "sensitive" in the API will not
  6604  // be included in the string output. The member name will be present, but the
  6605  // value will be replaced with "sensitive".
  6606  func (s AccessDeniedException) GoString() string {
  6607  	return s.String()
  6608  }
  6609  
  6610  func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
  6611  	return &AccessDeniedException{
  6612  		RespMetadata: v,
  6613  	}
  6614  }
  6615  
  6616  // Code returns the exception type name.
  6617  func (s *AccessDeniedException) Code() string {
  6618  	return "AccessDeniedException"
  6619  }
  6620  
  6621  // Message returns the exception's message.
  6622  func (s *AccessDeniedException) Message() string {
  6623  	if s.Message_ != nil {
  6624  		return *s.Message_
  6625  	}
  6626  	return ""
  6627  }
  6628  
  6629  // OrigErr always returns nil, satisfies awserr.Error interface.
  6630  func (s *AccessDeniedException) OrigErr() error {
  6631  	return nil
  6632  }
  6633  
  6634  func (s *AccessDeniedException) Error() string {
  6635  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  6636  }
  6637  
  6638  // Status code returns the HTTP status code for the request's response error.
  6639  func (s *AccessDeniedException) StatusCode() int {
  6640  	return s.RespMetadata.StatusCode
  6641  }
  6642  
  6643  // RequestID returns the service's response RequestID for request.
  6644  func (s *AccessDeniedException) RequestID() string {
  6645  	return s.RespMetadata.RequestID
  6646  }
  6647  
  6648  // Specifies the details of an account to associate with an Amazon Macie administrator
  6649  // account.
  6650  type AccountDetail struct {
  6651  	_ struct{} `type:"structure"`
  6652  
  6653  	// AccountId is a required field
  6654  	AccountId *string `locationName:"accountId" type:"string" required:"true"`
  6655  
  6656  	// Email is a required field
  6657  	Email *string `locationName:"email" type:"string" required:"true"`
  6658  }
  6659  
  6660  // String returns the string representation.
  6661  //
  6662  // API parameter values that are decorated as "sensitive" in the API will not
  6663  // be included in the string output. The member name will be present, but the
  6664  // value will be replaced with "sensitive".
  6665  func (s AccountDetail) String() string {
  6666  	return awsutil.Prettify(s)
  6667  }
  6668  
  6669  // GoString returns the string representation.
  6670  //
  6671  // API parameter values that are decorated as "sensitive" in the API will not
  6672  // be included in the string output. The member name will be present, but the
  6673  // value will be replaced with "sensitive".
  6674  func (s AccountDetail) GoString() string {
  6675  	return s.String()
  6676  }
  6677  
  6678  // Validate inspects the fields of the type to determine if they are valid.
  6679  func (s *AccountDetail) Validate() error {
  6680  	invalidParams := request.ErrInvalidParams{Context: "AccountDetail"}
  6681  	if s.AccountId == nil {
  6682  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
  6683  	}
  6684  	if s.Email == nil {
  6685  		invalidParams.Add(request.NewErrParamRequired("Email"))
  6686  	}
  6687  
  6688  	if invalidParams.Len() > 0 {
  6689  		return invalidParams
  6690  	}
  6691  	return nil
  6692  }
  6693  
  6694  // SetAccountId sets the AccountId field's value.
  6695  func (s *AccountDetail) SetAccountId(v string) *AccountDetail {
  6696  	s.AccountId = &v
  6697  	return s
  6698  }
  6699  
  6700  // SetEmail sets the Email field's value.
  6701  func (s *AccountDetail) SetEmail(v string) *AccountDetail {
  6702  	s.Email = &v
  6703  	return s
  6704  }
  6705  
  6706  // Provides information about the account-level permissions settings that apply
  6707  // to an S3 bucket.
  6708  type AccountLevelPermissions struct {
  6709  	_ struct{} `type:"structure"`
  6710  
  6711  	// Provides information about the block public access settings for an S3 bucket.
  6712  	// These settings can apply to a bucket at the account level or bucket level.
  6713  	// For detailed information about each setting, see Blocking public access to
  6714  	// your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html)
  6715  	// in the Amazon Simple Storage Service User Guide.
  6716  	BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"`
  6717  }
  6718  
  6719  // String returns the string representation.
  6720  //
  6721  // API parameter values that are decorated as "sensitive" in the API will not
  6722  // be included in the string output. The member name will be present, but the
  6723  // value will be replaced with "sensitive".
  6724  func (s AccountLevelPermissions) String() string {
  6725  	return awsutil.Prettify(s)
  6726  }
  6727  
  6728  // GoString returns the string representation.
  6729  //
  6730  // API parameter values that are decorated as "sensitive" in the API will not
  6731  // be included in the string output. The member name will be present, but the
  6732  // value will be replaced with "sensitive".
  6733  func (s AccountLevelPermissions) GoString() string {
  6734  	return s.String()
  6735  }
  6736  
  6737  // SetBlockPublicAccess sets the BlockPublicAccess field's value.
  6738  func (s *AccountLevelPermissions) SetBlockPublicAccess(v *BlockPublicAccess) *AccountLevelPermissions {
  6739  	s.BlockPublicAccess = v
  6740  	return s
  6741  }
  6742  
  6743  // Provides information about the delegated Amazon Macie administrator account
  6744  // for an Amazon Web Services organization.
  6745  type AdminAccount struct {
  6746  	_ struct{} `type:"structure"`
  6747  
  6748  	AccountId *string `locationName:"accountId" type:"string"`
  6749  
  6750  	// The current status of an account as the delegated Amazon Macie administrator
  6751  	// account for an Amazon Web Services organization. Possible values are:
  6752  	Status *string `locationName:"status" type:"string" enum:"AdminStatus"`
  6753  }
  6754  
  6755  // String returns the string representation.
  6756  //
  6757  // API parameter values that are decorated as "sensitive" in the API will not
  6758  // be included in the string output. The member name will be present, but the
  6759  // value will be replaced with "sensitive".
  6760  func (s AdminAccount) String() string {
  6761  	return awsutil.Prettify(s)
  6762  }
  6763  
  6764  // GoString returns the string representation.
  6765  //
  6766  // API parameter values that are decorated as "sensitive" in the API will not
  6767  // be included in the string output. The member name will be present, but the
  6768  // value will be replaced with "sensitive".
  6769  func (s AdminAccount) GoString() string {
  6770  	return s.String()
  6771  }
  6772  
  6773  // SetAccountId sets the AccountId field's value.
  6774  func (s *AdminAccount) SetAccountId(v string) *AdminAccount {
  6775  	s.AccountId = &v
  6776  	return s
  6777  }
  6778  
  6779  // SetStatus sets the Status field's value.
  6780  func (s *AdminAccount) SetStatus(v string) *AdminAccount {
  6781  	s.Status = &v
  6782  	return s
  6783  }
  6784  
  6785  // Provides information about an API operation that an entity invoked for an
  6786  // affected resource.
  6787  type ApiCallDetails struct {
  6788  	_ struct{} `type:"structure"`
  6789  
  6790  	Api *string `locationName:"api" type:"string"`
  6791  
  6792  	ApiServiceName *string `locationName:"apiServiceName" type:"string"`
  6793  
  6794  	FirstSeen *time.Time `locationName:"firstSeen" type:"timestamp" timestampFormat:"iso8601"`
  6795  
  6796  	LastSeen *time.Time `locationName:"lastSeen" type:"timestamp" timestampFormat:"iso8601"`
  6797  }
  6798  
  6799  // String returns the string representation.
  6800  //
  6801  // API parameter values that are decorated as "sensitive" in the API will not
  6802  // be included in the string output. The member name will be present, but the
  6803  // value will be replaced with "sensitive".
  6804  func (s ApiCallDetails) String() string {
  6805  	return awsutil.Prettify(s)
  6806  }
  6807  
  6808  // GoString returns the string representation.
  6809  //
  6810  // API parameter values that are decorated as "sensitive" in the API will not
  6811  // be included in the string output. The member name will be present, but the
  6812  // value will be replaced with "sensitive".
  6813  func (s ApiCallDetails) GoString() string {
  6814  	return s.String()
  6815  }
  6816  
  6817  // SetApi sets the Api field's value.
  6818  func (s *ApiCallDetails) SetApi(v string) *ApiCallDetails {
  6819  	s.Api = &v
  6820  	return s
  6821  }
  6822  
  6823  // SetApiServiceName sets the ApiServiceName field's value.
  6824  func (s *ApiCallDetails) SetApiServiceName(v string) *ApiCallDetails {
  6825  	s.ApiServiceName = &v
  6826  	return s
  6827  }
  6828  
  6829  // SetFirstSeen sets the FirstSeen field's value.
  6830  func (s *ApiCallDetails) SetFirstSeen(v time.Time) *ApiCallDetails {
  6831  	s.FirstSeen = &v
  6832  	return s
  6833  }
  6834  
  6835  // SetLastSeen sets the LastSeen field's value.
  6836  func (s *ApiCallDetails) SetLastSeen(v time.Time) *ApiCallDetails {
  6837  	s.LastSeen = &v
  6838  	return s
  6839  }
  6840  
  6841  // Provides information about an identity that performed an action on an affected
  6842  // resource by using temporary security credentials. The credentials were obtained
  6843  // using the AssumeRole operation of the Security Token Service (STS) API.
  6844  type AssumedRole struct {
  6845  	_ struct{} `type:"structure"`
  6846  
  6847  	AccessKeyId *string `locationName:"accessKeyId" type:"string"`
  6848  
  6849  	AccountId *string `locationName:"accountId" type:"string"`
  6850  
  6851  	Arn *string `locationName:"arn" type:"string"`
  6852  
  6853  	PrincipalId *string `locationName:"principalId" type:"string"`
  6854  
  6855  	// Provides information about a session that was created for an entity that
  6856  	// performed an action by using temporary security credentials.
  6857  	SessionContext *SessionContext `locationName:"sessionContext" type:"structure"`
  6858  }
  6859  
  6860  // String returns the string representation.
  6861  //
  6862  // API parameter values that are decorated as "sensitive" in the API will not
  6863  // be included in the string output. The member name will be present, but the
  6864  // value will be replaced with "sensitive".
  6865  func (s AssumedRole) String() string {
  6866  	return awsutil.Prettify(s)
  6867  }
  6868  
  6869  // GoString returns the string representation.
  6870  //
  6871  // API parameter values that are decorated as "sensitive" in the API will not
  6872  // be included in the string output. The member name will be present, but the
  6873  // value will be replaced with "sensitive".
  6874  func (s AssumedRole) GoString() string {
  6875  	return s.String()
  6876  }
  6877  
  6878  // SetAccessKeyId sets the AccessKeyId field's value.
  6879  func (s *AssumedRole) SetAccessKeyId(v string) *AssumedRole {
  6880  	s.AccessKeyId = &v
  6881  	return s
  6882  }
  6883  
  6884  // SetAccountId sets the AccountId field's value.
  6885  func (s *AssumedRole) SetAccountId(v string) *AssumedRole {
  6886  	s.AccountId = &v
  6887  	return s
  6888  }
  6889  
  6890  // SetArn sets the Arn field's value.
  6891  func (s *AssumedRole) SetArn(v string) *AssumedRole {
  6892  	s.Arn = &v
  6893  	return s
  6894  }
  6895  
  6896  // SetPrincipalId sets the PrincipalId field's value.
  6897  func (s *AssumedRole) SetPrincipalId(v string) *AssumedRole {
  6898  	s.PrincipalId = &v
  6899  	return s
  6900  }
  6901  
  6902  // SetSessionContext sets the SessionContext field's value.
  6903  func (s *AssumedRole) SetSessionContext(v *SessionContext) *AssumedRole {
  6904  	s.SessionContext = v
  6905  	return s
  6906  }
  6907  
  6908  // Provides information about an Amazon Web Services account and entity that
  6909  // performed an action on an affected resource. The action was performed using
  6910  // the credentials for an Amazon Web Services account other than your own account.
  6911  type AwsAccount struct {
  6912  	_ struct{} `type:"structure"`
  6913  
  6914  	AccountId *string `locationName:"accountId" type:"string"`
  6915  
  6916  	PrincipalId *string `locationName:"principalId" type:"string"`
  6917  }
  6918  
  6919  // String returns the string representation.
  6920  //
  6921  // API parameter values that are decorated as "sensitive" in the API will not
  6922  // be included in the string output. The member name will be present, but the
  6923  // value will be replaced with "sensitive".
  6924  func (s AwsAccount) String() string {
  6925  	return awsutil.Prettify(s)
  6926  }
  6927  
  6928  // GoString returns the string representation.
  6929  //
  6930  // API parameter values that are decorated as "sensitive" in the API will not
  6931  // be included in the string output. The member name will be present, but the
  6932  // value will be replaced with "sensitive".
  6933  func (s AwsAccount) GoString() string {
  6934  	return s.String()
  6935  }
  6936  
  6937  // SetAccountId sets the AccountId field's value.
  6938  func (s *AwsAccount) SetAccountId(v string) *AwsAccount {
  6939  	s.AccountId = &v
  6940  	return s
  6941  }
  6942  
  6943  // SetPrincipalId sets the PrincipalId field's value.
  6944  func (s *AwsAccount) SetPrincipalId(v string) *AwsAccount {
  6945  	s.PrincipalId = &v
  6946  	return s
  6947  }
  6948  
  6949  // Provides information about an Amazon Web Service that performed an action
  6950  // on an affected resource.
  6951  type AwsService struct {
  6952  	_ struct{} `type:"structure"`
  6953  
  6954  	InvokedBy *string `locationName:"invokedBy" type:"string"`
  6955  }
  6956  
  6957  // String returns the string representation.
  6958  //
  6959  // API parameter values that are decorated as "sensitive" in the API will not
  6960  // be included in the string output. The member name will be present, but the
  6961  // value will be replaced with "sensitive".
  6962  func (s AwsService) String() string {
  6963  	return awsutil.Prettify(s)
  6964  }
  6965  
  6966  // GoString returns the string representation.
  6967  //
  6968  // API parameter values that are decorated as "sensitive" in the API will not
  6969  // be included in the string output. The member name will be present, but the
  6970  // value will be replaced with "sensitive".
  6971  func (s AwsService) GoString() string {
  6972  	return s.String()
  6973  }
  6974  
  6975  // SetInvokedBy sets the InvokedBy field's value.
  6976  func (s *AwsService) SetInvokedBy(v string) *AwsService {
  6977  	s.InvokedBy = &v
  6978  	return s
  6979  }
  6980  
  6981  // Provides information about a custom data identifier.
  6982  type BatchGetCustomDataIdentifierSummary struct {
  6983  	_ struct{} `type:"structure"`
  6984  
  6985  	Arn *string `locationName:"arn" type:"string"`
  6986  
  6987  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
  6988  
  6989  	Deleted *bool `locationName:"deleted" type:"boolean"`
  6990  
  6991  	Description *string `locationName:"description" type:"string"`
  6992  
  6993  	Id *string `locationName:"id" type:"string"`
  6994  
  6995  	Name *string `locationName:"name" type:"string"`
  6996  }
  6997  
  6998  // String returns the string representation.
  6999  //
  7000  // API parameter values that are decorated as "sensitive" in the API will not
  7001  // be included in the string output. The member name will be present, but the
  7002  // value will be replaced with "sensitive".
  7003  func (s BatchGetCustomDataIdentifierSummary) String() string {
  7004  	return awsutil.Prettify(s)
  7005  }
  7006  
  7007  // GoString returns the string representation.
  7008  //
  7009  // API parameter values that are decorated as "sensitive" in the API will not
  7010  // be included in the string output. The member name will be present, but the
  7011  // value will be replaced with "sensitive".
  7012  func (s BatchGetCustomDataIdentifierSummary) GoString() string {
  7013  	return s.String()
  7014  }
  7015  
  7016  // SetArn sets the Arn field's value.
  7017  func (s *BatchGetCustomDataIdentifierSummary) SetArn(v string) *BatchGetCustomDataIdentifierSummary {
  7018  	s.Arn = &v
  7019  	return s
  7020  }
  7021  
  7022  // SetCreatedAt sets the CreatedAt field's value.
  7023  func (s *BatchGetCustomDataIdentifierSummary) SetCreatedAt(v time.Time) *BatchGetCustomDataIdentifierSummary {
  7024  	s.CreatedAt = &v
  7025  	return s
  7026  }
  7027  
  7028  // SetDeleted sets the Deleted field's value.
  7029  func (s *BatchGetCustomDataIdentifierSummary) SetDeleted(v bool) *BatchGetCustomDataIdentifierSummary {
  7030  	s.Deleted = &v
  7031  	return s
  7032  }
  7033  
  7034  // SetDescription sets the Description field's value.
  7035  func (s *BatchGetCustomDataIdentifierSummary) SetDescription(v string) *BatchGetCustomDataIdentifierSummary {
  7036  	s.Description = &v
  7037  	return s
  7038  }
  7039  
  7040  // SetId sets the Id field's value.
  7041  func (s *BatchGetCustomDataIdentifierSummary) SetId(v string) *BatchGetCustomDataIdentifierSummary {
  7042  	s.Id = &v
  7043  	return s
  7044  }
  7045  
  7046  // SetName sets the Name field's value.
  7047  func (s *BatchGetCustomDataIdentifierSummary) SetName(v string) *BatchGetCustomDataIdentifierSummary {
  7048  	s.Name = &v
  7049  	return s
  7050  }
  7051  
  7052  // Specifies one or more custom data identifiers to retrieve information about.
  7053  type BatchGetCustomDataIdentifiersInput struct {
  7054  	_ struct{} `type:"structure"`
  7055  
  7056  	Ids []*string `locationName:"ids" type:"list"`
  7057  }
  7058  
  7059  // String returns the string representation.
  7060  //
  7061  // API parameter values that are decorated as "sensitive" in the API will not
  7062  // be included in the string output. The member name will be present, but the
  7063  // value will be replaced with "sensitive".
  7064  func (s BatchGetCustomDataIdentifiersInput) String() string {
  7065  	return awsutil.Prettify(s)
  7066  }
  7067  
  7068  // GoString returns the string representation.
  7069  //
  7070  // API parameter values that are decorated as "sensitive" in the API will not
  7071  // be included in the string output. The member name will be present, but the
  7072  // value will be replaced with "sensitive".
  7073  func (s BatchGetCustomDataIdentifiersInput) GoString() string {
  7074  	return s.String()
  7075  }
  7076  
  7077  // SetIds sets the Ids field's value.
  7078  func (s *BatchGetCustomDataIdentifiersInput) SetIds(v []*string) *BatchGetCustomDataIdentifiersInput {
  7079  	s.Ids = v
  7080  	return s
  7081  }
  7082  
  7083  // Provides information about one or more custom data identifiers.
  7084  type BatchGetCustomDataIdentifiersOutput struct {
  7085  	_ struct{} `type:"structure"`
  7086  
  7087  	CustomDataIdentifiers []*BatchGetCustomDataIdentifierSummary `locationName:"customDataIdentifiers" type:"list"`
  7088  
  7089  	NotFoundIdentifierIds []*string `locationName:"notFoundIdentifierIds" type:"list"`
  7090  }
  7091  
  7092  // String returns the string representation.
  7093  //
  7094  // API parameter values that are decorated as "sensitive" in the API will not
  7095  // be included in the string output. The member name will be present, but the
  7096  // value will be replaced with "sensitive".
  7097  func (s BatchGetCustomDataIdentifiersOutput) String() string {
  7098  	return awsutil.Prettify(s)
  7099  }
  7100  
  7101  // GoString returns the string representation.
  7102  //
  7103  // API parameter values that are decorated as "sensitive" in the API will not
  7104  // be included in the string output. The member name will be present, but the
  7105  // value will be replaced with "sensitive".
  7106  func (s BatchGetCustomDataIdentifiersOutput) GoString() string {
  7107  	return s.String()
  7108  }
  7109  
  7110  // SetCustomDataIdentifiers sets the CustomDataIdentifiers field's value.
  7111  func (s *BatchGetCustomDataIdentifiersOutput) SetCustomDataIdentifiers(v []*BatchGetCustomDataIdentifierSummary) *BatchGetCustomDataIdentifiersOutput {
  7112  	s.CustomDataIdentifiers = v
  7113  	return s
  7114  }
  7115  
  7116  // SetNotFoundIdentifierIds sets the NotFoundIdentifierIds field's value.
  7117  func (s *BatchGetCustomDataIdentifiersOutput) SetNotFoundIdentifierIds(v []*string) *BatchGetCustomDataIdentifiersOutput {
  7118  	s.NotFoundIdentifierIds = v
  7119  	return s
  7120  }
  7121  
  7122  // Provides information about the block public access settings for an S3 bucket.
  7123  // These settings can apply to a bucket at the account level or bucket level.
  7124  // For detailed information about each setting, see Blocking public access to
  7125  // your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html)
  7126  // in the Amazon Simple Storage Service User Guide.
  7127  type BlockPublicAccess struct {
  7128  	_ struct{} `type:"structure"`
  7129  
  7130  	BlockPublicAcls *bool `locationName:"blockPublicAcls" type:"boolean"`
  7131  
  7132  	BlockPublicPolicy *bool `locationName:"blockPublicPolicy" type:"boolean"`
  7133  
  7134  	IgnorePublicAcls *bool `locationName:"ignorePublicAcls" type:"boolean"`
  7135  
  7136  	RestrictPublicBuckets *bool `locationName:"restrictPublicBuckets" type:"boolean"`
  7137  }
  7138  
  7139  // String returns the string representation.
  7140  //
  7141  // API parameter values that are decorated as "sensitive" in the API will not
  7142  // be included in the string output. The member name will be present, but the
  7143  // value will be replaced with "sensitive".
  7144  func (s BlockPublicAccess) String() string {
  7145  	return awsutil.Prettify(s)
  7146  }
  7147  
  7148  // GoString returns the string representation.
  7149  //
  7150  // API parameter values that are decorated as "sensitive" in the API will not
  7151  // be included in the string output. The member name will be present, but the
  7152  // value will be replaced with "sensitive".
  7153  func (s BlockPublicAccess) GoString() string {
  7154  	return s.String()
  7155  }
  7156  
  7157  // SetBlockPublicAcls sets the BlockPublicAcls field's value.
  7158  func (s *BlockPublicAccess) SetBlockPublicAcls(v bool) *BlockPublicAccess {
  7159  	s.BlockPublicAcls = &v
  7160  	return s
  7161  }
  7162  
  7163  // SetBlockPublicPolicy sets the BlockPublicPolicy field's value.
  7164  func (s *BlockPublicAccess) SetBlockPublicPolicy(v bool) *BlockPublicAccess {
  7165  	s.BlockPublicPolicy = &v
  7166  	return s
  7167  }
  7168  
  7169  // SetIgnorePublicAcls sets the IgnorePublicAcls field's value.
  7170  func (s *BlockPublicAccess) SetIgnorePublicAcls(v bool) *BlockPublicAccess {
  7171  	s.IgnorePublicAcls = &v
  7172  	return s
  7173  }
  7174  
  7175  // SetRestrictPublicBuckets sets the RestrictPublicBuckets field's value.
  7176  func (s *BlockPublicAccess) SetRestrictPublicBuckets(v bool) *BlockPublicAccess {
  7177  	s.RestrictPublicBuckets = &v
  7178  	return s
  7179  }
  7180  
  7181  // Provides information about the number of S3 buckets that are publicly accessible
  7182  // based on a combination of permissions settings for each bucket.
  7183  type BucketCountByEffectivePermission struct {
  7184  	_ struct{} `type:"structure"`
  7185  
  7186  	PubliclyAccessible *int64 `locationName:"publiclyAccessible" type:"long"`
  7187  
  7188  	PubliclyReadable *int64 `locationName:"publiclyReadable" type:"long"`
  7189  
  7190  	PubliclyWritable *int64 `locationName:"publiclyWritable" type:"long"`
  7191  
  7192  	Unknown *int64 `locationName:"unknown" type:"long"`
  7193  }
  7194  
  7195  // String returns the string representation.
  7196  //
  7197  // API parameter values that are decorated as "sensitive" in the API will not
  7198  // be included in the string output. The member name will be present, but the
  7199  // value will be replaced with "sensitive".
  7200  func (s BucketCountByEffectivePermission) String() string {
  7201  	return awsutil.Prettify(s)
  7202  }
  7203  
  7204  // GoString returns the string representation.
  7205  //
  7206  // API parameter values that are decorated as "sensitive" in the API will not
  7207  // be included in the string output. The member name will be present, but the
  7208  // value will be replaced with "sensitive".
  7209  func (s BucketCountByEffectivePermission) GoString() string {
  7210  	return s.String()
  7211  }
  7212  
  7213  // SetPubliclyAccessible sets the PubliclyAccessible field's value.
  7214  func (s *BucketCountByEffectivePermission) SetPubliclyAccessible(v int64) *BucketCountByEffectivePermission {
  7215  	s.PubliclyAccessible = &v
  7216  	return s
  7217  }
  7218  
  7219  // SetPubliclyReadable sets the PubliclyReadable field's value.
  7220  func (s *BucketCountByEffectivePermission) SetPubliclyReadable(v int64) *BucketCountByEffectivePermission {
  7221  	s.PubliclyReadable = &v
  7222  	return s
  7223  }
  7224  
  7225  // SetPubliclyWritable sets the PubliclyWritable field's value.
  7226  func (s *BucketCountByEffectivePermission) SetPubliclyWritable(v int64) *BucketCountByEffectivePermission {
  7227  	s.PubliclyWritable = &v
  7228  	return s
  7229  }
  7230  
  7231  // SetUnknown sets the Unknown field's value.
  7232  func (s *BucketCountByEffectivePermission) SetUnknown(v int64) *BucketCountByEffectivePermission {
  7233  	s.Unknown = &v
  7234  	return s
  7235  }
  7236  
  7237  // Provides information about the number of S3 buckets that use certain types
  7238  // of server-side encryption by default or don't encrypt new objects by default.
  7239  // For detailed information about these settings, see Setting default server-side
  7240  // encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html)
  7241  // in the Amazon Simple Storage Service User Guide.
  7242  type BucketCountByEncryptionType struct {
  7243  	_ struct{} `type:"structure"`
  7244  
  7245  	KmsManaged *int64 `locationName:"kmsManaged" type:"long"`
  7246  
  7247  	S3Managed *int64 `locationName:"s3Managed" type:"long"`
  7248  
  7249  	Unencrypted *int64 `locationName:"unencrypted" type:"long"`
  7250  
  7251  	Unknown *int64 `locationName:"unknown" type:"long"`
  7252  }
  7253  
  7254  // String returns the string representation.
  7255  //
  7256  // API parameter values that are decorated as "sensitive" in the API will not
  7257  // be included in the string output. The member name will be present, but the
  7258  // value will be replaced with "sensitive".
  7259  func (s BucketCountByEncryptionType) String() string {
  7260  	return awsutil.Prettify(s)
  7261  }
  7262  
  7263  // GoString returns the string representation.
  7264  //
  7265  // API parameter values that are decorated as "sensitive" in the API will not
  7266  // be included in the string output. The member name will be present, but the
  7267  // value will be replaced with "sensitive".
  7268  func (s BucketCountByEncryptionType) GoString() string {
  7269  	return s.String()
  7270  }
  7271  
  7272  // SetKmsManaged sets the KmsManaged field's value.
  7273  func (s *BucketCountByEncryptionType) SetKmsManaged(v int64) *BucketCountByEncryptionType {
  7274  	s.KmsManaged = &v
  7275  	return s
  7276  }
  7277  
  7278  // SetS3Managed sets the S3Managed field's value.
  7279  func (s *BucketCountByEncryptionType) SetS3Managed(v int64) *BucketCountByEncryptionType {
  7280  	s.S3Managed = &v
  7281  	return s
  7282  }
  7283  
  7284  // SetUnencrypted sets the Unencrypted field's value.
  7285  func (s *BucketCountByEncryptionType) SetUnencrypted(v int64) *BucketCountByEncryptionType {
  7286  	s.Unencrypted = &v
  7287  	return s
  7288  }
  7289  
  7290  // SetUnknown sets the Unknown field's value.
  7291  func (s *BucketCountByEncryptionType) SetUnknown(v int64) *BucketCountByEncryptionType {
  7292  	s.Unknown = &v
  7293  	return s
  7294  }
  7295  
  7296  // Provides information about the number of S3 buckets that are or aren't shared
  7297  // with other Amazon Web Services accounts.
  7298  type BucketCountBySharedAccessType struct {
  7299  	_ struct{} `type:"structure"`
  7300  
  7301  	External *int64 `locationName:"external" type:"long"`
  7302  
  7303  	Internal *int64 `locationName:"internal" type:"long"`
  7304  
  7305  	NotShared *int64 `locationName:"notShared" type:"long"`
  7306  
  7307  	Unknown *int64 `locationName:"unknown" type:"long"`
  7308  }
  7309  
  7310  // String returns the string representation.
  7311  //
  7312  // API parameter values that are decorated as "sensitive" in the API will not
  7313  // be included in the string output. The member name will be present, but the
  7314  // value will be replaced with "sensitive".
  7315  func (s BucketCountBySharedAccessType) String() string {
  7316  	return awsutil.Prettify(s)
  7317  }
  7318  
  7319  // GoString returns the string representation.
  7320  //
  7321  // API parameter values that are decorated as "sensitive" in the API will not
  7322  // be included in the string output. The member name will be present, but the
  7323  // value will be replaced with "sensitive".
  7324  func (s BucketCountBySharedAccessType) GoString() string {
  7325  	return s.String()
  7326  }
  7327  
  7328  // SetExternal sets the External field's value.
  7329  func (s *BucketCountBySharedAccessType) SetExternal(v int64) *BucketCountBySharedAccessType {
  7330  	s.External = &v
  7331  	return s
  7332  }
  7333  
  7334  // SetInternal sets the Internal field's value.
  7335  func (s *BucketCountBySharedAccessType) SetInternal(v int64) *BucketCountBySharedAccessType {
  7336  	s.Internal = &v
  7337  	return s
  7338  }
  7339  
  7340  // SetNotShared sets the NotShared field's value.
  7341  func (s *BucketCountBySharedAccessType) SetNotShared(v int64) *BucketCountBySharedAccessType {
  7342  	s.NotShared = &v
  7343  	return s
  7344  }
  7345  
  7346  // SetUnknown sets the Unknown field's value.
  7347  func (s *BucketCountBySharedAccessType) SetUnknown(v int64) *BucketCountBySharedAccessType {
  7348  	s.Unknown = &v
  7349  	return s
  7350  }
  7351  
  7352  // Provides information about the number of S3 buckets whose bucket policies
  7353  // do or don't require server-side encryption of objects when objects are uploaded
  7354  // to the buckets.
  7355  type BucketCountPolicyAllowsUnencryptedObjectUploads struct {
  7356  	_ struct{} `type:"structure"`
  7357  
  7358  	AllowsUnencryptedObjectUploads *int64 `locationName:"allowsUnencryptedObjectUploads" type:"long"`
  7359  
  7360  	DeniesUnencryptedObjectUploads *int64 `locationName:"deniesUnencryptedObjectUploads" type:"long"`
  7361  
  7362  	Unknown *int64 `locationName:"unknown" type:"long"`
  7363  }
  7364  
  7365  // String returns the string representation.
  7366  //
  7367  // API parameter values that are decorated as "sensitive" in the API will not
  7368  // be included in the string output. The member name will be present, but the
  7369  // value will be replaced with "sensitive".
  7370  func (s BucketCountPolicyAllowsUnencryptedObjectUploads) String() string {
  7371  	return awsutil.Prettify(s)
  7372  }
  7373  
  7374  // GoString returns the string representation.
  7375  //
  7376  // API parameter values that are decorated as "sensitive" in the API will not
  7377  // be included in the string output. The member name will be present, but the
  7378  // value will be replaced with "sensitive".
  7379  func (s BucketCountPolicyAllowsUnencryptedObjectUploads) GoString() string {
  7380  	return s.String()
  7381  }
  7382  
  7383  // SetAllowsUnencryptedObjectUploads sets the AllowsUnencryptedObjectUploads field's value.
  7384  func (s *BucketCountPolicyAllowsUnencryptedObjectUploads) SetAllowsUnencryptedObjectUploads(v int64) *BucketCountPolicyAllowsUnencryptedObjectUploads {
  7385  	s.AllowsUnencryptedObjectUploads = &v
  7386  	return s
  7387  }
  7388  
  7389  // SetDeniesUnencryptedObjectUploads sets the DeniesUnencryptedObjectUploads field's value.
  7390  func (s *BucketCountPolicyAllowsUnencryptedObjectUploads) SetDeniesUnencryptedObjectUploads(v int64) *BucketCountPolicyAllowsUnencryptedObjectUploads {
  7391  	s.DeniesUnencryptedObjectUploads = &v
  7392  	return s
  7393  }
  7394  
  7395  // SetUnknown sets the Unknown field's value.
  7396  func (s *BucketCountPolicyAllowsUnencryptedObjectUploads) SetUnknown(v int64) *BucketCountPolicyAllowsUnencryptedObjectUploads {
  7397  	s.Unknown = &v
  7398  	return s
  7399  }
  7400  
  7401  // Specifies the operator to use in a property-based condition that filters
  7402  // the results of a query for information about S3 buckets.
  7403  type BucketCriteriaAdditionalProperties struct {
  7404  	_ struct{} `type:"structure"`
  7405  
  7406  	Eq []*string `locationName:"eq" type:"list"`
  7407  
  7408  	Gt *int64 `locationName:"gt" type:"long"`
  7409  
  7410  	Gte *int64 `locationName:"gte" type:"long"`
  7411  
  7412  	Lt *int64 `locationName:"lt" type:"long"`
  7413  
  7414  	Lte *int64 `locationName:"lte" type:"long"`
  7415  
  7416  	Neq []*string `locationName:"neq" type:"list"`
  7417  
  7418  	Prefix *string `locationName:"prefix" type:"string"`
  7419  }
  7420  
  7421  // String returns the string representation.
  7422  //
  7423  // API parameter values that are decorated as "sensitive" in the API will not
  7424  // be included in the string output. The member name will be present, but the
  7425  // value will be replaced with "sensitive".
  7426  func (s BucketCriteriaAdditionalProperties) String() string {
  7427  	return awsutil.Prettify(s)
  7428  }
  7429  
  7430  // GoString returns the string representation.
  7431  //
  7432  // API parameter values that are decorated as "sensitive" in the API will not
  7433  // be included in the string output. The member name will be present, but the
  7434  // value will be replaced with "sensitive".
  7435  func (s BucketCriteriaAdditionalProperties) GoString() string {
  7436  	return s.String()
  7437  }
  7438  
  7439  // SetEq sets the Eq field's value.
  7440  func (s *BucketCriteriaAdditionalProperties) SetEq(v []*string) *BucketCriteriaAdditionalProperties {
  7441  	s.Eq = v
  7442  	return s
  7443  }
  7444  
  7445  // SetGt sets the Gt field's value.
  7446  func (s *BucketCriteriaAdditionalProperties) SetGt(v int64) *BucketCriteriaAdditionalProperties {
  7447  	s.Gt = &v
  7448  	return s
  7449  }
  7450  
  7451  // SetGte sets the Gte field's value.
  7452  func (s *BucketCriteriaAdditionalProperties) SetGte(v int64) *BucketCriteriaAdditionalProperties {
  7453  	s.Gte = &v
  7454  	return s
  7455  }
  7456  
  7457  // SetLt sets the Lt field's value.
  7458  func (s *BucketCriteriaAdditionalProperties) SetLt(v int64) *BucketCriteriaAdditionalProperties {
  7459  	s.Lt = &v
  7460  	return s
  7461  }
  7462  
  7463  // SetLte sets the Lte field's value.
  7464  func (s *BucketCriteriaAdditionalProperties) SetLte(v int64) *BucketCriteriaAdditionalProperties {
  7465  	s.Lte = &v
  7466  	return s
  7467  }
  7468  
  7469  // SetNeq sets the Neq field's value.
  7470  func (s *BucketCriteriaAdditionalProperties) SetNeq(v []*string) *BucketCriteriaAdditionalProperties {
  7471  	s.Neq = v
  7472  	return s
  7473  }
  7474  
  7475  // SetPrefix sets the Prefix field's value.
  7476  func (s *BucketCriteriaAdditionalProperties) SetPrefix(v string) *BucketCriteriaAdditionalProperties {
  7477  	s.Prefix = &v
  7478  	return s
  7479  }
  7480  
  7481  // Provides information about the bucket-level permissions settings for an S3
  7482  // bucket.
  7483  type BucketLevelPermissions struct {
  7484  	_ struct{} `type:"structure"`
  7485  
  7486  	// Provides information about the permissions settings of the bucket-level access
  7487  	// control list (ACL) for an S3 bucket.
  7488  	AccessControlList *AccessControlList `locationName:"accessControlList" type:"structure"`
  7489  
  7490  	// Provides information about the block public access settings for an S3 bucket.
  7491  	// These settings can apply to a bucket at the account level or bucket level.
  7492  	// For detailed information about each setting, see Blocking public access to
  7493  	// your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html)
  7494  	// in the Amazon Simple Storage Service User Guide.
  7495  	BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"`
  7496  
  7497  	// Provides information about the permissions settings of the bucket policy
  7498  	// for an S3 bucket.
  7499  	BucketPolicy *BucketPolicy `locationName:"bucketPolicy" type:"structure"`
  7500  }
  7501  
  7502  // String returns the string representation.
  7503  //
  7504  // API parameter values that are decorated as "sensitive" in the API will not
  7505  // be included in the string output. The member name will be present, but the
  7506  // value will be replaced with "sensitive".
  7507  func (s BucketLevelPermissions) String() string {
  7508  	return awsutil.Prettify(s)
  7509  }
  7510  
  7511  // GoString returns the string representation.
  7512  //
  7513  // API parameter values that are decorated as "sensitive" in the API will not
  7514  // be included in the string output. The member name will be present, but the
  7515  // value will be replaced with "sensitive".
  7516  func (s BucketLevelPermissions) GoString() string {
  7517  	return s.String()
  7518  }
  7519  
  7520  // SetAccessControlList sets the AccessControlList field's value.
  7521  func (s *BucketLevelPermissions) SetAccessControlList(v *AccessControlList) *BucketLevelPermissions {
  7522  	s.AccessControlList = v
  7523  	return s
  7524  }
  7525  
  7526  // SetBlockPublicAccess sets the BlockPublicAccess field's value.
  7527  func (s *BucketLevelPermissions) SetBlockPublicAccess(v *BlockPublicAccess) *BucketLevelPermissions {
  7528  	s.BlockPublicAccess = v
  7529  	return s
  7530  }
  7531  
  7532  // SetBucketPolicy sets the BucketPolicy field's value.
  7533  func (s *BucketLevelPermissions) SetBucketPolicy(v *BucketPolicy) *BucketLevelPermissions {
  7534  	s.BucketPolicy = v
  7535  	return s
  7536  }
  7537  
  7538  // Provides statistical data and other information about an S3 bucket that Amazon
  7539  // Macie monitors and analyzes for your account. If an error occurs when Macie
  7540  // attempts to retrieve and process information about the bucket or the bucket's
  7541  // objects, the value for most of these properties is null. Exceptions are accountId,
  7542  // bucketArn, bucketCreatedAt, bucketName, lastUpdated, and region. To identify
  7543  // the cause of the error, refer to the errorCode and errorMessage values.
  7544  type BucketMetadata struct {
  7545  	_ struct{} `type:"structure"`
  7546  
  7547  	AccountId *string `locationName:"accountId" type:"string"`
  7548  
  7549  	AllowsUnencryptedObjectUploads *string `locationName:"allowsUnencryptedObjectUploads" type:"string" enum:"AllowsUnencryptedObjectUploads"`
  7550  
  7551  	BucketArn *string `locationName:"bucketArn" type:"string"`
  7552  
  7553  	BucketCreatedAt *time.Time `locationName:"bucketCreatedAt" type:"timestamp" timestampFormat:"iso8601"`
  7554  
  7555  	BucketName *string `locationName:"bucketName" type:"string"`
  7556  
  7557  	ClassifiableObjectCount *int64 `locationName:"classifiableObjectCount" type:"long"`
  7558  
  7559  	ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"`
  7560  
  7561  	// The error code for an error that prevented Amazon Macie from retrieving and
  7562  	// processing information about an S3 bucket and the bucket's objects.
  7563  	ErrorCode *string `locationName:"errorCode" type:"string" enum:"BucketMetadataErrorCode"`
  7564  
  7565  	ErrorMessage *string `locationName:"errorMessage" type:"string"`
  7566  
  7567  	// Specifies whether any one-time or recurring classification jobs are configured
  7568  	// to analyze data in an S3 bucket, and, if so, the details of the job that
  7569  	// ran most recently.
  7570  	JobDetails *JobDetails `locationName:"jobDetails" type:"structure"`
  7571  
  7572  	LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"iso8601"`
  7573  
  7574  	ObjectCount *int64 `locationName:"objectCount" type:"long"`
  7575  
  7576  	// Provides information about the number of objects that are in an S3 bucket
  7577  	// and use certain types of server-side encryption, use client-side encryption,
  7578  	// or aren't encrypted.
  7579  	ObjectCountByEncryptionType *ObjectCountByEncryptionType `locationName:"objectCountByEncryptionType" type:"structure"`
  7580  
  7581  	// Provides information about the permissions settings that determine whether
  7582  	// an S3 bucket is publicly accessible.
  7583  	PublicAccess *BucketPublicAccess `locationName:"publicAccess" type:"structure"`
  7584  
  7585  	Region *string `locationName:"region" type:"string"`
  7586  
  7587  	// Provides information about settings that define whether one or more objects
  7588  	// in an S3 bucket are replicated to S3 buckets for other Amazon Web Services
  7589  	// accounts and, if so, which accounts.
  7590  	ReplicationDetails *ReplicationDetails `locationName:"replicationDetails" type:"structure"`
  7591  
  7592  	// Provides information about the default server-side encryption settings for
  7593  	// an S3 bucket. For detailed information about these settings, see Setting
  7594  	// default server-side encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html)
  7595  	// in the Amazon Simple Storage Service User Guide.
  7596  	ServerSideEncryption *BucketServerSideEncryption `locationName:"serverSideEncryption" type:"structure"`
  7597  
  7598  	SharedAccess *string `locationName:"sharedAccess" type:"string" enum:"SharedAccess"`
  7599  
  7600  	SizeInBytes *int64 `locationName:"sizeInBytes" type:"long"`
  7601  
  7602  	SizeInBytesCompressed *int64 `locationName:"sizeInBytesCompressed" type:"long"`
  7603  
  7604  	Tags []*KeyValuePair `locationName:"tags" type:"list"`
  7605  
  7606  	// Provides information about the total storage size (in bytes) or number of
  7607  	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
  7608  	// or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse
  7609  	// object, this data is aggregated for the buckets in the query results. If
  7610  	// versioning is enabled for a bucket, total storage size values are based on
  7611  	// the size of the latest version of each applicable object in the bucket.
  7612  	UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"`
  7613  
  7614  	// Provides information about the total storage size (in bytes) or number of
  7615  	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
  7616  	// or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse
  7617  	// object, this data is aggregated for the buckets in the query results. If
  7618  	// versioning is enabled for a bucket, total storage size values are based on
  7619  	// the size of the latest version of each applicable object in the bucket.
  7620  	UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"`
  7621  
  7622  	Versioning *bool `locationName:"versioning" type:"boolean"`
  7623  }
  7624  
  7625  // String returns the string representation.
  7626  //
  7627  // API parameter values that are decorated as "sensitive" in the API will not
  7628  // be included in the string output. The member name will be present, but the
  7629  // value will be replaced with "sensitive".
  7630  func (s BucketMetadata) String() string {
  7631  	return awsutil.Prettify(s)
  7632  }
  7633  
  7634  // GoString returns the string representation.
  7635  //
  7636  // API parameter values that are decorated as "sensitive" in the API will not
  7637  // be included in the string output. The member name will be present, but the
  7638  // value will be replaced with "sensitive".
  7639  func (s BucketMetadata) GoString() string {
  7640  	return s.String()
  7641  }
  7642  
  7643  // SetAccountId sets the AccountId field's value.
  7644  func (s *BucketMetadata) SetAccountId(v string) *BucketMetadata {
  7645  	s.AccountId = &v
  7646  	return s
  7647  }
  7648  
  7649  // SetAllowsUnencryptedObjectUploads sets the AllowsUnencryptedObjectUploads field's value.
  7650  func (s *BucketMetadata) SetAllowsUnencryptedObjectUploads(v string) *BucketMetadata {
  7651  	s.AllowsUnencryptedObjectUploads = &v
  7652  	return s
  7653  }
  7654  
  7655  // SetBucketArn sets the BucketArn field's value.
  7656  func (s *BucketMetadata) SetBucketArn(v string) *BucketMetadata {
  7657  	s.BucketArn = &v
  7658  	return s
  7659  }
  7660  
  7661  // SetBucketCreatedAt sets the BucketCreatedAt field's value.
  7662  func (s *BucketMetadata) SetBucketCreatedAt(v time.Time) *BucketMetadata {
  7663  	s.BucketCreatedAt = &v
  7664  	return s
  7665  }
  7666  
  7667  // SetBucketName sets the BucketName field's value.
  7668  func (s *BucketMetadata) SetBucketName(v string) *BucketMetadata {
  7669  	s.BucketName = &v
  7670  	return s
  7671  }
  7672  
  7673  // SetClassifiableObjectCount sets the ClassifiableObjectCount field's value.
  7674  func (s *BucketMetadata) SetClassifiableObjectCount(v int64) *BucketMetadata {
  7675  	s.ClassifiableObjectCount = &v
  7676  	return s
  7677  }
  7678  
  7679  // SetClassifiableSizeInBytes sets the ClassifiableSizeInBytes field's value.
  7680  func (s *BucketMetadata) SetClassifiableSizeInBytes(v int64) *BucketMetadata {
  7681  	s.ClassifiableSizeInBytes = &v
  7682  	return s
  7683  }
  7684  
  7685  // SetErrorCode sets the ErrorCode field's value.
  7686  func (s *BucketMetadata) SetErrorCode(v string) *BucketMetadata {
  7687  	s.ErrorCode = &v
  7688  	return s
  7689  }
  7690  
  7691  // SetErrorMessage sets the ErrorMessage field's value.
  7692  func (s *BucketMetadata) SetErrorMessage(v string) *BucketMetadata {
  7693  	s.ErrorMessage = &v
  7694  	return s
  7695  }
  7696  
  7697  // SetJobDetails sets the JobDetails field's value.
  7698  func (s *BucketMetadata) SetJobDetails(v *JobDetails) *BucketMetadata {
  7699  	s.JobDetails = v
  7700  	return s
  7701  }
  7702  
  7703  // SetLastUpdated sets the LastUpdated field's value.
  7704  func (s *BucketMetadata) SetLastUpdated(v time.Time) *BucketMetadata {
  7705  	s.LastUpdated = &v
  7706  	return s
  7707  }
  7708  
  7709  // SetObjectCount sets the ObjectCount field's value.
  7710  func (s *BucketMetadata) SetObjectCount(v int64) *BucketMetadata {
  7711  	s.ObjectCount = &v
  7712  	return s
  7713  }
  7714  
  7715  // SetObjectCountByEncryptionType sets the ObjectCountByEncryptionType field's value.
  7716  func (s *BucketMetadata) SetObjectCountByEncryptionType(v *ObjectCountByEncryptionType) *BucketMetadata {
  7717  	s.ObjectCountByEncryptionType = v
  7718  	return s
  7719  }
  7720  
  7721  // SetPublicAccess sets the PublicAccess field's value.
  7722  func (s *BucketMetadata) SetPublicAccess(v *BucketPublicAccess) *BucketMetadata {
  7723  	s.PublicAccess = v
  7724  	return s
  7725  }
  7726  
  7727  // SetRegion sets the Region field's value.
  7728  func (s *BucketMetadata) SetRegion(v string) *BucketMetadata {
  7729  	s.Region = &v
  7730  	return s
  7731  }
  7732  
  7733  // SetReplicationDetails sets the ReplicationDetails field's value.
  7734  func (s *BucketMetadata) SetReplicationDetails(v *ReplicationDetails) *BucketMetadata {
  7735  	s.ReplicationDetails = v
  7736  	return s
  7737  }
  7738  
  7739  // SetServerSideEncryption sets the ServerSideEncryption field's value.
  7740  func (s *BucketMetadata) SetServerSideEncryption(v *BucketServerSideEncryption) *BucketMetadata {
  7741  	s.ServerSideEncryption = v
  7742  	return s
  7743  }
  7744  
  7745  // SetSharedAccess sets the SharedAccess field's value.
  7746  func (s *BucketMetadata) SetSharedAccess(v string) *BucketMetadata {
  7747  	s.SharedAccess = &v
  7748  	return s
  7749  }
  7750  
  7751  // SetSizeInBytes sets the SizeInBytes field's value.
  7752  func (s *BucketMetadata) SetSizeInBytes(v int64) *BucketMetadata {
  7753  	s.SizeInBytes = &v
  7754  	return s
  7755  }
  7756  
  7757  // SetSizeInBytesCompressed sets the SizeInBytesCompressed field's value.
  7758  func (s *BucketMetadata) SetSizeInBytesCompressed(v int64) *BucketMetadata {
  7759  	s.SizeInBytesCompressed = &v
  7760  	return s
  7761  }
  7762  
  7763  // SetTags sets the Tags field's value.
  7764  func (s *BucketMetadata) SetTags(v []*KeyValuePair) *BucketMetadata {
  7765  	s.Tags = v
  7766  	return s
  7767  }
  7768  
  7769  // SetUnclassifiableObjectCount sets the UnclassifiableObjectCount field's value.
  7770  func (s *BucketMetadata) SetUnclassifiableObjectCount(v *ObjectLevelStatistics) *BucketMetadata {
  7771  	s.UnclassifiableObjectCount = v
  7772  	return s
  7773  }
  7774  
  7775  // SetUnclassifiableObjectSizeInBytes sets the UnclassifiableObjectSizeInBytes field's value.
  7776  func (s *BucketMetadata) SetUnclassifiableObjectSizeInBytes(v *ObjectLevelStatistics) *BucketMetadata {
  7777  	s.UnclassifiableObjectSizeInBytes = v
  7778  	return s
  7779  }
  7780  
  7781  // SetVersioning sets the Versioning field's value.
  7782  func (s *BucketMetadata) SetVersioning(v bool) *BucketMetadata {
  7783  	s.Versioning = &v
  7784  	return s
  7785  }
  7786  
  7787  // Provides information about the account-level and bucket-level permissions
  7788  // settings for an S3 bucket.
  7789  type BucketPermissionConfiguration struct {
  7790  	_ struct{} `type:"structure"`
  7791  
  7792  	// Provides information about the account-level permissions settings that apply
  7793  	// to an S3 bucket.
  7794  	AccountLevelPermissions *AccountLevelPermissions `locationName:"accountLevelPermissions" type:"structure"`
  7795  
  7796  	// Provides information about the bucket-level permissions settings for an S3
  7797  	// bucket.
  7798  	BucketLevelPermissions *BucketLevelPermissions `locationName:"bucketLevelPermissions" type:"structure"`
  7799  }
  7800  
  7801  // String returns the string representation.
  7802  //
  7803  // API parameter values that are decorated as "sensitive" in the API will not
  7804  // be included in the string output. The member name will be present, but the
  7805  // value will be replaced with "sensitive".
  7806  func (s BucketPermissionConfiguration) String() string {
  7807  	return awsutil.Prettify(s)
  7808  }
  7809  
  7810  // GoString returns the string representation.
  7811  //
  7812  // API parameter values that are decorated as "sensitive" in the API will not
  7813  // be included in the string output. The member name will be present, but the
  7814  // value will be replaced with "sensitive".
  7815  func (s BucketPermissionConfiguration) GoString() string {
  7816  	return s.String()
  7817  }
  7818  
  7819  // SetAccountLevelPermissions sets the AccountLevelPermissions field's value.
  7820  func (s *BucketPermissionConfiguration) SetAccountLevelPermissions(v *AccountLevelPermissions) *BucketPermissionConfiguration {
  7821  	s.AccountLevelPermissions = v
  7822  	return s
  7823  }
  7824  
  7825  // SetBucketLevelPermissions sets the BucketLevelPermissions field's value.
  7826  func (s *BucketPermissionConfiguration) SetBucketLevelPermissions(v *BucketLevelPermissions) *BucketPermissionConfiguration {
  7827  	s.BucketLevelPermissions = v
  7828  	return s
  7829  }
  7830  
  7831  // Provides information about the permissions settings of the bucket policy
  7832  // for an S3 bucket.
  7833  type BucketPolicy struct {
  7834  	_ struct{} `type:"structure"`
  7835  
  7836  	AllowsPublicReadAccess *bool `locationName:"allowsPublicReadAccess" type:"boolean"`
  7837  
  7838  	AllowsPublicWriteAccess *bool `locationName:"allowsPublicWriteAccess" type:"boolean"`
  7839  }
  7840  
  7841  // String returns the string representation.
  7842  //
  7843  // API parameter values that are decorated as "sensitive" in the API will not
  7844  // be included in the string output. The member name will be present, but the
  7845  // value will be replaced with "sensitive".
  7846  func (s BucketPolicy) String() string {
  7847  	return awsutil.Prettify(s)
  7848  }
  7849  
  7850  // GoString returns the string representation.
  7851  //
  7852  // API parameter values that are decorated as "sensitive" in the API will not
  7853  // be included in the string output. The member name will be present, but the
  7854  // value will be replaced with "sensitive".
  7855  func (s BucketPolicy) GoString() string {
  7856  	return s.String()
  7857  }
  7858  
  7859  // SetAllowsPublicReadAccess sets the AllowsPublicReadAccess field's value.
  7860  func (s *BucketPolicy) SetAllowsPublicReadAccess(v bool) *BucketPolicy {
  7861  	s.AllowsPublicReadAccess = &v
  7862  	return s
  7863  }
  7864  
  7865  // SetAllowsPublicWriteAccess sets the AllowsPublicWriteAccess field's value.
  7866  func (s *BucketPolicy) SetAllowsPublicWriteAccess(v bool) *BucketPolicy {
  7867  	s.AllowsPublicWriteAccess = &v
  7868  	return s
  7869  }
  7870  
  7871  // Provides information about the permissions settings that determine whether
  7872  // an S3 bucket is publicly accessible.
  7873  type BucketPublicAccess struct {
  7874  	_ struct{} `type:"structure"`
  7875  
  7876  	EffectivePermission *string `locationName:"effectivePermission" type:"string" enum:"EffectivePermission"`
  7877  
  7878  	// Provides information about the account-level and bucket-level permissions
  7879  	// settings for an S3 bucket.
  7880  	PermissionConfiguration *BucketPermissionConfiguration `locationName:"permissionConfiguration" type:"structure"`
  7881  }
  7882  
  7883  // String returns the string representation.
  7884  //
  7885  // API parameter values that are decorated as "sensitive" in the API will not
  7886  // be included in the string output. The member name will be present, but the
  7887  // value will be replaced with "sensitive".
  7888  func (s BucketPublicAccess) String() string {
  7889  	return awsutil.Prettify(s)
  7890  }
  7891  
  7892  // GoString returns the string representation.
  7893  //
  7894  // API parameter values that are decorated as "sensitive" in the API will not
  7895  // be included in the string output. The member name will be present, but the
  7896  // value will be replaced with "sensitive".
  7897  func (s BucketPublicAccess) GoString() string {
  7898  	return s.String()
  7899  }
  7900  
  7901  // SetEffectivePermission sets the EffectivePermission field's value.
  7902  func (s *BucketPublicAccess) SetEffectivePermission(v string) *BucketPublicAccess {
  7903  	s.EffectivePermission = &v
  7904  	return s
  7905  }
  7906  
  7907  // SetPermissionConfiguration sets the PermissionConfiguration field's value.
  7908  func (s *BucketPublicAccess) SetPermissionConfiguration(v *BucketPermissionConfiguration) *BucketPublicAccess {
  7909  	s.PermissionConfiguration = v
  7910  	return s
  7911  }
  7912  
  7913  // Provides information about the default server-side encryption settings for
  7914  // an S3 bucket. For detailed information about these settings, see Setting
  7915  // default server-side encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html)
  7916  // in the Amazon Simple Storage Service User Guide.
  7917  type BucketServerSideEncryption struct {
  7918  	_ struct{} `type:"structure"`
  7919  
  7920  	KmsMasterKeyId *string `locationName:"kmsMasterKeyId" type:"string"`
  7921  
  7922  	Type *string `locationName:"type" type:"string" enum:"Type"`
  7923  }
  7924  
  7925  // String returns the string representation.
  7926  //
  7927  // API parameter values that are decorated as "sensitive" in the API will not
  7928  // be included in the string output. The member name will be present, but the
  7929  // value will be replaced with "sensitive".
  7930  func (s BucketServerSideEncryption) String() string {
  7931  	return awsutil.Prettify(s)
  7932  }
  7933  
  7934  // GoString returns the string representation.
  7935  //
  7936  // API parameter values that are decorated as "sensitive" in the API will not
  7937  // be included in the string output. The member name will be present, but the
  7938  // value will be replaced with "sensitive".
  7939  func (s BucketServerSideEncryption) GoString() string {
  7940  	return s.String()
  7941  }
  7942  
  7943  // SetKmsMasterKeyId sets the KmsMasterKeyId field's value.
  7944  func (s *BucketServerSideEncryption) SetKmsMasterKeyId(v string) *BucketServerSideEncryption {
  7945  	s.KmsMasterKeyId = &v
  7946  	return s
  7947  }
  7948  
  7949  // SetType sets the Type field's value.
  7950  func (s *BucketServerSideEncryption) SetType(v string) *BucketServerSideEncryption {
  7951  	s.Type = &v
  7952  	return s
  7953  }
  7954  
  7955  // Specifies criteria for sorting the results of a query for information about
  7956  // S3 buckets.
  7957  type BucketSortCriteria struct {
  7958  	_ struct{} `type:"structure"`
  7959  
  7960  	AttributeName *string `locationName:"attributeName" type:"string"`
  7961  
  7962  	OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
  7963  }
  7964  
  7965  // String returns the string representation.
  7966  //
  7967  // API parameter values that are decorated as "sensitive" in the API will not
  7968  // be included in the string output. The member name will be present, but the
  7969  // value will be replaced with "sensitive".
  7970  func (s BucketSortCriteria) String() string {
  7971  	return awsutil.Prettify(s)
  7972  }
  7973  
  7974  // GoString returns the string representation.
  7975  //
  7976  // API parameter values that are decorated as "sensitive" in the API will not
  7977  // be included in the string output. The member name will be present, but the
  7978  // value will be replaced with "sensitive".
  7979  func (s BucketSortCriteria) GoString() string {
  7980  	return s.String()
  7981  }
  7982  
  7983  // SetAttributeName sets the AttributeName field's value.
  7984  func (s *BucketSortCriteria) SetAttributeName(v string) *BucketSortCriteria {
  7985  	s.AttributeName = &v
  7986  	return s
  7987  }
  7988  
  7989  // SetOrderBy sets the OrderBy field's value.
  7990  func (s *BucketSortCriteria) SetOrderBy(v string) *BucketSortCriteria {
  7991  	s.OrderBy = &v
  7992  	return s
  7993  }
  7994  
  7995  // Specifies the location of an occurrence of sensitive data in a Microsoft
  7996  // Excel workbook, CSV file, or TSV file.
  7997  type Cell struct {
  7998  	_ struct{} `type:"structure"`
  7999  
  8000  	CellReference *string `locationName:"cellReference" type:"string"`
  8001  
  8002  	Column *int64 `locationName:"column" type:"long"`
  8003  
  8004  	ColumnName *string `locationName:"columnName" type:"string"`
  8005  
  8006  	Row *int64 `locationName:"row" type:"long"`
  8007  }
  8008  
  8009  // String returns the string representation.
  8010  //
  8011  // API parameter values that are decorated as "sensitive" in the API will not
  8012  // be included in the string output. The member name will be present, but the
  8013  // value will be replaced with "sensitive".
  8014  func (s Cell) String() string {
  8015  	return awsutil.Prettify(s)
  8016  }
  8017  
  8018  // GoString returns the string representation.
  8019  //
  8020  // API parameter values that are decorated as "sensitive" in the API will not
  8021  // be included in the string output. The member name will be present, but the
  8022  // value will be replaced with "sensitive".
  8023  func (s Cell) GoString() string {
  8024  	return s.String()
  8025  }
  8026  
  8027  // SetCellReference sets the CellReference field's value.
  8028  func (s *Cell) SetCellReference(v string) *Cell {
  8029  	s.CellReference = &v
  8030  	return s
  8031  }
  8032  
  8033  // SetColumn sets the Column field's value.
  8034  func (s *Cell) SetColumn(v int64) *Cell {
  8035  	s.Column = &v
  8036  	return s
  8037  }
  8038  
  8039  // SetColumnName sets the ColumnName field's value.
  8040  func (s *Cell) SetColumnName(v string) *Cell {
  8041  	s.ColumnName = &v
  8042  	return s
  8043  }
  8044  
  8045  // SetRow sets the Row field's value.
  8046  func (s *Cell) SetRow(v int64) *Cell {
  8047  	s.Row = &v
  8048  	return s
  8049  }
  8050  
  8051  // Provides information about a sensitive data finding, including the classification
  8052  // job that produced the finding.
  8053  type ClassificationDetails struct {
  8054  	_ struct{} `type:"structure"`
  8055  
  8056  	DetailedResultsLocation *string `locationName:"detailedResultsLocation" type:"string"`
  8057  
  8058  	JobArn *string `locationName:"jobArn" type:"string"`
  8059  
  8060  	JobId *string `locationName:"jobId" type:"string"`
  8061  
  8062  	// Provides the details of a sensitive data finding, including the types, number
  8063  	// of occurrences, and locations of the sensitive data that was detected.
  8064  	Result *ClassificationResult `locationName:"result" type:"structure"`
  8065  }
  8066  
  8067  // String returns the string representation.
  8068  //
  8069  // API parameter values that are decorated as "sensitive" in the API will not
  8070  // be included in the string output. The member name will be present, but the
  8071  // value will be replaced with "sensitive".
  8072  func (s ClassificationDetails) String() string {
  8073  	return awsutil.Prettify(s)
  8074  }
  8075  
  8076  // GoString returns the string representation.
  8077  //
  8078  // API parameter values that are decorated as "sensitive" in the API will not
  8079  // be included in the string output. The member name will be present, but the
  8080  // value will be replaced with "sensitive".
  8081  func (s ClassificationDetails) GoString() string {
  8082  	return s.String()
  8083  }
  8084  
  8085  // SetDetailedResultsLocation sets the DetailedResultsLocation field's value.
  8086  func (s *ClassificationDetails) SetDetailedResultsLocation(v string) *ClassificationDetails {
  8087  	s.DetailedResultsLocation = &v
  8088  	return s
  8089  }
  8090  
  8091  // SetJobArn sets the JobArn field's value.
  8092  func (s *ClassificationDetails) SetJobArn(v string) *ClassificationDetails {
  8093  	s.JobArn = &v
  8094  	return s
  8095  }
  8096  
  8097  // SetJobId sets the JobId field's value.
  8098  func (s *ClassificationDetails) SetJobId(v string) *ClassificationDetails {
  8099  	s.JobId = &v
  8100  	return s
  8101  }
  8102  
  8103  // SetResult sets the Result field's value.
  8104  func (s *ClassificationDetails) SetResult(v *ClassificationResult) *ClassificationDetails {
  8105  	s.Result = v
  8106  	return s
  8107  }
  8108  
  8109  // Specifies where to store data classification results, and the encryption
  8110  // settings to use when storing results in that location. Currently, you can
  8111  // store classification results only in an S3 bucket.
  8112  type ClassificationExportConfiguration struct {
  8113  	_ struct{} `type:"structure"`
  8114  
  8115  	// Specifies an S3 bucket to store data classification results in, and the encryption
  8116  	// settings to use when storing results in that bucket.
  8117  	S3Destination *S3Destination `locationName:"s3Destination" type:"structure"`
  8118  }
  8119  
  8120  // String returns the string representation.
  8121  //
  8122  // API parameter values that are decorated as "sensitive" in the API will not
  8123  // be included in the string output. The member name will be present, but the
  8124  // value will be replaced with "sensitive".
  8125  func (s ClassificationExportConfiguration) String() string {
  8126  	return awsutil.Prettify(s)
  8127  }
  8128  
  8129  // GoString returns the string representation.
  8130  //
  8131  // API parameter values that are decorated as "sensitive" in the API will not
  8132  // be included in the string output. The member name will be present, but the
  8133  // value will be replaced with "sensitive".
  8134  func (s ClassificationExportConfiguration) GoString() string {
  8135  	return s.String()
  8136  }
  8137  
  8138  // Validate inspects the fields of the type to determine if they are valid.
  8139  func (s *ClassificationExportConfiguration) Validate() error {
  8140  	invalidParams := request.ErrInvalidParams{Context: "ClassificationExportConfiguration"}
  8141  	if s.S3Destination != nil {
  8142  		if err := s.S3Destination.Validate(); err != nil {
  8143  			invalidParams.AddNested("S3Destination", err.(request.ErrInvalidParams))
  8144  		}
  8145  	}
  8146  
  8147  	if invalidParams.Len() > 0 {
  8148  		return invalidParams
  8149  	}
  8150  	return nil
  8151  }
  8152  
  8153  // SetS3Destination sets the S3Destination field's value.
  8154  func (s *ClassificationExportConfiguration) SetS3Destination(v *S3Destination) *ClassificationExportConfiguration {
  8155  	s.S3Destination = v
  8156  	return s
  8157  }
  8158  
  8159  // Provides the details of a sensitive data finding, including the types, number
  8160  // of occurrences, and locations of the sensitive data that was detected.
  8161  type ClassificationResult struct {
  8162  	_ struct{} `type:"structure"`
  8163  
  8164  	AdditionalOccurrences *bool `locationName:"additionalOccurrences" type:"boolean"`
  8165  
  8166  	// Provides information about custom data identifiers that produced a sensitive
  8167  	// data finding, and the number of occurrences of the data that they detected
  8168  	// for the finding.
  8169  	CustomDataIdentifiers *CustomDataIdentifiers `locationName:"customDataIdentifiers" type:"structure"`
  8170  
  8171  	MimeType *string `locationName:"mimeType" type:"string"`
  8172  
  8173  	// Provides information about the category and number of occurrences of sensitive
  8174  	// data that produced a finding.
  8175  	SensitiveData []*SensitiveDataItem `locationName:"sensitiveData" type:"list"`
  8176  
  8177  	SizeClassified *int64 `locationName:"sizeClassified" type:"long"`
  8178  
  8179  	// Provides information about the status of a sensitive data finding.
  8180  	Status *ClassificationResultStatus `locationName:"status" type:"structure"`
  8181  }
  8182  
  8183  // String returns the string representation.
  8184  //
  8185  // API parameter values that are decorated as "sensitive" in the API will not
  8186  // be included in the string output. The member name will be present, but the
  8187  // value will be replaced with "sensitive".
  8188  func (s ClassificationResult) String() string {
  8189  	return awsutil.Prettify(s)
  8190  }
  8191  
  8192  // GoString returns the string representation.
  8193  //
  8194  // API parameter values that are decorated as "sensitive" in the API will not
  8195  // be included in the string output. The member name will be present, but the
  8196  // value will be replaced with "sensitive".
  8197  func (s ClassificationResult) GoString() string {
  8198  	return s.String()
  8199  }
  8200  
  8201  // SetAdditionalOccurrences sets the AdditionalOccurrences field's value.
  8202  func (s *ClassificationResult) SetAdditionalOccurrences(v bool) *ClassificationResult {
  8203  	s.AdditionalOccurrences = &v
  8204  	return s
  8205  }
  8206  
  8207  // SetCustomDataIdentifiers sets the CustomDataIdentifiers field's value.
  8208  func (s *ClassificationResult) SetCustomDataIdentifiers(v *CustomDataIdentifiers) *ClassificationResult {
  8209  	s.CustomDataIdentifiers = v
  8210  	return s
  8211  }
  8212  
  8213  // SetMimeType sets the MimeType field's value.
  8214  func (s *ClassificationResult) SetMimeType(v string) *ClassificationResult {
  8215  	s.MimeType = &v
  8216  	return s
  8217  }
  8218  
  8219  // SetSensitiveData sets the SensitiveData field's value.
  8220  func (s *ClassificationResult) SetSensitiveData(v []*SensitiveDataItem) *ClassificationResult {
  8221  	s.SensitiveData = v
  8222  	return s
  8223  }
  8224  
  8225  // SetSizeClassified sets the SizeClassified field's value.
  8226  func (s *ClassificationResult) SetSizeClassified(v int64) *ClassificationResult {
  8227  	s.SizeClassified = &v
  8228  	return s
  8229  }
  8230  
  8231  // SetStatus sets the Status field's value.
  8232  func (s *ClassificationResult) SetStatus(v *ClassificationResultStatus) *ClassificationResult {
  8233  	s.Status = v
  8234  	return s
  8235  }
  8236  
  8237  // Provides information about the status of a sensitive data finding.
  8238  type ClassificationResultStatus struct {
  8239  	_ struct{} `type:"structure"`
  8240  
  8241  	Code *string `locationName:"code" type:"string"`
  8242  
  8243  	Reason *string `locationName:"reason" type:"string"`
  8244  }
  8245  
  8246  // String returns the string representation.
  8247  //
  8248  // API parameter values that are decorated as "sensitive" in the API will not
  8249  // be included in the string output. The member name will be present, but the
  8250  // value will be replaced with "sensitive".
  8251  func (s ClassificationResultStatus) String() string {
  8252  	return awsutil.Prettify(s)
  8253  }
  8254  
  8255  // GoString returns the string representation.
  8256  //
  8257  // API parameter values that are decorated as "sensitive" in the API will not
  8258  // be included in the string output. The member name will be present, but the
  8259  // value will be replaced with "sensitive".
  8260  func (s ClassificationResultStatus) GoString() string {
  8261  	return s.String()
  8262  }
  8263  
  8264  // SetCode sets the Code field's value.
  8265  func (s *ClassificationResultStatus) SetCode(v string) *ClassificationResultStatus {
  8266  	s.Code = &v
  8267  	return s
  8268  }
  8269  
  8270  // SetReason sets the Reason field's value.
  8271  func (s *ClassificationResultStatus) SetReason(v string) *ClassificationResultStatus {
  8272  	s.Reason = &v
  8273  	return s
  8274  }
  8275  
  8276  // Provides information about an error that occurred due to a versioning conflict
  8277  // for a specified resource.
  8278  type ConflictException struct {
  8279  	_            struct{}                  `type:"structure"`
  8280  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8281  
  8282  	Message_ *string `locationName:"message" type:"string"`
  8283  }
  8284  
  8285  // String returns the string representation.
  8286  //
  8287  // API parameter values that are decorated as "sensitive" in the API will not
  8288  // be included in the string output. The member name will be present, but the
  8289  // value will be replaced with "sensitive".
  8290  func (s ConflictException) String() string {
  8291  	return awsutil.Prettify(s)
  8292  }
  8293  
  8294  // GoString returns the string representation.
  8295  //
  8296  // API parameter values that are decorated as "sensitive" in the API will not
  8297  // be included in the string output. The member name will be present, but the
  8298  // value will be replaced with "sensitive".
  8299  func (s ConflictException) GoString() string {
  8300  	return s.String()
  8301  }
  8302  
  8303  func newErrorConflictException(v protocol.ResponseMetadata) error {
  8304  	return &ConflictException{
  8305  		RespMetadata: v,
  8306  	}
  8307  }
  8308  
  8309  // Code returns the exception type name.
  8310  func (s *ConflictException) Code() string {
  8311  	return "ConflictException"
  8312  }
  8313  
  8314  // Message returns the exception's message.
  8315  func (s *ConflictException) Message() string {
  8316  	if s.Message_ != nil {
  8317  		return *s.Message_
  8318  	}
  8319  	return ""
  8320  }
  8321  
  8322  // OrigErr always returns nil, satisfies awserr.Error interface.
  8323  func (s *ConflictException) OrigErr() error {
  8324  	return nil
  8325  }
  8326  
  8327  func (s *ConflictException) Error() string {
  8328  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8329  }
  8330  
  8331  // Status code returns the HTTP status code for the request's response error.
  8332  func (s *ConflictException) StatusCode() int {
  8333  	return s.RespMetadata.StatusCode
  8334  }
  8335  
  8336  // RequestID returns the service's response RequestID for request.
  8337  func (s *ConflictException) RequestID() string {
  8338  	return s.RespMetadata.RequestID
  8339  }
  8340  
  8341  // Specifies the scope, schedule, and other settings for a classification job.
  8342  // You can't change any settings for a classification job after you create it.
  8343  // This helps ensure that you have an immutable history of sensitive data findings
  8344  // and discovery results for data privacy and protection audits or investigations.
  8345  type CreateClassificationJobInput struct {
  8346  	_ struct{} `type:"structure"`
  8347  
  8348  	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`
  8349  
  8350  	CustomDataIdentifierIds []*string `locationName:"customDataIdentifierIds" type:"list"`
  8351  
  8352  	Description *string `locationName:"description" type:"string"`
  8353  
  8354  	InitialRun *bool `locationName:"initialRun" type:"boolean"`
  8355  
  8356  	// The schedule for running a classification job. Valid values are:
  8357  	//
  8358  	// JobType is a required field
  8359  	JobType *string `locationName:"jobType" type:"string" required:"true" enum:"JobType"`
  8360  
  8361  	ManagedDataIdentifierIds []*string `locationName:"managedDataIdentifierIds" type:"list"`
  8362  
  8363  	// The selection type that determines which managed data identifiers a classification
  8364  	// job uses to analyze data. Valid values are:
  8365  	ManagedDataIdentifierSelector *string `locationName:"managedDataIdentifierSelector" type:"string" enum:"ManagedDataIdentifierSelector"`
  8366  
  8367  	// Name is a required field
  8368  	Name *string `locationName:"name" type:"string" required:"true"`
  8369  
  8370  	// Specifies which S3 buckets contain the objects that a classification job
  8371  	// analyzes, and the scope of that analysis. The bucket specification can be
  8372  	// static (bucketDefinitions) or dynamic (bucketCriteria). If it's static, the
  8373  	// job analyzes objects in the same predefined set of buckets each time the
  8374  	// job runs. If it's dynamic, the job analyzes objects in any buckets that match
  8375  	// the specified criteria each time the job starts to run.
  8376  	//
  8377  	// S3JobDefinition is a required field
  8378  	S3JobDefinition *S3JobDefinition `locationName:"s3JobDefinition" type:"structure" required:"true"`
  8379  
  8380  	SamplingPercentage *int64 `locationName:"samplingPercentage" type:"integer"`
  8381  
  8382  	// Specifies the recurrence pattern for running a classification job.
  8383  	ScheduleFrequency *JobScheduleFrequency `locationName:"scheduleFrequency" type:"structure"`
  8384  
  8385  	// A string-to-string map of key-value pairs that specifies the tags (keys and
  8386  	// values) for a classification job, custom data identifier, findings filter,
  8387  	// or member account.
  8388  	Tags map[string]*string `locationName:"tags" type:"map"`
  8389  }
  8390  
  8391  // String returns the string representation.
  8392  //
  8393  // API parameter values that are decorated as "sensitive" in the API will not
  8394  // be included in the string output. The member name will be present, but the
  8395  // value will be replaced with "sensitive".
  8396  func (s CreateClassificationJobInput) String() string {
  8397  	return awsutil.Prettify(s)
  8398  }
  8399  
  8400  // GoString returns the string representation.
  8401  //
  8402  // API parameter values that are decorated as "sensitive" in the API will not
  8403  // be included in the string output. The member name will be present, but the
  8404  // value will be replaced with "sensitive".
  8405  func (s CreateClassificationJobInput) GoString() string {
  8406  	return s.String()
  8407  }
  8408  
  8409  // Validate inspects the fields of the type to determine if they are valid.
  8410  func (s *CreateClassificationJobInput) Validate() error {
  8411  	invalidParams := request.ErrInvalidParams{Context: "CreateClassificationJobInput"}
  8412  	if s.JobType == nil {
  8413  		invalidParams.Add(request.NewErrParamRequired("JobType"))
  8414  	}
  8415  	if s.Name == nil {
  8416  		invalidParams.Add(request.NewErrParamRequired("Name"))
  8417  	}
  8418  	if s.S3JobDefinition == nil {
  8419  		invalidParams.Add(request.NewErrParamRequired("S3JobDefinition"))
  8420  	}
  8421  	if s.S3JobDefinition != nil {
  8422  		if err := s.S3JobDefinition.Validate(); err != nil {
  8423  			invalidParams.AddNested("S3JobDefinition", err.(request.ErrInvalidParams))
  8424  		}
  8425  	}
  8426  
  8427  	if invalidParams.Len() > 0 {
  8428  		return invalidParams
  8429  	}
  8430  	return nil
  8431  }
  8432  
  8433  // SetClientToken sets the ClientToken field's value.
  8434  func (s *CreateClassificationJobInput) SetClientToken(v string) *CreateClassificationJobInput {
  8435  	s.ClientToken = &v
  8436  	return s
  8437  }
  8438  
  8439  // SetCustomDataIdentifierIds sets the CustomDataIdentifierIds field's value.
  8440  func (s *CreateClassificationJobInput) SetCustomDataIdentifierIds(v []*string) *CreateClassificationJobInput {
  8441  	s.CustomDataIdentifierIds = v
  8442  	return s
  8443  }
  8444  
  8445  // SetDescription sets the Description field's value.
  8446  func (s *CreateClassificationJobInput) SetDescription(v string) *CreateClassificationJobInput {
  8447  	s.Description = &v
  8448  	return s
  8449  }
  8450  
  8451  // SetInitialRun sets the InitialRun field's value.
  8452  func (s *CreateClassificationJobInput) SetInitialRun(v bool) *CreateClassificationJobInput {
  8453  	s.InitialRun = &v
  8454  	return s
  8455  }
  8456  
  8457  // SetJobType sets the JobType field's value.
  8458  func (s *CreateClassificationJobInput) SetJobType(v string) *CreateClassificationJobInput {
  8459  	s.JobType = &v
  8460  	return s
  8461  }
  8462  
  8463  // SetManagedDataIdentifierIds sets the ManagedDataIdentifierIds field's value.
  8464  func (s *CreateClassificationJobInput) SetManagedDataIdentifierIds(v []*string) *CreateClassificationJobInput {
  8465  	s.ManagedDataIdentifierIds = v
  8466  	return s
  8467  }
  8468  
  8469  // SetManagedDataIdentifierSelector sets the ManagedDataIdentifierSelector field's value.
  8470  func (s *CreateClassificationJobInput) SetManagedDataIdentifierSelector(v string) *CreateClassificationJobInput {
  8471  	s.ManagedDataIdentifierSelector = &v
  8472  	return s
  8473  }
  8474  
  8475  // SetName sets the Name field's value.
  8476  func (s *CreateClassificationJobInput) SetName(v string) *CreateClassificationJobInput {
  8477  	s.Name = &v
  8478  	return s
  8479  }
  8480  
  8481  // SetS3JobDefinition sets the S3JobDefinition field's value.
  8482  func (s *CreateClassificationJobInput) SetS3JobDefinition(v *S3JobDefinition) *CreateClassificationJobInput {
  8483  	s.S3JobDefinition = v
  8484  	return s
  8485  }
  8486  
  8487  // SetSamplingPercentage sets the SamplingPercentage field's value.
  8488  func (s *CreateClassificationJobInput) SetSamplingPercentage(v int64) *CreateClassificationJobInput {
  8489  	s.SamplingPercentage = &v
  8490  	return s
  8491  }
  8492  
  8493  // SetScheduleFrequency sets the ScheduleFrequency field's value.
  8494  func (s *CreateClassificationJobInput) SetScheduleFrequency(v *JobScheduleFrequency) *CreateClassificationJobInput {
  8495  	s.ScheduleFrequency = v
  8496  	return s
  8497  }
  8498  
  8499  // SetTags sets the Tags field's value.
  8500  func (s *CreateClassificationJobInput) SetTags(v map[string]*string) *CreateClassificationJobInput {
  8501  	s.Tags = v
  8502  	return s
  8503  }
  8504  
  8505  // Provides information about a classification job that was created in response
  8506  // to a request.
  8507  type CreateClassificationJobOutput struct {
  8508  	_ struct{} `type:"structure"`
  8509  
  8510  	JobArn *string `locationName:"jobArn" type:"string"`
  8511  
  8512  	JobId *string `locationName:"jobId" type:"string"`
  8513  }
  8514  
  8515  // String returns the string representation.
  8516  //
  8517  // API parameter values that are decorated as "sensitive" in the API will not
  8518  // be included in the string output. The member name will be present, but the
  8519  // value will be replaced with "sensitive".
  8520  func (s CreateClassificationJobOutput) String() string {
  8521  	return awsutil.Prettify(s)
  8522  }
  8523  
  8524  // GoString returns the string representation.
  8525  //
  8526  // API parameter values that are decorated as "sensitive" in the API will not
  8527  // be included in the string output. The member name will be present, but the
  8528  // value will be replaced with "sensitive".
  8529  func (s CreateClassificationJobOutput) GoString() string {
  8530  	return s.String()
  8531  }
  8532  
  8533  // SetJobArn sets the JobArn field's value.
  8534  func (s *CreateClassificationJobOutput) SetJobArn(v string) *CreateClassificationJobOutput {
  8535  	s.JobArn = &v
  8536  	return s
  8537  }
  8538  
  8539  // SetJobId sets the JobId field's value.
  8540  func (s *CreateClassificationJobOutput) SetJobId(v string) *CreateClassificationJobOutput {
  8541  	s.JobId = &v
  8542  	return s
  8543  }
  8544  
  8545  // Specifies the criteria and other settings for a custom data identifier. You
  8546  // can't change a custom data identifier after you create it. This helps ensure
  8547  // that you have an immutable history of sensitive data findings and discovery
  8548  // results for data privacy and protection audits or investigations.
  8549  type CreateCustomDataIdentifierInput struct {
  8550  	_ struct{} `type:"structure"`
  8551  
  8552  	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`
  8553  
  8554  	Description *string `locationName:"description" type:"string"`
  8555  
  8556  	IgnoreWords []*string `locationName:"ignoreWords" type:"list"`
  8557  
  8558  	Keywords []*string `locationName:"keywords" type:"list"`
  8559  
  8560  	MaximumMatchDistance *int64 `locationName:"maximumMatchDistance" type:"integer"`
  8561  
  8562  	Name *string `locationName:"name" type:"string"`
  8563  
  8564  	Regex *string `locationName:"regex" type:"string"`
  8565  
  8566  	// A string-to-string map of key-value pairs that specifies the tags (keys and
  8567  	// values) for a classification job, custom data identifier, findings filter,
  8568  	// or member account.
  8569  	Tags map[string]*string `locationName:"tags" type:"map"`
  8570  }
  8571  
  8572  // String returns the string representation.
  8573  //
  8574  // API parameter values that are decorated as "sensitive" in the API will not
  8575  // be included in the string output. The member name will be present, but the
  8576  // value will be replaced with "sensitive".
  8577  func (s CreateCustomDataIdentifierInput) String() string {
  8578  	return awsutil.Prettify(s)
  8579  }
  8580  
  8581  // GoString returns the string representation.
  8582  //
  8583  // API parameter values that are decorated as "sensitive" in the API will not
  8584  // be included in the string output. The member name will be present, but the
  8585  // value will be replaced with "sensitive".
  8586  func (s CreateCustomDataIdentifierInput) GoString() string {
  8587  	return s.String()
  8588  }
  8589  
  8590  // SetClientToken sets the ClientToken field's value.
  8591  func (s *CreateCustomDataIdentifierInput) SetClientToken(v string) *CreateCustomDataIdentifierInput {
  8592  	s.ClientToken = &v
  8593  	return s
  8594  }
  8595  
  8596  // SetDescription sets the Description field's value.
  8597  func (s *CreateCustomDataIdentifierInput) SetDescription(v string) *CreateCustomDataIdentifierInput {
  8598  	s.Description = &v
  8599  	return s
  8600  }
  8601  
  8602  // SetIgnoreWords sets the IgnoreWords field's value.
  8603  func (s *CreateCustomDataIdentifierInput) SetIgnoreWords(v []*string) *CreateCustomDataIdentifierInput {
  8604  	s.IgnoreWords = v
  8605  	return s
  8606  }
  8607  
  8608  // SetKeywords sets the Keywords field's value.
  8609  func (s *CreateCustomDataIdentifierInput) SetKeywords(v []*string) *CreateCustomDataIdentifierInput {
  8610  	s.Keywords = v
  8611  	return s
  8612  }
  8613  
  8614  // SetMaximumMatchDistance sets the MaximumMatchDistance field's value.
  8615  func (s *CreateCustomDataIdentifierInput) SetMaximumMatchDistance(v int64) *CreateCustomDataIdentifierInput {
  8616  	s.MaximumMatchDistance = &v
  8617  	return s
  8618  }
  8619  
  8620  // SetName sets the Name field's value.
  8621  func (s *CreateCustomDataIdentifierInput) SetName(v string) *CreateCustomDataIdentifierInput {
  8622  	s.Name = &v
  8623  	return s
  8624  }
  8625  
  8626  // SetRegex sets the Regex field's value.
  8627  func (s *CreateCustomDataIdentifierInput) SetRegex(v string) *CreateCustomDataIdentifierInput {
  8628  	s.Regex = &v
  8629  	return s
  8630  }
  8631  
  8632  // SetTags sets the Tags field's value.
  8633  func (s *CreateCustomDataIdentifierInput) SetTags(v map[string]*string) *CreateCustomDataIdentifierInput {
  8634  	s.Tags = v
  8635  	return s
  8636  }
  8637  
  8638  // Provides information about a custom data identifier that was created in response
  8639  // to a request.
  8640  type CreateCustomDataIdentifierOutput struct {
  8641  	_ struct{} `type:"structure"`
  8642  
  8643  	CustomDataIdentifierId *string `locationName:"customDataIdentifierId" type:"string"`
  8644  }
  8645  
  8646  // String returns the string representation.
  8647  //
  8648  // API parameter values that are decorated as "sensitive" in the API will not
  8649  // be included in the string output. The member name will be present, but the
  8650  // value will be replaced with "sensitive".
  8651  func (s CreateCustomDataIdentifierOutput) String() string {
  8652  	return awsutil.Prettify(s)
  8653  }
  8654  
  8655  // GoString returns the string representation.
  8656  //
  8657  // API parameter values that are decorated as "sensitive" in the API will not
  8658  // be included in the string output. The member name will be present, but the
  8659  // value will be replaced with "sensitive".
  8660  func (s CreateCustomDataIdentifierOutput) GoString() string {
  8661  	return s.String()
  8662  }
  8663  
  8664  // SetCustomDataIdentifierId sets the CustomDataIdentifierId field's value.
  8665  func (s *CreateCustomDataIdentifierOutput) SetCustomDataIdentifierId(v string) *CreateCustomDataIdentifierOutput {
  8666  	s.CustomDataIdentifierId = &v
  8667  	return s
  8668  }
  8669  
  8670  // Specifies the criteria and other settings for a new findings filter.
  8671  type CreateFindingsFilterInput struct {
  8672  	_ struct{} `type:"structure"`
  8673  
  8674  	// The action to perform on findings that meet the filter criteria. To suppress
  8675  	// (automatically archive) findings that meet the criteria, set this value to
  8676  	// ARCHIVE. Valid values are:
  8677  	//
  8678  	// Action is a required field
  8679  	Action *string `locationName:"action" type:"string" required:"true" enum:"FindingsFilterAction"`
  8680  
  8681  	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`
  8682  
  8683  	Description *string `locationName:"description" type:"string"`
  8684  
  8685  	// Specifies, as a map, one or more property-based conditions that filter the
  8686  	// results of a query for findings.
  8687  	//
  8688  	// FindingCriteria is a required field
  8689  	FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure" required:"true"`
  8690  
  8691  	// Name is a required field
  8692  	Name *string `locationName:"name" type:"string" required:"true"`
  8693  
  8694  	Position *int64 `locationName:"position" type:"integer"`
  8695  
  8696  	// A string-to-string map of key-value pairs that specifies the tags (keys and
  8697  	// values) for a classification job, custom data identifier, findings filter,
  8698  	// or member account.
  8699  	Tags map[string]*string `locationName:"tags" type:"map"`
  8700  }
  8701  
  8702  // String returns the string representation.
  8703  //
  8704  // API parameter values that are decorated as "sensitive" in the API will not
  8705  // be included in the string output. The member name will be present, but the
  8706  // value will be replaced with "sensitive".
  8707  func (s CreateFindingsFilterInput) String() string {
  8708  	return awsutil.Prettify(s)
  8709  }
  8710  
  8711  // GoString returns the string representation.
  8712  //
  8713  // API parameter values that are decorated as "sensitive" in the API will not
  8714  // be included in the string output. The member name will be present, but the
  8715  // value will be replaced with "sensitive".
  8716  func (s CreateFindingsFilterInput) GoString() string {
  8717  	return s.String()
  8718  }
  8719  
  8720  // Validate inspects the fields of the type to determine if they are valid.
  8721  func (s *CreateFindingsFilterInput) Validate() error {
  8722  	invalidParams := request.ErrInvalidParams{Context: "CreateFindingsFilterInput"}
  8723  	if s.Action == nil {
  8724  		invalidParams.Add(request.NewErrParamRequired("Action"))
  8725  	}
  8726  	if s.FindingCriteria == nil {
  8727  		invalidParams.Add(request.NewErrParamRequired("FindingCriteria"))
  8728  	}
  8729  	if s.Name == nil {
  8730  		invalidParams.Add(request.NewErrParamRequired("Name"))
  8731  	}
  8732  
  8733  	if invalidParams.Len() > 0 {
  8734  		return invalidParams
  8735  	}
  8736  	return nil
  8737  }
  8738  
  8739  // SetAction sets the Action field's value.
  8740  func (s *CreateFindingsFilterInput) SetAction(v string) *CreateFindingsFilterInput {
  8741  	s.Action = &v
  8742  	return s
  8743  }
  8744  
  8745  // SetClientToken sets the ClientToken field's value.
  8746  func (s *CreateFindingsFilterInput) SetClientToken(v string) *CreateFindingsFilterInput {
  8747  	s.ClientToken = &v
  8748  	return s
  8749  }
  8750  
  8751  // SetDescription sets the Description field's value.
  8752  func (s *CreateFindingsFilterInput) SetDescription(v string) *CreateFindingsFilterInput {
  8753  	s.Description = &v
  8754  	return s
  8755  }
  8756  
  8757  // SetFindingCriteria sets the FindingCriteria field's value.
  8758  func (s *CreateFindingsFilterInput) SetFindingCriteria(v *FindingCriteria) *CreateFindingsFilterInput {
  8759  	s.FindingCriteria = v
  8760  	return s
  8761  }
  8762  
  8763  // SetName sets the Name field's value.
  8764  func (s *CreateFindingsFilterInput) SetName(v string) *CreateFindingsFilterInput {
  8765  	s.Name = &v
  8766  	return s
  8767  }
  8768  
  8769  // SetPosition sets the Position field's value.
  8770  func (s *CreateFindingsFilterInput) SetPosition(v int64) *CreateFindingsFilterInput {
  8771  	s.Position = &v
  8772  	return s
  8773  }
  8774  
  8775  // SetTags sets the Tags field's value.
  8776  func (s *CreateFindingsFilterInput) SetTags(v map[string]*string) *CreateFindingsFilterInput {
  8777  	s.Tags = v
  8778  	return s
  8779  }
  8780  
  8781  // Provides information about a findings filter that was created in response
  8782  // to a request.
  8783  type CreateFindingsFilterOutput struct {
  8784  	_ struct{} `type:"structure"`
  8785  
  8786  	Arn *string `locationName:"arn" type:"string"`
  8787  
  8788  	Id *string `locationName:"id" type:"string"`
  8789  }
  8790  
  8791  // String returns the string representation.
  8792  //
  8793  // API parameter values that are decorated as "sensitive" in the API will not
  8794  // be included in the string output. The member name will be present, but the
  8795  // value will be replaced with "sensitive".
  8796  func (s CreateFindingsFilterOutput) String() string {
  8797  	return awsutil.Prettify(s)
  8798  }
  8799  
  8800  // GoString returns the string representation.
  8801  //
  8802  // API parameter values that are decorated as "sensitive" in the API will not
  8803  // be included in the string output. The member name will be present, but the
  8804  // value will be replaced with "sensitive".
  8805  func (s CreateFindingsFilterOutput) GoString() string {
  8806  	return s.String()
  8807  }
  8808  
  8809  // SetArn sets the Arn field's value.
  8810  func (s *CreateFindingsFilterOutput) SetArn(v string) *CreateFindingsFilterOutput {
  8811  	s.Arn = &v
  8812  	return s
  8813  }
  8814  
  8815  // SetId sets the Id field's value.
  8816  func (s *CreateFindingsFilterOutput) SetId(v string) *CreateFindingsFilterOutput {
  8817  	s.Id = &v
  8818  	return s
  8819  }
  8820  
  8821  // Specifies the settings for an Amazon Macie membership invitation.
  8822  type CreateInvitationsInput struct {
  8823  	_ struct{} `type:"structure"`
  8824  
  8825  	// AccountIds is a required field
  8826  	AccountIds []*string `locationName:"accountIds" type:"list" required:"true"`
  8827  
  8828  	DisableEmailNotification *bool `locationName:"disableEmailNotification" type:"boolean"`
  8829  
  8830  	Message *string `locationName:"message" type:"string"`
  8831  }
  8832  
  8833  // String returns the string representation.
  8834  //
  8835  // API parameter values that are decorated as "sensitive" in the API will not
  8836  // be included in the string output. The member name will be present, but the
  8837  // value will be replaced with "sensitive".
  8838  func (s CreateInvitationsInput) String() string {
  8839  	return awsutil.Prettify(s)
  8840  }
  8841  
  8842  // GoString returns the string representation.
  8843  //
  8844  // API parameter values that are decorated as "sensitive" in the API will not
  8845  // be included in the string output. The member name will be present, but the
  8846  // value will be replaced with "sensitive".
  8847  func (s CreateInvitationsInput) GoString() string {
  8848  	return s.String()
  8849  }
  8850  
  8851  // Validate inspects the fields of the type to determine if they are valid.
  8852  func (s *CreateInvitationsInput) Validate() error {
  8853  	invalidParams := request.ErrInvalidParams{Context: "CreateInvitationsInput"}
  8854  	if s.AccountIds == nil {
  8855  		invalidParams.Add(request.NewErrParamRequired("AccountIds"))
  8856  	}
  8857  
  8858  	if invalidParams.Len() > 0 {
  8859  		return invalidParams
  8860  	}
  8861  	return nil
  8862  }
  8863  
  8864  // SetAccountIds sets the AccountIds field's value.
  8865  func (s *CreateInvitationsInput) SetAccountIds(v []*string) *CreateInvitationsInput {
  8866  	s.AccountIds = v
  8867  	return s
  8868  }
  8869  
  8870  // SetDisableEmailNotification sets the DisableEmailNotification field's value.
  8871  func (s *CreateInvitationsInput) SetDisableEmailNotification(v bool) *CreateInvitationsInput {
  8872  	s.DisableEmailNotification = &v
  8873  	return s
  8874  }
  8875  
  8876  // SetMessage sets the Message field's value.
  8877  func (s *CreateInvitationsInput) SetMessage(v string) *CreateInvitationsInput {
  8878  	s.Message = &v
  8879  	return s
  8880  }
  8881  
  8882  // Provides information about an unprocessed request to send an Amazon Macie
  8883  // membership invitation to a specific account.
  8884  type CreateInvitationsOutput struct {
  8885  	_ struct{} `type:"structure"`
  8886  
  8887  	UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"`
  8888  }
  8889  
  8890  // String returns the string representation.
  8891  //
  8892  // API parameter values that are decorated as "sensitive" in the API will not
  8893  // be included in the string output. The member name will be present, but the
  8894  // value will be replaced with "sensitive".
  8895  func (s CreateInvitationsOutput) String() string {
  8896  	return awsutil.Prettify(s)
  8897  }
  8898  
  8899  // GoString returns the string representation.
  8900  //
  8901  // API parameter values that are decorated as "sensitive" in the API will not
  8902  // be included in the string output. The member name will be present, but the
  8903  // value will be replaced with "sensitive".
  8904  func (s CreateInvitationsOutput) GoString() string {
  8905  	return s.String()
  8906  }
  8907  
  8908  // SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
  8909  func (s *CreateInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *CreateInvitationsOutput {
  8910  	s.UnprocessedAccounts = v
  8911  	return s
  8912  }
  8913  
  8914  // Specifies an Amazon Web Services account to associate with an Amazon Macie
  8915  // administrator account.
  8916  type CreateMemberInput struct {
  8917  	_ struct{} `type:"structure"`
  8918  
  8919  	// Specifies the details of an account to associate with an Amazon Macie administrator
  8920  	// account.
  8921  	//
  8922  	// Account is a required field
  8923  	Account *AccountDetail `locationName:"account" type:"structure" required:"true"`
  8924  
  8925  	// A string-to-string map of key-value pairs that specifies the tags (keys and
  8926  	// values) for a classification job, custom data identifier, findings filter,
  8927  	// or member account.
  8928  	Tags map[string]*string `locationName:"tags" type:"map"`
  8929  }
  8930  
  8931  // String returns the string representation.
  8932  //
  8933  // API parameter values that are decorated as "sensitive" in the API will not
  8934  // be included in the string output. The member name will be present, but the
  8935  // value will be replaced with "sensitive".
  8936  func (s CreateMemberInput) String() string {
  8937  	return awsutil.Prettify(s)
  8938  }
  8939  
  8940  // GoString returns the string representation.
  8941  //
  8942  // API parameter values that are decorated as "sensitive" in the API will not
  8943  // be included in the string output. The member name will be present, but the
  8944  // value will be replaced with "sensitive".
  8945  func (s CreateMemberInput) GoString() string {
  8946  	return s.String()
  8947  }
  8948  
  8949  // Validate inspects the fields of the type to determine if they are valid.
  8950  func (s *CreateMemberInput) Validate() error {
  8951  	invalidParams := request.ErrInvalidParams{Context: "CreateMemberInput"}
  8952  	if s.Account == nil {
  8953  		invalidParams.Add(request.NewErrParamRequired("Account"))
  8954  	}
  8955  	if s.Account != nil {
  8956  		if err := s.Account.Validate(); err != nil {
  8957  			invalidParams.AddNested("Account", err.(request.ErrInvalidParams))
  8958  		}
  8959  	}
  8960  
  8961  	if invalidParams.Len() > 0 {
  8962  		return invalidParams
  8963  	}
  8964  	return nil
  8965  }
  8966  
  8967  // SetAccount sets the Account field's value.
  8968  func (s *CreateMemberInput) SetAccount(v *AccountDetail) *CreateMemberInput {
  8969  	s.Account = v
  8970  	return s
  8971  }
  8972  
  8973  // SetTags sets the Tags field's value.
  8974  func (s *CreateMemberInput) SetTags(v map[string]*string) *CreateMemberInput {
  8975  	s.Tags = v
  8976  	return s
  8977  }
  8978  
  8979  // Provides information about a request to associate an account with an Amazon
  8980  // Macie administrator account.
  8981  type CreateMemberOutput struct {
  8982  	_ struct{} `type:"structure"`
  8983  
  8984  	Arn *string `locationName:"arn" type:"string"`
  8985  }
  8986  
  8987  // String returns the string representation.
  8988  //
  8989  // API parameter values that are decorated as "sensitive" in the API will not
  8990  // be included in the string output. The member name will be present, but the
  8991  // value will be replaced with "sensitive".
  8992  func (s CreateMemberOutput) String() string {
  8993  	return awsutil.Prettify(s)
  8994  }
  8995  
  8996  // GoString returns the string representation.
  8997  //
  8998  // API parameter values that are decorated as "sensitive" in the API will not
  8999  // be included in the string output. The member name will be present, but the
  9000  // value will be replaced with "sensitive".
  9001  func (s CreateMemberOutput) GoString() string {
  9002  	return s.String()
  9003  }
  9004  
  9005  // SetArn sets the Arn field's value.
  9006  func (s *CreateMemberOutput) SetArn(v string) *CreateMemberOutput {
  9007  	s.Arn = &v
  9008  	return s
  9009  }
  9010  
  9011  // Specifies the types of findings to include in a set of sample findings that
  9012  // Amazon Macie creates.
  9013  type CreateSampleFindingsInput struct {
  9014  	_ struct{} `type:"structure"`
  9015  
  9016  	FindingTypes []*string `locationName:"findingTypes" type:"list"`
  9017  }
  9018  
  9019  // String returns the string representation.
  9020  //
  9021  // API parameter values that are decorated as "sensitive" in the API will not
  9022  // be included in the string output. The member name will be present, but the
  9023  // value will be replaced with "sensitive".
  9024  func (s CreateSampleFindingsInput) String() string {
  9025  	return awsutil.Prettify(s)
  9026  }
  9027  
  9028  // GoString returns the string representation.
  9029  //
  9030  // API parameter values that are decorated as "sensitive" in the API will not
  9031  // be included in the string output. The member name will be present, but the
  9032  // value will be replaced with "sensitive".
  9033  func (s CreateSampleFindingsInput) GoString() string {
  9034  	return s.String()
  9035  }
  9036  
  9037  // SetFindingTypes sets the FindingTypes field's value.
  9038  func (s *CreateSampleFindingsInput) SetFindingTypes(v []*string) *CreateSampleFindingsInput {
  9039  	s.FindingTypes = v
  9040  	return s
  9041  }
  9042  
  9043  type CreateSampleFindingsOutput struct {
  9044  	_ struct{} `type:"structure" nopayload:"true"`
  9045  }
  9046  
  9047  // String returns the string representation.
  9048  //
  9049  // API parameter values that are decorated as "sensitive" in the API will not
  9050  // be included in the string output. The member name will be present, but the
  9051  // value will be replaced with "sensitive".
  9052  func (s CreateSampleFindingsOutput) String() string {
  9053  	return awsutil.Prettify(s)
  9054  }
  9055  
  9056  // GoString returns the string representation.
  9057  //
  9058  // API parameter values that are decorated as "sensitive" in the API will not
  9059  // be included in the string output. The member name will be present, but the
  9060  // value will be replaced with "sensitive".
  9061  func (s CreateSampleFindingsOutput) GoString() string {
  9062  	return s.String()
  9063  }
  9064  
  9065  // Specifies one or more property- and tag-based conditions that define criteria
  9066  // for including or excluding S3 buckets from a classification job.
  9067  type CriteriaBlockForJob struct {
  9068  	_ struct{} `type:"structure"`
  9069  
  9070  	And []*CriteriaForJob `locationName:"and" type:"list"`
  9071  }
  9072  
  9073  // String returns the string representation.
  9074  //
  9075  // API parameter values that are decorated as "sensitive" in the API will not
  9076  // be included in the string output. The member name will be present, but the
  9077  // value will be replaced with "sensitive".
  9078  func (s CriteriaBlockForJob) String() string {
  9079  	return awsutil.Prettify(s)
  9080  }
  9081  
  9082  // GoString returns the string representation.
  9083  //
  9084  // API parameter values that are decorated as "sensitive" in the API will not
  9085  // be included in the string output. The member name will be present, but the
  9086  // value will be replaced with "sensitive".
  9087  func (s CriteriaBlockForJob) GoString() string {
  9088  	return s.String()
  9089  }
  9090  
  9091  // SetAnd sets the And field's value.
  9092  func (s *CriteriaBlockForJob) SetAnd(v []*CriteriaForJob) *CriteriaBlockForJob {
  9093  	s.And = v
  9094  	return s
  9095  }
  9096  
  9097  // Specifies a property- or tag-based condition that defines criteria for including
  9098  // or excluding S3 buckets from a classification job.
  9099  type CriteriaForJob struct {
  9100  	_ struct{} `type:"structure"`
  9101  
  9102  	// Specifies a property-based condition that determines whether an S3 bucket
  9103  	// is included or excluded from a classification job.
  9104  	SimpleCriterion *SimpleCriterionForJob `locationName:"simpleCriterion" type:"structure"`
  9105  
  9106  	// Specifies a tag-based condition that determines whether an S3 bucket is included
  9107  	// or excluded from a classification job.
  9108  	TagCriterion *TagCriterionForJob `locationName:"tagCriterion" type:"structure"`
  9109  }
  9110  
  9111  // String returns the string representation.
  9112  //
  9113  // API parameter values that are decorated as "sensitive" in the API will not
  9114  // be included in the string output. The member name will be present, but the
  9115  // value will be replaced with "sensitive".
  9116  func (s CriteriaForJob) String() string {
  9117  	return awsutil.Prettify(s)
  9118  }
  9119  
  9120  // GoString returns the string representation.
  9121  //
  9122  // API parameter values that are decorated as "sensitive" in the API will not
  9123  // be included in the string output. The member name will be present, but the
  9124  // value will be replaced with "sensitive".
  9125  func (s CriteriaForJob) GoString() string {
  9126  	return s.String()
  9127  }
  9128  
  9129  // SetSimpleCriterion sets the SimpleCriterion field's value.
  9130  func (s *CriteriaForJob) SetSimpleCriterion(v *SimpleCriterionForJob) *CriteriaForJob {
  9131  	s.SimpleCriterion = v
  9132  	return s
  9133  }
  9134  
  9135  // SetTagCriterion sets the TagCriterion field's value.
  9136  func (s *CriteriaForJob) SetTagCriterion(v *TagCriterionForJob) *CriteriaForJob {
  9137  	s.TagCriterion = v
  9138  	return s
  9139  }
  9140  
  9141  // Specifies the operator to use in a property-based condition that filters
  9142  // the results of a query for findings. For detailed information and examples
  9143  // of each operator, see Fundamentals of filtering findings (https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html)
  9144  // in the Amazon Macie User Guide.
  9145  type CriterionAdditionalProperties struct {
  9146  	_ struct{} `type:"structure"`
  9147  
  9148  	Eq []*string `locationName:"eq" type:"list"`
  9149  
  9150  	EqExactMatch []*string `locationName:"eqExactMatch" type:"list"`
  9151  
  9152  	Gt *int64 `locationName:"gt" type:"long"`
  9153  
  9154  	Gte *int64 `locationName:"gte" type:"long"`
  9155  
  9156  	Lt *int64 `locationName:"lt" type:"long"`
  9157  
  9158  	Lte *int64 `locationName:"lte" type:"long"`
  9159  
  9160  	Neq []*string `locationName:"neq" type:"list"`
  9161  }
  9162  
  9163  // String returns the string representation.
  9164  //
  9165  // API parameter values that are decorated as "sensitive" in the API will not
  9166  // be included in the string output. The member name will be present, but the
  9167  // value will be replaced with "sensitive".
  9168  func (s CriterionAdditionalProperties) String() string {
  9169  	return awsutil.Prettify(s)
  9170  }
  9171  
  9172  // GoString returns the string representation.
  9173  //
  9174  // API parameter values that are decorated as "sensitive" in the API will not
  9175  // be included in the string output. The member name will be present, but the
  9176  // value will be replaced with "sensitive".
  9177  func (s CriterionAdditionalProperties) GoString() string {
  9178  	return s.String()
  9179  }
  9180  
  9181  // SetEq sets the Eq field's value.
  9182  func (s *CriterionAdditionalProperties) SetEq(v []*string) *CriterionAdditionalProperties {
  9183  	s.Eq = v
  9184  	return s
  9185  }
  9186  
  9187  // SetEqExactMatch sets the EqExactMatch field's value.
  9188  func (s *CriterionAdditionalProperties) SetEqExactMatch(v []*string) *CriterionAdditionalProperties {
  9189  	s.EqExactMatch = v
  9190  	return s
  9191  }
  9192  
  9193  // SetGt sets the Gt field's value.
  9194  func (s *CriterionAdditionalProperties) SetGt(v int64) *CriterionAdditionalProperties {
  9195  	s.Gt = &v
  9196  	return s
  9197  }
  9198  
  9199  // SetGte sets the Gte field's value.
  9200  func (s *CriterionAdditionalProperties) SetGte(v int64) *CriterionAdditionalProperties {
  9201  	s.Gte = &v
  9202  	return s
  9203  }
  9204  
  9205  // SetLt sets the Lt field's value.
  9206  func (s *CriterionAdditionalProperties) SetLt(v int64) *CriterionAdditionalProperties {
  9207  	s.Lt = &v
  9208  	return s
  9209  }
  9210  
  9211  // SetLte sets the Lte field's value.
  9212  func (s *CriterionAdditionalProperties) SetLte(v int64) *CriterionAdditionalProperties {
  9213  	s.Lte = &v
  9214  	return s
  9215  }
  9216  
  9217  // SetNeq sets the Neq field's value.
  9218  func (s *CriterionAdditionalProperties) SetNeq(v []*string) *CriterionAdditionalProperties {
  9219  	s.Neq = v
  9220  	return s
  9221  }
  9222  
  9223  // Provides information about a custom data identifier.
  9224  type CustomDataIdentifierSummary struct {
  9225  	_ struct{} `type:"structure"`
  9226  
  9227  	Arn *string `locationName:"arn" type:"string"`
  9228  
  9229  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
  9230  
  9231  	Description *string `locationName:"description" type:"string"`
  9232  
  9233  	Id *string `locationName:"id" type:"string"`
  9234  
  9235  	Name *string `locationName:"name" type:"string"`
  9236  }
  9237  
  9238  // String returns the string representation.
  9239  //
  9240  // API parameter values that are decorated as "sensitive" in the API will not
  9241  // be included in the string output. The member name will be present, but the
  9242  // value will be replaced with "sensitive".
  9243  func (s CustomDataIdentifierSummary) String() string {
  9244  	return awsutil.Prettify(s)
  9245  }
  9246  
  9247  // GoString returns the string representation.
  9248  //
  9249  // API parameter values that are decorated as "sensitive" in the API will not
  9250  // be included in the string output. The member name will be present, but the
  9251  // value will be replaced with "sensitive".
  9252  func (s CustomDataIdentifierSummary) GoString() string {
  9253  	return s.String()
  9254  }
  9255  
  9256  // SetArn sets the Arn field's value.
  9257  func (s *CustomDataIdentifierSummary) SetArn(v string) *CustomDataIdentifierSummary {
  9258  	s.Arn = &v
  9259  	return s
  9260  }
  9261  
  9262  // SetCreatedAt sets the CreatedAt field's value.
  9263  func (s *CustomDataIdentifierSummary) SetCreatedAt(v time.Time) *CustomDataIdentifierSummary {
  9264  	s.CreatedAt = &v
  9265  	return s
  9266  }
  9267  
  9268  // SetDescription sets the Description field's value.
  9269  func (s *CustomDataIdentifierSummary) SetDescription(v string) *CustomDataIdentifierSummary {
  9270  	s.Description = &v
  9271  	return s
  9272  }
  9273  
  9274  // SetId sets the Id field's value.
  9275  func (s *CustomDataIdentifierSummary) SetId(v string) *CustomDataIdentifierSummary {
  9276  	s.Id = &v
  9277  	return s
  9278  }
  9279  
  9280  // SetName sets the Name field's value.
  9281  func (s *CustomDataIdentifierSummary) SetName(v string) *CustomDataIdentifierSummary {
  9282  	s.Name = &v
  9283  	return s
  9284  }
  9285  
  9286  // Provides information about custom data identifiers that produced a sensitive
  9287  // data finding, and the number of occurrences of the data that they detected
  9288  // for the finding.
  9289  type CustomDataIdentifiers struct {
  9290  	_ struct{} `type:"structure"`
  9291  
  9292  	// Provides information about custom data identifiers that produced a sensitive
  9293  	// data finding, and the number of occurrences of the data that each identifier
  9294  	// detected.
  9295  	Detections []*CustomDetection `locationName:"detections" type:"list"`
  9296  
  9297  	TotalCount *int64 `locationName:"totalCount" type:"long"`
  9298  }
  9299  
  9300  // String returns the string representation.
  9301  //
  9302  // API parameter values that are decorated as "sensitive" in the API will not
  9303  // be included in the string output. The member name will be present, but the
  9304  // value will be replaced with "sensitive".
  9305  func (s CustomDataIdentifiers) String() string {
  9306  	return awsutil.Prettify(s)
  9307  }
  9308  
  9309  // GoString returns the string representation.
  9310  //
  9311  // API parameter values that are decorated as "sensitive" in the API will not
  9312  // be included in the string output. The member name will be present, but the
  9313  // value will be replaced with "sensitive".
  9314  func (s CustomDataIdentifiers) GoString() string {
  9315  	return s.String()
  9316  }
  9317  
  9318  // SetDetections sets the Detections field's value.
  9319  func (s *CustomDataIdentifiers) SetDetections(v []*CustomDetection) *CustomDataIdentifiers {
  9320  	s.Detections = v
  9321  	return s
  9322  }
  9323  
  9324  // SetTotalCount sets the TotalCount field's value.
  9325  func (s *CustomDataIdentifiers) SetTotalCount(v int64) *CustomDataIdentifiers {
  9326  	s.TotalCount = &v
  9327  	return s
  9328  }
  9329  
  9330  // Provides information about a custom data identifier that produced a sensitive
  9331  // data finding, and the sensitive data that it detected for the finding.
  9332  type CustomDetection struct {
  9333  	_ struct{} `type:"structure"`
  9334  
  9335  	Arn *string `locationName:"arn" type:"string"`
  9336  
  9337  	Count *int64 `locationName:"count" type:"long"`
  9338  
  9339  	Name *string `locationName:"name" type:"string"`
  9340  
  9341  	// Specifies the location of 1-15 occurrences of sensitive data that was detected
  9342  	// by a managed data identifier or a custom data identifier and produced a sensitive
  9343  	// data finding.
  9344  	Occurrences *Occurrences `locationName:"occurrences" type:"structure"`
  9345  }
  9346  
  9347  // String returns the string representation.
  9348  //
  9349  // API parameter values that are decorated as "sensitive" in the API will not
  9350  // be included in the string output. The member name will be present, but the
  9351  // value will be replaced with "sensitive".
  9352  func (s CustomDetection) String() string {
  9353  	return awsutil.Prettify(s)
  9354  }
  9355  
  9356  // GoString returns the string representation.
  9357  //
  9358  // API parameter values that are decorated as "sensitive" in the API will not
  9359  // be included in the string output. The member name will be present, but the
  9360  // value will be replaced with "sensitive".
  9361  func (s CustomDetection) GoString() string {
  9362  	return s.String()
  9363  }
  9364  
  9365  // SetArn sets the Arn field's value.
  9366  func (s *CustomDetection) SetArn(v string) *CustomDetection {
  9367  	s.Arn = &v
  9368  	return s
  9369  }
  9370  
  9371  // SetCount sets the Count field's value.
  9372  func (s *CustomDetection) SetCount(v int64) *CustomDetection {
  9373  	s.Count = &v
  9374  	return s
  9375  }
  9376  
  9377  // SetName sets the Name field's value.
  9378  func (s *CustomDetection) SetName(v string) *CustomDetection {
  9379  	s.Name = &v
  9380  	return s
  9381  }
  9382  
  9383  // SetOccurrences sets the Occurrences field's value.
  9384  func (s *CustomDetection) SetOccurrences(v *Occurrences) *CustomDetection {
  9385  	s.Occurrences = v
  9386  	return s
  9387  }
  9388  
  9389  // Specifies that a classification job runs once a day, every day. This is an
  9390  // empty object.
  9391  type DailySchedule struct {
  9392  	_ struct{} `type:"structure" nopayload:"true"`
  9393  }
  9394  
  9395  // String returns the string representation.
  9396  //
  9397  // API parameter values that are decorated as "sensitive" in the API will not
  9398  // be included in the string output. The member name will be present, but the
  9399  // value will be replaced with "sensitive".
  9400  func (s DailySchedule) String() string {
  9401  	return awsutil.Prettify(s)
  9402  }
  9403  
  9404  // GoString returns the string representation.
  9405  //
  9406  // API parameter values that are decorated as "sensitive" in the API will not
  9407  // be included in the string output. The member name will be present, but the
  9408  // value will be replaced with "sensitive".
  9409  func (s DailySchedule) GoString() string {
  9410  	return s.String()
  9411  }
  9412  
  9413  // Specifies one or more accounts that sent Amazon Macie membership invitations
  9414  // to decline.
  9415  type DeclineInvitationsInput struct {
  9416  	_ struct{} `type:"structure"`
  9417  
  9418  	// AccountIds is a required field
  9419  	AccountIds []*string `locationName:"accountIds" type:"list" required:"true"`
  9420  }
  9421  
  9422  // String returns the string representation.
  9423  //
  9424  // API parameter values that are decorated as "sensitive" in the API will not
  9425  // be included in the string output. The member name will be present, but the
  9426  // value will be replaced with "sensitive".
  9427  func (s DeclineInvitationsInput) String() string {
  9428  	return awsutil.Prettify(s)
  9429  }
  9430  
  9431  // GoString returns the string representation.
  9432  //
  9433  // API parameter values that are decorated as "sensitive" in the API will not
  9434  // be included in the string output. The member name will be present, but the
  9435  // value will be replaced with "sensitive".
  9436  func (s DeclineInvitationsInput) GoString() string {
  9437  	return s.String()
  9438  }
  9439  
  9440  // Validate inspects the fields of the type to determine if they are valid.
  9441  func (s *DeclineInvitationsInput) Validate() error {
  9442  	invalidParams := request.ErrInvalidParams{Context: "DeclineInvitationsInput"}
  9443  	if s.AccountIds == nil {
  9444  		invalidParams.Add(request.NewErrParamRequired("AccountIds"))
  9445  	}
  9446  
  9447  	if invalidParams.Len() > 0 {
  9448  		return invalidParams
  9449  	}
  9450  	return nil
  9451  }
  9452  
  9453  // SetAccountIds sets the AccountIds field's value.
  9454  func (s *DeclineInvitationsInput) SetAccountIds(v []*string) *DeclineInvitationsInput {
  9455  	s.AccountIds = v
  9456  	return s
  9457  }
  9458  
  9459  // Provides information about unprocessed requests to decline Amazon Macie membership
  9460  // invitations that were received from specific accounts.
  9461  type DeclineInvitationsOutput struct {
  9462  	_ struct{} `type:"structure"`
  9463  
  9464  	UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"`
  9465  }
  9466  
  9467  // String returns the string representation.
  9468  //
  9469  // API parameter values that are decorated as "sensitive" in the API will not
  9470  // be included in the string output. The member name will be present, but the
  9471  // value will be replaced with "sensitive".
  9472  func (s DeclineInvitationsOutput) String() string {
  9473  	return awsutil.Prettify(s)
  9474  }
  9475  
  9476  // GoString returns the string representation.
  9477  //
  9478  // API parameter values that are decorated as "sensitive" in the API will not
  9479  // be included in the string output. The member name will be present, but the
  9480  // value will be replaced with "sensitive".
  9481  func (s DeclineInvitationsOutput) GoString() string {
  9482  	return s.String()
  9483  }
  9484  
  9485  // SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
  9486  func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeclineInvitationsOutput {
  9487  	s.UnprocessedAccounts = v
  9488  	return s
  9489  }
  9490  
  9491  // Provides information about a type of sensitive data that was detected by
  9492  // a managed data identifier and produced a sensitive data finding.
  9493  type DefaultDetection struct {
  9494  	_ struct{} `type:"structure"`
  9495  
  9496  	Count *int64 `locationName:"count" type:"long"`
  9497  
  9498  	// Specifies the location of 1-15 occurrences of sensitive data that was detected
  9499  	// by a managed data identifier or a custom data identifier and produced a sensitive
  9500  	// data finding.
  9501  	Occurrences *Occurrences `locationName:"occurrences" type:"structure"`
  9502  
  9503  	Type *string `locationName:"type" type:"string"`
  9504  }
  9505  
  9506  // String returns the string representation.
  9507  //
  9508  // API parameter values that are decorated as "sensitive" in the API will not
  9509  // be included in the string output. The member name will be present, but the
  9510  // value will be replaced with "sensitive".
  9511  func (s DefaultDetection) String() string {
  9512  	return awsutil.Prettify(s)
  9513  }
  9514  
  9515  // GoString returns the string representation.
  9516  //
  9517  // API parameter values that are decorated as "sensitive" in the API will not
  9518  // be included in the string output. The member name will be present, but the
  9519  // value will be replaced with "sensitive".
  9520  func (s DefaultDetection) GoString() string {
  9521  	return s.String()
  9522  }
  9523  
  9524  // SetCount sets the Count field's value.
  9525  func (s *DefaultDetection) SetCount(v int64) *DefaultDetection {
  9526  	s.Count = &v
  9527  	return s
  9528  }
  9529  
  9530  // SetOccurrences sets the Occurrences field's value.
  9531  func (s *DefaultDetection) SetOccurrences(v *Occurrences) *DefaultDetection {
  9532  	s.Occurrences = v
  9533  	return s
  9534  }
  9535  
  9536  // SetType sets the Type field's value.
  9537  func (s *DefaultDetection) SetType(v string) *DefaultDetection {
  9538  	s.Type = &v
  9539  	return s
  9540  }
  9541  
  9542  type DeleteCustomDataIdentifierInput struct {
  9543  	_ struct{} `type:"structure" nopayload:"true"`
  9544  
  9545  	// Id is a required field
  9546  	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
  9547  }
  9548  
  9549  // String returns the string representation.
  9550  //
  9551  // API parameter values that are decorated as "sensitive" in the API will not
  9552  // be included in the string output. The member name will be present, but the
  9553  // value will be replaced with "sensitive".
  9554  func (s DeleteCustomDataIdentifierInput) String() string {
  9555  	return awsutil.Prettify(s)
  9556  }
  9557  
  9558  // GoString returns the string representation.
  9559  //
  9560  // API parameter values that are decorated as "sensitive" in the API will not
  9561  // be included in the string output. The member name will be present, but the
  9562  // value will be replaced with "sensitive".
  9563  func (s DeleteCustomDataIdentifierInput) GoString() string {
  9564  	return s.String()
  9565  }
  9566  
  9567  // Validate inspects the fields of the type to determine if they are valid.
  9568  func (s *DeleteCustomDataIdentifierInput) Validate() error {
  9569  	invalidParams := request.ErrInvalidParams{Context: "DeleteCustomDataIdentifierInput"}
  9570  	if s.Id == nil {
  9571  		invalidParams.Add(request.NewErrParamRequired("Id"))
  9572  	}
  9573  	if s.Id != nil && len(*s.Id) < 1 {
  9574  		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
  9575  	}
  9576  
  9577  	if invalidParams.Len() > 0 {
  9578  		return invalidParams
  9579  	}
  9580  	return nil
  9581  }
  9582  
  9583  // SetId sets the Id field's value.
  9584  func (s *DeleteCustomDataIdentifierInput) SetId(v string) *DeleteCustomDataIdentifierInput {
  9585  	s.Id = &v
  9586  	return s
  9587  }
  9588  
  9589  type DeleteCustomDataIdentifierOutput struct {
  9590  	_ struct{} `type:"structure" nopayload:"true"`
  9591  }
  9592  
  9593  // String returns the string representation.
  9594  //
  9595  // API parameter values that are decorated as "sensitive" in the API will not
  9596  // be included in the string output. The member name will be present, but the
  9597  // value will be replaced with "sensitive".
  9598  func (s DeleteCustomDataIdentifierOutput) String() string {
  9599  	return awsutil.Prettify(s)
  9600  }
  9601  
  9602  // GoString returns the string representation.
  9603  //
  9604  // API parameter values that are decorated as "sensitive" in the API will not
  9605  // be included in the string output. The member name will be present, but the
  9606  // value will be replaced with "sensitive".
  9607  func (s DeleteCustomDataIdentifierOutput) GoString() string {
  9608  	return s.String()
  9609  }
  9610  
  9611  type DeleteFindingsFilterInput struct {
  9612  	_ struct{} `type:"structure" nopayload:"true"`
  9613  
  9614  	// Id is a required field
  9615  	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
  9616  }
  9617  
  9618  // String returns the string representation.
  9619  //
  9620  // API parameter values that are decorated as "sensitive" in the API will not
  9621  // be included in the string output. The member name will be present, but the
  9622  // value will be replaced with "sensitive".
  9623  func (s DeleteFindingsFilterInput) String() string {
  9624  	return awsutil.Prettify(s)
  9625  }
  9626  
  9627  // GoString returns the string representation.
  9628  //
  9629  // API parameter values that are decorated as "sensitive" in the API will not
  9630  // be included in the string output. The member name will be present, but the
  9631  // value will be replaced with "sensitive".
  9632  func (s DeleteFindingsFilterInput) GoString() string {
  9633  	return s.String()
  9634  }
  9635  
  9636  // Validate inspects the fields of the type to determine if they are valid.
  9637  func (s *DeleteFindingsFilterInput) Validate() error {
  9638  	invalidParams := request.ErrInvalidParams{Context: "DeleteFindingsFilterInput"}
  9639  	if s.Id == nil {
  9640  		invalidParams.Add(request.NewErrParamRequired("Id"))
  9641  	}
  9642  	if s.Id != nil && len(*s.Id) < 1 {
  9643  		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
  9644  	}
  9645  
  9646  	if invalidParams.Len() > 0 {
  9647  		return invalidParams
  9648  	}
  9649  	return nil
  9650  }
  9651  
  9652  // SetId sets the Id field's value.
  9653  func (s *DeleteFindingsFilterInput) SetId(v string) *DeleteFindingsFilterInput {
  9654  	s.Id = &v
  9655  	return s
  9656  }
  9657  
  9658  type DeleteFindingsFilterOutput struct {
  9659  	_ struct{} `type:"structure" nopayload:"true"`
  9660  }
  9661  
  9662  // String returns the string representation.
  9663  //
  9664  // API parameter values that are decorated as "sensitive" in the API will not
  9665  // be included in the string output. The member name will be present, but the
  9666  // value will be replaced with "sensitive".
  9667  func (s DeleteFindingsFilterOutput) String() string {
  9668  	return awsutil.Prettify(s)
  9669  }
  9670  
  9671  // GoString returns the string representation.
  9672  //
  9673  // API parameter values that are decorated as "sensitive" in the API will not
  9674  // be included in the string output. The member name will be present, but the
  9675  // value will be replaced with "sensitive".
  9676  func (s DeleteFindingsFilterOutput) GoString() string {
  9677  	return s.String()
  9678  }
  9679  
  9680  // Specifies one or more accounts that sent Amazon Macie membership invitations
  9681  // to delete.
  9682  type DeleteInvitationsInput struct {
  9683  	_ struct{} `type:"structure"`
  9684  
  9685  	// AccountIds is a required field
  9686  	AccountIds []*string `locationName:"accountIds" type:"list" required:"true"`
  9687  }
  9688  
  9689  // String returns the string representation.
  9690  //
  9691  // API parameter values that are decorated as "sensitive" in the API will not
  9692  // be included in the string output. The member name will be present, but the
  9693  // value will be replaced with "sensitive".
  9694  func (s DeleteInvitationsInput) String() string {
  9695  	return awsutil.Prettify(s)
  9696  }
  9697  
  9698  // GoString returns the string representation.
  9699  //
  9700  // API parameter values that are decorated as "sensitive" in the API will not
  9701  // be included in the string output. The member name will be present, but the
  9702  // value will be replaced with "sensitive".
  9703  func (s DeleteInvitationsInput) GoString() string {
  9704  	return s.String()
  9705  }
  9706  
  9707  // Validate inspects the fields of the type to determine if they are valid.
  9708  func (s *DeleteInvitationsInput) Validate() error {
  9709  	invalidParams := request.ErrInvalidParams{Context: "DeleteInvitationsInput"}
  9710  	if s.AccountIds == nil {
  9711  		invalidParams.Add(request.NewErrParamRequired("AccountIds"))
  9712  	}
  9713  
  9714  	if invalidParams.Len() > 0 {
  9715  		return invalidParams
  9716  	}
  9717  	return nil
  9718  }
  9719  
  9720  // SetAccountIds sets the AccountIds field's value.
  9721  func (s *DeleteInvitationsInput) SetAccountIds(v []*string) *DeleteInvitationsInput {
  9722  	s.AccountIds = v
  9723  	return s
  9724  }
  9725  
  9726  // Provides information about unprocessed requests to delete Amazon Macie membership
  9727  // invitations that were received from specific accounts.
  9728  type DeleteInvitationsOutput struct {
  9729  	_ struct{} `type:"structure"`
  9730  
  9731  	UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"`
  9732  }
  9733  
  9734  // String returns the string representation.
  9735  //
  9736  // API parameter values that are decorated as "sensitive" in the API will not
  9737  // be included in the string output. The member name will be present, but the
  9738  // value will be replaced with "sensitive".
  9739  func (s DeleteInvitationsOutput) String() string {
  9740  	return awsutil.Prettify(s)
  9741  }
  9742  
  9743  // GoString returns the string representation.
  9744  //
  9745  // API parameter values that are decorated as "sensitive" in the API will not
  9746  // be included in the string output. The member name will be present, but the
  9747  // value will be replaced with "sensitive".
  9748  func (s DeleteInvitationsOutput) GoString() string {
  9749  	return s.String()
  9750  }
  9751  
  9752  // SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
  9753  func (s *DeleteInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteInvitationsOutput {
  9754  	s.UnprocessedAccounts = v
  9755  	return s
  9756  }
  9757  
  9758  type DeleteMemberInput struct {
  9759  	_ struct{} `type:"structure" nopayload:"true"`
  9760  
  9761  	// Id is a required field
  9762  	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
  9763  }
  9764  
  9765  // String returns the string representation.
  9766  //
  9767  // API parameter values that are decorated as "sensitive" in the API will not
  9768  // be included in the string output. The member name will be present, but the
  9769  // value will be replaced with "sensitive".
  9770  func (s DeleteMemberInput) String() string {
  9771  	return awsutil.Prettify(s)
  9772  }
  9773  
  9774  // GoString returns the string representation.
  9775  //
  9776  // API parameter values that are decorated as "sensitive" in the API will not
  9777  // be included in the string output. The member name will be present, but the
  9778  // value will be replaced with "sensitive".
  9779  func (s DeleteMemberInput) GoString() string {
  9780  	return s.String()
  9781  }
  9782  
  9783  // Validate inspects the fields of the type to determine if they are valid.
  9784  func (s *DeleteMemberInput) Validate() error {
  9785  	invalidParams := request.ErrInvalidParams{Context: "DeleteMemberInput"}
  9786  	if s.Id == nil {
  9787  		invalidParams.Add(request.NewErrParamRequired("Id"))
  9788  	}
  9789  	if s.Id != nil && len(*s.Id) < 1 {
  9790  		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
  9791  	}
  9792  
  9793  	if invalidParams.Len() > 0 {
  9794  		return invalidParams
  9795  	}
  9796  	return nil
  9797  }
  9798  
  9799  // SetId sets the Id field's value.
  9800  func (s *DeleteMemberInput) SetId(v string) *DeleteMemberInput {
  9801  	s.Id = &v
  9802  	return s
  9803  }
  9804  
  9805  type DeleteMemberOutput struct {
  9806  	_ struct{} `type:"structure" nopayload:"true"`
  9807  }
  9808  
  9809  // String returns the string representation.
  9810  //
  9811  // API parameter values that are decorated as "sensitive" in the API will not
  9812  // be included in the string output. The member name will be present, but the
  9813  // value will be replaced with "sensitive".
  9814  func (s DeleteMemberOutput) String() string {
  9815  	return awsutil.Prettify(s)
  9816  }
  9817  
  9818  // GoString returns the string representation.
  9819  //
  9820  // API parameter values that are decorated as "sensitive" in the API will not
  9821  // be included in the string output. The member name will be present, but the
  9822  // value will be replaced with "sensitive".
  9823  func (s DeleteMemberOutput) GoString() string {
  9824  	return s.String()
  9825  }
  9826  
  9827  // Specifies criteria for filtering, sorting, and paginating the results of
  9828  // a query for statistical data and other information about S3 buckets.
  9829  type DescribeBucketsInput struct {
  9830  	_ struct{} `type:"structure"`
  9831  
  9832  	// Specifies, as a map, one or more property-based conditions that filter the
  9833  	// results of a query for information about S3 buckets.
  9834  	Criteria map[string]*BucketCriteriaAdditionalProperties `locationName:"criteria" type:"map"`
  9835  
  9836  	MaxResults *int64 `locationName:"maxResults" type:"integer"`
  9837  
  9838  	NextToken *string `locationName:"nextToken" type:"string"`
  9839  
  9840  	// Specifies criteria for sorting the results of a query for information about
  9841  	// S3 buckets.
  9842  	SortCriteria *BucketSortCriteria `locationName:"sortCriteria" type:"structure"`
  9843  }
  9844  
  9845  // String returns the string representation.
  9846  //
  9847  // API parameter values that are decorated as "sensitive" in the API will not
  9848  // be included in the string output. The member name will be present, but the
  9849  // value will be replaced with "sensitive".
  9850  func (s DescribeBucketsInput) String() string {
  9851  	return awsutil.Prettify(s)
  9852  }
  9853  
  9854  // GoString returns the string representation.
  9855  //
  9856  // API parameter values that are decorated as "sensitive" in the API will not
  9857  // be included in the string output. The member name will be present, but the
  9858  // value will be replaced with "sensitive".
  9859  func (s DescribeBucketsInput) GoString() string {
  9860  	return s.String()
  9861  }
  9862  
  9863  // SetCriteria sets the Criteria field's value.
  9864  func (s *DescribeBucketsInput) SetCriteria(v map[string]*BucketCriteriaAdditionalProperties) *DescribeBucketsInput {
  9865  	s.Criteria = v
  9866  	return s
  9867  }
  9868  
  9869  // SetMaxResults sets the MaxResults field's value.
  9870  func (s *DescribeBucketsInput) SetMaxResults(v int64) *DescribeBucketsInput {
  9871  	s.MaxResults = &v
  9872  	return s
  9873  }
  9874  
  9875  // SetNextToken sets the NextToken field's value.
  9876  func (s *DescribeBucketsInput) SetNextToken(v string) *DescribeBucketsInput {
  9877  	s.NextToken = &v
  9878  	return s
  9879  }
  9880  
  9881  // SetSortCriteria sets the SortCriteria field's value.
  9882  func (s *DescribeBucketsInput) SetSortCriteria(v *BucketSortCriteria) *DescribeBucketsInput {
  9883  	s.SortCriteria = v
  9884  	return s
  9885  }
  9886  
  9887  // Provides the results of a query that retrieved statistical data and other
  9888  // information about one or more S3 buckets that Amazon Macie monitors and analyzes
  9889  // for your account.
  9890  type DescribeBucketsOutput struct {
  9891  	_ struct{} `type:"structure"`
  9892  
  9893  	Buckets []*BucketMetadata `locationName:"buckets" type:"list"`
  9894  
  9895  	NextToken *string `locationName:"nextToken" type:"string"`
  9896  }
  9897  
  9898  // String returns the string representation.
  9899  //
  9900  // API parameter values that are decorated as "sensitive" in the API will not
  9901  // be included in the string output. The member name will be present, but the
  9902  // value will be replaced with "sensitive".
  9903  func (s DescribeBucketsOutput) String() string {
  9904  	return awsutil.Prettify(s)
  9905  }
  9906  
  9907  // GoString returns the string representation.
  9908  //
  9909  // API parameter values that are decorated as "sensitive" in the API will not
  9910  // be included in the string output. The member name will be present, but the
  9911  // value will be replaced with "sensitive".
  9912  func (s DescribeBucketsOutput) GoString() string {
  9913  	return s.String()
  9914  }
  9915  
  9916  // SetBuckets sets the Buckets field's value.
  9917  func (s *DescribeBucketsOutput) SetBuckets(v []*BucketMetadata) *DescribeBucketsOutput {
  9918  	s.Buckets = v
  9919  	return s
  9920  }
  9921  
  9922  // SetNextToken sets the NextToken field's value.
  9923  func (s *DescribeBucketsOutput) SetNextToken(v string) *DescribeBucketsOutput {
  9924  	s.NextToken = &v
  9925  	return s
  9926  }
  9927  
  9928  type DescribeClassificationJobInput struct {
  9929  	_ struct{} `type:"structure" nopayload:"true"`
  9930  
  9931  	// JobId is a required field
  9932  	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`
  9933  }
  9934  
  9935  // String returns the string representation.
  9936  //
  9937  // API parameter values that are decorated as "sensitive" in the API will not
  9938  // be included in the string output. The member name will be present, but the
  9939  // value will be replaced with "sensitive".
  9940  func (s DescribeClassificationJobInput) String() string {
  9941  	return awsutil.Prettify(s)
  9942  }
  9943  
  9944  // GoString returns the string representation.
  9945  //
  9946  // API parameter values that are decorated as "sensitive" in the API will not
  9947  // be included in the string output. The member name will be present, but the
  9948  // value will be replaced with "sensitive".
  9949  func (s DescribeClassificationJobInput) GoString() string {
  9950  	return s.String()
  9951  }
  9952  
  9953  // Validate inspects the fields of the type to determine if they are valid.
  9954  func (s *DescribeClassificationJobInput) Validate() error {
  9955  	invalidParams := request.ErrInvalidParams{Context: "DescribeClassificationJobInput"}
  9956  	if s.JobId == nil {
  9957  		invalidParams.Add(request.NewErrParamRequired("JobId"))
  9958  	}
  9959  	if s.JobId != nil && len(*s.JobId) < 1 {
  9960  		invalidParams.Add(request.NewErrParamMinLen("JobId", 1))
  9961  	}
  9962  
  9963  	if invalidParams.Len() > 0 {
  9964  		return invalidParams
  9965  	}
  9966  	return nil
  9967  }
  9968  
  9969  // SetJobId sets the JobId field's value.
  9970  func (s *DescribeClassificationJobInput) SetJobId(v string) *DescribeClassificationJobInput {
  9971  	s.JobId = &v
  9972  	return s
  9973  }
  9974  
  9975  // Provides information about a classification job, including the current configuration
  9976  // settings and status of the job.
  9977  type DescribeClassificationJobOutput struct {
  9978  	_ struct{} `type:"structure"`
  9979  
  9980  	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`
  9981  
  9982  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
  9983  
  9984  	CustomDataIdentifierIds []*string `locationName:"customDataIdentifierIds" type:"list"`
  9985  
  9986  	Description *string `locationName:"description" type:"string"`
  9987  
  9988  	InitialRun *bool `locationName:"initialRun" type:"boolean"`
  9989  
  9990  	JobArn *string `locationName:"jobArn" type:"string"`
  9991  
  9992  	JobId *string `locationName:"jobId" type:"string"`
  9993  
  9994  	// The status of a classification job. Possible values are:
  9995  	JobStatus *string `locationName:"jobStatus" type:"string" enum:"JobStatus"`
  9996  
  9997  	// The schedule for running a classification job. Valid values are:
  9998  	JobType *string `locationName:"jobType" type:"string" enum:"JobType"`
  9999  
 10000  	// Specifies whether any account- or bucket-level access errors occurred when
 10001  	// a classification job ran. For information about using logging data to investigate
 10002  	// these errors, see Monitoring sensitive data discovery jobs (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-monitor-cw-logs.html)
 10003  	// in the Amazon Macie User Guide.
 10004  	LastRunErrorStatus *LastRunErrorStatus `locationName:"lastRunErrorStatus" type:"structure"`
 10005  
 10006  	LastRunTime *time.Time `locationName:"lastRunTime" type:"timestamp" timestampFormat:"iso8601"`
 10007  
 10008  	ManagedDataIdentifierIds []*string `locationName:"managedDataIdentifierIds" type:"list"`
 10009  
 10010  	// The selection type that determines which managed data identifiers a classification
 10011  	// job uses to analyze data. Valid values are:
 10012  	ManagedDataIdentifierSelector *string `locationName:"managedDataIdentifierSelector" type:"string" enum:"ManagedDataIdentifierSelector"`
 10013  
 10014  	Name *string `locationName:"name" type:"string"`
 10015  
 10016  	// Specifies which S3 buckets contain the objects that a classification job
 10017  	// analyzes, and the scope of that analysis. The bucket specification can be
 10018  	// static (bucketDefinitions) or dynamic (bucketCriteria). If it's static, the
 10019  	// job analyzes objects in the same predefined set of buckets each time the
 10020  	// job runs. If it's dynamic, the job analyzes objects in any buckets that match
 10021  	// the specified criteria each time the job starts to run.
 10022  	S3JobDefinition *S3JobDefinition `locationName:"s3JobDefinition" type:"structure"`
 10023  
 10024  	SamplingPercentage *int64 `locationName:"samplingPercentage" type:"integer"`
 10025  
 10026  	// Specifies the recurrence pattern for running a classification job.
 10027  	ScheduleFrequency *JobScheduleFrequency `locationName:"scheduleFrequency" type:"structure"`
 10028  
 10029  	// Provides processing statistics for a classification job.
 10030  	Statistics *Statistics `locationName:"statistics" type:"structure"`
 10031  
 10032  	// A string-to-string map of key-value pairs that specifies the tags (keys and
 10033  	// values) for a classification job, custom data identifier, findings filter,
 10034  	// or member account.
 10035  	Tags map[string]*string `locationName:"tags" type:"map"`
 10036  
 10037  	// Provides information about when a classification job was paused. For a one-time
 10038  	// job, this object also specifies when the job will expire and be cancelled
 10039  	// if it isn't resumed. For a recurring job, this object also specifies when
 10040  	// the paused job run will expire and be cancelled if it isn't resumed. This
 10041  	// object is present only if a job's current status (jobStatus) is USER_PAUSED.
 10042  	// The information in this object applies only to a job that was paused while
 10043  	// it had a status of RUNNING.
 10044  	UserPausedDetails *UserPausedDetails `locationName:"userPausedDetails" type:"structure"`
 10045  }
 10046  
 10047  // String returns the string representation.
 10048  //
 10049  // API parameter values that are decorated as "sensitive" in the API will not
 10050  // be included in the string output. The member name will be present, but the
 10051  // value will be replaced with "sensitive".
 10052  func (s DescribeClassificationJobOutput) String() string {
 10053  	return awsutil.Prettify(s)
 10054  }
 10055  
 10056  // GoString returns the string representation.
 10057  //
 10058  // API parameter values that are decorated as "sensitive" in the API will not
 10059  // be included in the string output. The member name will be present, but the
 10060  // value will be replaced with "sensitive".
 10061  func (s DescribeClassificationJobOutput) GoString() string {
 10062  	return s.String()
 10063  }
 10064  
 10065  // SetClientToken sets the ClientToken field's value.
 10066  func (s *DescribeClassificationJobOutput) SetClientToken(v string) *DescribeClassificationJobOutput {
 10067  	s.ClientToken = &v
 10068  	return s
 10069  }
 10070  
 10071  // SetCreatedAt sets the CreatedAt field's value.
 10072  func (s *DescribeClassificationJobOutput) SetCreatedAt(v time.Time) *DescribeClassificationJobOutput {
 10073  	s.CreatedAt = &v
 10074  	return s
 10075  }
 10076  
 10077  // SetCustomDataIdentifierIds sets the CustomDataIdentifierIds field's value.
 10078  func (s *DescribeClassificationJobOutput) SetCustomDataIdentifierIds(v []*string) *DescribeClassificationJobOutput {
 10079  	s.CustomDataIdentifierIds = v
 10080  	return s
 10081  }
 10082  
 10083  // SetDescription sets the Description field's value.
 10084  func (s *DescribeClassificationJobOutput) SetDescription(v string) *DescribeClassificationJobOutput {
 10085  	s.Description = &v
 10086  	return s
 10087  }
 10088  
 10089  // SetInitialRun sets the InitialRun field's value.
 10090  func (s *DescribeClassificationJobOutput) SetInitialRun(v bool) *DescribeClassificationJobOutput {
 10091  	s.InitialRun = &v
 10092  	return s
 10093  }
 10094  
 10095  // SetJobArn sets the JobArn field's value.
 10096  func (s *DescribeClassificationJobOutput) SetJobArn(v string) *DescribeClassificationJobOutput {
 10097  	s.JobArn = &v
 10098  	return s
 10099  }
 10100  
 10101  // SetJobId sets the JobId field's value.
 10102  func (s *DescribeClassificationJobOutput) SetJobId(v string) *DescribeClassificationJobOutput {
 10103  	s.JobId = &v
 10104  	return s
 10105  }
 10106  
 10107  // SetJobStatus sets the JobStatus field's value.
 10108  func (s *DescribeClassificationJobOutput) SetJobStatus(v string) *DescribeClassificationJobOutput {
 10109  	s.JobStatus = &v
 10110  	return s
 10111  }
 10112  
 10113  // SetJobType sets the JobType field's value.
 10114  func (s *DescribeClassificationJobOutput) SetJobType(v string) *DescribeClassificationJobOutput {
 10115  	s.JobType = &v
 10116  	return s
 10117  }
 10118  
 10119  // SetLastRunErrorStatus sets the LastRunErrorStatus field's value.
 10120  func (s *DescribeClassificationJobOutput) SetLastRunErrorStatus(v *LastRunErrorStatus) *DescribeClassificationJobOutput {
 10121  	s.LastRunErrorStatus = v
 10122  	return s
 10123  }
 10124  
 10125  // SetLastRunTime sets the LastRunTime field's value.
 10126  func (s *DescribeClassificationJobOutput) SetLastRunTime(v time.Time) *DescribeClassificationJobOutput {
 10127  	s.LastRunTime = &v
 10128  	return s
 10129  }
 10130  
 10131  // SetManagedDataIdentifierIds sets the ManagedDataIdentifierIds field's value.
 10132  func (s *DescribeClassificationJobOutput) SetManagedDataIdentifierIds(v []*string) *DescribeClassificationJobOutput {
 10133  	s.ManagedDataIdentifierIds = v
 10134  	return s
 10135  }
 10136  
 10137  // SetManagedDataIdentifierSelector sets the ManagedDataIdentifierSelector field's value.
 10138  func (s *DescribeClassificationJobOutput) SetManagedDataIdentifierSelector(v string) *DescribeClassificationJobOutput {
 10139  	s.ManagedDataIdentifierSelector = &v
 10140  	return s
 10141  }
 10142  
 10143  // SetName sets the Name field's value.
 10144  func (s *DescribeClassificationJobOutput) SetName(v string) *DescribeClassificationJobOutput {
 10145  	s.Name = &v
 10146  	return s
 10147  }
 10148  
 10149  // SetS3JobDefinition sets the S3JobDefinition field's value.
 10150  func (s *DescribeClassificationJobOutput) SetS3JobDefinition(v *S3JobDefinition) *DescribeClassificationJobOutput {
 10151  	s.S3JobDefinition = v
 10152  	return s
 10153  }
 10154  
 10155  // SetSamplingPercentage sets the SamplingPercentage field's value.
 10156  func (s *DescribeClassificationJobOutput) SetSamplingPercentage(v int64) *DescribeClassificationJobOutput {
 10157  	s.SamplingPercentage = &v
 10158  	return s
 10159  }
 10160  
 10161  // SetScheduleFrequency sets the ScheduleFrequency field's value.
 10162  func (s *DescribeClassificationJobOutput) SetScheduleFrequency(v *JobScheduleFrequency) *DescribeClassificationJobOutput {
 10163  	s.ScheduleFrequency = v
 10164  	return s
 10165  }
 10166  
 10167  // SetStatistics sets the Statistics field's value.
 10168  func (s *DescribeClassificationJobOutput) SetStatistics(v *Statistics) *DescribeClassificationJobOutput {
 10169  	s.Statistics = v
 10170  	return s
 10171  }
 10172  
 10173  // SetTags sets the Tags field's value.
 10174  func (s *DescribeClassificationJobOutput) SetTags(v map[string]*string) *DescribeClassificationJobOutput {
 10175  	s.Tags = v
 10176  	return s
 10177  }
 10178  
 10179  // SetUserPausedDetails sets the UserPausedDetails field's value.
 10180  func (s *DescribeClassificationJobOutput) SetUserPausedDetails(v *UserPausedDetails) *DescribeClassificationJobOutput {
 10181  	s.UserPausedDetails = v
 10182  	return s
 10183  }
 10184  
 10185  type DescribeOrganizationConfigurationInput struct {
 10186  	_ struct{} `type:"structure" nopayload:"true"`
 10187  }
 10188  
 10189  // String returns the string representation.
 10190  //
 10191  // API parameter values that are decorated as "sensitive" in the API will not
 10192  // be included in the string output. The member name will be present, but the
 10193  // value will be replaced with "sensitive".
 10194  func (s DescribeOrganizationConfigurationInput) String() string {
 10195  	return awsutil.Prettify(s)
 10196  }
 10197  
 10198  // GoString returns the string representation.
 10199  //
 10200  // API parameter values that are decorated as "sensitive" in the API will not
 10201  // be included in the string output. The member name will be present, but the
 10202  // value will be replaced with "sensitive".
 10203  func (s DescribeOrganizationConfigurationInput) GoString() string {
 10204  	return s.String()
 10205  }
 10206  
 10207  // Provides information about the Amazon Macie configuration settings for an
 10208  // Amazon Web Services organization.
 10209  type DescribeOrganizationConfigurationOutput struct {
 10210  	_ struct{} `type:"structure"`
 10211  
 10212  	AutoEnable *bool `locationName:"autoEnable" type:"boolean"`
 10213  
 10214  	MaxAccountLimitReached *bool `locationName:"maxAccountLimitReached" type:"boolean"`
 10215  }
 10216  
 10217  // String returns the string representation.
 10218  //
 10219  // API parameter values that are decorated as "sensitive" in the API will not
 10220  // be included in the string output. The member name will be present, but the
 10221  // value will be replaced with "sensitive".
 10222  func (s DescribeOrganizationConfigurationOutput) String() string {
 10223  	return awsutil.Prettify(s)
 10224  }
 10225  
 10226  // GoString returns the string representation.
 10227  //
 10228  // API parameter values that are decorated as "sensitive" in the API will not
 10229  // be included in the string output. The member name will be present, but the
 10230  // value will be replaced with "sensitive".
 10231  func (s DescribeOrganizationConfigurationOutput) GoString() string {
 10232  	return s.String()
 10233  }
 10234  
 10235  // SetAutoEnable sets the AutoEnable field's value.
 10236  func (s *DescribeOrganizationConfigurationOutput) SetAutoEnable(v bool) *DescribeOrganizationConfigurationOutput {
 10237  	s.AutoEnable = &v
 10238  	return s
 10239  }
 10240  
 10241  // SetMaxAccountLimitReached sets the MaxAccountLimitReached field's value.
 10242  func (s *DescribeOrganizationConfigurationOutput) SetMaxAccountLimitReached(v bool) *DescribeOrganizationConfigurationOutput {
 10243  	s.MaxAccountLimitReached = &v
 10244  	return s
 10245  }
 10246  
 10247  type DisableMacieInput struct {
 10248  	_ struct{} `type:"structure" nopayload:"true"`
 10249  }
 10250  
 10251  // String returns the string representation.
 10252  //
 10253  // API parameter values that are decorated as "sensitive" in the API will not
 10254  // be included in the string output. The member name will be present, but the
 10255  // value will be replaced with "sensitive".
 10256  func (s DisableMacieInput) String() string {
 10257  	return awsutil.Prettify(s)
 10258  }
 10259  
 10260  // GoString returns the string representation.
 10261  //
 10262  // API parameter values that are decorated as "sensitive" in the API will not
 10263  // be included in the string output. The member name will be present, but the
 10264  // value will be replaced with "sensitive".
 10265  func (s DisableMacieInput) GoString() string {
 10266  	return s.String()
 10267  }
 10268  
 10269  type DisableMacieOutput struct {
 10270  	_ struct{} `type:"structure" nopayload:"true"`
 10271  }
 10272  
 10273  // String returns the string representation.
 10274  //
 10275  // API parameter values that are decorated as "sensitive" in the API will not
 10276  // be included in the string output. The member name will be present, but the
 10277  // value will be replaced with "sensitive".
 10278  func (s DisableMacieOutput) String() string {
 10279  	return awsutil.Prettify(s)
 10280  }
 10281  
 10282  // GoString returns the string representation.
 10283  //
 10284  // API parameter values that are decorated as "sensitive" in the API will not
 10285  // be included in the string output. The member name will be present, but the
 10286  // value will be replaced with "sensitive".
 10287  func (s DisableMacieOutput) GoString() string {
 10288  	return s.String()
 10289  }
 10290  
 10291  type DisableOrganizationAdminAccountInput struct {
 10292  	_ struct{} `type:"structure" nopayload:"true"`
 10293  
 10294  	// AdminAccountId is a required field
 10295  	AdminAccountId *string `location:"querystring" locationName:"adminAccountId" type:"string" required:"true"`
 10296  }
 10297  
 10298  // String returns the string representation.
 10299  //
 10300  // API parameter values that are decorated as "sensitive" in the API will not
 10301  // be included in the string output. The member name will be present, but the
 10302  // value will be replaced with "sensitive".
 10303  func (s DisableOrganizationAdminAccountInput) String() string {
 10304  	return awsutil.Prettify(s)
 10305  }
 10306  
 10307  // GoString returns the string representation.
 10308  //
 10309  // API parameter values that are decorated as "sensitive" in the API will not
 10310  // be included in the string output. The member name will be present, but the
 10311  // value will be replaced with "sensitive".
 10312  func (s DisableOrganizationAdminAccountInput) GoString() string {
 10313  	return s.String()
 10314  }
 10315  
 10316  // Validate inspects the fields of the type to determine if they are valid.
 10317  func (s *DisableOrganizationAdminAccountInput) Validate() error {
 10318  	invalidParams := request.ErrInvalidParams{Context: "DisableOrganizationAdminAccountInput"}
 10319  	if s.AdminAccountId == nil {
 10320  		invalidParams.Add(request.NewErrParamRequired("AdminAccountId"))
 10321  	}
 10322  
 10323  	if invalidParams.Len() > 0 {
 10324  		return invalidParams
 10325  	}
 10326  	return nil
 10327  }
 10328  
 10329  // SetAdminAccountId sets the AdminAccountId field's value.
 10330  func (s *DisableOrganizationAdminAccountInput) SetAdminAccountId(v string) *DisableOrganizationAdminAccountInput {
 10331  	s.AdminAccountId = &v
 10332  	return s
 10333  }
 10334  
 10335  type DisableOrganizationAdminAccountOutput struct {
 10336  	_ struct{} `type:"structure" nopayload:"true"`
 10337  }
 10338  
 10339  // String returns the string representation.
 10340  //
 10341  // API parameter values that are decorated as "sensitive" in the API will not
 10342  // be included in the string output. The member name will be present, but the
 10343  // value will be replaced with "sensitive".
 10344  func (s DisableOrganizationAdminAccountOutput) String() string {
 10345  	return awsutil.Prettify(s)
 10346  }
 10347  
 10348  // GoString returns the string representation.
 10349  //
 10350  // API parameter values that are decorated as "sensitive" in the API will not
 10351  // be included in the string output. The member name will be present, but the
 10352  // value will be replaced with "sensitive".
 10353  func (s DisableOrganizationAdminAccountOutput) GoString() string {
 10354  	return s.String()
 10355  }
 10356  
 10357  type DisassociateFromAdministratorAccountInput struct {
 10358  	_ struct{} `type:"structure" nopayload:"true"`
 10359  }
 10360  
 10361  // String returns the string representation.
 10362  //
 10363  // API parameter values that are decorated as "sensitive" in the API will not
 10364  // be included in the string output. The member name will be present, but the
 10365  // value will be replaced with "sensitive".
 10366  func (s DisassociateFromAdministratorAccountInput) String() string {
 10367  	return awsutil.Prettify(s)
 10368  }
 10369  
 10370  // GoString returns the string representation.
 10371  //
 10372  // API parameter values that are decorated as "sensitive" in the API will not
 10373  // be included in the string output. The member name will be present, but the
 10374  // value will be replaced with "sensitive".
 10375  func (s DisassociateFromAdministratorAccountInput) GoString() string {
 10376  	return s.String()
 10377  }
 10378  
 10379  type DisassociateFromAdministratorAccountOutput struct {
 10380  	_ struct{} `type:"structure" nopayload:"true"`
 10381  }
 10382  
 10383  // String returns the string representation.
 10384  //
 10385  // API parameter values that are decorated as "sensitive" in the API will not
 10386  // be included in the string output. The member name will be present, but the
 10387  // value will be replaced with "sensitive".
 10388  func (s DisassociateFromAdministratorAccountOutput) String() string {
 10389  	return awsutil.Prettify(s)
 10390  }
 10391  
 10392  // GoString returns the string representation.
 10393  //
 10394  // API parameter values that are decorated as "sensitive" in the API will not
 10395  // be included in the string output. The member name will be present, but the
 10396  // value will be replaced with "sensitive".
 10397  func (s DisassociateFromAdministratorAccountOutput) GoString() string {
 10398  	return s.String()
 10399  }
 10400  
 10401  type DisassociateFromMasterAccountInput struct {
 10402  	_ struct{} `type:"structure" nopayload:"true"`
 10403  }
 10404  
 10405  // String returns the string representation.
 10406  //
 10407  // API parameter values that are decorated as "sensitive" in the API will not
 10408  // be included in the string output. The member name will be present, but the
 10409  // value will be replaced with "sensitive".
 10410  func (s DisassociateFromMasterAccountInput) String() string {
 10411  	return awsutil.Prettify(s)
 10412  }
 10413  
 10414  // GoString returns the string representation.
 10415  //
 10416  // API parameter values that are decorated as "sensitive" in the API will not
 10417  // be included in the string output. The member name will be present, but the
 10418  // value will be replaced with "sensitive".
 10419  func (s DisassociateFromMasterAccountInput) GoString() string {
 10420  	return s.String()
 10421  }
 10422  
 10423  type DisassociateFromMasterAccountOutput struct {
 10424  	_ struct{} `type:"structure" nopayload:"true"`
 10425  }
 10426  
 10427  // String returns the string representation.
 10428  //
 10429  // API parameter values that are decorated as "sensitive" in the API will not
 10430  // be included in the string output. The member name will be present, but the
 10431  // value will be replaced with "sensitive".
 10432  func (s DisassociateFromMasterAccountOutput) String() string {
 10433  	return awsutil.Prettify(s)
 10434  }
 10435  
 10436  // GoString returns the string representation.
 10437  //
 10438  // API parameter values that are decorated as "sensitive" in the API will not
 10439  // be included in the string output. The member name will be present, but the
 10440  // value will be replaced with "sensitive".
 10441  func (s DisassociateFromMasterAccountOutput) GoString() string {
 10442  	return s.String()
 10443  }
 10444  
 10445  type DisassociateMemberInput struct {
 10446  	_ struct{} `type:"structure" nopayload:"true"`
 10447  
 10448  	// Id is a required field
 10449  	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
 10450  }
 10451  
 10452  // String returns the string representation.
 10453  //
 10454  // API parameter values that are decorated as "sensitive" in the API will not
 10455  // be included in the string output. The member name will be present, but the
 10456  // value will be replaced with "sensitive".
 10457  func (s DisassociateMemberInput) String() string {
 10458  	return awsutil.Prettify(s)
 10459  }
 10460  
 10461  // GoString returns the string representation.
 10462  //
 10463  // API parameter values that are decorated as "sensitive" in the API will not
 10464  // be included in the string output. The member name will be present, but the
 10465  // value will be replaced with "sensitive".
 10466  func (s DisassociateMemberInput) GoString() string {
 10467  	return s.String()
 10468  }
 10469  
 10470  // Validate inspects the fields of the type to determine if they are valid.
 10471  func (s *DisassociateMemberInput) Validate() error {
 10472  	invalidParams := request.ErrInvalidParams{Context: "DisassociateMemberInput"}
 10473  	if s.Id == nil {
 10474  		invalidParams.Add(request.NewErrParamRequired("Id"))
 10475  	}
 10476  	if s.Id != nil && len(*s.Id) < 1 {
 10477  		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
 10478  	}
 10479  
 10480  	if invalidParams.Len() > 0 {
 10481  		return invalidParams
 10482  	}
 10483  	return nil
 10484  }
 10485  
 10486  // SetId sets the Id field's value.
 10487  func (s *DisassociateMemberInput) SetId(v string) *DisassociateMemberInput {
 10488  	s.Id = &v
 10489  	return s
 10490  }
 10491  
 10492  type DisassociateMemberOutput struct {
 10493  	_ struct{} `type:"structure" nopayload:"true"`
 10494  }
 10495  
 10496  // String returns the string representation.
 10497  //
 10498  // API parameter values that are decorated as "sensitive" in the API will not
 10499  // be included in the string output. The member name will be present, but the
 10500  // value will be replaced with "sensitive".
 10501  func (s DisassociateMemberOutput) String() string {
 10502  	return awsutil.Prettify(s)
 10503  }
 10504  
 10505  // GoString returns the string representation.
 10506  //
 10507  // API parameter values that are decorated as "sensitive" in the API will not
 10508  // be included in the string output. The member name will be present, but the
 10509  // value will be replaced with "sensitive".
 10510  func (s DisassociateMemberOutput) GoString() string {
 10511  	return s.String()
 10512  }
 10513  
 10514  // Provides information about the domain name of the device that an entity used
 10515  // to perform an action on an affected resource.
 10516  type DomainDetails struct {
 10517  	_ struct{} `type:"structure"`
 10518  
 10519  	DomainName *string `locationName:"domainName" type:"string"`
 10520  }
 10521  
 10522  // String returns the string representation.
 10523  //
 10524  // API parameter values that are decorated as "sensitive" in the API will not
 10525  // be included in the string output. The member name will be present, but the
 10526  // value will be replaced with "sensitive".
 10527  func (s DomainDetails) String() string {
 10528  	return awsutil.Prettify(s)
 10529  }
 10530  
 10531  // GoString returns the string representation.
 10532  //
 10533  // API parameter values that are decorated as "sensitive" in the API will not
 10534  // be included in the string output. The member name will be present, but the
 10535  // value will be replaced with "sensitive".
 10536  func (s DomainDetails) GoString() string {
 10537  	return s.String()
 10538  }
 10539  
 10540  // SetDomainName sets the DomainName field's value.
 10541  func (s *DomainDetails) SetDomainName(v string) *DomainDetails {
 10542  	s.DomainName = &v
 10543  	return s
 10544  }
 10545  
 10546  // Enables Amazon Macie and specifies the configuration settings for a Macie
 10547  // account.
 10548  type EnableMacieInput struct {
 10549  	_ struct{} `type:"structure"`
 10550  
 10551  	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`
 10552  
 10553  	// The frequency with which Amazon Macie publishes updates to policy findings
 10554  	// for an account. This includes publishing updates to Security Hub and Amazon
 10555  	// EventBridge (formerly called Amazon CloudWatch Events). For more information,
 10556  	// see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html)
 10557  	// in the Amazon Macie User Guide. Valid values are:
 10558  	FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"`
 10559  
 10560  	// The status of an Amazon Macie account. Valid values are:
 10561  	Status *string `locationName:"status" type:"string" enum:"MacieStatus"`
 10562  }
 10563  
 10564  // String returns the string representation.
 10565  //
 10566  // API parameter values that are decorated as "sensitive" in the API will not
 10567  // be included in the string output. The member name will be present, but the
 10568  // value will be replaced with "sensitive".
 10569  func (s EnableMacieInput) String() string {
 10570  	return awsutil.Prettify(s)
 10571  }
 10572  
 10573  // GoString returns the string representation.
 10574  //
 10575  // API parameter values that are decorated as "sensitive" in the API will not
 10576  // be included in the string output. The member name will be present, but the
 10577  // value will be replaced with "sensitive".
 10578  func (s EnableMacieInput) GoString() string {
 10579  	return s.String()
 10580  }
 10581  
 10582  // SetClientToken sets the ClientToken field's value.
 10583  func (s *EnableMacieInput) SetClientToken(v string) *EnableMacieInput {
 10584  	s.ClientToken = &v
 10585  	return s
 10586  }
 10587  
 10588  // SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.
 10589  func (s *EnableMacieInput) SetFindingPublishingFrequency(v string) *EnableMacieInput {
 10590  	s.FindingPublishingFrequency = &v
 10591  	return s
 10592  }
 10593  
 10594  // SetStatus sets the Status field's value.
 10595  func (s *EnableMacieInput) SetStatus(v string) *EnableMacieInput {
 10596  	s.Status = &v
 10597  	return s
 10598  }
 10599  
 10600  type EnableMacieOutput struct {
 10601  	_ struct{} `type:"structure" nopayload:"true"`
 10602  }
 10603  
 10604  // String returns the string representation.
 10605  //
 10606  // API parameter values that are decorated as "sensitive" in the API will not
 10607  // be included in the string output. The member name will be present, but the
 10608  // value will be replaced with "sensitive".
 10609  func (s EnableMacieOutput) String() string {
 10610  	return awsutil.Prettify(s)
 10611  }
 10612  
 10613  // GoString returns the string representation.
 10614  //
 10615  // API parameter values that are decorated as "sensitive" in the API will not
 10616  // be included in the string output. The member name will be present, but the
 10617  // value will be replaced with "sensitive".
 10618  func (s EnableMacieOutput) GoString() string {
 10619  	return s.String()
 10620  }
 10621  
 10622  // Specifies an account to designate as a delegated Amazon Macie administrator
 10623  // account for an Amazon Web Services organization. To submit this request,
 10624  // you must be a user of the management account for the Amazon Web Services
 10625  // organization.
 10626  type EnableOrganizationAdminAccountInput struct {
 10627  	_ struct{} `type:"structure"`
 10628  
 10629  	// AdminAccountId is a required field
 10630  	AdminAccountId *string `locationName:"adminAccountId" type:"string" required:"true"`
 10631  
 10632  	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`
 10633  }
 10634  
 10635  // String returns the string representation.
 10636  //
 10637  // API parameter values that are decorated as "sensitive" in the API will not
 10638  // be included in the string output. The member name will be present, but the
 10639  // value will be replaced with "sensitive".
 10640  func (s EnableOrganizationAdminAccountInput) String() string {
 10641  	return awsutil.Prettify(s)
 10642  }
 10643  
 10644  // GoString returns the string representation.
 10645  //
 10646  // API parameter values that are decorated as "sensitive" in the API will not
 10647  // be included in the string output. The member name will be present, but the
 10648  // value will be replaced with "sensitive".
 10649  func (s EnableOrganizationAdminAccountInput) GoString() string {
 10650  	return s.String()
 10651  }
 10652  
 10653  // Validate inspects the fields of the type to determine if they are valid.
 10654  func (s *EnableOrganizationAdminAccountInput) Validate() error {
 10655  	invalidParams := request.ErrInvalidParams{Context: "EnableOrganizationAdminAccountInput"}
 10656  	if s.AdminAccountId == nil {
 10657  		invalidParams.Add(request.NewErrParamRequired("AdminAccountId"))
 10658  	}
 10659  
 10660  	if invalidParams.Len() > 0 {
 10661  		return invalidParams
 10662  	}
 10663  	return nil
 10664  }
 10665  
 10666  // SetAdminAccountId sets the AdminAccountId field's value.
 10667  func (s *EnableOrganizationAdminAccountInput) SetAdminAccountId(v string) *EnableOrganizationAdminAccountInput {
 10668  	s.AdminAccountId = &v
 10669  	return s
 10670  }
 10671  
 10672  // SetClientToken sets the ClientToken field's value.
 10673  func (s *EnableOrganizationAdminAccountInput) SetClientToken(v string) *EnableOrganizationAdminAccountInput {
 10674  	s.ClientToken = &v
 10675  	return s
 10676  }
 10677  
 10678  type EnableOrganizationAdminAccountOutput struct {
 10679  	_ struct{} `type:"structure" nopayload:"true"`
 10680  }
 10681  
 10682  // String returns the string representation.
 10683  //
 10684  // API parameter values that are decorated as "sensitive" in the API will not
 10685  // be included in the string output. The member name will be present, but the
 10686  // value will be replaced with "sensitive".
 10687  func (s EnableOrganizationAdminAccountOutput) String() string {
 10688  	return awsutil.Prettify(s)
 10689  }
 10690  
 10691  // GoString returns the string representation.
 10692  //
 10693  // API parameter values that are decorated as "sensitive" in the API will not
 10694  // be included in the string output. The member name will be present, but the
 10695  // value will be replaced with "sensitive".
 10696  func (s EnableOrganizationAdminAccountOutput) GoString() string {
 10697  	return s.String()
 10698  }
 10699  
 10700  // Provides information about an identity that performed an action on an affected
 10701  // resource by using temporary security credentials. The credentials were obtained
 10702  // using the GetFederationToken operation of the Security Token Service (STS)
 10703  // API.
 10704  type FederatedUser struct {
 10705  	_ struct{} `type:"structure"`
 10706  
 10707  	AccessKeyId *string `locationName:"accessKeyId" type:"string"`
 10708  
 10709  	AccountId *string `locationName:"accountId" type:"string"`
 10710  
 10711  	Arn *string `locationName:"arn" type:"string"`
 10712  
 10713  	PrincipalId *string `locationName:"principalId" type:"string"`
 10714  
 10715  	// Provides information about a session that was created for an entity that
 10716  	// performed an action by using temporary security credentials.
 10717  	SessionContext *SessionContext `locationName:"sessionContext" type:"structure"`
 10718  }
 10719  
 10720  // String returns the string representation.
 10721  //
 10722  // API parameter values that are decorated as "sensitive" in the API will not
 10723  // be included in the string output. The member name will be present, but the
 10724  // value will be replaced with "sensitive".
 10725  func (s FederatedUser) String() string {
 10726  	return awsutil.Prettify(s)
 10727  }
 10728  
 10729  // GoString returns the string representation.
 10730  //
 10731  // API parameter values that are decorated as "sensitive" in the API will not
 10732  // be included in the string output. The member name will be present, but the
 10733  // value will be replaced with "sensitive".
 10734  func (s FederatedUser) GoString() string {
 10735  	return s.String()
 10736  }
 10737  
 10738  // SetAccessKeyId sets the AccessKeyId field's value.
 10739  func (s *FederatedUser) SetAccessKeyId(v string) *FederatedUser {
 10740  	s.AccessKeyId = &v
 10741  	return s
 10742  }
 10743  
 10744  // SetAccountId sets the AccountId field's value.
 10745  func (s *FederatedUser) SetAccountId(v string) *FederatedUser {
 10746  	s.AccountId = &v
 10747  	return s
 10748  }
 10749  
 10750  // SetArn sets the Arn field's value.
 10751  func (s *FederatedUser) SetArn(v string) *FederatedUser {
 10752  	s.Arn = &v
 10753  	return s
 10754  }
 10755  
 10756  // SetPrincipalId sets the PrincipalId field's value.
 10757  func (s *FederatedUser) SetPrincipalId(v string) *FederatedUser {
 10758  	s.PrincipalId = &v
 10759  	return s
 10760  }
 10761  
 10762  // SetSessionContext sets the SessionContext field's value.
 10763  func (s *FederatedUser) SetSessionContext(v *SessionContext) *FederatedUser {
 10764  	s.SessionContext = v
 10765  	return s
 10766  }
 10767  
 10768  // Provides the details of a finding.
 10769  type Finding struct {
 10770  	_ struct{} `type:"structure"`
 10771  
 10772  	AccountId *string `locationName:"accountId" type:"string"`
 10773  
 10774  	Archived *bool `locationName:"archived" type:"boolean"`
 10775  
 10776  	// The category of the finding. Valid values are:
 10777  	Category *string `locationName:"category" type:"string" enum:"FindingCategory"`
 10778  
 10779  	// Provides information about a sensitive data finding, including the classification
 10780  	// job that produced the finding.
 10781  	ClassificationDetails *ClassificationDetails `locationName:"classificationDetails" type:"structure"`
 10782  
 10783  	Count *int64 `locationName:"count" type:"long"`
 10784  
 10785  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
 10786  
 10787  	Description *string `locationName:"description" type:"string"`
 10788  
 10789  	Id *string `locationName:"id" type:"string"`
 10790  
 10791  	Partition *string `locationName:"partition" type:"string"`
 10792  
 10793  	// Provides the details of a policy finding.
 10794  	PolicyDetails *PolicyDetails `locationName:"policyDetails" type:"structure"`
 10795  
 10796  	Region *string `locationName:"region" type:"string"`
 10797  
 10798  	// Provides information about the resources that a finding applies to.
 10799  	ResourcesAffected *ResourcesAffected `locationName:"resourcesAffected" type:"structure"`
 10800  
 10801  	Sample *bool `locationName:"sample" type:"boolean"`
 10802  
 10803  	SchemaVersion *string `locationName:"schemaVersion" type:"string"`
 10804  
 10805  	// Provides the numerical and qualitative representations of a finding's severity.
 10806  	Severity *Severity `locationName:"severity" type:"structure"`
 10807  
 10808  	Title *string `locationName:"title" type:"string"`
 10809  
 10810  	// The type of finding. For details about each type, see Types of Amazon Macie
 10811  	// findings (https://docs.aws.amazon.com/macie/latest/user/findings-types.html)
 10812  	// in the Amazon Macie User Guide. Valid values are:
 10813  	Type *string `locationName:"type" type:"string" enum:"FindingType"`
 10814  
 10815  	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
 10816  }
 10817  
 10818  // String returns the string representation.
 10819  //
 10820  // API parameter values that are decorated as "sensitive" in the API will not
 10821  // be included in the string output. The member name will be present, but the
 10822  // value will be replaced with "sensitive".
 10823  func (s Finding) String() string {
 10824  	return awsutil.Prettify(s)
 10825  }
 10826  
 10827  // GoString returns the string representation.
 10828  //
 10829  // API parameter values that are decorated as "sensitive" in the API will not
 10830  // be included in the string output. The member name will be present, but the
 10831  // value will be replaced with "sensitive".
 10832  func (s Finding) GoString() string {
 10833  	return s.String()
 10834  }
 10835  
 10836  // SetAccountId sets the AccountId field's value.
 10837  func (s *Finding) SetAccountId(v string) *Finding {
 10838  	s.AccountId = &v
 10839  	return s
 10840  }
 10841  
 10842  // SetArchived sets the Archived field's value.
 10843  func (s *Finding) SetArchived(v bool) *Finding {
 10844  	s.Archived = &v
 10845  	return s
 10846  }
 10847  
 10848  // SetCategory sets the Category field's value.
 10849  func (s *Finding) SetCategory(v string) *Finding {
 10850  	s.Category = &v
 10851  	return s
 10852  }
 10853  
 10854  // SetClassificationDetails sets the ClassificationDetails field's value.
 10855  func (s *Finding) SetClassificationDetails(v *ClassificationDetails) *Finding {
 10856  	s.ClassificationDetails = v
 10857  	return s
 10858  }
 10859  
 10860  // SetCount sets the Count field's value.
 10861  func (s *Finding) SetCount(v int64) *Finding {
 10862  	s.Count = &v
 10863  	return s
 10864  }
 10865  
 10866  // SetCreatedAt sets the CreatedAt field's value.
 10867  func (s *Finding) SetCreatedAt(v time.Time) *Finding {
 10868  	s.CreatedAt = &v
 10869  	return s
 10870  }
 10871  
 10872  // SetDescription sets the Description field's value.
 10873  func (s *Finding) SetDescription(v string) *Finding {
 10874  	s.Description = &v
 10875  	return s
 10876  }
 10877  
 10878  // SetId sets the Id field's value.
 10879  func (s *Finding) SetId(v string) *Finding {
 10880  	s.Id = &v
 10881  	return s
 10882  }
 10883  
 10884  // SetPartition sets the Partition field's value.
 10885  func (s *Finding) SetPartition(v string) *Finding {
 10886  	s.Partition = &v
 10887  	return s
 10888  }
 10889  
 10890  // SetPolicyDetails sets the PolicyDetails field's value.
 10891  func (s *Finding) SetPolicyDetails(v *PolicyDetails) *Finding {
 10892  	s.PolicyDetails = v
 10893  	return s
 10894  }
 10895  
 10896  // SetRegion sets the Region field's value.
 10897  func (s *Finding) SetRegion(v string) *Finding {
 10898  	s.Region = &v
 10899  	return s
 10900  }
 10901  
 10902  // SetResourcesAffected sets the ResourcesAffected field's value.
 10903  func (s *Finding) SetResourcesAffected(v *ResourcesAffected) *Finding {
 10904  	s.ResourcesAffected = v
 10905  	return s
 10906  }
 10907  
 10908  // SetSample sets the Sample field's value.
 10909  func (s *Finding) SetSample(v bool) *Finding {
 10910  	s.Sample = &v
 10911  	return s
 10912  }
 10913  
 10914  // SetSchemaVersion sets the SchemaVersion field's value.
 10915  func (s *Finding) SetSchemaVersion(v string) *Finding {
 10916  	s.SchemaVersion = &v
 10917  	return s
 10918  }
 10919  
 10920  // SetSeverity sets the Severity field's value.
 10921  func (s *Finding) SetSeverity(v *Severity) *Finding {
 10922  	s.Severity = v
 10923  	return s
 10924  }
 10925  
 10926  // SetTitle sets the Title field's value.
 10927  func (s *Finding) SetTitle(v string) *Finding {
 10928  	s.Title = &v
 10929  	return s
 10930  }
 10931  
 10932  // SetType sets the Type field's value.
 10933  func (s *Finding) SetType(v string) *Finding {
 10934  	s.Type = &v
 10935  	return s
 10936  }
 10937  
 10938  // SetUpdatedAt sets the UpdatedAt field's value.
 10939  func (s *Finding) SetUpdatedAt(v time.Time) *Finding {
 10940  	s.UpdatedAt = &v
 10941  	return s
 10942  }
 10943  
 10944  // Provides information about an action that occurred for a resource and produced
 10945  // a policy finding.
 10946  type FindingAction struct {
 10947  	_ struct{} `type:"structure"`
 10948  
 10949  	// The type of action that occurred for the resource and produced the policy
 10950  	// finding:
 10951  	ActionType *string `locationName:"actionType" type:"string" enum:"FindingActionType"`
 10952  
 10953  	// Provides information about an API operation that an entity invoked for an
 10954  	// affected resource.
 10955  	ApiCallDetails *ApiCallDetails `locationName:"apiCallDetails" type:"structure"`
 10956  }
 10957  
 10958  // String returns the string representation.
 10959  //
 10960  // API parameter values that are decorated as "sensitive" in the API will not
 10961  // be included in the string output. The member name will be present, but the
 10962  // value will be replaced with "sensitive".
 10963  func (s FindingAction) String() string {
 10964  	return awsutil.Prettify(s)
 10965  }
 10966  
 10967  // GoString returns the string representation.
 10968  //
 10969  // API parameter values that are decorated as "sensitive" in the API will not
 10970  // be included in the string output. The member name will be present, but the
 10971  // value will be replaced with "sensitive".
 10972  func (s FindingAction) GoString() string {
 10973  	return s.String()
 10974  }
 10975  
 10976  // SetActionType sets the ActionType field's value.
 10977  func (s *FindingAction) SetActionType(v string) *FindingAction {
 10978  	s.ActionType = &v
 10979  	return s
 10980  }
 10981  
 10982  // SetApiCallDetails sets the ApiCallDetails field's value.
 10983  func (s *FindingAction) SetApiCallDetails(v *ApiCallDetails) *FindingAction {
 10984  	s.ApiCallDetails = v
 10985  	return s
 10986  }
 10987  
 10988  // Provides information about an entity that performed an action that produced
 10989  // a policy finding for a resource.
 10990  type FindingActor struct {
 10991  	_ struct{} `type:"structure"`
 10992  
 10993  	// Provides information about the domain name of the device that an entity used
 10994  	// to perform an action on an affected resource.
 10995  	DomainDetails *DomainDetails `locationName:"domainDetails" type:"structure"`
 10996  
 10997  	// Provides information about the IP address of the device that an entity used
 10998  	// to perform an action on an affected resource.
 10999  	IpAddressDetails *IpAddressDetails `locationName:"ipAddressDetails" type:"structure"`
 11000  
 11001  	// Provides information about the type and other characteristics of an entity
 11002  	// that performed an action on an affected resource.
 11003  	UserIdentity *UserIdentity `locationName:"userIdentity" type:"structure"`
 11004  }
 11005  
 11006  // String returns the string representation.
 11007  //
 11008  // API parameter values that are decorated as "sensitive" in the API will not
 11009  // be included in the string output. The member name will be present, but the
 11010  // value will be replaced with "sensitive".
 11011  func (s FindingActor) String() string {
 11012  	return awsutil.Prettify(s)
 11013  }
 11014  
 11015  // GoString returns the string representation.
 11016  //
 11017  // API parameter values that are decorated as "sensitive" in the API will not
 11018  // be included in the string output. The member name will be present, but the
 11019  // value will be replaced with "sensitive".
 11020  func (s FindingActor) GoString() string {
 11021  	return s.String()
 11022  }
 11023  
 11024  // SetDomainDetails sets the DomainDetails field's value.
 11025  func (s *FindingActor) SetDomainDetails(v *DomainDetails) *FindingActor {
 11026  	s.DomainDetails = v
 11027  	return s
 11028  }
 11029  
 11030  // SetIpAddressDetails sets the IpAddressDetails field's value.
 11031  func (s *FindingActor) SetIpAddressDetails(v *IpAddressDetails) *FindingActor {
 11032  	s.IpAddressDetails = v
 11033  	return s
 11034  }
 11035  
 11036  // SetUserIdentity sets the UserIdentity field's value.
 11037  func (s *FindingActor) SetUserIdentity(v *UserIdentity) *FindingActor {
 11038  	s.UserIdentity = v
 11039  	return s
 11040  }
 11041  
 11042  // Specifies, as a map, one or more property-based conditions that filter the
 11043  // results of a query for findings.
 11044  type FindingCriteria struct {
 11045  	_ struct{} `type:"structure"`
 11046  
 11047  	// Specifies a condition that defines a property, operator, and one or more
 11048  	// values to filter the results of a query for findings. The number of values
 11049  	// depends on the property and operator specified by the condition. For information
 11050  	// about defining filter conditions, see Fundamentals of filtering findings
 11051  	// (https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html)
 11052  	// in the Amazon Macie User Guide.
 11053  	Criterion map[string]*CriterionAdditionalProperties `locationName:"criterion" type:"map"`
 11054  }
 11055  
 11056  // String returns the string representation.
 11057  //
 11058  // API parameter values that are decorated as "sensitive" in the API will not
 11059  // be included in the string output. The member name will be present, but the
 11060  // value will be replaced with "sensitive".
 11061  func (s FindingCriteria) String() string {
 11062  	return awsutil.Prettify(s)
 11063  }
 11064  
 11065  // GoString returns the string representation.
 11066  //
 11067  // API parameter values that are decorated as "sensitive" in the API will not
 11068  // be included in the string output. The member name will be present, but the
 11069  // value will be replaced with "sensitive".
 11070  func (s FindingCriteria) GoString() string {
 11071  	return s.String()
 11072  }
 11073  
 11074  // SetCriterion sets the Criterion field's value.
 11075  func (s *FindingCriteria) SetCriterion(v map[string]*CriterionAdditionalProperties) *FindingCriteria {
 11076  	s.Criterion = v
 11077  	return s
 11078  }
 11079  
 11080  // Specifies criteria for sorting the results of a query that retrieves aggregated
 11081  // statistical data about findings.
 11082  type FindingStatisticsSortCriteria struct {
 11083  	_ struct{} `type:"structure"`
 11084  
 11085  	// The grouping to sort the results by. Valid values are:
 11086  	AttributeName *string `locationName:"attributeName" type:"string" enum:"FindingStatisticsSortAttributeName"`
 11087  
 11088  	OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
 11089  }
 11090  
 11091  // String returns the string representation.
 11092  //
 11093  // API parameter values that are decorated as "sensitive" in the API will not
 11094  // be included in the string output. The member name will be present, but the
 11095  // value will be replaced with "sensitive".
 11096  func (s FindingStatisticsSortCriteria) String() string {
 11097  	return awsutil.Prettify(s)
 11098  }
 11099  
 11100  // GoString returns the string representation.
 11101  //
 11102  // API parameter values that are decorated as "sensitive" in the API will not
 11103  // be included in the string output. The member name will be present, but the
 11104  // value will be replaced with "sensitive".
 11105  func (s FindingStatisticsSortCriteria) GoString() string {
 11106  	return s.String()
 11107  }
 11108  
 11109  // SetAttributeName sets the AttributeName field's value.
 11110  func (s *FindingStatisticsSortCriteria) SetAttributeName(v string) *FindingStatisticsSortCriteria {
 11111  	s.AttributeName = &v
 11112  	return s
 11113  }
 11114  
 11115  // SetOrderBy sets the OrderBy field's value.
 11116  func (s *FindingStatisticsSortCriteria) SetOrderBy(v string) *FindingStatisticsSortCriteria {
 11117  	s.OrderBy = &v
 11118  	return s
 11119  }
 11120  
 11121  // Provides information about a findings filter.
 11122  type FindingsFilterListItem struct {
 11123  	_ struct{} `type:"structure"`
 11124  
 11125  	// The action to perform on findings that meet the filter criteria. To suppress
 11126  	// (automatically archive) findings that meet the criteria, set this value to
 11127  	// ARCHIVE. Valid values are:
 11128  	Action *string `locationName:"action" type:"string" enum:"FindingsFilterAction"`
 11129  
 11130  	Arn *string `locationName:"arn" type:"string"`
 11131  
 11132  	Id *string `locationName:"id" type:"string"`
 11133  
 11134  	Name *string `locationName:"name" type:"string"`
 11135  
 11136  	// A string-to-string map of key-value pairs that specifies the tags (keys and
 11137  	// values) for a classification job, custom data identifier, findings filter,
 11138  	// or member account.
 11139  	Tags map[string]*string `locationName:"tags" type:"map"`
 11140  }
 11141  
 11142  // String returns the string representation.
 11143  //
 11144  // API parameter values that are decorated as "sensitive" in the API will not
 11145  // be included in the string output. The member name will be present, but the
 11146  // value will be replaced with "sensitive".
 11147  func (s FindingsFilterListItem) String() string {
 11148  	return awsutil.Prettify(s)
 11149  }
 11150  
 11151  // GoString returns the string representation.
 11152  //
 11153  // API parameter values that are decorated as "sensitive" in the API will not
 11154  // be included in the string output. The member name will be present, but the
 11155  // value will be replaced with "sensitive".
 11156  func (s FindingsFilterListItem) GoString() string {
 11157  	return s.String()
 11158  }
 11159  
 11160  // SetAction sets the Action field's value.
 11161  func (s *FindingsFilterListItem) SetAction(v string) *FindingsFilterListItem {
 11162  	s.Action = &v
 11163  	return s
 11164  }
 11165  
 11166  // SetArn sets the Arn field's value.
 11167  func (s *FindingsFilterListItem) SetArn(v string) *FindingsFilterListItem {
 11168  	s.Arn = &v
 11169  	return s
 11170  }
 11171  
 11172  // SetId sets the Id field's value.
 11173  func (s *FindingsFilterListItem) SetId(v string) *FindingsFilterListItem {
 11174  	s.Id = &v
 11175  	return s
 11176  }
 11177  
 11178  // SetName sets the Name field's value.
 11179  func (s *FindingsFilterListItem) SetName(v string) *FindingsFilterListItem {
 11180  	s.Name = &v
 11181  	return s
 11182  }
 11183  
 11184  // SetTags sets the Tags field's value.
 11185  func (s *FindingsFilterListItem) SetTags(v map[string]*string) *FindingsFilterListItem {
 11186  	s.Tags = v
 11187  	return s
 11188  }
 11189  
 11190  type GetAdministratorAccountInput struct {
 11191  	_ struct{} `type:"structure" nopayload:"true"`
 11192  }
 11193  
 11194  // String returns the string representation.
 11195  //
 11196  // API parameter values that are decorated as "sensitive" in the API will not
 11197  // be included in the string output. The member name will be present, but the
 11198  // value will be replaced with "sensitive".
 11199  func (s GetAdministratorAccountInput) String() string {
 11200  	return awsutil.Prettify(s)
 11201  }
 11202  
 11203  // GoString returns the string representation.
 11204  //
 11205  // API parameter values that are decorated as "sensitive" in the API will not
 11206  // be included in the string output. The member name will be present, but the
 11207  // value will be replaced with "sensitive".
 11208  func (s GetAdministratorAccountInput) GoString() string {
 11209  	return s.String()
 11210  }
 11211  
 11212  // Provides information about the Amazon Macie administrator account for an
 11213  // account. If the accounts are associated by a Macie membership invitation,
 11214  // the response also provides information about that invitation.
 11215  type GetAdministratorAccountOutput struct {
 11216  	_ struct{} `type:"structure"`
 11217  
 11218  	// Provides information about an Amazon Macie membership invitation that was
 11219  	// received by an account.
 11220  	Administrator *Invitation `locationName:"administrator" type:"structure"`
 11221  }
 11222  
 11223  // String returns the string representation.
 11224  //
 11225  // API parameter values that are decorated as "sensitive" in the API will not
 11226  // be included in the string output. The member name will be present, but the
 11227  // value will be replaced with "sensitive".
 11228  func (s GetAdministratorAccountOutput) String() string {
 11229  	return awsutil.Prettify(s)
 11230  }
 11231  
 11232  // GoString returns the string representation.
 11233  //
 11234  // API parameter values that are decorated as "sensitive" in the API will not
 11235  // be included in the string output. The member name will be present, but the
 11236  // value will be replaced with "sensitive".
 11237  func (s GetAdministratorAccountOutput) GoString() string {
 11238  	return s.String()
 11239  }
 11240  
 11241  // SetAdministrator sets the Administrator field's value.
 11242  func (s *GetAdministratorAccountOutput) SetAdministrator(v *Invitation) *GetAdministratorAccountOutput {
 11243  	s.Administrator = v
 11244  	return s
 11245  }
 11246  
 11247  // Specifies the account that owns the S3 buckets to retrieve aggregated statistical
 11248  // data for.
 11249  type GetBucketStatisticsInput struct {
 11250  	_ struct{} `type:"structure"`
 11251  
 11252  	AccountId *string `locationName:"accountId" type:"string"`
 11253  }
 11254  
 11255  // String returns the string representation.
 11256  //
 11257  // API parameter values that are decorated as "sensitive" in the API will not
 11258  // be included in the string output. The member name will be present, but the
 11259  // value will be replaced with "sensitive".
 11260  func (s GetBucketStatisticsInput) String() string {
 11261  	return awsutil.Prettify(s)
 11262  }
 11263  
 11264  // GoString returns the string representation.
 11265  //
 11266  // API parameter values that are decorated as "sensitive" in the API will not
 11267  // be included in the string output. The member name will be present, but the
 11268  // value will be replaced with "sensitive".
 11269  func (s GetBucketStatisticsInput) GoString() string {
 11270  	return s.String()
 11271  }
 11272  
 11273  // SetAccountId sets the AccountId field's value.
 11274  func (s *GetBucketStatisticsInput) SetAccountId(v string) *GetBucketStatisticsInput {
 11275  	s.AccountId = &v
 11276  	return s
 11277  }
 11278  
 11279  // Provides the results of a query that retrieved aggregated statistical data
 11280  // for all the S3 buckets that Amazon Macie monitors and analyzes for your account.
 11281  type GetBucketStatisticsOutput struct {
 11282  	_ struct{} `type:"structure"`
 11283  
 11284  	BucketCount *int64 `locationName:"bucketCount" type:"long"`
 11285  
 11286  	// Provides information about the number of S3 buckets that are publicly accessible
 11287  	// based on a combination of permissions settings for each bucket.
 11288  	BucketCountByEffectivePermission *BucketCountByEffectivePermission `locationName:"bucketCountByEffectivePermission" type:"structure"`
 11289  
 11290  	// Provides information about the number of S3 buckets that use certain types
 11291  	// of server-side encryption by default or don't encrypt new objects by default.
 11292  	// For detailed information about these settings, see Setting default server-side
 11293  	// encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html)
 11294  	// in the Amazon Simple Storage Service User Guide.
 11295  	BucketCountByEncryptionType *BucketCountByEncryptionType `locationName:"bucketCountByEncryptionType" type:"structure"`
 11296  
 11297  	// Provides information about the number of S3 buckets whose bucket policies
 11298  	// do or don't require server-side encryption of objects when objects are uploaded
 11299  	// to the buckets.
 11300  	BucketCountByObjectEncryptionRequirement *BucketCountPolicyAllowsUnencryptedObjectUploads `locationName:"bucketCountByObjectEncryptionRequirement" type:"structure"`
 11301  
 11302  	// Provides information about the number of S3 buckets that are or aren't shared
 11303  	// with other Amazon Web Services accounts.
 11304  	BucketCountBySharedAccessType *BucketCountBySharedAccessType `locationName:"bucketCountBySharedAccessType" type:"structure"`
 11305  
 11306  	ClassifiableObjectCount *int64 `locationName:"classifiableObjectCount" type:"long"`
 11307  
 11308  	ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"`
 11309  
 11310  	LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"iso8601"`
 11311  
 11312  	ObjectCount *int64 `locationName:"objectCount" type:"long"`
 11313  
 11314  	SizeInBytes *int64 `locationName:"sizeInBytes" type:"long"`
 11315  
 11316  	SizeInBytesCompressed *int64 `locationName:"sizeInBytesCompressed" type:"long"`
 11317  
 11318  	// Provides information about the total storage size (in bytes) or number of
 11319  	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
 11320  	// or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse
 11321  	// object, this data is aggregated for the buckets in the query results. If
 11322  	// versioning is enabled for a bucket, total storage size values are based on
 11323  	// the size of the latest version of each applicable object in the bucket.
 11324  	UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"`
 11325  
 11326  	// Provides information about the total storage size (in bytes) or number of
 11327  	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
 11328  	// or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse
 11329  	// object, this data is aggregated for the buckets in the query results. If
 11330  	// versioning is enabled for a bucket, total storage size values are based on
 11331  	// the size of the latest version of each applicable object in the bucket.
 11332  	UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"`
 11333  }
 11334  
 11335  // String returns the string representation.
 11336  //
 11337  // API parameter values that are decorated as "sensitive" in the API will not
 11338  // be included in the string output. The member name will be present, but the
 11339  // value will be replaced with "sensitive".
 11340  func (s GetBucketStatisticsOutput) String() string {
 11341  	return awsutil.Prettify(s)
 11342  }
 11343  
 11344  // GoString returns the string representation.
 11345  //
 11346  // API parameter values that are decorated as "sensitive" in the API will not
 11347  // be included in the string output. The member name will be present, but the
 11348  // value will be replaced with "sensitive".
 11349  func (s GetBucketStatisticsOutput) GoString() string {
 11350  	return s.String()
 11351  }
 11352  
 11353  // SetBucketCount sets the BucketCount field's value.
 11354  func (s *GetBucketStatisticsOutput) SetBucketCount(v int64) *GetBucketStatisticsOutput {
 11355  	s.BucketCount = &v
 11356  	return s
 11357  }
 11358  
 11359  // SetBucketCountByEffectivePermission sets the BucketCountByEffectivePermission field's value.
 11360  func (s *GetBucketStatisticsOutput) SetBucketCountByEffectivePermission(v *BucketCountByEffectivePermission) *GetBucketStatisticsOutput {
 11361  	s.BucketCountByEffectivePermission = v
 11362  	return s
 11363  }
 11364  
 11365  // SetBucketCountByEncryptionType sets the BucketCountByEncryptionType field's value.
 11366  func (s *GetBucketStatisticsOutput) SetBucketCountByEncryptionType(v *BucketCountByEncryptionType) *GetBucketStatisticsOutput {
 11367  	s.BucketCountByEncryptionType = v
 11368  	return s
 11369  }
 11370  
 11371  // SetBucketCountByObjectEncryptionRequirement sets the BucketCountByObjectEncryptionRequirement field's value.
 11372  func (s *GetBucketStatisticsOutput) SetBucketCountByObjectEncryptionRequirement(v *BucketCountPolicyAllowsUnencryptedObjectUploads) *GetBucketStatisticsOutput {
 11373  	s.BucketCountByObjectEncryptionRequirement = v
 11374  	return s
 11375  }
 11376  
 11377  // SetBucketCountBySharedAccessType sets the BucketCountBySharedAccessType field's value.
 11378  func (s *GetBucketStatisticsOutput) SetBucketCountBySharedAccessType(v *BucketCountBySharedAccessType) *GetBucketStatisticsOutput {
 11379  	s.BucketCountBySharedAccessType = v
 11380  	return s
 11381  }
 11382  
 11383  // SetClassifiableObjectCount sets the ClassifiableObjectCount field's value.
 11384  func (s *GetBucketStatisticsOutput) SetClassifiableObjectCount(v int64) *GetBucketStatisticsOutput {
 11385  	s.ClassifiableObjectCount = &v
 11386  	return s
 11387  }
 11388  
 11389  // SetClassifiableSizeInBytes sets the ClassifiableSizeInBytes field's value.
 11390  func (s *GetBucketStatisticsOutput) SetClassifiableSizeInBytes(v int64) *GetBucketStatisticsOutput {
 11391  	s.ClassifiableSizeInBytes = &v
 11392  	return s
 11393  }
 11394  
 11395  // SetLastUpdated sets the LastUpdated field's value.
 11396  func (s *GetBucketStatisticsOutput) SetLastUpdated(v time.Time) *GetBucketStatisticsOutput {
 11397  	s.LastUpdated = &v
 11398  	return s
 11399  }
 11400  
 11401  // SetObjectCount sets the ObjectCount field's value.
 11402  func (s *GetBucketStatisticsOutput) SetObjectCount(v int64) *GetBucketStatisticsOutput {
 11403  	s.ObjectCount = &v
 11404  	return s
 11405  }
 11406  
 11407  // SetSizeInBytes sets the SizeInBytes field's value.
 11408  func (s *GetBucketStatisticsOutput) SetSizeInBytes(v int64) *GetBucketStatisticsOutput {
 11409  	s.SizeInBytes = &v
 11410  	return s
 11411  }
 11412  
 11413  // SetSizeInBytesCompressed sets the SizeInBytesCompressed field's value.
 11414  func (s *GetBucketStatisticsOutput) SetSizeInBytesCompressed(v int64) *GetBucketStatisticsOutput {
 11415  	s.SizeInBytesCompressed = &v
 11416  	return s
 11417  }
 11418  
 11419  // SetUnclassifiableObjectCount sets the UnclassifiableObjectCount field's value.
 11420  func (s *GetBucketStatisticsOutput) SetUnclassifiableObjectCount(v *ObjectLevelStatistics) *GetBucketStatisticsOutput {
 11421  	s.UnclassifiableObjectCount = v
 11422  	return s
 11423  }
 11424  
 11425  // SetUnclassifiableObjectSizeInBytes sets the UnclassifiableObjectSizeInBytes field's value.
 11426  func (s *GetBucketStatisticsOutput) SetUnclassifiableObjectSizeInBytes(v *ObjectLevelStatistics) *GetBucketStatisticsOutput {
 11427  	s.UnclassifiableObjectSizeInBytes = v
 11428  	return s
 11429  }
 11430  
 11431  type GetClassificationExportConfigurationInput struct {
 11432  	_ struct{} `type:"structure" nopayload:"true"`
 11433  }
 11434  
 11435  // String returns the string representation.
 11436  //
 11437  // API parameter values that are decorated as "sensitive" in the API will not
 11438  // be included in the string output. The member name will be present, but the
 11439  // value will be replaced with "sensitive".
 11440  func (s GetClassificationExportConfigurationInput) String() string {
 11441  	return awsutil.Prettify(s)
 11442  }
 11443  
 11444  // GoString returns the string representation.
 11445  //
 11446  // API parameter values that are decorated as "sensitive" in the API will not
 11447  // be included in the string output. The member name will be present, but the
 11448  // value will be replaced with "sensitive".
 11449  func (s GetClassificationExportConfigurationInput) GoString() string {
 11450  	return s.String()
 11451  }
 11452  
 11453  // Provides information about the current configuration settings for storing
 11454  // data classification results.
 11455  type GetClassificationExportConfigurationOutput struct {
 11456  	_ struct{} `type:"structure"`
 11457  
 11458  	// Specifies where to store data classification results, and the encryption
 11459  	// settings to use when storing results in that location. Currently, you can
 11460  	// store classification results only in an S3 bucket.
 11461  	Configuration *ClassificationExportConfiguration `locationName:"configuration" type:"structure"`
 11462  }
 11463  
 11464  // String returns the string representation.
 11465  //
 11466  // API parameter values that are decorated as "sensitive" in the API will not
 11467  // be included in the string output. The member name will be present, but the
 11468  // value will be replaced with "sensitive".
 11469  func (s GetClassificationExportConfigurationOutput) String() string {
 11470  	return awsutil.Prettify(s)
 11471  }
 11472  
 11473  // GoString returns the string representation.
 11474  //
 11475  // API parameter values that are decorated as "sensitive" in the API will not
 11476  // be included in the string output. The member name will be present, but the
 11477  // value will be replaced with "sensitive".
 11478  func (s GetClassificationExportConfigurationOutput) GoString() string {
 11479  	return s.String()
 11480  }
 11481  
 11482  // SetConfiguration sets the Configuration field's value.
 11483  func (s *GetClassificationExportConfigurationOutput) SetConfiguration(v *ClassificationExportConfiguration) *GetClassificationExportConfigurationOutput {
 11484  	s.Configuration = v
 11485  	return s
 11486  }
 11487  
 11488  type GetCustomDataIdentifierInput struct {
 11489  	_ struct{} `type:"structure" nopayload:"true"`
 11490  
 11491  	// Id is a required field
 11492  	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
 11493  }
 11494  
 11495  // String returns the string representation.
 11496  //
 11497  // API parameter values that are decorated as "sensitive" in the API will not
 11498  // be included in the string output. The member name will be present, but the
 11499  // value will be replaced with "sensitive".
 11500  func (s GetCustomDataIdentifierInput) String() string {
 11501  	return awsutil.Prettify(s)
 11502  }
 11503  
 11504  // GoString returns the string representation.
 11505  //
 11506  // API parameter values that are decorated as "sensitive" in the API will not
 11507  // be included in the string output. The member name will be present, but the
 11508  // value will be replaced with "sensitive".
 11509  func (s GetCustomDataIdentifierInput) GoString() string {
 11510  	return s.String()
 11511  }
 11512  
 11513  // Validate inspects the fields of the type to determine if they are valid.
 11514  func (s *GetCustomDataIdentifierInput) Validate() error {
 11515  	invalidParams := request.ErrInvalidParams{Context: "GetCustomDataIdentifierInput"}
 11516  	if s.Id == nil {
 11517  		invalidParams.Add(request.NewErrParamRequired("Id"))
 11518  	}
 11519  	if s.Id != nil && len(*s.Id) < 1 {
 11520  		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
 11521  	}
 11522  
 11523  	if invalidParams.Len() > 0 {
 11524  		return invalidParams
 11525  	}
 11526  	return nil
 11527  }
 11528  
 11529  // SetId sets the Id field's value.
 11530  func (s *GetCustomDataIdentifierInput) SetId(v string) *GetCustomDataIdentifierInput {
 11531  	s.Id = &v
 11532  	return s
 11533  }
 11534  
 11535  // Provides information about the criteria and other settings for a custom data
 11536  // identifier.
 11537  type GetCustomDataIdentifierOutput struct {
 11538  	_ struct{} `type:"structure"`
 11539  
 11540  	Arn *string `locationName:"arn" type:"string"`
 11541  
 11542  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
 11543  
 11544  	Deleted *bool `locationName:"deleted" type:"boolean"`
 11545  
 11546  	Description *string `locationName:"description" type:"string"`
 11547  
 11548  	Id *string `locationName:"id" type:"string"`
 11549  
 11550  	IgnoreWords []*string `locationName:"ignoreWords" type:"list"`
 11551  
 11552  	Keywords []*string `locationName:"keywords" type:"list"`
 11553  
 11554  	MaximumMatchDistance *int64 `locationName:"maximumMatchDistance" type:"integer"`
 11555  
 11556  	Name *string `locationName:"name" type:"string"`
 11557  
 11558  	Regex *string `locationName:"regex" type:"string"`
 11559  
 11560  	// A string-to-string map of key-value pairs that specifies the tags (keys and
 11561  	// values) for a classification job, custom data identifier, findings filter,
 11562  	// or member account.
 11563  	Tags map[string]*string `locationName:"tags" type:"map"`
 11564  }
 11565  
 11566  // String returns the string representation.
 11567  //
 11568  // API parameter values that are decorated as "sensitive" in the API will not
 11569  // be included in the string output. The member name will be present, but the
 11570  // value will be replaced with "sensitive".
 11571  func (s GetCustomDataIdentifierOutput) String() string {
 11572  	return awsutil.Prettify(s)
 11573  }
 11574  
 11575  // GoString returns the string representation.
 11576  //
 11577  // API parameter values that are decorated as "sensitive" in the API will not
 11578  // be included in the string output. The member name will be present, but the
 11579  // value will be replaced with "sensitive".
 11580  func (s GetCustomDataIdentifierOutput) GoString() string {
 11581  	return s.String()
 11582  }
 11583  
 11584  // SetArn sets the Arn field's value.
 11585  func (s *GetCustomDataIdentifierOutput) SetArn(v string) *GetCustomDataIdentifierOutput {
 11586  	s.Arn = &v
 11587  	return s
 11588  }
 11589  
 11590  // SetCreatedAt sets the CreatedAt field's value.
 11591  func (s *GetCustomDataIdentifierOutput) SetCreatedAt(v time.Time) *GetCustomDataIdentifierOutput {
 11592  	s.CreatedAt = &v
 11593  	return s
 11594  }
 11595  
 11596  // SetDeleted sets the Deleted field's value.
 11597  func (s *GetCustomDataIdentifierOutput) SetDeleted(v bool) *GetCustomDataIdentifierOutput {
 11598  	s.Deleted = &v
 11599  	return s
 11600  }
 11601  
 11602  // SetDescription sets the Description field's value.
 11603  func (s *GetCustomDataIdentifierOutput) SetDescription(v string) *GetCustomDataIdentifierOutput {
 11604  	s.Description = &v
 11605  	return s
 11606  }
 11607  
 11608  // SetId sets the Id field's value.
 11609  func (s *GetCustomDataIdentifierOutput) SetId(v string) *GetCustomDataIdentifierOutput {
 11610  	s.Id = &v
 11611  	return s
 11612  }
 11613  
 11614  // SetIgnoreWords sets the IgnoreWords field's value.
 11615  func (s *GetCustomDataIdentifierOutput) SetIgnoreWords(v []*string) *GetCustomDataIdentifierOutput {
 11616  	s.IgnoreWords = v
 11617  	return s
 11618  }
 11619  
 11620  // SetKeywords sets the Keywords field's value.
 11621  func (s *GetCustomDataIdentifierOutput) SetKeywords(v []*string) *GetCustomDataIdentifierOutput {
 11622  	s.Keywords = v
 11623  	return s
 11624  }
 11625  
 11626  // SetMaximumMatchDistance sets the MaximumMatchDistance field's value.
 11627  func (s *GetCustomDataIdentifierOutput) SetMaximumMatchDistance(v int64) *GetCustomDataIdentifierOutput {
 11628  	s.MaximumMatchDistance = &v
 11629  	return s
 11630  }
 11631  
 11632  // SetName sets the Name field's value.
 11633  func (s *GetCustomDataIdentifierOutput) SetName(v string) *GetCustomDataIdentifierOutput {
 11634  	s.Name = &v
 11635  	return s
 11636  }
 11637  
 11638  // SetRegex sets the Regex field's value.
 11639  func (s *GetCustomDataIdentifierOutput) SetRegex(v string) *GetCustomDataIdentifierOutput {
 11640  	s.Regex = &v
 11641  	return s
 11642  }
 11643  
 11644  // SetTags sets the Tags field's value.
 11645  func (s *GetCustomDataIdentifierOutput) SetTags(v map[string]*string) *GetCustomDataIdentifierOutput {
 11646  	s.Tags = v
 11647  	return s
 11648  }
 11649  
 11650  // Specifies criteria for filtering, grouping, sorting, and paginating the results
 11651  // of a query that retrieves aggregated statistical data about findings.
 11652  type GetFindingStatisticsInput struct {
 11653  	_ struct{} `type:"structure"`
 11654  
 11655  	// Specifies, as a map, one or more property-based conditions that filter the
 11656  	// results of a query for findings.
 11657  	FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"`
 11658  
 11659  	// GroupBy is a required field
 11660  	GroupBy *string `locationName:"groupBy" type:"string" required:"true" enum:"GroupBy"`
 11661  
 11662  	Size *int64 `locationName:"size" type:"integer"`
 11663  
 11664  	// Specifies criteria for sorting the results of a query that retrieves aggregated
 11665  	// statistical data about findings.
 11666  	SortCriteria *FindingStatisticsSortCriteria `locationName:"sortCriteria" type:"structure"`
 11667  }
 11668  
 11669  // String returns the string representation.
 11670  //
 11671  // API parameter values that are decorated as "sensitive" in the API will not
 11672  // be included in the string output. The member name will be present, but the
 11673  // value will be replaced with "sensitive".
 11674  func (s GetFindingStatisticsInput) String() string {
 11675  	return awsutil.Prettify(s)
 11676  }
 11677  
 11678  // GoString returns the string representation.
 11679  //
 11680  // API parameter values that are decorated as "sensitive" in the API will not
 11681  // be included in the string output. The member name will be present, but the
 11682  // value will be replaced with "sensitive".
 11683  func (s GetFindingStatisticsInput) GoString() string {
 11684  	return s.String()
 11685  }
 11686  
 11687  // Validate inspects the fields of the type to determine if they are valid.
 11688  func (s *GetFindingStatisticsInput) Validate() error {
 11689  	invalidParams := request.ErrInvalidParams{Context: "GetFindingStatisticsInput"}
 11690  	if s.GroupBy == nil {
 11691  		invalidParams.Add(request.NewErrParamRequired("GroupBy"))
 11692  	}
 11693  
 11694  	if invalidParams.Len() > 0 {
 11695  		return invalidParams
 11696  	}
 11697  	return nil
 11698  }
 11699  
 11700  // SetFindingCriteria sets the FindingCriteria field's value.
 11701  func (s *GetFindingStatisticsInput) SetFindingCriteria(v *FindingCriteria) *GetFindingStatisticsInput {
 11702  	s.FindingCriteria = v
 11703  	return s
 11704  }
 11705  
 11706  // SetGroupBy sets the GroupBy field's value.
 11707  func (s *GetFindingStatisticsInput) SetGroupBy(v string) *GetFindingStatisticsInput {
 11708  	s.GroupBy = &v
 11709  	return s
 11710  }
 11711  
 11712  // SetSize sets the Size field's value.
 11713  func (s *GetFindingStatisticsInput) SetSize(v int64) *GetFindingStatisticsInput {
 11714  	s.Size = &v
 11715  	return s
 11716  }
 11717  
 11718  // SetSortCriteria sets the SortCriteria field's value.
 11719  func (s *GetFindingStatisticsInput) SetSortCriteria(v *FindingStatisticsSortCriteria) *GetFindingStatisticsInput {
 11720  	s.SortCriteria = v
 11721  	return s
 11722  }
 11723  
 11724  // Provides the results of a query that retrieved aggregated statistical data
 11725  // about findings.
 11726  type GetFindingStatisticsOutput struct {
 11727  	_ struct{} `type:"structure"`
 11728  
 11729  	CountsByGroup []*GroupCount `locationName:"countsByGroup" type:"list"`
 11730  }
 11731  
 11732  // String returns the string representation.
 11733  //
 11734  // API parameter values that are decorated as "sensitive" in the API will not
 11735  // be included in the string output. The member name will be present, but the
 11736  // value will be replaced with "sensitive".
 11737  func (s GetFindingStatisticsOutput) String() string {
 11738  	return awsutil.Prettify(s)
 11739  }
 11740  
 11741  // GoString returns the string representation.
 11742  //
 11743  // API parameter values that are decorated as "sensitive" in the API will not
 11744  // be included in the string output. The member name will be present, but the
 11745  // value will be replaced with "sensitive".
 11746  func (s GetFindingStatisticsOutput) GoString() string {
 11747  	return s.String()
 11748  }
 11749  
 11750  // SetCountsByGroup sets the CountsByGroup field's value.
 11751  func (s *GetFindingStatisticsOutput) SetCountsByGroup(v []*GroupCount) *GetFindingStatisticsOutput {
 11752  	s.CountsByGroup = v
 11753  	return s
 11754  }
 11755  
 11756  type GetFindingsFilterInput struct {
 11757  	_ struct{} `type:"structure" nopayload:"true"`
 11758  
 11759  	// Id is a required field
 11760  	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
 11761  }
 11762  
 11763  // String returns the string representation.
 11764  //
 11765  // API parameter values that are decorated as "sensitive" in the API will not
 11766  // be included in the string output. The member name will be present, but the
 11767  // value will be replaced with "sensitive".
 11768  func (s GetFindingsFilterInput) String() string {
 11769  	return awsutil.Prettify(s)
 11770  }
 11771  
 11772  // GoString returns the string representation.
 11773  //
 11774  // API parameter values that are decorated as "sensitive" in the API will not
 11775  // be included in the string output. The member name will be present, but the
 11776  // value will be replaced with "sensitive".
 11777  func (s GetFindingsFilterInput) GoString() string {
 11778  	return s.String()
 11779  }
 11780  
 11781  // Validate inspects the fields of the type to determine if they are valid.
 11782  func (s *GetFindingsFilterInput) Validate() error {
 11783  	invalidParams := request.ErrInvalidParams{Context: "GetFindingsFilterInput"}
 11784  	if s.Id == nil {
 11785  		invalidParams.Add(request.NewErrParamRequired("Id"))
 11786  	}
 11787  	if s.Id != nil && len(*s.Id) < 1 {
 11788  		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
 11789  	}
 11790  
 11791  	if invalidParams.Len() > 0 {
 11792  		return invalidParams
 11793  	}
 11794  	return nil
 11795  }
 11796  
 11797  // SetId sets the Id field's value.
 11798  func (s *GetFindingsFilterInput) SetId(v string) *GetFindingsFilterInput {
 11799  	s.Id = &v
 11800  	return s
 11801  }
 11802  
 11803  // Provides information about the criteria and other settings for a findings
 11804  // filter.
 11805  type GetFindingsFilterOutput struct {
 11806  	_ struct{} `type:"structure"`
 11807  
 11808  	// The action to perform on findings that meet the filter criteria. To suppress
 11809  	// (automatically archive) findings that meet the criteria, set this value to
 11810  	// ARCHIVE. Valid values are:
 11811  	Action *string `locationName:"action" type:"string" enum:"FindingsFilterAction"`
 11812  
 11813  	Arn *string `locationName:"arn" type:"string"`
 11814  
 11815  	Description *string `locationName:"description" type:"string"`
 11816  
 11817  	// Specifies, as a map, one or more property-based conditions that filter the
 11818  	// results of a query for findings.
 11819  	FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"`
 11820  
 11821  	Id *string `locationName:"id" type:"string"`
 11822  
 11823  	Name *string `locationName:"name" type:"string"`
 11824  
 11825  	Position *int64 `locationName:"position" type:"integer"`
 11826  
 11827  	// A string-to-string map of key-value pairs that specifies the tags (keys and
 11828  	// values) for a classification job, custom data identifier, findings filter,
 11829  	// or member account.
 11830  	Tags map[string]*string `locationName:"tags" type:"map"`
 11831  }
 11832  
 11833  // String returns the string representation.
 11834  //
 11835  // API parameter values that are decorated as "sensitive" in the API will not
 11836  // be included in the string output. The member name will be present, but the
 11837  // value will be replaced with "sensitive".
 11838  func (s GetFindingsFilterOutput) String() string {
 11839  	return awsutil.Prettify(s)
 11840  }
 11841  
 11842  // GoString returns the string representation.
 11843  //
 11844  // API parameter values that are decorated as "sensitive" in the API will not
 11845  // be included in the string output. The member name will be present, but the
 11846  // value will be replaced with "sensitive".
 11847  func (s GetFindingsFilterOutput) GoString() string {
 11848  	return s.String()
 11849  }
 11850  
 11851  // SetAction sets the Action field's value.
 11852  func (s *GetFindingsFilterOutput) SetAction(v string) *GetFindingsFilterOutput {
 11853  	s.Action = &v
 11854  	return s
 11855  }
 11856  
 11857  // SetArn sets the Arn field's value.
 11858  func (s *GetFindingsFilterOutput) SetArn(v string) *GetFindingsFilterOutput {
 11859  	s.Arn = &v
 11860  	return s
 11861  }
 11862  
 11863  // SetDescription sets the Description field's value.
 11864  func (s *GetFindingsFilterOutput) SetDescription(v string) *GetFindingsFilterOutput {
 11865  	s.Description = &v
 11866  	return s
 11867  }
 11868  
 11869  // SetFindingCriteria sets the FindingCriteria field's value.
 11870  func (s *GetFindingsFilterOutput) SetFindingCriteria(v *FindingCriteria) *GetFindingsFilterOutput {
 11871  	s.FindingCriteria = v
 11872  	return s
 11873  }
 11874  
 11875  // SetId sets the Id field's value.
 11876  func (s *GetFindingsFilterOutput) SetId(v string) *GetFindingsFilterOutput {
 11877  	s.Id = &v
 11878  	return s
 11879  }
 11880  
 11881  // SetName sets the Name field's value.
 11882  func (s *GetFindingsFilterOutput) SetName(v string) *GetFindingsFilterOutput {
 11883  	s.Name = &v
 11884  	return s
 11885  }
 11886  
 11887  // SetPosition sets the Position field's value.
 11888  func (s *GetFindingsFilterOutput) SetPosition(v int64) *GetFindingsFilterOutput {
 11889  	s.Position = &v
 11890  	return s
 11891  }
 11892  
 11893  // SetTags sets the Tags field's value.
 11894  func (s *GetFindingsFilterOutput) SetTags(v map[string]*string) *GetFindingsFilterOutput {
 11895  	s.Tags = v
 11896  	return s
 11897  }
 11898  
 11899  // Specifies one or more findings to retrieve.
 11900  type GetFindingsInput struct {
 11901  	_ struct{} `type:"structure"`
 11902  
 11903  	// FindingIds is a required field
 11904  	FindingIds []*string `locationName:"findingIds" type:"list" required:"true"`
 11905  
 11906  	// Specifies criteria for sorting the results of a request for findings.
 11907  	SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"`
 11908  }
 11909  
 11910  // String returns the string representation.
 11911  //
 11912  // API parameter values that are decorated as "sensitive" in the API will not
 11913  // be included in the string output. The member name will be present, but the
 11914  // value will be replaced with "sensitive".
 11915  func (s GetFindingsInput) String() string {
 11916  	return awsutil.Prettify(s)
 11917  }
 11918  
 11919  // GoString returns the string representation.
 11920  //
 11921  // API parameter values that are decorated as "sensitive" in the API will not
 11922  // be included in the string output. The member name will be present, but the
 11923  // value will be replaced with "sensitive".
 11924  func (s GetFindingsInput) GoString() string {
 11925  	return s.String()
 11926  }
 11927  
 11928  // Validate inspects the fields of the type to determine if they are valid.
 11929  func (s *GetFindingsInput) Validate() error {
 11930  	invalidParams := request.ErrInvalidParams{Context: "GetFindingsInput"}
 11931  	if s.FindingIds == nil {
 11932  		invalidParams.Add(request.NewErrParamRequired("FindingIds"))
 11933  	}
 11934  
 11935  	if invalidParams.Len() > 0 {
 11936  		return invalidParams
 11937  	}
 11938  	return nil
 11939  }
 11940  
 11941  // SetFindingIds sets the FindingIds field's value.
 11942  func (s *GetFindingsInput) SetFindingIds(v []*string) *GetFindingsInput {
 11943  	s.FindingIds = v
 11944  	return s
 11945  }
 11946  
 11947  // SetSortCriteria sets the SortCriteria field's value.
 11948  func (s *GetFindingsInput) SetSortCriteria(v *SortCriteria) *GetFindingsInput {
 11949  	s.SortCriteria = v
 11950  	return s
 11951  }
 11952  
 11953  // Provides the results of a request for one or more findings.
 11954  type GetFindingsOutput struct {
 11955  	_ struct{} `type:"structure"`
 11956  
 11957  	Findings []*Finding `locationName:"findings" type:"list"`
 11958  }
 11959  
 11960  // String returns the string representation.
 11961  //
 11962  // API parameter values that are decorated as "sensitive" in the API will not
 11963  // be included in the string output. The member name will be present, but the
 11964  // value will be replaced with "sensitive".
 11965  func (s GetFindingsOutput) String() string {
 11966  	return awsutil.Prettify(s)
 11967  }
 11968  
 11969  // GoString returns the string representation.
 11970  //
 11971  // API parameter values that are decorated as "sensitive" in the API will not
 11972  // be included in the string output. The member name will be present, but the
 11973  // value will be replaced with "sensitive".
 11974  func (s GetFindingsOutput) GoString() string {
 11975  	return s.String()
 11976  }
 11977  
 11978  // SetFindings sets the Findings field's value.
 11979  func (s *GetFindingsOutput) SetFindings(v []*Finding) *GetFindingsOutput {
 11980  	s.Findings = v
 11981  	return s
 11982  }
 11983  
 11984  type GetFindingsPublicationConfigurationInput struct {
 11985  	_ struct{} `type:"structure" nopayload:"true"`
 11986  }
 11987  
 11988  // String returns the string representation.
 11989  //
 11990  // API parameter values that are decorated as "sensitive" in the API will not
 11991  // be included in the string output. The member name will be present, but the
 11992  // value will be replaced with "sensitive".
 11993  func (s GetFindingsPublicationConfigurationInput) String() string {
 11994  	return awsutil.Prettify(s)
 11995  }
 11996  
 11997  // GoString returns the string representation.
 11998  //
 11999  // API parameter values that are decorated as "sensitive" in the API will not
 12000  // be included in the string output. The member name will be present, but the
 12001  // value will be replaced with "sensitive".
 12002  func (s GetFindingsPublicationConfigurationInput) GoString() string {
 12003  	return s.String()
 12004  }
 12005  
 12006  // Provides information about the current configuration settings for publishing
 12007  // findings to Security Hub automatically.
 12008  type GetFindingsPublicationConfigurationOutput struct {
 12009  	_ struct{} `type:"structure"`
 12010  
 12011  	// Specifies configuration settings that determine which findings are published
 12012  	// to Security Hub automatically. For information about how Macie publishes
 12013  	// findings to Security Hub, see Amazon Macie integration with Security Hub
 12014  	// (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html)
 12015  	// in the Amazon Macie User Guide.
 12016  	SecurityHubConfiguration *SecurityHubConfiguration `locationName:"securityHubConfiguration" type:"structure"`
 12017  }
 12018  
 12019  // String returns the string representation.
 12020  //
 12021  // API parameter values that are decorated as "sensitive" in the API will not
 12022  // be included in the string output. The member name will be present, but the
 12023  // value will be replaced with "sensitive".
 12024  func (s GetFindingsPublicationConfigurationOutput) String() string {
 12025  	return awsutil.Prettify(s)
 12026  }
 12027  
 12028  // GoString returns the string representation.
 12029  //
 12030  // API parameter values that are decorated as "sensitive" in the API will not
 12031  // be included in the string output. The member name will be present, but the
 12032  // value will be replaced with "sensitive".
 12033  func (s GetFindingsPublicationConfigurationOutput) GoString() string {
 12034  	return s.String()
 12035  }
 12036  
 12037  // SetSecurityHubConfiguration sets the SecurityHubConfiguration field's value.
 12038  func (s *GetFindingsPublicationConfigurationOutput) SetSecurityHubConfiguration(v *SecurityHubConfiguration) *GetFindingsPublicationConfigurationOutput {
 12039  	s.SecurityHubConfiguration = v
 12040  	return s
 12041  }
 12042  
 12043  type GetInvitationsCountInput struct {
 12044  	_ struct{} `type:"structure" nopayload:"true"`
 12045  }
 12046  
 12047  // String returns the string representation.
 12048  //
 12049  // API parameter values that are decorated as "sensitive" in the API will not
 12050  // be included in the string output. The member name will be present, but the
 12051  // value will be replaced with "sensitive".
 12052  func (s GetInvitationsCountInput) String() string {
 12053  	return awsutil.Prettify(s)
 12054  }
 12055  
 12056  // GoString returns the string representation.
 12057  //
 12058  // API parameter values that are decorated as "sensitive" in the API will not
 12059  // be included in the string output. The member name will be present, but the
 12060  // value will be replaced with "sensitive".
 12061  func (s GetInvitationsCountInput) GoString() string {
 12062  	return s.String()
 12063  }
 12064  
 12065  // Provides the count of all the Amazon Macie membership invitations that were
 12066  // received by an account, not including the currently accepted invitation.
 12067  type GetInvitationsCountOutput struct {
 12068  	_ struct{} `type:"structure"`
 12069  
 12070  	InvitationsCount *int64 `locationName:"invitationsCount" type:"long"`
 12071  }
 12072  
 12073  // String returns the string representation.
 12074  //
 12075  // API parameter values that are decorated as "sensitive" in the API will not
 12076  // be included in the string output. The member name will be present, but the
 12077  // value will be replaced with "sensitive".
 12078  func (s GetInvitationsCountOutput) String() string {
 12079  	return awsutil.Prettify(s)
 12080  }
 12081  
 12082  // GoString returns the string representation.
 12083  //
 12084  // API parameter values that are decorated as "sensitive" in the API will not
 12085  // be included in the string output. The member name will be present, but the
 12086  // value will be replaced with "sensitive".
 12087  func (s GetInvitationsCountOutput) GoString() string {
 12088  	return s.String()
 12089  }
 12090  
 12091  // SetInvitationsCount sets the InvitationsCount field's value.
 12092  func (s *GetInvitationsCountOutput) SetInvitationsCount(v int64) *GetInvitationsCountOutput {
 12093  	s.InvitationsCount = &v
 12094  	return s
 12095  }
 12096  
 12097  type GetMacieSessionInput struct {
 12098  	_ struct{} `type:"structure" nopayload:"true"`
 12099  }
 12100  
 12101  // String returns the string representation.
 12102  //
 12103  // API parameter values that are decorated as "sensitive" in the API will not
 12104  // be included in the string output. The member name will be present, but the
 12105  // value will be replaced with "sensitive".
 12106  func (s GetMacieSessionInput) String() string {
 12107  	return awsutil.Prettify(s)
 12108  }
 12109  
 12110  // GoString returns the string representation.
 12111  //
 12112  // API parameter values that are decorated as "sensitive" in the API will not
 12113  // be included in the string output. The member name will be present, but the
 12114  // value will be replaced with "sensitive".
 12115  func (s GetMacieSessionInput) GoString() string {
 12116  	return s.String()
 12117  }
 12118  
 12119  // Provides information about the current status and configuration settings
 12120  // for an Amazon Macie account.
 12121  type GetMacieSessionOutput struct {
 12122  	_ struct{} `type:"structure"`
 12123  
 12124  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
 12125  
 12126  	// The frequency with which Amazon Macie publishes updates to policy findings
 12127  	// for an account. This includes publishing updates to Security Hub and Amazon
 12128  	// EventBridge (formerly called Amazon CloudWatch Events). For more information,
 12129  	// see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html)
 12130  	// in the Amazon Macie User Guide. Valid values are:
 12131  	FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"`
 12132  
 12133  	ServiceRole *string `locationName:"serviceRole" type:"string"`
 12134  
 12135  	// The status of an Amazon Macie account. Valid values are:
 12136  	Status *string `locationName:"status" type:"string" enum:"MacieStatus"`
 12137  
 12138  	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
 12139  }
 12140  
 12141  // String returns the string representation.
 12142  //
 12143  // API parameter values that are decorated as "sensitive" in the API will not
 12144  // be included in the string output. The member name will be present, but the
 12145  // value will be replaced with "sensitive".
 12146  func (s GetMacieSessionOutput) String() string {
 12147  	return awsutil.Prettify(s)
 12148  }
 12149  
 12150  // GoString returns the string representation.
 12151  //
 12152  // API parameter values that are decorated as "sensitive" in the API will not
 12153  // be included in the string output. The member name will be present, but the
 12154  // value will be replaced with "sensitive".
 12155  func (s GetMacieSessionOutput) GoString() string {
 12156  	return s.String()
 12157  }
 12158  
 12159  // SetCreatedAt sets the CreatedAt field's value.
 12160  func (s *GetMacieSessionOutput) SetCreatedAt(v time.Time) *GetMacieSessionOutput {
 12161  	s.CreatedAt = &v
 12162  	return s
 12163  }
 12164  
 12165  // SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.
 12166  func (s *GetMacieSessionOutput) SetFindingPublishingFrequency(v string) *GetMacieSessionOutput {
 12167  	s.FindingPublishingFrequency = &v
 12168  	return s
 12169  }
 12170  
 12171  // SetServiceRole sets the ServiceRole field's value.
 12172  func (s *GetMacieSessionOutput) SetServiceRole(v string) *GetMacieSessionOutput {
 12173  	s.ServiceRole = &v
 12174  	return s
 12175  }
 12176  
 12177  // SetStatus sets the Status field's value.
 12178  func (s *GetMacieSessionOutput) SetStatus(v string) *GetMacieSessionOutput {
 12179  	s.Status = &v
 12180  	return s
 12181  }
 12182  
 12183  // SetUpdatedAt sets the UpdatedAt field's value.
 12184  func (s *GetMacieSessionOutput) SetUpdatedAt(v time.Time) *GetMacieSessionOutput {
 12185  	s.UpdatedAt = &v
 12186  	return s
 12187  }
 12188  
 12189  type GetMasterAccountInput struct {
 12190  	_ struct{} `type:"structure" nopayload:"true"`
 12191  }
 12192  
 12193  // String returns the string representation.
 12194  //
 12195  // API parameter values that are decorated as "sensitive" in the API will not
 12196  // be included in the string output. The member name will be present, but the
 12197  // value will be replaced with "sensitive".
 12198  func (s GetMasterAccountInput) String() string {
 12199  	return awsutil.Prettify(s)
 12200  }
 12201  
 12202  // GoString returns the string representation.
 12203  //
 12204  // API parameter values that are decorated as "sensitive" in the API will not
 12205  // be included in the string output. The member name will be present, but the
 12206  // value will be replaced with "sensitive".
 12207  func (s GetMasterAccountInput) GoString() string {
 12208  	return s.String()
 12209  }
 12210  
 12211  // (Deprecated) Provides information about the Amazon Macie administrator account
 12212  // for an account. If the accounts are associated by a Macie membership invitation,
 12213  // the response also provides information about that invitation.
 12214  type GetMasterAccountOutput struct {
 12215  	_ struct{} `type:"structure"`
 12216  
 12217  	// Provides information about an Amazon Macie membership invitation that was
 12218  	// received by an account.
 12219  	Master *Invitation `locationName:"master" type:"structure"`
 12220  }
 12221  
 12222  // String returns the string representation.
 12223  //
 12224  // API parameter values that are decorated as "sensitive" in the API will not
 12225  // be included in the string output. The member name will be present, but the
 12226  // value will be replaced with "sensitive".
 12227  func (s GetMasterAccountOutput) String() string {
 12228  	return awsutil.Prettify(s)
 12229  }
 12230  
 12231  // GoString returns the string representation.
 12232  //
 12233  // API parameter values that are decorated as "sensitive" in the API will not
 12234  // be included in the string output. The member name will be present, but the
 12235  // value will be replaced with "sensitive".
 12236  func (s GetMasterAccountOutput) GoString() string {
 12237  	return s.String()
 12238  }
 12239  
 12240  // SetMaster sets the Master field's value.
 12241  func (s *GetMasterAccountOutput) SetMaster(v *Invitation) *GetMasterAccountOutput {
 12242  	s.Master = v
 12243  	return s
 12244  }
 12245  
 12246  type GetMemberInput struct {
 12247  	_ struct{} `type:"structure" nopayload:"true"`
 12248  
 12249  	// Id is a required field
 12250  	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
 12251  }
 12252  
 12253  // String returns the string representation.
 12254  //
 12255  // API parameter values that are decorated as "sensitive" in the API will not
 12256  // be included in the string output. The member name will be present, but the
 12257  // value will be replaced with "sensitive".
 12258  func (s GetMemberInput) String() string {
 12259  	return awsutil.Prettify(s)
 12260  }
 12261  
 12262  // GoString returns the string representation.
 12263  //
 12264  // API parameter values that are decorated as "sensitive" in the API will not
 12265  // be included in the string output. The member name will be present, but the
 12266  // value will be replaced with "sensitive".
 12267  func (s GetMemberInput) GoString() string {
 12268  	return s.String()
 12269  }
 12270  
 12271  // Validate inspects the fields of the type to determine if they are valid.
 12272  func (s *GetMemberInput) Validate() error {
 12273  	invalidParams := request.ErrInvalidParams{Context: "GetMemberInput"}
 12274  	if s.Id == nil {
 12275  		invalidParams.Add(request.NewErrParamRequired("Id"))
 12276  	}
 12277  	if s.Id != nil && len(*s.Id) < 1 {
 12278  		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
 12279  	}
 12280  
 12281  	if invalidParams.Len() > 0 {
 12282  		return invalidParams
 12283  	}
 12284  	return nil
 12285  }
 12286  
 12287  // SetId sets the Id field's value.
 12288  func (s *GetMemberInput) SetId(v string) *GetMemberInput {
 12289  	s.Id = &v
 12290  	return s
 12291  }
 12292  
 12293  // Provides information about an account that's associated with an Amazon Macie
 12294  // administrator account.
 12295  type GetMemberOutput struct {
 12296  	_ struct{} `type:"structure"`
 12297  
 12298  	AccountId *string `locationName:"accountId" type:"string"`
 12299  
 12300  	AdministratorAccountId *string `locationName:"administratorAccountId" type:"string"`
 12301  
 12302  	Arn *string `locationName:"arn" type:"string"`
 12303  
 12304  	Email *string `locationName:"email" type:"string"`
 12305  
 12306  	InvitedAt *time.Time `locationName:"invitedAt" type:"timestamp" timestampFormat:"iso8601"`
 12307  
 12308  	MasterAccountId *string `locationName:"masterAccountId" type:"string"`
 12309  
 12310  	// The current status of the relationship between an account and an associated
 12311  	// Amazon Macie administrator account (inviter account). Possible values are:
 12312  	RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"`
 12313  
 12314  	// A string-to-string map of key-value pairs that specifies the tags (keys and
 12315  	// values) for a classification job, custom data identifier, findings filter,
 12316  	// or member account.
 12317  	Tags map[string]*string `locationName:"tags" type:"map"`
 12318  
 12319  	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
 12320  }
 12321  
 12322  // String returns the string representation.
 12323  //
 12324  // API parameter values that are decorated as "sensitive" in the API will not
 12325  // be included in the string output. The member name will be present, but the
 12326  // value will be replaced with "sensitive".
 12327  func (s GetMemberOutput) String() string {
 12328  	return awsutil.Prettify(s)
 12329  }
 12330  
 12331  // GoString returns the string representation.
 12332  //
 12333  // API parameter values that are decorated as "sensitive" in the API will not
 12334  // be included in the string output. The member name will be present, but the
 12335  // value will be replaced with "sensitive".
 12336  func (s GetMemberOutput) GoString() string {
 12337  	return s.String()
 12338  }
 12339  
 12340  // SetAccountId sets the AccountId field's value.
 12341  func (s *GetMemberOutput) SetAccountId(v string) *GetMemberOutput {
 12342  	s.AccountId = &v
 12343  	return s
 12344  }
 12345  
 12346  // SetAdministratorAccountId sets the AdministratorAccountId field's value.
 12347  func (s *GetMemberOutput) SetAdministratorAccountId(v string) *GetMemberOutput {
 12348  	s.AdministratorAccountId = &v
 12349  	return s
 12350  }
 12351  
 12352  // SetArn sets the Arn field's value.
 12353  func (s *GetMemberOutput) SetArn(v string) *GetMemberOutput {
 12354  	s.Arn = &v
 12355  	return s
 12356  }
 12357  
 12358  // SetEmail sets the Email field's value.
 12359  func (s *GetMemberOutput) SetEmail(v string) *GetMemberOutput {
 12360  	s.Email = &v
 12361  	return s
 12362  }
 12363  
 12364  // SetInvitedAt sets the InvitedAt field's value.
 12365  func (s *GetMemberOutput) SetInvitedAt(v time.Time) *GetMemberOutput {
 12366  	s.InvitedAt = &v
 12367  	return s
 12368  }
 12369  
 12370  // SetMasterAccountId sets the MasterAccountId field's value.
 12371  func (s *GetMemberOutput) SetMasterAccountId(v string) *GetMemberOutput {
 12372  	s.MasterAccountId = &v
 12373  	return s
 12374  }
 12375  
 12376  // SetRelationshipStatus sets the RelationshipStatus field's value.
 12377  func (s *GetMemberOutput) SetRelationshipStatus(v string) *GetMemberOutput {
 12378  	s.RelationshipStatus = &v
 12379  	return s
 12380  }
 12381  
 12382  // SetTags sets the Tags field's value.
 12383  func (s *GetMemberOutput) SetTags(v map[string]*string) *GetMemberOutput {
 12384  	s.Tags = v
 12385  	return s
 12386  }
 12387  
 12388  // SetUpdatedAt sets the UpdatedAt field's value.
 12389  func (s *GetMemberOutput) SetUpdatedAt(v time.Time) *GetMemberOutput {
 12390  	s.UpdatedAt = &v
 12391  	return s
 12392  }
 12393  
 12394  // Specifies criteria for filtering, sorting, and paginating the results of
 12395  // a query for quotas and aggregated usage data for one or more Amazon Macie
 12396  // accounts.
 12397  type GetUsageStatisticsInput struct {
 12398  	_ struct{} `type:"structure"`
 12399  
 12400  	FilterBy []*UsageStatisticsFilter `locationName:"filterBy" type:"list"`
 12401  
 12402  	MaxResults *int64 `locationName:"maxResults" type:"integer"`
 12403  
 12404  	NextToken *string `locationName:"nextToken" type:"string"`
 12405  
 12406  	// Specifies criteria for sorting the results of a query for Amazon Macie account
 12407  	// quotas and usage data.
 12408  	SortBy *UsageStatisticsSortBy `locationName:"sortBy" type:"structure"`
 12409  
 12410  	// An inclusive time period that Amazon Macie usage data applies to. Possible
 12411  	// values are:
 12412  	TimeRange *string `locationName:"timeRange" type:"string" enum:"TimeRange"`
 12413  }
 12414  
 12415  // String returns the string representation.
 12416  //
 12417  // API parameter values that are decorated as "sensitive" in the API will not
 12418  // be included in the string output. The member name will be present, but the
 12419  // value will be replaced with "sensitive".
 12420  func (s GetUsageStatisticsInput) String() string {
 12421  	return awsutil.Prettify(s)
 12422  }
 12423  
 12424  // GoString returns the string representation.
 12425  //
 12426  // API parameter values that are decorated as "sensitive" in the API will not
 12427  // be included in the string output. The member name will be present, but the
 12428  // value will be replaced with "sensitive".
 12429  func (s GetUsageStatisticsInput) GoString() string {
 12430  	return s.String()
 12431  }
 12432  
 12433  // SetFilterBy sets the FilterBy field's value.
 12434  func (s *GetUsageStatisticsInput) SetFilterBy(v []*UsageStatisticsFilter) *GetUsageStatisticsInput {
 12435  	s.FilterBy = v
 12436  	return s
 12437  }
 12438  
 12439  // SetMaxResults sets the MaxResults field's value.
 12440  func (s *GetUsageStatisticsInput) SetMaxResults(v int64) *GetUsageStatisticsInput {
 12441  	s.MaxResults = &v
 12442  	return s
 12443  }
 12444  
 12445  // SetNextToken sets the NextToken field's value.
 12446  func (s *GetUsageStatisticsInput) SetNextToken(v string) *GetUsageStatisticsInput {
 12447  	s.NextToken = &v
 12448  	return s
 12449  }
 12450  
 12451  // SetSortBy sets the SortBy field's value.
 12452  func (s *GetUsageStatisticsInput) SetSortBy(v *UsageStatisticsSortBy) *GetUsageStatisticsInput {
 12453  	s.SortBy = v
 12454  	return s
 12455  }
 12456  
 12457  // SetTimeRange sets the TimeRange field's value.
 12458  func (s *GetUsageStatisticsInput) SetTimeRange(v string) *GetUsageStatisticsInput {
 12459  	s.TimeRange = &v
 12460  	return s
 12461  }
 12462  
 12463  // Provides the results of a query that retrieved quotas and aggregated usage
 12464  // data for one or more Amazon Macie accounts.
 12465  type GetUsageStatisticsOutput struct {
 12466  	_ struct{} `type:"structure"`
 12467  
 12468  	NextToken *string `locationName:"nextToken" type:"string"`
 12469  
 12470  	Records []*UsageRecord `locationName:"records" type:"list"`
 12471  
 12472  	// An inclusive time period that Amazon Macie usage data applies to. Possible
 12473  	// values are:
 12474  	TimeRange *string `locationName:"timeRange" type:"string" enum:"TimeRange"`
 12475  }
 12476  
 12477  // String returns the string representation.
 12478  //
 12479  // API parameter values that are decorated as "sensitive" in the API will not
 12480  // be included in the string output. The member name will be present, but the
 12481  // value will be replaced with "sensitive".
 12482  func (s GetUsageStatisticsOutput) String() string {
 12483  	return awsutil.Prettify(s)
 12484  }
 12485  
 12486  // GoString returns the string representation.
 12487  //
 12488  // API parameter values that are decorated as "sensitive" in the API will not
 12489  // be included in the string output. The member name will be present, but the
 12490  // value will be replaced with "sensitive".
 12491  func (s GetUsageStatisticsOutput) GoString() string {
 12492  	return s.String()
 12493  }
 12494  
 12495  // SetNextToken sets the NextToken field's value.
 12496  func (s *GetUsageStatisticsOutput) SetNextToken(v string) *GetUsageStatisticsOutput {
 12497  	s.NextToken = &v
 12498  	return s
 12499  }
 12500  
 12501  // SetRecords sets the Records field's value.
 12502  func (s *GetUsageStatisticsOutput) SetRecords(v []*UsageRecord) *GetUsageStatisticsOutput {
 12503  	s.Records = v
 12504  	return s
 12505  }
 12506  
 12507  // SetTimeRange sets the TimeRange field's value.
 12508  func (s *GetUsageStatisticsOutput) SetTimeRange(v string) *GetUsageStatisticsOutput {
 12509  	s.TimeRange = &v
 12510  	return s
 12511  }
 12512  
 12513  type GetUsageTotalsInput struct {
 12514  	_ struct{} `type:"structure" nopayload:"true"`
 12515  
 12516  	TimeRange *string `location:"querystring" locationName:"timeRange" type:"string"`
 12517  }
 12518  
 12519  // String returns the string representation.
 12520  //
 12521  // API parameter values that are decorated as "sensitive" in the API will not
 12522  // be included in the string output. The member name will be present, but the
 12523  // value will be replaced with "sensitive".
 12524  func (s GetUsageTotalsInput) String() string {
 12525  	return awsutil.Prettify(s)
 12526  }
 12527  
 12528  // GoString returns the string representation.
 12529  //
 12530  // API parameter values that are decorated as "sensitive" in the API will not
 12531  // be included in the string output. The member name will be present, but the
 12532  // value will be replaced with "sensitive".
 12533  func (s GetUsageTotalsInput) GoString() string {
 12534  	return s.String()
 12535  }
 12536  
 12537  // SetTimeRange sets the TimeRange field's value.
 12538  func (s *GetUsageTotalsInput) SetTimeRange(v string) *GetUsageTotalsInput {
 12539  	s.TimeRange = &v
 12540  	return s
 12541  }
 12542  
 12543  // Provides the results of a query that retrieved aggregated usage data for
 12544  // an Amazon Macie account.
 12545  type GetUsageTotalsOutput struct {
 12546  	_ struct{} `type:"structure"`
 12547  
 12548  	// An inclusive time period that Amazon Macie usage data applies to. Possible
 12549  	// values are:
 12550  	TimeRange *string `locationName:"timeRange" type:"string" enum:"TimeRange"`
 12551  
 12552  	UsageTotals []*UsageTotal `locationName:"usageTotals" type:"list"`
 12553  }
 12554  
 12555  // String returns the string representation.
 12556  //
 12557  // API parameter values that are decorated as "sensitive" in the API will not
 12558  // be included in the string output. The member name will be present, but the
 12559  // value will be replaced with "sensitive".
 12560  func (s GetUsageTotalsOutput) String() string {
 12561  	return awsutil.Prettify(s)
 12562  }
 12563  
 12564  // GoString returns the string representation.
 12565  //
 12566  // API parameter values that are decorated as "sensitive" in the API will not
 12567  // be included in the string output. The member name will be present, but the
 12568  // value will be replaced with "sensitive".
 12569  func (s GetUsageTotalsOutput) GoString() string {
 12570  	return s.String()
 12571  }
 12572  
 12573  // SetTimeRange sets the TimeRange field's value.
 12574  func (s *GetUsageTotalsOutput) SetTimeRange(v string) *GetUsageTotalsOutput {
 12575  	s.TimeRange = &v
 12576  	return s
 12577  }
 12578  
 12579  // SetUsageTotals sets the UsageTotals field's value.
 12580  func (s *GetUsageTotalsOutput) SetUsageTotals(v []*UsageTotal) *GetUsageTotalsOutput {
 12581  	s.UsageTotals = v
 12582  	return s
 12583  }
 12584  
 12585  // Provides a group of results for a query that retrieved aggregated statistical
 12586  // data about findings.
 12587  type GroupCount struct {
 12588  	_ struct{} `type:"structure"`
 12589  
 12590  	Count *int64 `locationName:"count" type:"long"`
 12591  
 12592  	GroupKey *string `locationName:"groupKey" type:"string"`
 12593  }
 12594  
 12595  // String returns the string representation.
 12596  //
 12597  // API parameter values that are decorated as "sensitive" in the API will not
 12598  // be included in the string output. The member name will be present, but the
 12599  // value will be replaced with "sensitive".
 12600  func (s GroupCount) String() string {
 12601  	return awsutil.Prettify(s)
 12602  }
 12603  
 12604  // GoString returns the string representation.
 12605  //
 12606  // API parameter values that are decorated as "sensitive" in the API will not
 12607  // be included in the string output. The member name will be present, but the
 12608  // value will be replaced with "sensitive".
 12609  func (s GroupCount) GoString() string {
 12610  	return s.String()
 12611  }
 12612  
 12613  // SetCount sets the Count field's value.
 12614  func (s *GroupCount) SetCount(v int64) *GroupCount {
 12615  	s.Count = &v
 12616  	return s
 12617  }
 12618  
 12619  // SetGroupKey sets the GroupKey field's value.
 12620  func (s *GroupCount) SetGroupKey(v string) *GroupCount {
 12621  	s.GroupKey = &v
 12622  	return s
 12623  }
 12624  
 12625  // Provides information about an Identity and Access Management (IAM) user who
 12626  // performed an action on an affected resource.
 12627  type IamUser struct {
 12628  	_ struct{} `type:"structure"`
 12629  
 12630  	AccountId *string `locationName:"accountId" type:"string"`
 12631  
 12632  	Arn *string `locationName:"arn" type:"string"`
 12633  
 12634  	PrincipalId *string `locationName:"principalId" type:"string"`
 12635  
 12636  	UserName *string `locationName:"userName" type:"string"`
 12637  }
 12638  
 12639  // String returns the string representation.
 12640  //
 12641  // API parameter values that are decorated as "sensitive" in the API will not
 12642  // be included in the string output. The member name will be present, but the
 12643  // value will be replaced with "sensitive".
 12644  func (s IamUser) String() string {
 12645  	return awsutil.Prettify(s)
 12646  }
 12647  
 12648  // GoString returns the string representation.
 12649  //
 12650  // API parameter values that are decorated as "sensitive" in the API will not
 12651  // be included in the string output. The member name will be present, but the
 12652  // value will be replaced with "sensitive".
 12653  func (s IamUser) GoString() string {
 12654  	return s.String()
 12655  }
 12656  
 12657  // SetAccountId sets the AccountId field's value.
 12658  func (s *IamUser) SetAccountId(v string) *IamUser {
 12659  	s.AccountId = &v
 12660  	return s
 12661  }
 12662  
 12663  // SetArn sets the Arn field's value.
 12664  func (s *IamUser) SetArn(v string) *IamUser {
 12665  	s.Arn = &v
 12666  	return s
 12667  }
 12668  
 12669  // SetPrincipalId sets the PrincipalId field's value.
 12670  func (s *IamUser) SetPrincipalId(v string) *IamUser {
 12671  	s.PrincipalId = &v
 12672  	return s
 12673  }
 12674  
 12675  // SetUserName sets the UserName field's value.
 12676  func (s *IamUser) SetUserName(v string) *IamUser {
 12677  	s.UserName = &v
 12678  	return s
 12679  }
 12680  
 12681  // Provides information about an error that occurred due to an unknown internal
 12682  // server error, exception, or failure.
 12683  type InternalServerException struct {
 12684  	_            struct{}                  `type:"structure"`
 12685  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12686  
 12687  	Message_ *string `locationName:"message" type:"string"`
 12688  }
 12689  
 12690  // String returns the string representation.
 12691  //
 12692  // API parameter values that are decorated as "sensitive" in the API will not
 12693  // be included in the string output. The member name will be present, but the
 12694  // value will be replaced with "sensitive".
 12695  func (s InternalServerException) String() string {
 12696  	return awsutil.Prettify(s)
 12697  }
 12698  
 12699  // GoString returns the string representation.
 12700  //
 12701  // API parameter values that are decorated as "sensitive" in the API will not
 12702  // be included in the string output. The member name will be present, but the
 12703  // value will be replaced with "sensitive".
 12704  func (s InternalServerException) GoString() string {
 12705  	return s.String()
 12706  }
 12707  
 12708  func newErrorInternalServerException(v protocol.ResponseMetadata) error {
 12709  	return &InternalServerException{
 12710  		RespMetadata: v,
 12711  	}
 12712  }
 12713  
 12714  // Code returns the exception type name.
 12715  func (s *InternalServerException) Code() string {
 12716  	return "InternalServerException"
 12717  }
 12718  
 12719  // Message returns the exception's message.
 12720  func (s *InternalServerException) Message() string {
 12721  	if s.Message_ != nil {
 12722  		return *s.Message_
 12723  	}
 12724  	return ""
 12725  }
 12726  
 12727  // OrigErr always returns nil, satisfies awserr.Error interface.
 12728  func (s *InternalServerException) OrigErr() error {
 12729  	return nil
 12730  }
 12731  
 12732  func (s *InternalServerException) Error() string {
 12733  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12734  }
 12735  
 12736  // Status code returns the HTTP status code for the request's response error.
 12737  func (s *InternalServerException) StatusCode() int {
 12738  	return s.RespMetadata.StatusCode
 12739  }
 12740  
 12741  // RequestID returns the service's response RequestID for request.
 12742  func (s *InternalServerException) RequestID() string {
 12743  	return s.RespMetadata.RequestID
 12744  }
 12745  
 12746  // Provides information about an Amazon Macie membership invitation that was
 12747  // received by an account.
 12748  type Invitation struct {
 12749  	_ struct{} `type:"structure"`
 12750  
 12751  	AccountId *string `locationName:"accountId" type:"string"`
 12752  
 12753  	InvitationId *string `locationName:"invitationId" type:"string"`
 12754  
 12755  	InvitedAt *time.Time `locationName:"invitedAt" type:"timestamp" timestampFormat:"iso8601"`
 12756  
 12757  	// The current status of the relationship between an account and an associated
 12758  	// Amazon Macie administrator account (inviter account). Possible values are:
 12759  	RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"`
 12760  }
 12761  
 12762  // String returns the string representation.
 12763  //
 12764  // API parameter values that are decorated as "sensitive" in the API will not
 12765  // be included in the string output. The member name will be present, but the
 12766  // value will be replaced with "sensitive".
 12767  func (s Invitation) String() string {
 12768  	return awsutil.Prettify(s)
 12769  }
 12770  
 12771  // GoString returns the string representation.
 12772  //
 12773  // API parameter values that are decorated as "sensitive" in the API will not
 12774  // be included in the string output. The member name will be present, but the
 12775  // value will be replaced with "sensitive".
 12776  func (s Invitation) GoString() string {
 12777  	return s.String()
 12778  }
 12779  
 12780  // SetAccountId sets the AccountId field's value.
 12781  func (s *Invitation) SetAccountId(v string) *Invitation {
 12782  	s.AccountId = &v
 12783  	return s
 12784  }
 12785  
 12786  // SetInvitationId sets the InvitationId field's value.
 12787  func (s *Invitation) SetInvitationId(v string) *Invitation {
 12788  	s.InvitationId = &v
 12789  	return s
 12790  }
 12791  
 12792  // SetInvitedAt sets the InvitedAt field's value.
 12793  func (s *Invitation) SetInvitedAt(v time.Time) *Invitation {
 12794  	s.InvitedAt = &v
 12795  	return s
 12796  }
 12797  
 12798  // SetRelationshipStatus sets the RelationshipStatus field's value.
 12799  func (s *Invitation) SetRelationshipStatus(v string) *Invitation {
 12800  	s.RelationshipStatus = &v
 12801  	return s
 12802  }
 12803  
 12804  // Provides information about the IP address of the device that an entity used
 12805  // to perform an action on an affected resource.
 12806  type IpAddressDetails struct {
 12807  	_ struct{} `type:"structure"`
 12808  
 12809  	IpAddressV4 *string `locationName:"ipAddressV4" type:"string"`
 12810  
 12811  	// Provides information about the city that an IP address originated from.
 12812  	IpCity *IpCity `locationName:"ipCity" type:"structure"`
 12813  
 12814  	// Provides information about the country that an IP address originated from.
 12815  	IpCountry *IpCountry `locationName:"ipCountry" type:"structure"`
 12816  
 12817  	// Provides geographic coordinates that indicate where a specified IP address
 12818  	// originated from.
 12819  	IpGeoLocation *IpGeoLocation `locationName:"ipGeoLocation" type:"structure"`
 12820  
 12821  	// Provides information about the registered owner of an IP address.
 12822  	IpOwner *IpOwner `locationName:"ipOwner" type:"structure"`
 12823  }
 12824  
 12825  // String returns the string representation.
 12826  //
 12827  // API parameter values that are decorated as "sensitive" in the API will not
 12828  // be included in the string output. The member name will be present, but the
 12829  // value will be replaced with "sensitive".
 12830  func (s IpAddressDetails) String() string {
 12831  	return awsutil.Prettify(s)
 12832  }
 12833  
 12834  // GoString returns the string representation.
 12835  //
 12836  // API parameter values that are decorated as "sensitive" in the API will not
 12837  // be included in the string output. The member name will be present, but the
 12838  // value will be replaced with "sensitive".
 12839  func (s IpAddressDetails) GoString() string {
 12840  	return s.String()
 12841  }
 12842  
 12843  // SetIpAddressV4 sets the IpAddressV4 field's value.
 12844  func (s *IpAddressDetails) SetIpAddressV4(v string) *IpAddressDetails {
 12845  	s.IpAddressV4 = &v
 12846  	return s
 12847  }
 12848  
 12849  // SetIpCity sets the IpCity field's value.
 12850  func (s *IpAddressDetails) SetIpCity(v *IpCity) *IpAddressDetails {
 12851  	s.IpCity = v
 12852  	return s
 12853  }
 12854  
 12855  // SetIpCountry sets the IpCountry field's value.
 12856  func (s *IpAddressDetails) SetIpCountry(v *IpCountry) *IpAddressDetails {
 12857  	s.IpCountry = v
 12858  	return s
 12859  }
 12860  
 12861  // SetIpGeoLocation sets the IpGeoLocation field's value.
 12862  func (s *IpAddressDetails) SetIpGeoLocation(v *IpGeoLocation) *IpAddressDetails {
 12863  	s.IpGeoLocation = v
 12864  	return s
 12865  }
 12866  
 12867  // SetIpOwner sets the IpOwner field's value.
 12868  func (s *IpAddressDetails) SetIpOwner(v *IpOwner) *IpAddressDetails {
 12869  	s.IpOwner = v
 12870  	return s
 12871  }
 12872  
 12873  // Provides information about the city that an IP address originated from.
 12874  type IpCity struct {
 12875  	_ struct{} `type:"structure"`
 12876  
 12877  	Name *string `locationName:"name" type:"string"`
 12878  }
 12879  
 12880  // String returns the string representation.
 12881  //
 12882  // API parameter values that are decorated as "sensitive" in the API will not
 12883  // be included in the string output. The member name will be present, but the
 12884  // value will be replaced with "sensitive".
 12885  func (s IpCity) String() string {
 12886  	return awsutil.Prettify(s)
 12887  }
 12888  
 12889  // GoString returns the string representation.
 12890  //
 12891  // API parameter values that are decorated as "sensitive" in the API will not
 12892  // be included in the string output. The member name will be present, but the
 12893  // value will be replaced with "sensitive".
 12894  func (s IpCity) GoString() string {
 12895  	return s.String()
 12896  }
 12897  
 12898  // SetName sets the Name field's value.
 12899  func (s *IpCity) SetName(v string) *IpCity {
 12900  	s.Name = &v
 12901  	return s
 12902  }
 12903  
 12904  // Provides information about the country that an IP address originated from.
 12905  type IpCountry struct {
 12906  	_ struct{} `type:"structure"`
 12907  
 12908  	Code *string `locationName:"code" type:"string"`
 12909  
 12910  	Name *string `locationName:"name" type:"string"`
 12911  }
 12912  
 12913  // String returns the string representation.
 12914  //
 12915  // API parameter values that are decorated as "sensitive" in the API will not
 12916  // be included in the string output. The member name will be present, but the
 12917  // value will be replaced with "sensitive".
 12918  func (s IpCountry) String() string {
 12919  	return awsutil.Prettify(s)
 12920  }
 12921  
 12922  // GoString returns the string representation.
 12923  //
 12924  // API parameter values that are decorated as "sensitive" in the API will not
 12925  // be included in the string output. The member name will be present, but the
 12926  // value will be replaced with "sensitive".
 12927  func (s IpCountry) GoString() string {
 12928  	return s.String()
 12929  }
 12930  
 12931  // SetCode sets the Code field's value.
 12932  func (s *IpCountry) SetCode(v string) *IpCountry {
 12933  	s.Code = &v
 12934  	return s
 12935  }
 12936  
 12937  // SetName sets the Name field's value.
 12938  func (s *IpCountry) SetName(v string) *IpCountry {
 12939  	s.Name = &v
 12940  	return s
 12941  }
 12942  
 12943  // Provides geographic coordinates that indicate where a specified IP address
 12944  // originated from.
 12945  type IpGeoLocation struct {
 12946  	_ struct{} `type:"structure"`
 12947  
 12948  	Lat *float64 `locationName:"lat" type:"double"`
 12949  
 12950  	Lon *float64 `locationName:"lon" type:"double"`
 12951  }
 12952  
 12953  // String returns the string representation.
 12954  //
 12955  // API parameter values that are decorated as "sensitive" in the API will not
 12956  // be included in the string output. The member name will be present, but the
 12957  // value will be replaced with "sensitive".
 12958  func (s IpGeoLocation) String() string {
 12959  	return awsutil.Prettify(s)
 12960  }
 12961  
 12962  // GoString returns the string representation.
 12963  //
 12964  // API parameter values that are decorated as "sensitive" in the API will not
 12965  // be included in the string output. The member name will be present, but the
 12966  // value will be replaced with "sensitive".
 12967  func (s IpGeoLocation) GoString() string {
 12968  	return s.String()
 12969  }
 12970  
 12971  // SetLat sets the Lat field's value.
 12972  func (s *IpGeoLocation) SetLat(v float64) *IpGeoLocation {
 12973  	s.Lat = &v
 12974  	return s
 12975  }
 12976  
 12977  // SetLon sets the Lon field's value.
 12978  func (s *IpGeoLocation) SetLon(v float64) *IpGeoLocation {
 12979  	s.Lon = &v
 12980  	return s
 12981  }
 12982  
 12983  // Provides information about the registered owner of an IP address.
 12984  type IpOwner struct {
 12985  	_ struct{} `type:"structure"`
 12986  
 12987  	Asn *string `locationName:"asn" type:"string"`
 12988  
 12989  	AsnOrg *string `locationName:"asnOrg" type:"string"`
 12990  
 12991  	Isp *string `locationName:"isp" type:"string"`
 12992  
 12993  	Org *string `locationName:"org" type:"string"`
 12994  }
 12995  
 12996  // String returns the string representation.
 12997  //
 12998  // API parameter values that are decorated as "sensitive" in the API will not
 12999  // be included in the string output. The member name will be present, but the
 13000  // value will be replaced with "sensitive".
 13001  func (s IpOwner) String() string {
 13002  	return awsutil.Prettify(s)
 13003  }
 13004  
 13005  // GoString returns the string representation.
 13006  //
 13007  // API parameter values that are decorated as "sensitive" in the API will not
 13008  // be included in the string output. The member name will be present, but the
 13009  // value will be replaced with "sensitive".
 13010  func (s IpOwner) GoString() string {
 13011  	return s.String()
 13012  }
 13013  
 13014  // SetAsn sets the Asn field's value.
 13015  func (s *IpOwner) SetAsn(v string) *IpOwner {
 13016  	s.Asn = &v
 13017  	return s
 13018  }
 13019  
 13020  // SetAsnOrg sets the AsnOrg field's value.
 13021  func (s *IpOwner) SetAsnOrg(v string) *IpOwner {
 13022  	s.AsnOrg = &v
 13023  	return s
 13024  }
 13025  
 13026  // SetIsp sets the Isp field's value.
 13027  func (s *IpOwner) SetIsp(v string) *IpOwner {
 13028  	s.Isp = &v
 13029  	return s
 13030  }
 13031  
 13032  // SetOrg sets the Org field's value.
 13033  func (s *IpOwner) SetOrg(v string) *IpOwner {
 13034  	s.Org = &v
 13035  	return s
 13036  }
 13037  
 13038  // Specifies whether any one-time or recurring classification jobs are configured
 13039  // to analyze data in an S3 bucket, and, if so, the details of the job that
 13040  // ran most recently.
 13041  type JobDetails struct {
 13042  	_ struct{} `type:"structure"`
 13043  
 13044  	IsDefinedInJob *string `locationName:"isDefinedInJob" type:"string" enum:"IsDefinedInJob"`
 13045  
 13046  	IsMonitoredByJob *string `locationName:"isMonitoredByJob" type:"string" enum:"IsMonitoredByJob"`
 13047  
 13048  	LastJobId *string `locationName:"lastJobId" type:"string"`
 13049  
 13050  	LastJobRunTime *time.Time `locationName:"lastJobRunTime" type:"timestamp" timestampFormat:"iso8601"`
 13051  }
 13052  
 13053  // String returns the string representation.
 13054  //
 13055  // API parameter values that are decorated as "sensitive" in the API will not
 13056  // be included in the string output. The member name will be present, but the
 13057  // value will be replaced with "sensitive".
 13058  func (s JobDetails) String() string {
 13059  	return awsutil.Prettify(s)
 13060  }
 13061  
 13062  // GoString returns the string representation.
 13063  //
 13064  // API parameter values that are decorated as "sensitive" in the API will not
 13065  // be included in the string output. The member name will be present, but the
 13066  // value will be replaced with "sensitive".
 13067  func (s JobDetails) GoString() string {
 13068  	return s.String()
 13069  }
 13070  
 13071  // SetIsDefinedInJob sets the IsDefinedInJob field's value.
 13072  func (s *JobDetails) SetIsDefinedInJob(v string) *JobDetails {
 13073  	s.IsDefinedInJob = &v
 13074  	return s
 13075  }
 13076  
 13077  // SetIsMonitoredByJob sets the IsMonitoredByJob field's value.
 13078  func (s *JobDetails) SetIsMonitoredByJob(v string) *JobDetails {
 13079  	s.IsMonitoredByJob = &v
 13080  	return s
 13081  }
 13082  
 13083  // SetLastJobId sets the LastJobId field's value.
 13084  func (s *JobDetails) SetLastJobId(v string) *JobDetails {
 13085  	s.LastJobId = &v
 13086  	return s
 13087  }
 13088  
 13089  // SetLastJobRunTime sets the LastJobRunTime field's value.
 13090  func (s *JobDetails) SetLastJobRunTime(v time.Time) *JobDetails {
 13091  	s.LastJobRunTime = &v
 13092  	return s
 13093  }
 13094  
 13095  // Specifies the recurrence pattern for running a classification job.
 13096  type JobScheduleFrequency struct {
 13097  	_ struct{} `type:"structure"`
 13098  
 13099  	// Specifies that a classification job runs once a day, every day. This is an
 13100  	// empty object.
 13101  	DailySchedule *DailySchedule `locationName:"dailySchedule" type:"structure"`
 13102  
 13103  	// Specifies a monthly recurrence pattern for running a classification job.
 13104  	MonthlySchedule *MonthlySchedule `locationName:"monthlySchedule" type:"structure"`
 13105  
 13106  	// Specifies a weekly recurrence pattern for running a classification job.
 13107  	WeeklySchedule *WeeklySchedule `locationName:"weeklySchedule" type:"structure"`
 13108  }
 13109  
 13110  // String returns the string representation.
 13111  //
 13112  // API parameter values that are decorated as "sensitive" in the API will not
 13113  // be included in the string output. The member name will be present, but the
 13114  // value will be replaced with "sensitive".
 13115  func (s JobScheduleFrequency) String() string {
 13116  	return awsutil.Prettify(s)
 13117  }
 13118  
 13119  // GoString returns the string representation.
 13120  //
 13121  // API parameter values that are decorated as "sensitive" in the API will not
 13122  // be included in the string output. The member name will be present, but the
 13123  // value will be replaced with "sensitive".
 13124  func (s JobScheduleFrequency) GoString() string {
 13125  	return s.String()
 13126  }
 13127  
 13128  // SetDailySchedule sets the DailySchedule field's value.
 13129  func (s *JobScheduleFrequency) SetDailySchedule(v *DailySchedule) *JobScheduleFrequency {
 13130  	s.DailySchedule = v
 13131  	return s
 13132  }
 13133  
 13134  // SetMonthlySchedule sets the MonthlySchedule field's value.
 13135  func (s *JobScheduleFrequency) SetMonthlySchedule(v *MonthlySchedule) *JobScheduleFrequency {
 13136  	s.MonthlySchedule = v
 13137  	return s
 13138  }
 13139  
 13140  // SetWeeklySchedule sets the WeeklySchedule field's value.
 13141  func (s *JobScheduleFrequency) SetWeeklySchedule(v *WeeklySchedule) *JobScheduleFrequency {
 13142  	s.WeeklySchedule = v
 13143  	return s
 13144  }
 13145  
 13146  // Specifies a property- or tag-based condition that defines criteria for including
 13147  // or excluding S3 objects from a classification job. A JobScopeTerm object
 13148  // can contain only one simpleScopeTerm object or one tagScopeTerm object.
 13149  type JobScopeTerm struct {
 13150  	_ struct{} `type:"structure"`
 13151  
 13152  	// Specifies a property-based condition that determines whether an S3 object
 13153  	// is included or excluded from a classification job.
 13154  	SimpleScopeTerm *SimpleScopeTerm `locationName:"simpleScopeTerm" type:"structure"`
 13155  
 13156  	// Specifies a tag-based condition that determines whether an S3 object is included
 13157  	// or excluded from a classification job.
 13158  	TagScopeTerm *TagScopeTerm `locationName:"tagScopeTerm" type:"structure"`
 13159  }
 13160  
 13161  // String returns the string representation.
 13162  //
 13163  // API parameter values that are decorated as "sensitive" in the API will not
 13164  // be included in the string output. The member name will be present, but the
 13165  // value will be replaced with "sensitive".
 13166  func (s JobScopeTerm) String() string {
 13167  	return awsutil.Prettify(s)
 13168  }
 13169  
 13170  // GoString returns the string representation.
 13171  //
 13172  // API parameter values that are decorated as "sensitive" in the API will not
 13173  // be included in the string output. The member name will be present, but the
 13174  // value will be replaced with "sensitive".
 13175  func (s JobScopeTerm) GoString() string {
 13176  	return s.String()
 13177  }
 13178  
 13179  // SetSimpleScopeTerm sets the SimpleScopeTerm field's value.
 13180  func (s *JobScopeTerm) SetSimpleScopeTerm(v *SimpleScopeTerm) *JobScopeTerm {
 13181  	s.SimpleScopeTerm = v
 13182  	return s
 13183  }
 13184  
 13185  // SetTagScopeTerm sets the TagScopeTerm field's value.
 13186  func (s *JobScopeTerm) SetTagScopeTerm(v *TagScopeTerm) *JobScopeTerm {
 13187  	s.TagScopeTerm = v
 13188  	return s
 13189  }
 13190  
 13191  // Specifies one or more property- and tag-based conditions that define criteria
 13192  // for including or excluding S3 objects from a classification job.
 13193  type JobScopingBlock struct {
 13194  	_ struct{} `type:"structure"`
 13195  
 13196  	And []*JobScopeTerm `locationName:"and" type:"list"`
 13197  }
 13198  
 13199  // String returns the string representation.
 13200  //
 13201  // API parameter values that are decorated as "sensitive" in the API will not
 13202  // be included in the string output. The member name will be present, but the
 13203  // value will be replaced with "sensitive".
 13204  func (s JobScopingBlock) String() string {
 13205  	return awsutil.Prettify(s)
 13206  }
 13207  
 13208  // GoString returns the string representation.
 13209  //
 13210  // API parameter values that are decorated as "sensitive" in the API will not
 13211  // be included in the string output. The member name will be present, but the
 13212  // value will be replaced with "sensitive".
 13213  func (s JobScopingBlock) GoString() string {
 13214  	return s.String()
 13215  }
 13216  
 13217  // SetAnd sets the And field's value.
 13218  func (s *JobScopingBlock) SetAnd(v []*JobScopeTerm) *JobScopingBlock {
 13219  	s.And = v
 13220  	return s
 13221  }
 13222  
 13223  // Provides information about a classification job, including the current status
 13224  // of the job.
 13225  type JobSummary struct {
 13226  	_ struct{} `type:"structure"`
 13227  
 13228  	// Specifies property- and tag-based conditions that define criteria for including
 13229  	// or excluding S3 buckets from a classification job. Exclude conditions take
 13230  	// precedence over include conditions.
 13231  	BucketCriteria *S3BucketCriteriaForJob `locationName:"bucketCriteria" type:"structure"`
 13232  
 13233  	BucketDefinitions []*S3BucketDefinitionForJob `locationName:"bucketDefinitions" type:"list"`
 13234  
 13235  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
 13236  
 13237  	JobId *string `locationName:"jobId" type:"string"`
 13238  
 13239  	// The status of a classification job. Possible values are:
 13240  	JobStatus *string `locationName:"jobStatus" type:"string" enum:"JobStatus"`
 13241  
 13242  	// The schedule for running a classification job. Valid values are:
 13243  	JobType *string `locationName:"jobType" type:"string" enum:"JobType"`
 13244  
 13245  	// Specifies whether any account- or bucket-level access errors occurred when
 13246  	// a classification job ran. For information about using logging data to investigate
 13247  	// these errors, see Monitoring sensitive data discovery jobs (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-monitor-cw-logs.html)
 13248  	// in the Amazon Macie User Guide.
 13249  	LastRunErrorStatus *LastRunErrorStatus `locationName:"lastRunErrorStatus" type:"structure"`
 13250  
 13251  	Name *string `locationName:"name" type:"string"`
 13252  
 13253  	// Provides information about when a classification job was paused. For a one-time
 13254  	// job, this object also specifies when the job will expire and be cancelled
 13255  	// if it isn't resumed. For a recurring job, this object also specifies when
 13256  	// the paused job run will expire and be cancelled if it isn't resumed. This
 13257  	// object is present only if a job's current status (jobStatus) is USER_PAUSED.
 13258  	// The information in this object applies only to a job that was paused while
 13259  	// it had a status of RUNNING.
 13260  	UserPausedDetails *UserPausedDetails `locationName:"userPausedDetails" type:"structure"`
 13261  }
 13262  
 13263  // String returns the string representation.
 13264  //
 13265  // API parameter values that are decorated as "sensitive" in the API will not
 13266  // be included in the string output. The member name will be present, but the
 13267  // value will be replaced with "sensitive".
 13268  func (s JobSummary) String() string {
 13269  	return awsutil.Prettify(s)
 13270  }
 13271  
 13272  // GoString returns the string representation.
 13273  //
 13274  // API parameter values that are decorated as "sensitive" in the API will not
 13275  // be included in the string output. The member name will be present, but the
 13276  // value will be replaced with "sensitive".
 13277  func (s JobSummary) GoString() string {
 13278  	return s.String()
 13279  }
 13280  
 13281  // SetBucketCriteria sets the BucketCriteria field's value.
 13282  func (s *JobSummary) SetBucketCriteria(v *S3BucketCriteriaForJob) *JobSummary {
 13283  	s.BucketCriteria = v
 13284  	return s
 13285  }
 13286  
 13287  // SetBucketDefinitions sets the BucketDefinitions field's value.
 13288  func (s *JobSummary) SetBucketDefinitions(v []*S3BucketDefinitionForJob) *JobSummary {
 13289  	s.BucketDefinitions = v
 13290  	return s
 13291  }
 13292  
 13293  // SetCreatedAt sets the CreatedAt field's value.
 13294  func (s *JobSummary) SetCreatedAt(v time.Time) *JobSummary {
 13295  	s.CreatedAt = &v
 13296  	return s
 13297  }
 13298  
 13299  // SetJobId sets the JobId field's value.
 13300  func (s *JobSummary) SetJobId(v string) *JobSummary {
 13301  	s.JobId = &v
 13302  	return s
 13303  }
 13304  
 13305  // SetJobStatus sets the JobStatus field's value.
 13306  func (s *JobSummary) SetJobStatus(v string) *JobSummary {
 13307  	s.JobStatus = &v
 13308  	return s
 13309  }
 13310  
 13311  // SetJobType sets the JobType field's value.
 13312  func (s *JobSummary) SetJobType(v string) *JobSummary {
 13313  	s.JobType = &v
 13314  	return s
 13315  }
 13316  
 13317  // SetLastRunErrorStatus sets the LastRunErrorStatus field's value.
 13318  func (s *JobSummary) SetLastRunErrorStatus(v *LastRunErrorStatus) *JobSummary {
 13319  	s.LastRunErrorStatus = v
 13320  	return s
 13321  }
 13322  
 13323  // SetName sets the Name field's value.
 13324  func (s *JobSummary) SetName(v string) *JobSummary {
 13325  	s.Name = &v
 13326  	return s
 13327  }
 13328  
 13329  // SetUserPausedDetails sets the UserPausedDetails field's value.
 13330  func (s *JobSummary) SetUserPausedDetails(v *UserPausedDetails) *JobSummary {
 13331  	s.UserPausedDetails = v
 13332  	return s
 13333  }
 13334  
 13335  // Provides information about the tags that are associated with an S3 bucket
 13336  // or object. Each tag consists of a required tag key and an associated tag
 13337  // value.
 13338  type KeyValuePair struct {
 13339  	_ struct{} `type:"structure"`
 13340  
 13341  	Key *string `locationName:"key" type:"string"`
 13342  
 13343  	Value *string `locationName:"value" type:"string"`
 13344  }
 13345  
 13346  // String returns the string representation.
 13347  //
 13348  // API parameter values that are decorated as "sensitive" in the API will not
 13349  // be included in the string output. The member name will be present, but the
 13350  // value will be replaced with "sensitive".
 13351  func (s KeyValuePair) String() string {
 13352  	return awsutil.Prettify(s)
 13353  }
 13354  
 13355  // GoString returns the string representation.
 13356  //
 13357  // API parameter values that are decorated as "sensitive" in the API will not
 13358  // be included in the string output. The member name will be present, but the
 13359  // value will be replaced with "sensitive".
 13360  func (s KeyValuePair) GoString() string {
 13361  	return s.String()
 13362  }
 13363  
 13364  // SetKey sets the Key field's value.
 13365  func (s *KeyValuePair) SetKey(v string) *KeyValuePair {
 13366  	s.Key = &v
 13367  	return s
 13368  }
 13369  
 13370  // SetValue sets the Value field's value.
 13371  func (s *KeyValuePair) SetValue(v string) *KeyValuePair {
 13372  	s.Value = &v
 13373  	return s
 13374  }
 13375  
 13376  // Specifies whether any account- or bucket-level access errors occurred when
 13377  // a classification job ran. For information about using logging data to investigate
 13378  // these errors, see Monitoring sensitive data discovery jobs (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-monitor-cw-logs.html)
 13379  // in the Amazon Macie User Guide.
 13380  type LastRunErrorStatus struct {
 13381  	_ struct{} `type:"structure"`
 13382  
 13383  	// Specifies whether any account- or bucket-level access errors occurred during
 13384  	// the run of a one-time classification job or the most recent run of a recurring
 13385  	// classification job. Possible values are:
 13386  	Code *string `locationName:"code" type:"string" enum:"LastRunErrorStatusCode"`
 13387  }
 13388  
 13389  // String returns the string representation.
 13390  //
 13391  // API parameter values that are decorated as "sensitive" in the API will not
 13392  // be included in the string output. The member name will be present, but the
 13393  // value will be replaced with "sensitive".
 13394  func (s LastRunErrorStatus) String() string {
 13395  	return awsutil.Prettify(s)
 13396  }
 13397  
 13398  // GoString returns the string representation.
 13399  //
 13400  // API parameter values that are decorated as "sensitive" in the API will not
 13401  // be included in the string output. The member name will be present, but the
 13402  // value will be replaced with "sensitive".
 13403  func (s LastRunErrorStatus) GoString() string {
 13404  	return s.String()
 13405  }
 13406  
 13407  // SetCode sets the Code field's value.
 13408  func (s *LastRunErrorStatus) SetCode(v string) *LastRunErrorStatus {
 13409  	s.Code = &v
 13410  	return s
 13411  }
 13412  
 13413  // Specifies criteria for filtering, sorting, and paginating the results of
 13414  // a request for information about classification jobs.
 13415  type ListClassificationJobsInput struct {
 13416  	_ struct{} `type:"structure"`
 13417  
 13418  	// Specifies criteria for filtering the results of a request for information
 13419  	// about classification jobs.
 13420  	FilterCriteria *ListJobsFilterCriteria `locationName:"filterCriteria" type:"structure"`
 13421  
 13422  	MaxResults *int64 `locationName:"maxResults" type:"integer"`
 13423  
 13424  	NextToken *string `locationName:"nextToken" type:"string"`
 13425  
 13426  	// Specifies criteria for sorting the results of a request for information about
 13427  	// classification jobs.
 13428  	SortCriteria *ListJobsSortCriteria `locationName:"sortCriteria" type:"structure"`
 13429  }
 13430  
 13431  // String returns the string representation.
 13432  //
 13433  // API parameter values that are decorated as "sensitive" in the API will not
 13434  // be included in the string output. The member name will be present, but the
 13435  // value will be replaced with "sensitive".
 13436  func (s ListClassificationJobsInput) String() string {
 13437  	return awsutil.Prettify(s)
 13438  }
 13439  
 13440  // GoString returns the string representation.
 13441  //
 13442  // API parameter values that are decorated as "sensitive" in the API will not
 13443  // be included in the string output. The member name will be present, but the
 13444  // value will be replaced with "sensitive".
 13445  func (s ListClassificationJobsInput) GoString() string {
 13446  	return s.String()
 13447  }
 13448  
 13449  // SetFilterCriteria sets the FilterCriteria field's value.
 13450  func (s *ListClassificationJobsInput) SetFilterCriteria(v *ListJobsFilterCriteria) *ListClassificationJobsInput {
 13451  	s.FilterCriteria = v
 13452  	return s
 13453  }
 13454  
 13455  // SetMaxResults sets the MaxResults field's value.
 13456  func (s *ListClassificationJobsInput) SetMaxResults(v int64) *ListClassificationJobsInput {
 13457  	s.MaxResults = &v
 13458  	return s
 13459  }
 13460  
 13461  // SetNextToken sets the NextToken field's value.
 13462  func (s *ListClassificationJobsInput) SetNextToken(v string) *ListClassificationJobsInput {
 13463  	s.NextToken = &v
 13464  	return s
 13465  }
 13466  
 13467  // SetSortCriteria sets the SortCriteria field's value.
 13468  func (s *ListClassificationJobsInput) SetSortCriteria(v *ListJobsSortCriteria) *ListClassificationJobsInput {
 13469  	s.SortCriteria = v
 13470  	return s
 13471  }
 13472  
 13473  // Provides the results of a request for information about one or more classification
 13474  // jobs.
 13475  type ListClassificationJobsOutput struct {
 13476  	_ struct{} `type:"structure"`
 13477  
 13478  	Items []*JobSummary `locationName:"items" type:"list"`
 13479  
 13480  	NextToken *string `locationName:"nextToken" type:"string"`
 13481  }
 13482  
 13483  // String returns the string representation.
 13484  //
 13485  // API parameter values that are decorated as "sensitive" in the API will not
 13486  // be included in the string output. The member name will be present, but the
 13487  // value will be replaced with "sensitive".
 13488  func (s ListClassificationJobsOutput) String() string {
 13489  	return awsutil.Prettify(s)
 13490  }
 13491  
 13492  // GoString returns the string representation.
 13493  //
 13494  // API parameter values that are decorated as "sensitive" in the API will not
 13495  // be included in the string output. The member name will be present, but the
 13496  // value will be replaced with "sensitive".
 13497  func (s ListClassificationJobsOutput) GoString() string {
 13498  	return s.String()
 13499  }
 13500  
 13501  // SetItems sets the Items field's value.
 13502  func (s *ListClassificationJobsOutput) SetItems(v []*JobSummary) *ListClassificationJobsOutput {
 13503  	s.Items = v
 13504  	return s
 13505  }
 13506  
 13507  // SetNextToken sets the NextToken field's value.
 13508  func (s *ListClassificationJobsOutput) SetNextToken(v string) *ListClassificationJobsOutput {
 13509  	s.NextToken = &v
 13510  	return s
 13511  }
 13512  
 13513  // Specifies criteria for paginating the results of a request for information
 13514  // about custom data identifiers.
 13515  type ListCustomDataIdentifiersInput struct {
 13516  	_ struct{} `type:"structure"`
 13517  
 13518  	MaxResults *int64 `locationName:"maxResults" type:"integer"`
 13519  
 13520  	NextToken *string `locationName:"nextToken" type:"string"`
 13521  }
 13522  
 13523  // String returns the string representation.
 13524  //
 13525  // API parameter values that are decorated as "sensitive" in the API will not
 13526  // be included in the string output. The member name will be present, but the
 13527  // value will be replaced with "sensitive".
 13528  func (s ListCustomDataIdentifiersInput) String() string {
 13529  	return awsutil.Prettify(s)
 13530  }
 13531  
 13532  // GoString returns the string representation.
 13533  //
 13534  // API parameter values that are decorated as "sensitive" in the API will not
 13535  // be included in the string output. The member name will be present, but the
 13536  // value will be replaced with "sensitive".
 13537  func (s ListCustomDataIdentifiersInput) GoString() string {
 13538  	return s.String()
 13539  }
 13540  
 13541  // SetMaxResults sets the MaxResults field's value.
 13542  func (s *ListCustomDataIdentifiersInput) SetMaxResults(v int64) *ListCustomDataIdentifiersInput {
 13543  	s.MaxResults = &v
 13544  	return s
 13545  }
 13546  
 13547  // SetNextToken sets the NextToken field's value.
 13548  func (s *ListCustomDataIdentifiersInput) SetNextToken(v string) *ListCustomDataIdentifiersInput {
 13549  	s.NextToken = &v
 13550  	return s
 13551  }
 13552  
 13553  // Provides the results of a request for information about custom data identifiers.
 13554  type ListCustomDataIdentifiersOutput struct {
 13555  	_ struct{} `type:"structure"`
 13556  
 13557  	Items []*CustomDataIdentifierSummary `locationName:"items" type:"list"`
 13558  
 13559  	NextToken *string `locationName:"nextToken" type:"string"`
 13560  }
 13561  
 13562  // String returns the string representation.
 13563  //
 13564  // API parameter values that are decorated as "sensitive" in the API will not
 13565  // be included in the string output. The member name will be present, but the
 13566  // value will be replaced with "sensitive".
 13567  func (s ListCustomDataIdentifiersOutput) String() string {
 13568  	return awsutil.Prettify(s)
 13569  }
 13570  
 13571  // GoString returns the string representation.
 13572  //
 13573  // API parameter values that are decorated as "sensitive" in the API will not
 13574  // be included in the string output. The member name will be present, but the
 13575  // value will be replaced with "sensitive".
 13576  func (s ListCustomDataIdentifiersOutput) GoString() string {
 13577  	return s.String()
 13578  }
 13579  
 13580  // SetItems sets the Items field's value.
 13581  func (s *ListCustomDataIdentifiersOutput) SetItems(v []*CustomDataIdentifierSummary) *ListCustomDataIdentifiersOutput {
 13582  	s.Items = v
 13583  	return s
 13584  }
 13585  
 13586  // SetNextToken sets the NextToken field's value.
 13587  func (s *ListCustomDataIdentifiersOutput) SetNextToken(v string) *ListCustomDataIdentifiersOutput {
 13588  	s.NextToken = &v
 13589  	return s
 13590  }
 13591  
 13592  type ListFindingsFiltersInput struct {
 13593  	_ struct{} `type:"structure" nopayload:"true"`
 13594  
 13595  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
 13596  
 13597  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
 13598  }
 13599  
 13600  // String returns the string representation.
 13601  //
 13602  // API parameter values that are decorated as "sensitive" in the API will not
 13603  // be included in the string output. The member name will be present, but the
 13604  // value will be replaced with "sensitive".
 13605  func (s ListFindingsFiltersInput) String() string {
 13606  	return awsutil.Prettify(s)
 13607  }
 13608  
 13609  // GoString returns the string representation.
 13610  //
 13611  // API parameter values that are decorated as "sensitive" in the API will not
 13612  // be included in the string output. The member name will be present, but the
 13613  // value will be replaced with "sensitive".
 13614  func (s ListFindingsFiltersInput) GoString() string {
 13615  	return s.String()
 13616  }
 13617  
 13618  // Validate inspects the fields of the type to determine if they are valid.
 13619  func (s *ListFindingsFiltersInput) Validate() error {
 13620  	invalidParams := request.ErrInvalidParams{Context: "ListFindingsFiltersInput"}
 13621  	if s.MaxResults != nil && *s.MaxResults < 1 {
 13622  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 13623  	}
 13624  
 13625  	if invalidParams.Len() > 0 {
 13626  		return invalidParams
 13627  	}
 13628  	return nil
 13629  }
 13630  
 13631  // SetMaxResults sets the MaxResults field's value.
 13632  func (s *ListFindingsFiltersInput) SetMaxResults(v int64) *ListFindingsFiltersInput {
 13633  	s.MaxResults = &v
 13634  	return s
 13635  }
 13636  
 13637  // SetNextToken sets the NextToken field's value.
 13638  func (s *ListFindingsFiltersInput) SetNextToken(v string) *ListFindingsFiltersInput {
 13639  	s.NextToken = &v
 13640  	return s
 13641  }
 13642  
 13643  // Provides information about all the findings filters for an account.
 13644  type ListFindingsFiltersOutput struct {
 13645  	_ struct{} `type:"structure"`
 13646  
 13647  	FindingsFilterListItems []*FindingsFilterListItem `locationName:"findingsFilterListItems" type:"list"`
 13648  
 13649  	NextToken *string `locationName:"nextToken" type:"string"`
 13650  }
 13651  
 13652  // String returns the string representation.
 13653  //
 13654  // API parameter values that are decorated as "sensitive" in the API will not
 13655  // be included in the string output. The member name will be present, but the
 13656  // value will be replaced with "sensitive".
 13657  func (s ListFindingsFiltersOutput) String() string {
 13658  	return awsutil.Prettify(s)
 13659  }
 13660  
 13661  // GoString returns the string representation.
 13662  //
 13663  // API parameter values that are decorated as "sensitive" in the API will not
 13664  // be included in the string output. The member name will be present, but the
 13665  // value will be replaced with "sensitive".
 13666  func (s ListFindingsFiltersOutput) GoString() string {
 13667  	return s.String()
 13668  }
 13669  
 13670  // SetFindingsFilterListItems sets the FindingsFilterListItems field's value.
 13671  func (s *ListFindingsFiltersOutput) SetFindingsFilterListItems(v []*FindingsFilterListItem) *ListFindingsFiltersOutput {
 13672  	s.FindingsFilterListItems = v
 13673  	return s
 13674  }
 13675  
 13676  // SetNextToken sets the NextToken field's value.
 13677  func (s *ListFindingsFiltersOutput) SetNextToken(v string) *ListFindingsFiltersOutput {
 13678  	s.NextToken = &v
 13679  	return s
 13680  }
 13681  
 13682  // Specifies criteria for filtering, sorting, and paginating the results of
 13683  // a request for information about findings.
 13684  type ListFindingsInput struct {
 13685  	_ struct{} `type:"structure"`
 13686  
 13687  	// Specifies, as a map, one or more property-based conditions that filter the
 13688  	// results of a query for findings.
 13689  	FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"`
 13690  
 13691  	MaxResults *int64 `locationName:"maxResults" type:"integer"`
 13692  
 13693  	NextToken *string `locationName:"nextToken" type:"string"`
 13694  
 13695  	// Specifies criteria for sorting the results of a request for findings.
 13696  	SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"`
 13697  }
 13698  
 13699  // String returns the string representation.
 13700  //
 13701  // API parameter values that are decorated as "sensitive" in the API will not
 13702  // be included in the string output. The member name will be present, but the
 13703  // value will be replaced with "sensitive".
 13704  func (s ListFindingsInput) String() string {
 13705  	return awsutil.Prettify(s)
 13706  }
 13707  
 13708  // GoString returns the string representation.
 13709  //
 13710  // API parameter values that are decorated as "sensitive" in the API will not
 13711  // be included in the string output. The member name will be present, but the
 13712  // value will be replaced with "sensitive".
 13713  func (s ListFindingsInput) GoString() string {
 13714  	return s.String()
 13715  }
 13716  
 13717  // SetFindingCriteria sets the FindingCriteria field's value.
 13718  func (s *ListFindingsInput) SetFindingCriteria(v *FindingCriteria) *ListFindingsInput {
 13719  	s.FindingCriteria = v
 13720  	return s
 13721  }
 13722  
 13723  // SetMaxResults sets the MaxResults field's value.
 13724  func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput {
 13725  	s.MaxResults = &v
 13726  	return s
 13727  }
 13728  
 13729  // SetNextToken sets the NextToken field's value.
 13730  func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput {
 13731  	s.NextToken = &v
 13732  	return s
 13733  }
 13734  
 13735  // SetSortCriteria sets the SortCriteria field's value.
 13736  func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput {
 13737  	s.SortCriteria = v
 13738  	return s
 13739  }
 13740  
 13741  // Provides the results of a request for information about one or more findings.
 13742  type ListFindingsOutput struct {
 13743  	_ struct{} `type:"structure"`
 13744  
 13745  	FindingIds []*string `locationName:"findingIds" type:"list"`
 13746  
 13747  	NextToken *string `locationName:"nextToken" type:"string"`
 13748  }
 13749  
 13750  // String returns the string representation.
 13751  //
 13752  // API parameter values that are decorated as "sensitive" in the API will not
 13753  // be included in the string output. The member name will be present, but the
 13754  // value will be replaced with "sensitive".
 13755  func (s ListFindingsOutput) String() string {
 13756  	return awsutil.Prettify(s)
 13757  }
 13758  
 13759  // GoString returns the string representation.
 13760  //
 13761  // API parameter values that are decorated as "sensitive" in the API will not
 13762  // be included in the string output. The member name will be present, but the
 13763  // value will be replaced with "sensitive".
 13764  func (s ListFindingsOutput) GoString() string {
 13765  	return s.String()
 13766  }
 13767  
 13768  // SetFindingIds sets the FindingIds field's value.
 13769  func (s *ListFindingsOutput) SetFindingIds(v []*string) *ListFindingsOutput {
 13770  	s.FindingIds = v
 13771  	return s
 13772  }
 13773  
 13774  // SetNextToken sets the NextToken field's value.
 13775  func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput {
 13776  	s.NextToken = &v
 13777  	return s
 13778  }
 13779  
 13780  type ListInvitationsInput struct {
 13781  	_ struct{} `type:"structure" nopayload:"true"`
 13782  
 13783  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
 13784  
 13785  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
 13786  }
 13787  
 13788  // String returns the string representation.
 13789  //
 13790  // API parameter values that are decorated as "sensitive" in the API will not
 13791  // be included in the string output. The member name will be present, but the
 13792  // value will be replaced with "sensitive".
 13793  func (s ListInvitationsInput) String() string {
 13794  	return awsutil.Prettify(s)
 13795  }
 13796  
 13797  // GoString returns the string representation.
 13798  //
 13799  // API parameter values that are decorated as "sensitive" in the API will not
 13800  // be included in the string output. The member name will be present, but the
 13801  // value will be replaced with "sensitive".
 13802  func (s ListInvitationsInput) GoString() string {
 13803  	return s.String()
 13804  }
 13805  
 13806  // Validate inspects the fields of the type to determine if they are valid.
 13807  func (s *ListInvitationsInput) Validate() error {
 13808  	invalidParams := request.ErrInvalidParams{Context: "ListInvitationsInput"}
 13809  	if s.MaxResults != nil && *s.MaxResults < 1 {
 13810  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 13811  	}
 13812  
 13813  	if invalidParams.Len() > 0 {
 13814  		return invalidParams
 13815  	}
 13816  	return nil
 13817  }
 13818  
 13819  // SetMaxResults sets the MaxResults field's value.
 13820  func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput {
 13821  	s.MaxResults = &v
 13822  	return s
 13823  }
 13824  
 13825  // SetNextToken sets the NextToken field's value.
 13826  func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput {
 13827  	s.NextToken = &v
 13828  	return s
 13829  }
 13830  
 13831  // Provides information about the Amazon Macie membership invitations that were
 13832  // received by an account.
 13833  type ListInvitationsOutput struct {
 13834  	_ struct{} `type:"structure"`
 13835  
 13836  	Invitations []*Invitation `locationName:"invitations" type:"list"`
 13837  
 13838  	NextToken *string `locationName:"nextToken" type:"string"`
 13839  }
 13840  
 13841  // String returns the string representation.
 13842  //
 13843  // API parameter values that are decorated as "sensitive" in the API will not
 13844  // be included in the string output. The member name will be present, but the
 13845  // value will be replaced with "sensitive".
 13846  func (s ListInvitationsOutput) String() string {
 13847  	return awsutil.Prettify(s)
 13848  }
 13849  
 13850  // GoString returns the string representation.
 13851  //
 13852  // API parameter values that are decorated as "sensitive" in the API will not
 13853  // be included in the string output. The member name will be present, but the
 13854  // value will be replaced with "sensitive".
 13855  func (s ListInvitationsOutput) GoString() string {
 13856  	return s.String()
 13857  }
 13858  
 13859  // SetInvitations sets the Invitations field's value.
 13860  func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput {
 13861  	s.Invitations = v
 13862  	return s
 13863  }
 13864  
 13865  // SetNextToken sets the NextToken field's value.
 13866  func (s *ListInvitationsOutput) SetNextToken(v string) *ListInvitationsOutput {
 13867  	s.NextToken = &v
 13868  	return s
 13869  }
 13870  
 13871  // Specifies criteria for filtering the results of a request for information
 13872  // about classification jobs.
 13873  type ListJobsFilterCriteria struct {
 13874  	_ struct{} `type:"structure"`
 13875  
 13876  	Excludes []*ListJobsFilterTerm `locationName:"excludes" type:"list"`
 13877  
 13878  	Includes []*ListJobsFilterTerm `locationName:"includes" type:"list"`
 13879  }
 13880  
 13881  // String returns the string representation.
 13882  //
 13883  // API parameter values that are decorated as "sensitive" in the API will not
 13884  // be included in the string output. The member name will be present, but the
 13885  // value will be replaced with "sensitive".
 13886  func (s ListJobsFilterCriteria) String() string {
 13887  	return awsutil.Prettify(s)
 13888  }
 13889  
 13890  // GoString returns the string representation.
 13891  //
 13892  // API parameter values that are decorated as "sensitive" in the API will not
 13893  // be included in the string output. The member name will be present, but the
 13894  // value will be replaced with "sensitive".
 13895  func (s ListJobsFilterCriteria) GoString() string {
 13896  	return s.String()
 13897  }
 13898  
 13899  // SetExcludes sets the Excludes field's value.
 13900  func (s *ListJobsFilterCriteria) SetExcludes(v []*ListJobsFilterTerm) *ListJobsFilterCriteria {
 13901  	s.Excludes = v
 13902  	return s
 13903  }
 13904  
 13905  // SetIncludes sets the Includes field's value.
 13906  func (s *ListJobsFilterCriteria) SetIncludes(v []*ListJobsFilterTerm) *ListJobsFilterCriteria {
 13907  	s.Includes = v
 13908  	return s
 13909  }
 13910  
 13911  // Specifies a condition that filters the results of a request for information
 13912  // about classification jobs. Each condition consists of a property, an operator,
 13913  // and one or more values.
 13914  type ListJobsFilterTerm struct {
 13915  	_ struct{} `type:"structure"`
 13916  
 13917  	// The operator to use in a condition. Valid values are:
 13918  	Comparator *string `locationName:"comparator" type:"string" enum:"JobComparator"`
 13919  
 13920  	// The property to use to filter the results. Valid values are:
 13921  	Key *string `locationName:"key" type:"string" enum:"ListJobsFilterKey"`
 13922  
 13923  	Values []*string `locationName:"values" type:"list"`
 13924  }
 13925  
 13926  // String returns the string representation.
 13927  //
 13928  // API parameter values that are decorated as "sensitive" in the API will not
 13929  // be included in the string output. The member name will be present, but the
 13930  // value will be replaced with "sensitive".
 13931  func (s ListJobsFilterTerm) String() string {
 13932  	return awsutil.Prettify(s)
 13933  }
 13934  
 13935  // GoString returns the string representation.
 13936  //
 13937  // API parameter values that are decorated as "sensitive" in the API will not
 13938  // be included in the string output. The member name will be present, but the
 13939  // value will be replaced with "sensitive".
 13940  func (s ListJobsFilterTerm) GoString() string {
 13941  	return s.String()
 13942  }
 13943  
 13944  // SetComparator sets the Comparator field's value.
 13945  func (s *ListJobsFilterTerm) SetComparator(v string) *ListJobsFilterTerm {
 13946  	s.Comparator = &v
 13947  	return s
 13948  }
 13949  
 13950  // SetKey sets the Key field's value.
 13951  func (s *ListJobsFilterTerm) SetKey(v string) *ListJobsFilterTerm {
 13952  	s.Key = &v
 13953  	return s
 13954  }
 13955  
 13956  // SetValues sets the Values field's value.
 13957  func (s *ListJobsFilterTerm) SetValues(v []*string) *ListJobsFilterTerm {
 13958  	s.Values = v
 13959  	return s
 13960  }
 13961  
 13962  // Specifies criteria for sorting the results of a request for information about
 13963  // classification jobs.
 13964  type ListJobsSortCriteria struct {
 13965  	_ struct{} `type:"structure"`
 13966  
 13967  	// The property to sort the results by. Valid values are:
 13968  	AttributeName *string `locationName:"attributeName" type:"string" enum:"ListJobsSortAttributeName"`
 13969  
 13970  	OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
 13971  }
 13972  
 13973  // String returns the string representation.
 13974  //
 13975  // API parameter values that are decorated as "sensitive" in the API will not
 13976  // be included in the string output. The member name will be present, but the
 13977  // value will be replaced with "sensitive".
 13978  func (s ListJobsSortCriteria) String() string {
 13979  	return awsutil.Prettify(s)
 13980  }
 13981  
 13982  // GoString returns the string representation.
 13983  //
 13984  // API parameter values that are decorated as "sensitive" in the API will not
 13985  // be included in the string output. The member name will be present, but the
 13986  // value will be replaced with "sensitive".
 13987  func (s ListJobsSortCriteria) GoString() string {
 13988  	return s.String()
 13989  }
 13990  
 13991  // SetAttributeName sets the AttributeName field's value.
 13992  func (s *ListJobsSortCriteria) SetAttributeName(v string) *ListJobsSortCriteria {
 13993  	s.AttributeName = &v
 13994  	return s
 13995  }
 13996  
 13997  // SetOrderBy sets the OrderBy field's value.
 13998  func (s *ListJobsSortCriteria) SetOrderBy(v string) *ListJobsSortCriteria {
 13999  	s.OrderBy = &v
 14000  	return s
 14001  }
 14002  
 14003  // Specifies criteria for paginating the results of a request for information
 14004  // about managed data identifiers.
 14005  type ListManagedDataIdentifiersInput struct {
 14006  	_ struct{} `type:"structure"`
 14007  
 14008  	NextToken *string `locationName:"nextToken" type:"string"`
 14009  }
 14010  
 14011  // String returns the string representation.
 14012  //
 14013  // API parameter values that are decorated as "sensitive" in the API will not
 14014  // be included in the string output. The member name will be present, but the
 14015  // value will be replaced with "sensitive".
 14016  func (s ListManagedDataIdentifiersInput) String() string {
 14017  	return awsutil.Prettify(s)
 14018  }
 14019  
 14020  // GoString returns the string representation.
 14021  //
 14022  // API parameter values that are decorated as "sensitive" in the API will not
 14023  // be included in the string output. The member name will be present, but the
 14024  // value will be replaced with "sensitive".
 14025  func (s ListManagedDataIdentifiersInput) GoString() string {
 14026  	return s.String()
 14027  }
 14028  
 14029  // SetNextToken sets the NextToken field's value.
 14030  func (s *ListManagedDataIdentifiersInput) SetNextToken(v string) *ListManagedDataIdentifiersInput {
 14031  	s.NextToken = &v
 14032  	return s
 14033  }
 14034  
 14035  // Provides information about the managed data identifiers that Amazon Macie
 14036  // currently provides.
 14037  type ListManagedDataIdentifiersOutput struct {
 14038  	_ struct{} `type:"structure"`
 14039  
 14040  	Items []*ManagedDataIdentifierSummary `locationName:"items" type:"list"`
 14041  
 14042  	NextToken *string `locationName:"nextToken" type:"string"`
 14043  }
 14044  
 14045  // String returns the string representation.
 14046  //
 14047  // API parameter values that are decorated as "sensitive" in the API will not
 14048  // be included in the string output. The member name will be present, but the
 14049  // value will be replaced with "sensitive".
 14050  func (s ListManagedDataIdentifiersOutput) String() string {
 14051  	return awsutil.Prettify(s)
 14052  }
 14053  
 14054  // GoString returns the string representation.
 14055  //
 14056  // API parameter values that are decorated as "sensitive" in the API will not
 14057  // be included in the string output. The member name will be present, but the
 14058  // value will be replaced with "sensitive".
 14059  func (s ListManagedDataIdentifiersOutput) GoString() string {
 14060  	return s.String()
 14061  }
 14062  
 14063  // SetItems sets the Items field's value.
 14064  func (s *ListManagedDataIdentifiersOutput) SetItems(v []*ManagedDataIdentifierSummary) *ListManagedDataIdentifiersOutput {
 14065  	s.Items = v
 14066  	return s
 14067  }
 14068  
 14069  // SetNextToken sets the NextToken field's value.
 14070  func (s *ListManagedDataIdentifiersOutput) SetNextToken(v string) *ListManagedDataIdentifiersOutput {
 14071  	s.NextToken = &v
 14072  	return s
 14073  }
 14074  
 14075  type ListMembersInput struct {
 14076  	_ struct{} `type:"structure" nopayload:"true"`
 14077  
 14078  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
 14079  
 14080  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
 14081  
 14082  	OnlyAssociated *string `location:"querystring" locationName:"onlyAssociated" type:"string"`
 14083  }
 14084  
 14085  // String returns the string representation.
 14086  //
 14087  // API parameter values that are decorated as "sensitive" in the API will not
 14088  // be included in the string output. The member name will be present, but the
 14089  // value will be replaced with "sensitive".
 14090  func (s ListMembersInput) String() string {
 14091  	return awsutil.Prettify(s)
 14092  }
 14093  
 14094  // GoString returns the string representation.
 14095  //
 14096  // API parameter values that are decorated as "sensitive" in the API will not
 14097  // be included in the string output. The member name will be present, but the
 14098  // value will be replaced with "sensitive".
 14099  func (s ListMembersInput) GoString() string {
 14100  	return s.String()
 14101  }
 14102  
 14103  // Validate inspects the fields of the type to determine if they are valid.
 14104  func (s *ListMembersInput) Validate() error {
 14105  	invalidParams := request.ErrInvalidParams{Context: "ListMembersInput"}
 14106  	if s.MaxResults != nil && *s.MaxResults < 1 {
 14107  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 14108  	}
 14109  
 14110  	if invalidParams.Len() > 0 {
 14111  		return invalidParams
 14112  	}
 14113  	return nil
 14114  }
 14115  
 14116  // SetMaxResults sets the MaxResults field's value.
 14117  func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput {
 14118  	s.MaxResults = &v
 14119  	return s
 14120  }
 14121  
 14122  // SetNextToken sets the NextToken field's value.
 14123  func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput {
 14124  	s.NextToken = &v
 14125  	return s
 14126  }
 14127  
 14128  // SetOnlyAssociated sets the OnlyAssociated field's value.
 14129  func (s *ListMembersInput) SetOnlyAssociated(v string) *ListMembersInput {
 14130  	s.OnlyAssociated = &v
 14131  	return s
 14132  }
 14133  
 14134  // Provides information about the accounts that are associated with an Amazon
 14135  // Macie administrator account.
 14136  type ListMembersOutput struct {
 14137  	_ struct{} `type:"structure"`
 14138  
 14139  	Members []*Member `locationName:"members" type:"list"`
 14140  
 14141  	NextToken *string `locationName:"nextToken" type:"string"`
 14142  }
 14143  
 14144  // String returns the string representation.
 14145  //
 14146  // API parameter values that are decorated as "sensitive" in the API will not
 14147  // be included in the string output. The member name will be present, but the
 14148  // value will be replaced with "sensitive".
 14149  func (s ListMembersOutput) String() string {
 14150  	return awsutil.Prettify(s)
 14151  }
 14152  
 14153  // GoString returns the string representation.
 14154  //
 14155  // API parameter values that are decorated as "sensitive" in the API will not
 14156  // be included in the string output. The member name will be present, but the
 14157  // value will be replaced with "sensitive".
 14158  func (s ListMembersOutput) GoString() string {
 14159  	return s.String()
 14160  }
 14161  
 14162  // SetMembers sets the Members field's value.
 14163  func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput {
 14164  	s.Members = v
 14165  	return s
 14166  }
 14167  
 14168  // SetNextToken sets the NextToken field's value.
 14169  func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput {
 14170  	s.NextToken = &v
 14171  	return s
 14172  }
 14173  
 14174  type ListOrganizationAdminAccountsInput struct {
 14175  	_ struct{} `type:"structure" nopayload:"true"`
 14176  
 14177  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
 14178  
 14179  	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
 14180  }
 14181  
 14182  // String returns the string representation.
 14183  //
 14184  // API parameter values that are decorated as "sensitive" in the API will not
 14185  // be included in the string output. The member name will be present, but the
 14186  // value will be replaced with "sensitive".
 14187  func (s ListOrganizationAdminAccountsInput) String() string {
 14188  	return awsutil.Prettify(s)
 14189  }
 14190  
 14191  // GoString returns the string representation.
 14192  //
 14193  // API parameter values that are decorated as "sensitive" in the API will not
 14194  // be included in the string output. The member name will be present, but the
 14195  // value will be replaced with "sensitive".
 14196  func (s ListOrganizationAdminAccountsInput) GoString() string {
 14197  	return s.String()
 14198  }
 14199  
 14200  // Validate inspects the fields of the type to determine if they are valid.
 14201  func (s *ListOrganizationAdminAccountsInput) Validate() error {
 14202  	invalidParams := request.ErrInvalidParams{Context: "ListOrganizationAdminAccountsInput"}
 14203  	if s.MaxResults != nil && *s.MaxResults < 1 {
 14204  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 14205  	}
 14206  
 14207  	if invalidParams.Len() > 0 {
 14208  		return invalidParams
 14209  	}
 14210  	return nil
 14211  }
 14212  
 14213  // SetMaxResults sets the MaxResults field's value.
 14214  func (s *ListOrganizationAdminAccountsInput) SetMaxResults(v int64) *ListOrganizationAdminAccountsInput {
 14215  	s.MaxResults = &v
 14216  	return s
 14217  }
 14218  
 14219  // SetNextToken sets the NextToken field's value.
 14220  func (s *ListOrganizationAdminAccountsInput) SetNextToken(v string) *ListOrganizationAdminAccountsInput {
 14221  	s.NextToken = &v
 14222  	return s
 14223  }
 14224  
 14225  // Provides information about the delegated Amazon Macie administrator accounts
 14226  // for an Amazon Web Services organization.
 14227  type ListOrganizationAdminAccountsOutput struct {
 14228  	_ struct{} `type:"structure"`
 14229  
 14230  	AdminAccounts []*AdminAccount `locationName:"adminAccounts" type:"list"`
 14231  
 14232  	NextToken *string `locationName:"nextToken" type:"string"`
 14233  }
 14234  
 14235  // String returns the string representation.
 14236  //
 14237  // API parameter values that are decorated as "sensitive" in the API will not
 14238  // be included in the string output. The member name will be present, but the
 14239  // value will be replaced with "sensitive".
 14240  func (s ListOrganizationAdminAccountsOutput) String() string {
 14241  	return awsutil.Prettify(s)
 14242  }
 14243  
 14244  // GoString returns the string representation.
 14245  //
 14246  // API parameter values that are decorated as "sensitive" in the API will not
 14247  // be included in the string output. The member name will be present, but the
 14248  // value will be replaced with "sensitive".
 14249  func (s ListOrganizationAdminAccountsOutput) GoString() string {
 14250  	return s.String()
 14251  }
 14252  
 14253  // SetAdminAccounts sets the AdminAccounts field's value.
 14254  func (s *ListOrganizationAdminAccountsOutput) SetAdminAccounts(v []*AdminAccount) *ListOrganizationAdminAccountsOutput {
 14255  	s.AdminAccounts = v
 14256  	return s
 14257  }
 14258  
 14259  // SetNextToken sets the NextToken field's value.
 14260  func (s *ListOrganizationAdminAccountsOutput) SetNextToken(v string) *ListOrganizationAdminAccountsOutput {
 14261  	s.NextToken = &v
 14262  	return s
 14263  }
 14264  
 14265  type ListTagsForResourceInput struct {
 14266  	_ struct{} `type:"structure" nopayload:"true"`
 14267  
 14268  	// ResourceArn is a required field
 14269  	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
 14270  }
 14271  
 14272  // String returns the string representation.
 14273  //
 14274  // API parameter values that are decorated as "sensitive" in the API will not
 14275  // be included in the string output. The member name will be present, but the
 14276  // value will be replaced with "sensitive".
 14277  func (s ListTagsForResourceInput) String() string {
 14278  	return awsutil.Prettify(s)
 14279  }
 14280  
 14281  // GoString returns the string representation.
 14282  //
 14283  // API parameter values that are decorated as "sensitive" in the API will not
 14284  // be included in the string output. The member name will be present, but the
 14285  // value will be replaced with "sensitive".
 14286  func (s ListTagsForResourceInput) GoString() string {
 14287  	return s.String()
 14288  }
 14289  
 14290  // Validate inspects the fields of the type to determine if they are valid.
 14291  func (s *ListTagsForResourceInput) Validate() error {
 14292  	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
 14293  	if s.ResourceArn == nil {
 14294  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 14295  	}
 14296  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 14297  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 14298  	}
 14299  
 14300  	if invalidParams.Len() > 0 {
 14301  		return invalidParams
 14302  	}
 14303  	return nil
 14304  }
 14305  
 14306  // SetResourceArn sets the ResourceArn field's value.
 14307  func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
 14308  	s.ResourceArn = &v
 14309  	return s
 14310  }
 14311  
 14312  // Provides information about the tags (keys and values) that are associated
 14313  // with a classification job, custom data identifier, findings filter, or member
 14314  // account.
 14315  type ListTagsForResourceOutput struct {
 14316  	_ struct{} `type:"structure"`
 14317  
 14318  	// A string-to-string map of key-value pairs that specifies the tags (keys and
 14319  	// values) for a classification job, custom data identifier, findings filter,
 14320  	// or member account.
 14321  	Tags map[string]*string `locationName:"tags" type:"map"`
 14322  }
 14323  
 14324  // String returns the string representation.
 14325  //
 14326  // API parameter values that are decorated as "sensitive" in the API will not
 14327  // be included in the string output. The member name will be present, but the
 14328  // value will be replaced with "sensitive".
 14329  func (s ListTagsForResourceOutput) String() string {
 14330  	return awsutil.Prettify(s)
 14331  }
 14332  
 14333  // GoString returns the string representation.
 14334  //
 14335  // API parameter values that are decorated as "sensitive" in the API will not
 14336  // be included in the string output. The member name will be present, but the
 14337  // value will be replaced with "sensitive".
 14338  func (s ListTagsForResourceOutput) GoString() string {
 14339  	return s.String()
 14340  }
 14341  
 14342  // SetTags sets the Tags field's value.
 14343  func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
 14344  	s.Tags = v
 14345  	return s
 14346  }
 14347  
 14348  // Provides information about a managed data identifier. For additional information,
 14349  // see Using managed data identifiers (https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html)
 14350  // in the Amazon Macie User Guide.
 14351  type ManagedDataIdentifierSummary struct {
 14352  	_ struct{} `type:"structure"`
 14353  
 14354  	// For a finding, the category of sensitive data that was detected and produced
 14355  	// the finding. For a managed data identifier, the category of sensitive data
 14356  	// that the managed data identifier detects. Possible values are:
 14357  	Category *string `locationName:"category" type:"string" enum:"SensitiveDataItemCategory"`
 14358  
 14359  	Id *string `locationName:"id" type:"string"`
 14360  }
 14361  
 14362  // String returns the string representation.
 14363  //
 14364  // API parameter values that are decorated as "sensitive" in the API will not
 14365  // be included in the string output. The member name will be present, but the
 14366  // value will be replaced with "sensitive".
 14367  func (s ManagedDataIdentifierSummary) String() string {
 14368  	return awsutil.Prettify(s)
 14369  }
 14370  
 14371  // GoString returns the string representation.
 14372  //
 14373  // API parameter values that are decorated as "sensitive" in the API will not
 14374  // be included in the string output. The member name will be present, but the
 14375  // value will be replaced with "sensitive".
 14376  func (s ManagedDataIdentifierSummary) GoString() string {
 14377  	return s.String()
 14378  }
 14379  
 14380  // SetCategory sets the Category field's value.
 14381  func (s *ManagedDataIdentifierSummary) SetCategory(v string) *ManagedDataIdentifierSummary {
 14382  	s.Category = &v
 14383  	return s
 14384  }
 14385  
 14386  // SetId sets the Id field's value.
 14387  func (s *ManagedDataIdentifierSummary) SetId(v string) *ManagedDataIdentifierSummary {
 14388  	s.Id = &v
 14389  	return s
 14390  }
 14391  
 14392  // Provides statistical data and other information about an S3 bucket that Amazon
 14393  // Macie monitors and analyzes for your account. If an error occurs when Macie
 14394  // attempts to retrieve and process information about the bucket or the bucket's
 14395  // objects, the value for most of these properties is null. Exceptions are accountId
 14396  // and bucketName. To identify the cause of the error, refer to the errorCode
 14397  // and errorMessage values.
 14398  type MatchingBucket struct {
 14399  	_ struct{} `type:"structure"`
 14400  
 14401  	AccountId *string `locationName:"accountId" type:"string"`
 14402  
 14403  	BucketName *string `locationName:"bucketName" type:"string"`
 14404  
 14405  	ClassifiableObjectCount *int64 `locationName:"classifiableObjectCount" type:"long"`
 14406  
 14407  	ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"`
 14408  
 14409  	// The error code for an error that prevented Amazon Macie from retrieving and
 14410  	// processing information about an S3 bucket and the bucket's objects.
 14411  	ErrorCode *string `locationName:"errorCode" type:"string" enum:"BucketMetadataErrorCode"`
 14412  
 14413  	ErrorMessage *string `locationName:"errorMessage" type:"string"`
 14414  
 14415  	// Specifies whether any one-time or recurring classification jobs are configured
 14416  	// to analyze data in an S3 bucket, and, if so, the details of the job that
 14417  	// ran most recently.
 14418  	JobDetails *JobDetails `locationName:"jobDetails" type:"structure"`
 14419  
 14420  	ObjectCount *int64 `locationName:"objectCount" type:"long"`
 14421  
 14422  	// Provides information about the number of objects that are in an S3 bucket
 14423  	// and use certain types of server-side encryption, use client-side encryption,
 14424  	// or aren't encrypted.
 14425  	ObjectCountByEncryptionType *ObjectCountByEncryptionType `locationName:"objectCountByEncryptionType" type:"structure"`
 14426  
 14427  	SizeInBytes *int64 `locationName:"sizeInBytes" type:"long"`
 14428  
 14429  	SizeInBytesCompressed *int64 `locationName:"sizeInBytesCompressed" type:"long"`
 14430  
 14431  	// Provides information about the total storage size (in bytes) or number of
 14432  	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
 14433  	// or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse
 14434  	// object, this data is aggregated for the buckets in the query results. If
 14435  	// versioning is enabled for a bucket, total storage size values are based on
 14436  	// the size of the latest version of each applicable object in the bucket.
 14437  	UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"`
 14438  
 14439  	// Provides information about the total storage size (in bytes) or number of
 14440  	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
 14441  	// or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse
 14442  	// object, this data is aggregated for the buckets in the query results. If
 14443  	// versioning is enabled for a bucket, total storage size values are based on
 14444  	// the size of the latest version of each applicable object in the bucket.
 14445  	UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"`
 14446  }
 14447  
 14448  // String returns the string representation.
 14449  //
 14450  // API parameter values that are decorated as "sensitive" in the API will not
 14451  // be included in the string output. The member name will be present, but the
 14452  // value will be replaced with "sensitive".
 14453  func (s MatchingBucket) String() string {
 14454  	return awsutil.Prettify(s)
 14455  }
 14456  
 14457  // GoString returns the string representation.
 14458  //
 14459  // API parameter values that are decorated as "sensitive" in the API will not
 14460  // be included in the string output. The member name will be present, but the
 14461  // value will be replaced with "sensitive".
 14462  func (s MatchingBucket) GoString() string {
 14463  	return s.String()
 14464  }
 14465  
 14466  // SetAccountId sets the AccountId field's value.
 14467  func (s *MatchingBucket) SetAccountId(v string) *MatchingBucket {
 14468  	s.AccountId = &v
 14469  	return s
 14470  }
 14471  
 14472  // SetBucketName sets the BucketName field's value.
 14473  func (s *MatchingBucket) SetBucketName(v string) *MatchingBucket {
 14474  	s.BucketName = &v
 14475  	return s
 14476  }
 14477  
 14478  // SetClassifiableObjectCount sets the ClassifiableObjectCount field's value.
 14479  func (s *MatchingBucket) SetClassifiableObjectCount(v int64) *MatchingBucket {
 14480  	s.ClassifiableObjectCount = &v
 14481  	return s
 14482  }
 14483  
 14484  // SetClassifiableSizeInBytes sets the ClassifiableSizeInBytes field's value.
 14485  func (s *MatchingBucket) SetClassifiableSizeInBytes(v int64) *MatchingBucket {
 14486  	s.ClassifiableSizeInBytes = &v
 14487  	return s
 14488  }
 14489  
 14490  // SetErrorCode sets the ErrorCode field's value.
 14491  func (s *MatchingBucket) SetErrorCode(v string) *MatchingBucket {
 14492  	s.ErrorCode = &v
 14493  	return s
 14494  }
 14495  
 14496  // SetErrorMessage sets the ErrorMessage field's value.
 14497  func (s *MatchingBucket) SetErrorMessage(v string) *MatchingBucket {
 14498  	s.ErrorMessage = &v
 14499  	return s
 14500  }
 14501  
 14502  // SetJobDetails sets the JobDetails field's value.
 14503  func (s *MatchingBucket) SetJobDetails(v *JobDetails) *MatchingBucket {
 14504  	s.JobDetails = v
 14505  	return s
 14506  }
 14507  
 14508  // SetObjectCount sets the ObjectCount field's value.
 14509  func (s *MatchingBucket) SetObjectCount(v int64) *MatchingBucket {
 14510  	s.ObjectCount = &v
 14511  	return s
 14512  }
 14513  
 14514  // SetObjectCountByEncryptionType sets the ObjectCountByEncryptionType field's value.
 14515  func (s *MatchingBucket) SetObjectCountByEncryptionType(v *ObjectCountByEncryptionType) *MatchingBucket {
 14516  	s.ObjectCountByEncryptionType = v
 14517  	return s
 14518  }
 14519  
 14520  // SetSizeInBytes sets the SizeInBytes field's value.
 14521  func (s *MatchingBucket) SetSizeInBytes(v int64) *MatchingBucket {
 14522  	s.SizeInBytes = &v
 14523  	return s
 14524  }
 14525  
 14526  // SetSizeInBytesCompressed sets the SizeInBytesCompressed field's value.
 14527  func (s *MatchingBucket) SetSizeInBytesCompressed(v int64) *MatchingBucket {
 14528  	s.SizeInBytesCompressed = &v
 14529  	return s
 14530  }
 14531  
 14532  // SetUnclassifiableObjectCount sets the UnclassifiableObjectCount field's value.
 14533  func (s *MatchingBucket) SetUnclassifiableObjectCount(v *ObjectLevelStatistics) *MatchingBucket {
 14534  	s.UnclassifiableObjectCount = v
 14535  	return s
 14536  }
 14537  
 14538  // SetUnclassifiableObjectSizeInBytes sets the UnclassifiableObjectSizeInBytes field's value.
 14539  func (s *MatchingBucket) SetUnclassifiableObjectSizeInBytes(v *ObjectLevelStatistics) *MatchingBucket {
 14540  	s.UnclassifiableObjectSizeInBytes = v
 14541  	return s
 14542  }
 14543  
 14544  // Provides statistical data and other information about an Amazon Web Services
 14545  // resource that Amazon Macie monitors and analyzes for your account.
 14546  type MatchingResource struct {
 14547  	_ struct{} `type:"structure"`
 14548  
 14549  	// Provides statistical data and other information about an S3 bucket that Amazon
 14550  	// Macie monitors and analyzes for your account. If an error occurs when Macie
 14551  	// attempts to retrieve and process information about the bucket or the bucket's
 14552  	// objects, the value for most of these properties is null. Exceptions are accountId
 14553  	// and bucketName. To identify the cause of the error, refer to the errorCode
 14554  	// and errorMessage values.
 14555  	MatchingBucket *MatchingBucket `locationName:"matchingBucket" type:"structure"`
 14556  }
 14557  
 14558  // String returns the string representation.
 14559  //
 14560  // API parameter values that are decorated as "sensitive" in the API will not
 14561  // be included in the string output. The member name will be present, but the
 14562  // value will be replaced with "sensitive".
 14563  func (s MatchingResource) String() string {
 14564  	return awsutil.Prettify(s)
 14565  }
 14566  
 14567  // GoString returns the string representation.
 14568  //
 14569  // API parameter values that are decorated as "sensitive" in the API will not
 14570  // be included in the string output. The member name will be present, but the
 14571  // value will be replaced with "sensitive".
 14572  func (s MatchingResource) GoString() string {
 14573  	return s.String()
 14574  }
 14575  
 14576  // SetMatchingBucket sets the MatchingBucket field's value.
 14577  func (s *MatchingResource) SetMatchingBucket(v *MatchingBucket) *MatchingResource {
 14578  	s.MatchingBucket = v
 14579  	return s
 14580  }
 14581  
 14582  // Provides information about an account that's associated with an Amazon Macie
 14583  // administrator account.
 14584  type Member struct {
 14585  	_ struct{} `type:"structure"`
 14586  
 14587  	AccountId *string `locationName:"accountId" type:"string"`
 14588  
 14589  	AdministratorAccountId *string `locationName:"administratorAccountId" type:"string"`
 14590  
 14591  	Arn *string `locationName:"arn" type:"string"`
 14592  
 14593  	Email *string `locationName:"email" type:"string"`
 14594  
 14595  	InvitedAt *time.Time `locationName:"invitedAt" type:"timestamp" timestampFormat:"iso8601"`
 14596  
 14597  	MasterAccountId *string `locationName:"masterAccountId" type:"string"`
 14598  
 14599  	// The current status of the relationship between an account and an associated
 14600  	// Amazon Macie administrator account (inviter account). Possible values are:
 14601  	RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"`
 14602  
 14603  	// A string-to-string map of key-value pairs that specifies the tags (keys and
 14604  	// values) for a classification job, custom data identifier, findings filter,
 14605  	// or member account.
 14606  	Tags map[string]*string `locationName:"tags" type:"map"`
 14607  
 14608  	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
 14609  }
 14610  
 14611  // String returns the string representation.
 14612  //
 14613  // API parameter values that are decorated as "sensitive" in the API will not
 14614  // be included in the string output. The member name will be present, but the
 14615  // value will be replaced with "sensitive".
 14616  func (s Member) String() string {
 14617  	return awsutil.Prettify(s)
 14618  }
 14619  
 14620  // GoString returns the string representation.
 14621  //
 14622  // API parameter values that are decorated as "sensitive" in the API will not
 14623  // be included in the string output. The member name will be present, but the
 14624  // value will be replaced with "sensitive".
 14625  func (s Member) GoString() string {
 14626  	return s.String()
 14627  }
 14628  
 14629  // SetAccountId sets the AccountId field's value.
 14630  func (s *Member) SetAccountId(v string) *Member {
 14631  	s.AccountId = &v
 14632  	return s
 14633  }
 14634  
 14635  // SetAdministratorAccountId sets the AdministratorAccountId field's value.
 14636  func (s *Member) SetAdministratorAccountId(v string) *Member {
 14637  	s.AdministratorAccountId = &v
 14638  	return s
 14639  }
 14640  
 14641  // SetArn sets the Arn field's value.
 14642  func (s *Member) SetArn(v string) *Member {
 14643  	s.Arn = &v
 14644  	return s
 14645  }
 14646  
 14647  // SetEmail sets the Email field's value.
 14648  func (s *Member) SetEmail(v string) *Member {
 14649  	s.Email = &v
 14650  	return s
 14651  }
 14652  
 14653  // SetInvitedAt sets the InvitedAt field's value.
 14654  func (s *Member) SetInvitedAt(v time.Time) *Member {
 14655  	s.InvitedAt = &v
 14656  	return s
 14657  }
 14658  
 14659  // SetMasterAccountId sets the MasterAccountId field's value.
 14660  func (s *Member) SetMasterAccountId(v string) *Member {
 14661  	s.MasterAccountId = &v
 14662  	return s
 14663  }
 14664  
 14665  // SetRelationshipStatus sets the RelationshipStatus field's value.
 14666  func (s *Member) SetRelationshipStatus(v string) *Member {
 14667  	s.RelationshipStatus = &v
 14668  	return s
 14669  }
 14670  
 14671  // SetTags sets the Tags field's value.
 14672  func (s *Member) SetTags(v map[string]*string) *Member {
 14673  	s.Tags = v
 14674  	return s
 14675  }
 14676  
 14677  // SetUpdatedAt sets the UpdatedAt field's value.
 14678  func (s *Member) SetUpdatedAt(v time.Time) *Member {
 14679  	s.UpdatedAt = &v
 14680  	return s
 14681  }
 14682  
 14683  // Specifies a monthly recurrence pattern for running a classification job.
 14684  type MonthlySchedule struct {
 14685  	_ struct{} `type:"structure"`
 14686  
 14687  	DayOfMonth *int64 `locationName:"dayOfMonth" type:"integer"`
 14688  }
 14689  
 14690  // String returns the string representation.
 14691  //
 14692  // API parameter values that are decorated as "sensitive" in the API will not
 14693  // be included in the string output. The member name will be present, but the
 14694  // value will be replaced with "sensitive".
 14695  func (s MonthlySchedule) String() string {
 14696  	return awsutil.Prettify(s)
 14697  }
 14698  
 14699  // GoString returns the string representation.
 14700  //
 14701  // API parameter values that are decorated as "sensitive" in the API will not
 14702  // be included in the string output. The member name will be present, but the
 14703  // value will be replaced with "sensitive".
 14704  func (s MonthlySchedule) GoString() string {
 14705  	return s.String()
 14706  }
 14707  
 14708  // SetDayOfMonth sets the DayOfMonth field's value.
 14709  func (s *MonthlySchedule) SetDayOfMonth(v int64) *MonthlySchedule {
 14710  	s.DayOfMonth = &v
 14711  	return s
 14712  }
 14713  
 14714  // Provides information about the number of objects that are in an S3 bucket
 14715  // and use certain types of server-side encryption, use client-side encryption,
 14716  // or aren't encrypted.
 14717  type ObjectCountByEncryptionType struct {
 14718  	_ struct{} `type:"structure"`
 14719  
 14720  	CustomerManaged *int64 `locationName:"customerManaged" type:"long"`
 14721  
 14722  	KmsManaged *int64 `locationName:"kmsManaged" type:"long"`
 14723  
 14724  	S3Managed *int64 `locationName:"s3Managed" type:"long"`
 14725  
 14726  	Unencrypted *int64 `locationName:"unencrypted" type:"long"`
 14727  
 14728  	Unknown *int64 `locationName:"unknown" type:"long"`
 14729  }
 14730  
 14731  // String returns the string representation.
 14732  //
 14733  // API parameter values that are decorated as "sensitive" in the API will not
 14734  // be included in the string output. The member name will be present, but the
 14735  // value will be replaced with "sensitive".
 14736  func (s ObjectCountByEncryptionType) String() string {
 14737  	return awsutil.Prettify(s)
 14738  }
 14739  
 14740  // GoString returns the string representation.
 14741  //
 14742  // API parameter values that are decorated as "sensitive" in the API will not
 14743  // be included in the string output. The member name will be present, but the
 14744  // value will be replaced with "sensitive".
 14745  func (s ObjectCountByEncryptionType) GoString() string {
 14746  	return s.String()
 14747  }
 14748  
 14749  // SetCustomerManaged sets the CustomerManaged field's value.
 14750  func (s *ObjectCountByEncryptionType) SetCustomerManaged(v int64) *ObjectCountByEncryptionType {
 14751  	s.CustomerManaged = &v
 14752  	return s
 14753  }
 14754  
 14755  // SetKmsManaged sets the KmsManaged field's value.
 14756  func (s *ObjectCountByEncryptionType) SetKmsManaged(v int64) *ObjectCountByEncryptionType {
 14757  	s.KmsManaged = &v
 14758  	return s
 14759  }
 14760  
 14761  // SetS3Managed sets the S3Managed field's value.
 14762  func (s *ObjectCountByEncryptionType) SetS3Managed(v int64) *ObjectCountByEncryptionType {
 14763  	s.S3Managed = &v
 14764  	return s
 14765  }
 14766  
 14767  // SetUnencrypted sets the Unencrypted field's value.
 14768  func (s *ObjectCountByEncryptionType) SetUnencrypted(v int64) *ObjectCountByEncryptionType {
 14769  	s.Unencrypted = &v
 14770  	return s
 14771  }
 14772  
 14773  // SetUnknown sets the Unknown field's value.
 14774  func (s *ObjectCountByEncryptionType) SetUnknown(v int64) *ObjectCountByEncryptionType {
 14775  	s.Unknown = &v
 14776  	return s
 14777  }
 14778  
 14779  // Provides information about the total storage size (in bytes) or number of
 14780  // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
 14781  // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse
 14782  // object, this data is aggregated for the buckets in the query results. If
 14783  // versioning is enabled for a bucket, total storage size values are based on
 14784  // the size of the latest version of each applicable object in the bucket.
 14785  type ObjectLevelStatistics struct {
 14786  	_ struct{} `type:"structure"`
 14787  
 14788  	FileType *int64 `locationName:"fileType" type:"long"`
 14789  
 14790  	StorageClass *int64 `locationName:"storageClass" type:"long"`
 14791  
 14792  	Total *int64 `locationName:"total" type:"long"`
 14793  }
 14794  
 14795  // String returns the string representation.
 14796  //
 14797  // API parameter values that are decorated as "sensitive" in the API will not
 14798  // be included in the string output. The member name will be present, but the
 14799  // value will be replaced with "sensitive".
 14800  func (s ObjectLevelStatistics) String() string {
 14801  	return awsutil.Prettify(s)
 14802  }
 14803  
 14804  // GoString returns the string representation.
 14805  //
 14806  // API parameter values that are decorated as "sensitive" in the API will not
 14807  // be included in the string output. The member name will be present, but the
 14808  // value will be replaced with "sensitive".
 14809  func (s ObjectLevelStatistics) GoString() string {
 14810  	return s.String()
 14811  }
 14812  
 14813  // SetFileType sets the FileType field's value.
 14814  func (s *ObjectLevelStatistics) SetFileType(v int64) *ObjectLevelStatistics {
 14815  	s.FileType = &v
 14816  	return s
 14817  }
 14818  
 14819  // SetStorageClass sets the StorageClass field's value.
 14820  func (s *ObjectLevelStatistics) SetStorageClass(v int64) *ObjectLevelStatistics {
 14821  	s.StorageClass = &v
 14822  	return s
 14823  }
 14824  
 14825  // SetTotal sets the Total field's value.
 14826  func (s *ObjectLevelStatistics) SetTotal(v int64) *ObjectLevelStatistics {
 14827  	s.Total = &v
 14828  	return s
 14829  }
 14830  
 14831  // Specifies the location of 1-15 occurrences of sensitive data that was detected
 14832  // by a managed data identifier or a custom data identifier and produced a sensitive
 14833  // data finding.
 14834  type Occurrences struct {
 14835  	_ struct{} `type:"structure"`
 14836  
 14837  	// Specifies the location of occurrences of sensitive data in a Microsoft Excel
 14838  	// workbook, CSV file, or TSV file.
 14839  	Cells []*Cell `locationName:"cells" type:"list"`
 14840  
 14841  	LineRanges []*Range `locationName:"lineRanges" type:"list"`
 14842  
 14843  	OffsetRanges []*Range `locationName:"offsetRanges" type:"list"`
 14844  
 14845  	// Specifies the location of occurrences of sensitive data in an Adobe Portable
 14846  	// Document Format file.
 14847  	Pages []*Page `locationName:"pages" type:"list"`
 14848  
 14849  	Records []*Record `locationName:"records" type:"list"`
 14850  }
 14851  
 14852  // String returns the string representation.
 14853  //
 14854  // API parameter values that are decorated as "sensitive" in the API will not
 14855  // be included in the string output. The member name will be present, but the
 14856  // value will be replaced with "sensitive".
 14857  func (s Occurrences) String() string {
 14858  	return awsutil.Prettify(s)
 14859  }
 14860  
 14861  // GoString returns the string representation.
 14862  //
 14863  // API parameter values that are decorated as "sensitive" in the API will not
 14864  // be included in the string output. The member name will be present, but the
 14865  // value will be replaced with "sensitive".
 14866  func (s Occurrences) GoString() string {
 14867  	return s.String()
 14868  }
 14869  
 14870  // SetCells sets the Cells field's value.
 14871  func (s *Occurrences) SetCells(v []*Cell) *Occurrences {
 14872  	s.Cells = v
 14873  	return s
 14874  }
 14875  
 14876  // SetLineRanges sets the LineRanges field's value.
 14877  func (s *Occurrences) SetLineRanges(v []*Range) *Occurrences {
 14878  	s.LineRanges = v
 14879  	return s
 14880  }
 14881  
 14882  // SetOffsetRanges sets the OffsetRanges field's value.
 14883  func (s *Occurrences) SetOffsetRanges(v []*Range) *Occurrences {
 14884  	s.OffsetRanges = v
 14885  	return s
 14886  }
 14887  
 14888  // SetPages sets the Pages field's value.
 14889  func (s *Occurrences) SetPages(v []*Page) *Occurrences {
 14890  	s.Pages = v
 14891  	return s
 14892  }
 14893  
 14894  // SetRecords sets the Records field's value.
 14895  func (s *Occurrences) SetRecords(v []*Record) *Occurrences {
 14896  	s.Records = v
 14897  	return s
 14898  }
 14899  
 14900  // Specifies the location of an occurrence of sensitive data in an Adobe Portable
 14901  // Document Format file.
 14902  type Page struct {
 14903  	_ struct{} `type:"structure"`
 14904  
 14905  	// Specifies the location of an occurrence of sensitive data in a non-binary
 14906  	// text file, such as an HTML, TXT, or XML file.
 14907  	LineRange *Range `locationName:"lineRange" type:"structure"`
 14908  
 14909  	// Specifies the location of an occurrence of sensitive data in a non-binary
 14910  	// text file, such as an HTML, TXT, or XML file.
 14911  	OffsetRange *Range `locationName:"offsetRange" type:"structure"`
 14912  
 14913  	PageNumber *int64 `locationName:"pageNumber" type:"long"`
 14914  }
 14915  
 14916  // String returns the string representation.
 14917  //
 14918  // API parameter values that are decorated as "sensitive" in the API will not
 14919  // be included in the string output. The member name will be present, but the
 14920  // value will be replaced with "sensitive".
 14921  func (s Page) String() string {
 14922  	return awsutil.Prettify(s)
 14923  }
 14924  
 14925  // GoString returns the string representation.
 14926  //
 14927  // API parameter values that are decorated as "sensitive" in the API will not
 14928  // be included in the string output. The member name will be present, but the
 14929  // value will be replaced with "sensitive".
 14930  func (s Page) GoString() string {
 14931  	return s.String()
 14932  }
 14933  
 14934  // SetLineRange sets the LineRange field's value.
 14935  func (s *Page) SetLineRange(v *Range) *Page {
 14936  	s.LineRange = v
 14937  	return s
 14938  }
 14939  
 14940  // SetOffsetRange sets the OffsetRange field's value.
 14941  func (s *Page) SetOffsetRange(v *Range) *Page {
 14942  	s.OffsetRange = v
 14943  	return s
 14944  }
 14945  
 14946  // SetPageNumber sets the PageNumber field's value.
 14947  func (s *Page) SetPageNumber(v int64) *Page {
 14948  	s.PageNumber = &v
 14949  	return s
 14950  }
 14951  
 14952  // Provides the details of a policy finding.
 14953  type PolicyDetails struct {
 14954  	_ struct{} `type:"structure"`
 14955  
 14956  	// Provides information about an action that occurred for a resource and produced
 14957  	// a policy finding.
 14958  	Action *FindingAction `locationName:"action" type:"structure"`
 14959  
 14960  	// Provides information about an entity that performed an action that produced
 14961  	// a policy finding for a resource.
 14962  	Actor *FindingActor `locationName:"actor" type:"structure"`
 14963  }
 14964  
 14965  // String returns the string representation.
 14966  //
 14967  // API parameter values that are decorated as "sensitive" in the API will not
 14968  // be included in the string output. The member name will be present, but the
 14969  // value will be replaced with "sensitive".
 14970  func (s PolicyDetails) String() string {
 14971  	return awsutil.Prettify(s)
 14972  }
 14973  
 14974  // GoString returns the string representation.
 14975  //
 14976  // API parameter values that are decorated as "sensitive" in the API will not
 14977  // be included in the string output. The member name will be present, but the
 14978  // value will be replaced with "sensitive".
 14979  func (s PolicyDetails) GoString() string {
 14980  	return s.String()
 14981  }
 14982  
 14983  // SetAction sets the Action field's value.
 14984  func (s *PolicyDetails) SetAction(v *FindingAction) *PolicyDetails {
 14985  	s.Action = v
 14986  	return s
 14987  }
 14988  
 14989  // SetActor sets the Actor field's value.
 14990  func (s *PolicyDetails) SetActor(v *FindingActor) *PolicyDetails {
 14991  	s.Actor = v
 14992  	return s
 14993  }
 14994  
 14995  // Specifies where to store data classification results, and the encryption
 14996  // settings to use when storing results in that location. Currently, you can
 14997  // store classification results only in an S3 bucket.
 14998  type PutClassificationExportConfigurationInput struct {
 14999  	_ struct{} `type:"structure"`
 15000  
 15001  	// Specifies where to store data classification results, and the encryption
 15002  	// settings to use when storing results in that location. Currently, you can
 15003  	// store classification results only in an S3 bucket.
 15004  	//
 15005  	// Configuration is a required field
 15006  	Configuration *ClassificationExportConfiguration `locationName:"configuration" type:"structure" required:"true"`
 15007  }
 15008  
 15009  // String returns the string representation.
 15010  //
 15011  // API parameter values that are decorated as "sensitive" in the API will not
 15012  // be included in the string output. The member name will be present, but the
 15013  // value will be replaced with "sensitive".
 15014  func (s PutClassificationExportConfigurationInput) String() string {
 15015  	return awsutil.Prettify(s)
 15016  }
 15017  
 15018  // GoString returns the string representation.
 15019  //
 15020  // API parameter values that are decorated as "sensitive" in the API will not
 15021  // be included in the string output. The member name will be present, but the
 15022  // value will be replaced with "sensitive".
 15023  func (s PutClassificationExportConfigurationInput) GoString() string {
 15024  	return s.String()
 15025  }
 15026  
 15027  // Validate inspects the fields of the type to determine if they are valid.
 15028  func (s *PutClassificationExportConfigurationInput) Validate() error {
 15029  	invalidParams := request.ErrInvalidParams{Context: "PutClassificationExportConfigurationInput"}
 15030  	if s.Configuration == nil {
 15031  		invalidParams.Add(request.NewErrParamRequired("Configuration"))
 15032  	}
 15033  	if s.Configuration != nil {
 15034  		if err := s.Configuration.Validate(); err != nil {
 15035  			invalidParams.AddNested("Configuration", err.(request.ErrInvalidParams))
 15036  		}
 15037  	}
 15038  
 15039  	if invalidParams.Len() > 0 {
 15040  		return invalidParams
 15041  	}
 15042  	return nil
 15043  }
 15044  
 15045  // SetConfiguration sets the Configuration field's value.
 15046  func (s *PutClassificationExportConfigurationInput) SetConfiguration(v *ClassificationExportConfiguration) *PutClassificationExportConfigurationInput {
 15047  	s.Configuration = v
 15048  	return s
 15049  }
 15050  
 15051  // Provides information about updated settings for storing data classification
 15052  // results.
 15053  type PutClassificationExportConfigurationOutput struct {
 15054  	_ struct{} `type:"structure"`
 15055  
 15056  	// Specifies where to store data classification results, and the encryption
 15057  	// settings to use when storing results in that location. Currently, you can
 15058  	// store classification results only in an S3 bucket.
 15059  	Configuration *ClassificationExportConfiguration `locationName:"configuration" type:"structure"`
 15060  }
 15061  
 15062  // String returns the string representation.
 15063  //
 15064  // API parameter values that are decorated as "sensitive" in the API will not
 15065  // be included in the string output. The member name will be present, but the
 15066  // value will be replaced with "sensitive".
 15067  func (s PutClassificationExportConfigurationOutput) String() string {
 15068  	return awsutil.Prettify(s)
 15069  }
 15070  
 15071  // GoString returns the string representation.
 15072  //
 15073  // API parameter values that are decorated as "sensitive" in the API will not
 15074  // be included in the string output. The member name will be present, but the
 15075  // value will be replaced with "sensitive".
 15076  func (s PutClassificationExportConfigurationOutput) GoString() string {
 15077  	return s.String()
 15078  }
 15079  
 15080  // SetConfiguration sets the Configuration field's value.
 15081  func (s *PutClassificationExportConfigurationOutput) SetConfiguration(v *ClassificationExportConfiguration) *PutClassificationExportConfigurationOutput {
 15082  	s.Configuration = v
 15083  	return s
 15084  }
 15085  
 15086  // Specifies configuration settings for publishing findings to Security Hub
 15087  // automatically.
 15088  type PutFindingsPublicationConfigurationInput struct {
 15089  	_ struct{} `type:"structure"`
 15090  
 15091  	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`
 15092  
 15093  	// Specifies configuration settings that determine which findings are published
 15094  	// to Security Hub automatically. For information about how Macie publishes
 15095  	// findings to Security Hub, see Amazon Macie integration with Security Hub
 15096  	// (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html)
 15097  	// in the Amazon Macie User Guide.
 15098  	SecurityHubConfiguration *SecurityHubConfiguration `locationName:"securityHubConfiguration" type:"structure"`
 15099  }
 15100  
 15101  // String returns the string representation.
 15102  //
 15103  // API parameter values that are decorated as "sensitive" in the API will not
 15104  // be included in the string output. The member name will be present, but the
 15105  // value will be replaced with "sensitive".
 15106  func (s PutFindingsPublicationConfigurationInput) String() string {
 15107  	return awsutil.Prettify(s)
 15108  }
 15109  
 15110  // GoString returns the string representation.
 15111  //
 15112  // API parameter values that are decorated as "sensitive" in the API will not
 15113  // be included in the string output. The member name will be present, but the
 15114  // value will be replaced with "sensitive".
 15115  func (s PutFindingsPublicationConfigurationInput) GoString() string {
 15116  	return s.String()
 15117  }
 15118  
 15119  // Validate inspects the fields of the type to determine if they are valid.
 15120  func (s *PutFindingsPublicationConfigurationInput) Validate() error {
 15121  	invalidParams := request.ErrInvalidParams{Context: "PutFindingsPublicationConfigurationInput"}
 15122  	if s.SecurityHubConfiguration != nil {
 15123  		if err := s.SecurityHubConfiguration.Validate(); err != nil {
 15124  			invalidParams.AddNested("SecurityHubConfiguration", err.(request.ErrInvalidParams))
 15125  		}
 15126  	}
 15127  
 15128  	if invalidParams.Len() > 0 {
 15129  		return invalidParams
 15130  	}
 15131  	return nil
 15132  }
 15133  
 15134  // SetClientToken sets the ClientToken field's value.
 15135  func (s *PutFindingsPublicationConfigurationInput) SetClientToken(v string) *PutFindingsPublicationConfigurationInput {
 15136  	s.ClientToken = &v
 15137  	return s
 15138  }
 15139  
 15140  // SetSecurityHubConfiguration sets the SecurityHubConfiguration field's value.
 15141  func (s *PutFindingsPublicationConfigurationInput) SetSecurityHubConfiguration(v *SecurityHubConfiguration) *PutFindingsPublicationConfigurationInput {
 15142  	s.SecurityHubConfiguration = v
 15143  	return s
 15144  }
 15145  
 15146  type PutFindingsPublicationConfigurationOutput struct {
 15147  	_ struct{} `type:"structure" nopayload:"true"`
 15148  }
 15149  
 15150  // String returns the string representation.
 15151  //
 15152  // API parameter values that are decorated as "sensitive" in the API will not
 15153  // be included in the string output. The member name will be present, but the
 15154  // value will be replaced with "sensitive".
 15155  func (s PutFindingsPublicationConfigurationOutput) String() string {
 15156  	return awsutil.Prettify(s)
 15157  }
 15158  
 15159  // GoString returns the string representation.
 15160  //
 15161  // API parameter values that are decorated as "sensitive" in the API will not
 15162  // be included in the string output. The member name will be present, but the
 15163  // value will be replaced with "sensitive".
 15164  func (s PutFindingsPublicationConfigurationOutput) GoString() string {
 15165  	return s.String()
 15166  }
 15167  
 15168  // Specifies the location of an occurrence of sensitive data in a non-binary
 15169  // text file, such as an HTML, TXT, or XML file.
 15170  type Range struct {
 15171  	_ struct{} `type:"structure"`
 15172  
 15173  	End *int64 `locationName:"end" type:"long"`
 15174  
 15175  	Start *int64 `locationName:"start" type:"long"`
 15176  
 15177  	StartColumn *int64 `locationName:"startColumn" type:"long"`
 15178  }
 15179  
 15180  // String returns the string representation.
 15181  //
 15182  // API parameter values that are decorated as "sensitive" in the API will not
 15183  // be included in the string output. The member name will be present, but the
 15184  // value will be replaced with "sensitive".
 15185  func (s Range) String() string {
 15186  	return awsutil.Prettify(s)
 15187  }
 15188  
 15189  // GoString returns the string representation.
 15190  //
 15191  // API parameter values that are decorated as "sensitive" in the API will not
 15192  // be included in the string output. The member name will be present, but the
 15193  // value will be replaced with "sensitive".
 15194  func (s Range) GoString() string {
 15195  	return s.String()
 15196  }
 15197  
 15198  // SetEnd sets the End field's value.
 15199  func (s *Range) SetEnd(v int64) *Range {
 15200  	s.End = &v
 15201  	return s
 15202  }
 15203  
 15204  // SetStart sets the Start field's value.
 15205  func (s *Range) SetStart(v int64) *Range {
 15206  	s.Start = &v
 15207  	return s
 15208  }
 15209  
 15210  // SetStartColumn sets the StartColumn field's value.
 15211  func (s *Range) SetStartColumn(v int64) *Range {
 15212  	s.StartColumn = &v
 15213  	return s
 15214  }
 15215  
 15216  // Specifies the location of an occurrence of sensitive data in an Apache Avro
 15217  // object container, Apache Parquet file, JSON file, or JSON Lines file.
 15218  type Record struct {
 15219  	_ struct{} `type:"structure"`
 15220  
 15221  	JsonPath *string `locationName:"jsonPath" type:"string"`
 15222  
 15223  	RecordIndex *int64 `locationName:"recordIndex" type:"long"`
 15224  }
 15225  
 15226  // String returns the string representation.
 15227  //
 15228  // API parameter values that are decorated as "sensitive" in the API will not
 15229  // be included in the string output. The member name will be present, but the
 15230  // value will be replaced with "sensitive".
 15231  func (s Record) String() string {
 15232  	return awsutil.Prettify(s)
 15233  }
 15234  
 15235  // GoString returns the string representation.
 15236  //
 15237  // API parameter values that are decorated as "sensitive" in the API will not
 15238  // be included in the string output. The member name will be present, but the
 15239  // value will be replaced with "sensitive".
 15240  func (s Record) GoString() string {
 15241  	return s.String()
 15242  }
 15243  
 15244  // SetJsonPath sets the JsonPath field's value.
 15245  func (s *Record) SetJsonPath(v string) *Record {
 15246  	s.JsonPath = &v
 15247  	return s
 15248  }
 15249  
 15250  // SetRecordIndex sets the RecordIndex field's value.
 15251  func (s *Record) SetRecordIndex(v int64) *Record {
 15252  	s.RecordIndex = &v
 15253  	return s
 15254  }
 15255  
 15256  // Provides information about settings that define whether one or more objects
 15257  // in an S3 bucket are replicated to S3 buckets for other Amazon Web Services
 15258  // accounts and, if so, which accounts.
 15259  type ReplicationDetails struct {
 15260  	_ struct{} `type:"structure"`
 15261  
 15262  	Replicated *bool `locationName:"replicated" type:"boolean"`
 15263  
 15264  	ReplicatedExternally *bool `locationName:"replicatedExternally" type:"boolean"`
 15265  
 15266  	ReplicationAccounts []*string `locationName:"replicationAccounts" type:"list"`
 15267  }
 15268  
 15269  // String returns the string representation.
 15270  //
 15271  // API parameter values that are decorated as "sensitive" in the API will not
 15272  // be included in the string output. The member name will be present, but the
 15273  // value will be replaced with "sensitive".
 15274  func (s ReplicationDetails) String() string {
 15275  	return awsutil.Prettify(s)
 15276  }
 15277  
 15278  // GoString returns the string representation.
 15279  //
 15280  // API parameter values that are decorated as "sensitive" in the API will not
 15281  // be included in the string output. The member name will be present, but the
 15282  // value will be replaced with "sensitive".
 15283  func (s ReplicationDetails) GoString() string {
 15284  	return s.String()
 15285  }
 15286  
 15287  // SetReplicated sets the Replicated field's value.
 15288  func (s *ReplicationDetails) SetReplicated(v bool) *ReplicationDetails {
 15289  	s.Replicated = &v
 15290  	return s
 15291  }
 15292  
 15293  // SetReplicatedExternally sets the ReplicatedExternally field's value.
 15294  func (s *ReplicationDetails) SetReplicatedExternally(v bool) *ReplicationDetails {
 15295  	s.ReplicatedExternally = &v
 15296  	return s
 15297  }
 15298  
 15299  // SetReplicationAccounts sets the ReplicationAccounts field's value.
 15300  func (s *ReplicationDetails) SetReplicationAccounts(v []*string) *ReplicationDetails {
 15301  	s.ReplicationAccounts = v
 15302  	return s
 15303  }
 15304  
 15305  // Provides information about an error that occurred because a specified resource
 15306  // wasn't found.
 15307  type ResourceNotFoundException struct {
 15308  	_            struct{}                  `type:"structure"`
 15309  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15310  
 15311  	Message_ *string `locationName:"message" type:"string"`
 15312  }
 15313  
 15314  // String returns the string representation.
 15315  //
 15316  // API parameter values that are decorated as "sensitive" in the API will not
 15317  // be included in the string output. The member name will be present, but the
 15318  // value will be replaced with "sensitive".
 15319  func (s ResourceNotFoundException) String() string {
 15320  	return awsutil.Prettify(s)
 15321  }
 15322  
 15323  // GoString returns the string representation.
 15324  //
 15325  // API parameter values that are decorated as "sensitive" in the API will not
 15326  // be included in the string output. The member name will be present, but the
 15327  // value will be replaced with "sensitive".
 15328  func (s ResourceNotFoundException) GoString() string {
 15329  	return s.String()
 15330  }
 15331  
 15332  func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
 15333  	return &ResourceNotFoundException{
 15334  		RespMetadata: v,
 15335  	}
 15336  }
 15337  
 15338  // Code returns the exception type name.
 15339  func (s *ResourceNotFoundException) Code() string {
 15340  	return "ResourceNotFoundException"
 15341  }
 15342  
 15343  // Message returns the exception's message.
 15344  func (s *ResourceNotFoundException) Message() string {
 15345  	if s.Message_ != nil {
 15346  		return *s.Message_
 15347  	}
 15348  	return ""
 15349  }
 15350  
 15351  // OrigErr always returns nil, satisfies awserr.Error interface.
 15352  func (s *ResourceNotFoundException) OrigErr() error {
 15353  	return nil
 15354  }
 15355  
 15356  func (s *ResourceNotFoundException) Error() string {
 15357  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15358  }
 15359  
 15360  // Status code returns the HTTP status code for the request's response error.
 15361  func (s *ResourceNotFoundException) StatusCode() int {
 15362  	return s.RespMetadata.StatusCode
 15363  }
 15364  
 15365  // RequestID returns the service's response RequestID for request.
 15366  func (s *ResourceNotFoundException) RequestID() string {
 15367  	return s.RespMetadata.RequestID
 15368  }
 15369  
 15370  // Provides information about the resources that a finding applies to.
 15371  type ResourcesAffected struct {
 15372  	_ struct{} `type:"structure"`
 15373  
 15374  	// Provides information about the S3 bucket that a finding applies to.
 15375  	S3Bucket *S3Bucket `locationName:"s3Bucket" type:"structure"`
 15376  
 15377  	// Provides information about the S3 object that a finding applies to.
 15378  	S3Object *S3Object `locationName:"s3Object" type:"structure"`
 15379  }
 15380  
 15381  // String returns the string representation.
 15382  //
 15383  // API parameter values that are decorated as "sensitive" in the API will not
 15384  // be included in the string output. The member name will be present, but the
 15385  // value will be replaced with "sensitive".
 15386  func (s ResourcesAffected) String() string {
 15387  	return awsutil.Prettify(s)
 15388  }
 15389  
 15390  // GoString returns the string representation.
 15391  //
 15392  // API parameter values that are decorated as "sensitive" in the API will not
 15393  // be included in the string output. The member name will be present, but the
 15394  // value will be replaced with "sensitive".
 15395  func (s ResourcesAffected) GoString() string {
 15396  	return s.String()
 15397  }
 15398  
 15399  // SetS3Bucket sets the S3Bucket field's value.
 15400  func (s *ResourcesAffected) SetS3Bucket(v *S3Bucket) *ResourcesAffected {
 15401  	s.S3Bucket = v
 15402  	return s
 15403  }
 15404  
 15405  // SetS3Object sets the S3Object field's value.
 15406  func (s *ResourcesAffected) SetS3Object(v *S3Object) *ResourcesAffected {
 15407  	s.S3Object = v
 15408  	return s
 15409  }
 15410  
 15411  // Provides information about the S3 bucket that a finding applies to.
 15412  type S3Bucket struct {
 15413  	_ struct{} `type:"structure"`
 15414  
 15415  	AllowsUnencryptedObjectUploads *string `locationName:"allowsUnencryptedObjectUploads" type:"string" enum:"AllowsUnencryptedObjectUploads"`
 15416  
 15417  	Arn *string `locationName:"arn" type:"string"`
 15418  
 15419  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
 15420  
 15421  	// Provides information about the server-side encryption settings for an S3
 15422  	// bucket or S3 object.
 15423  	DefaultServerSideEncryption *ServerSideEncryption `locationName:"defaultServerSideEncryption" type:"structure"`
 15424  
 15425  	Name *string `locationName:"name" type:"string"`
 15426  
 15427  	// Provides information about the Amazon Web Services account that owns an S3
 15428  	// bucket.
 15429  	Owner *S3BucketOwner `locationName:"owner" type:"structure"`
 15430  
 15431  	// Provides information about the permissions settings that determine whether
 15432  	// an S3 bucket is publicly accessible.
 15433  	PublicAccess *BucketPublicAccess `locationName:"publicAccess" type:"structure"`
 15434  
 15435  	// Provides information about the tags that are associated with an S3 bucket
 15436  	// or object. Each tag consists of a required tag key and an associated tag
 15437  	// value.
 15438  	Tags []*KeyValuePair `locationName:"tags" type:"list"`
 15439  }
 15440  
 15441  // String returns the string representation.
 15442  //
 15443  // API parameter values that are decorated as "sensitive" in the API will not
 15444  // be included in the string output. The member name will be present, but the
 15445  // value will be replaced with "sensitive".
 15446  func (s S3Bucket) String() string {
 15447  	return awsutil.Prettify(s)
 15448  }
 15449  
 15450  // GoString returns the string representation.
 15451  //
 15452  // API parameter values that are decorated as "sensitive" in the API will not
 15453  // be included in the string output. The member name will be present, but the
 15454  // value will be replaced with "sensitive".
 15455  func (s S3Bucket) GoString() string {
 15456  	return s.String()
 15457  }
 15458  
 15459  // SetAllowsUnencryptedObjectUploads sets the AllowsUnencryptedObjectUploads field's value.
 15460  func (s *S3Bucket) SetAllowsUnencryptedObjectUploads(v string) *S3Bucket {
 15461  	s.AllowsUnencryptedObjectUploads = &v
 15462  	return s
 15463  }
 15464  
 15465  // SetArn sets the Arn field's value.
 15466  func (s *S3Bucket) SetArn(v string) *S3Bucket {
 15467  	s.Arn = &v
 15468  	return s
 15469  }
 15470  
 15471  // SetCreatedAt sets the CreatedAt field's value.
 15472  func (s *S3Bucket) SetCreatedAt(v time.Time) *S3Bucket {
 15473  	s.CreatedAt = &v
 15474  	return s
 15475  }
 15476  
 15477  // SetDefaultServerSideEncryption sets the DefaultServerSideEncryption field's value.
 15478  func (s *S3Bucket) SetDefaultServerSideEncryption(v *ServerSideEncryption) *S3Bucket {
 15479  	s.DefaultServerSideEncryption = v
 15480  	return s
 15481  }
 15482  
 15483  // SetName sets the Name field's value.
 15484  func (s *S3Bucket) SetName(v string) *S3Bucket {
 15485  	s.Name = &v
 15486  	return s
 15487  }
 15488  
 15489  // SetOwner sets the Owner field's value.
 15490  func (s *S3Bucket) SetOwner(v *S3BucketOwner) *S3Bucket {
 15491  	s.Owner = v
 15492  	return s
 15493  }
 15494  
 15495  // SetPublicAccess sets the PublicAccess field's value.
 15496  func (s *S3Bucket) SetPublicAccess(v *BucketPublicAccess) *S3Bucket {
 15497  	s.PublicAccess = v
 15498  	return s
 15499  }
 15500  
 15501  // SetTags sets the Tags field's value.
 15502  func (s *S3Bucket) SetTags(v []*KeyValuePair) *S3Bucket {
 15503  	s.Tags = v
 15504  	return s
 15505  }
 15506  
 15507  // Specifies property- and tag-based conditions that define criteria for including
 15508  // or excluding S3 buckets from a classification job. Exclude conditions take
 15509  // precedence over include conditions.
 15510  type S3BucketCriteriaForJob struct {
 15511  	_ struct{} `type:"structure"`
 15512  
 15513  	// Specifies one or more property- and tag-based conditions that define criteria
 15514  	// for including or excluding S3 buckets from a classification job.
 15515  	Excludes *CriteriaBlockForJob `locationName:"excludes" type:"structure"`
 15516  
 15517  	// Specifies one or more property- and tag-based conditions that define criteria
 15518  	// for including or excluding S3 buckets from a classification job.
 15519  	Includes *CriteriaBlockForJob `locationName:"includes" type:"structure"`
 15520  }
 15521  
 15522  // String returns the string representation.
 15523  //
 15524  // API parameter values that are decorated as "sensitive" in the API will not
 15525  // be included in the string output. The member name will be present, but the
 15526  // value will be replaced with "sensitive".
 15527  func (s S3BucketCriteriaForJob) String() string {
 15528  	return awsutil.Prettify(s)
 15529  }
 15530  
 15531  // GoString returns the string representation.
 15532  //
 15533  // API parameter values that are decorated as "sensitive" in the API will not
 15534  // be included in the string output. The member name will be present, but the
 15535  // value will be replaced with "sensitive".
 15536  func (s S3BucketCriteriaForJob) GoString() string {
 15537  	return s.String()
 15538  }
 15539  
 15540  // SetExcludes sets the Excludes field's value.
 15541  func (s *S3BucketCriteriaForJob) SetExcludes(v *CriteriaBlockForJob) *S3BucketCriteriaForJob {
 15542  	s.Excludes = v
 15543  	return s
 15544  }
 15545  
 15546  // SetIncludes sets the Includes field's value.
 15547  func (s *S3BucketCriteriaForJob) SetIncludes(v *CriteriaBlockForJob) *S3BucketCriteriaForJob {
 15548  	s.Includes = v
 15549  	return s
 15550  }
 15551  
 15552  // Specifies an Amazon Web Services account that owns S3 buckets for a classification
 15553  // job to analyze, and one or more specific buckets to analyze for that account.
 15554  type S3BucketDefinitionForJob struct {
 15555  	_ struct{} `type:"structure"`
 15556  
 15557  	// AccountId is a required field
 15558  	AccountId *string `locationName:"accountId" type:"string" required:"true"`
 15559  
 15560  	// Buckets is a required field
 15561  	Buckets []*string `locationName:"buckets" type:"list" required:"true"`
 15562  }
 15563  
 15564  // String returns the string representation.
 15565  //
 15566  // API parameter values that are decorated as "sensitive" in the API will not
 15567  // be included in the string output. The member name will be present, but the
 15568  // value will be replaced with "sensitive".
 15569  func (s S3BucketDefinitionForJob) String() string {
 15570  	return awsutil.Prettify(s)
 15571  }
 15572  
 15573  // GoString returns the string representation.
 15574  //
 15575  // API parameter values that are decorated as "sensitive" in the API will not
 15576  // be included in the string output. The member name will be present, but the
 15577  // value will be replaced with "sensitive".
 15578  func (s S3BucketDefinitionForJob) GoString() string {
 15579  	return s.String()
 15580  }
 15581  
 15582  // Validate inspects the fields of the type to determine if they are valid.
 15583  func (s *S3BucketDefinitionForJob) Validate() error {
 15584  	invalidParams := request.ErrInvalidParams{Context: "S3BucketDefinitionForJob"}
 15585  	if s.AccountId == nil {
 15586  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 15587  	}
 15588  	if s.Buckets == nil {
 15589  		invalidParams.Add(request.NewErrParamRequired("Buckets"))
 15590  	}
 15591  
 15592  	if invalidParams.Len() > 0 {
 15593  		return invalidParams
 15594  	}
 15595  	return nil
 15596  }
 15597  
 15598  // SetAccountId sets the AccountId field's value.
 15599  func (s *S3BucketDefinitionForJob) SetAccountId(v string) *S3BucketDefinitionForJob {
 15600  	s.AccountId = &v
 15601  	return s
 15602  }
 15603  
 15604  // SetBuckets sets the Buckets field's value.
 15605  func (s *S3BucketDefinitionForJob) SetBuckets(v []*string) *S3BucketDefinitionForJob {
 15606  	s.Buckets = v
 15607  	return s
 15608  }
 15609  
 15610  // Provides information about the Amazon Web Services account that owns an S3
 15611  // bucket.
 15612  type S3BucketOwner struct {
 15613  	_ struct{} `type:"structure"`
 15614  
 15615  	DisplayName *string `locationName:"displayName" type:"string"`
 15616  
 15617  	Id *string `locationName:"id" type:"string"`
 15618  }
 15619  
 15620  // String returns the string representation.
 15621  //
 15622  // API parameter values that are decorated as "sensitive" in the API will not
 15623  // be included in the string output. The member name will be present, but the
 15624  // value will be replaced with "sensitive".
 15625  func (s S3BucketOwner) String() string {
 15626  	return awsutil.Prettify(s)
 15627  }
 15628  
 15629  // GoString returns the string representation.
 15630  //
 15631  // API parameter values that are decorated as "sensitive" in the API will not
 15632  // be included in the string output. The member name will be present, but the
 15633  // value will be replaced with "sensitive".
 15634  func (s S3BucketOwner) GoString() string {
 15635  	return s.String()
 15636  }
 15637  
 15638  // SetDisplayName sets the DisplayName field's value.
 15639  func (s *S3BucketOwner) SetDisplayName(v string) *S3BucketOwner {
 15640  	s.DisplayName = &v
 15641  	return s
 15642  }
 15643  
 15644  // SetId sets the Id field's value.
 15645  func (s *S3BucketOwner) SetId(v string) *S3BucketOwner {
 15646  	s.Id = &v
 15647  	return s
 15648  }
 15649  
 15650  // Specifies an S3 bucket to store data classification results in, and the encryption
 15651  // settings to use when storing results in that bucket.
 15652  type S3Destination struct {
 15653  	_ struct{} `type:"structure"`
 15654  
 15655  	// BucketName is a required field
 15656  	BucketName *string `locationName:"bucketName" type:"string" required:"true"`
 15657  
 15658  	KeyPrefix *string `locationName:"keyPrefix" type:"string"`
 15659  
 15660  	// KmsKeyArn is a required field
 15661  	KmsKeyArn *string `locationName:"kmsKeyArn" type:"string" required:"true"`
 15662  }
 15663  
 15664  // String returns the string representation.
 15665  //
 15666  // API parameter values that are decorated as "sensitive" in the API will not
 15667  // be included in the string output. The member name will be present, but the
 15668  // value will be replaced with "sensitive".
 15669  func (s S3Destination) String() string {
 15670  	return awsutil.Prettify(s)
 15671  }
 15672  
 15673  // GoString returns the string representation.
 15674  //
 15675  // API parameter values that are decorated as "sensitive" in the API will not
 15676  // be included in the string output. The member name will be present, but the
 15677  // value will be replaced with "sensitive".
 15678  func (s S3Destination) GoString() string {
 15679  	return s.String()
 15680  }
 15681  
 15682  // Validate inspects the fields of the type to determine if they are valid.
 15683  func (s *S3Destination) Validate() error {
 15684  	invalidParams := request.ErrInvalidParams{Context: "S3Destination"}
 15685  	if s.BucketName == nil {
 15686  		invalidParams.Add(request.NewErrParamRequired("BucketName"))
 15687  	}
 15688  	if s.KmsKeyArn == nil {
 15689  		invalidParams.Add(request.NewErrParamRequired("KmsKeyArn"))
 15690  	}
 15691  
 15692  	if invalidParams.Len() > 0 {
 15693  		return invalidParams
 15694  	}
 15695  	return nil
 15696  }
 15697  
 15698  // SetBucketName sets the BucketName field's value.
 15699  func (s *S3Destination) SetBucketName(v string) *S3Destination {
 15700  	s.BucketName = &v
 15701  	return s
 15702  }
 15703  
 15704  // SetKeyPrefix sets the KeyPrefix field's value.
 15705  func (s *S3Destination) SetKeyPrefix(v string) *S3Destination {
 15706  	s.KeyPrefix = &v
 15707  	return s
 15708  }
 15709  
 15710  // SetKmsKeyArn sets the KmsKeyArn field's value.
 15711  func (s *S3Destination) SetKmsKeyArn(v string) *S3Destination {
 15712  	s.KmsKeyArn = &v
 15713  	return s
 15714  }
 15715  
 15716  // Specifies which S3 buckets contain the objects that a classification job
 15717  // analyzes, and the scope of that analysis. The bucket specification can be
 15718  // static (bucketDefinitions) or dynamic (bucketCriteria). If it's static, the
 15719  // job analyzes objects in the same predefined set of buckets each time the
 15720  // job runs. If it's dynamic, the job analyzes objects in any buckets that match
 15721  // the specified criteria each time the job starts to run.
 15722  type S3JobDefinition struct {
 15723  	_ struct{} `type:"structure"`
 15724  
 15725  	// Specifies property- and tag-based conditions that define criteria for including
 15726  	// or excluding S3 buckets from a classification job. Exclude conditions take
 15727  	// precedence over include conditions.
 15728  	BucketCriteria *S3BucketCriteriaForJob `locationName:"bucketCriteria" type:"structure"`
 15729  
 15730  	BucketDefinitions []*S3BucketDefinitionForJob `locationName:"bucketDefinitions" type:"list"`
 15731  
 15732  	// Specifies one or more property- and tag-based conditions that define criteria
 15733  	// for including or excluding S3 objects from a classification job. Exclude
 15734  	// conditions take precedence over include conditions.
 15735  	Scoping *Scoping `locationName:"scoping" type:"structure"`
 15736  }
 15737  
 15738  // String returns the string representation.
 15739  //
 15740  // API parameter values that are decorated as "sensitive" in the API will not
 15741  // be included in the string output. The member name will be present, but the
 15742  // value will be replaced with "sensitive".
 15743  func (s S3JobDefinition) String() string {
 15744  	return awsutil.Prettify(s)
 15745  }
 15746  
 15747  // GoString returns the string representation.
 15748  //
 15749  // API parameter values that are decorated as "sensitive" in the API will not
 15750  // be included in the string output. The member name will be present, but the
 15751  // value will be replaced with "sensitive".
 15752  func (s S3JobDefinition) GoString() string {
 15753  	return s.String()
 15754  }
 15755  
 15756  // Validate inspects the fields of the type to determine if they are valid.
 15757  func (s *S3JobDefinition) Validate() error {
 15758  	invalidParams := request.ErrInvalidParams{Context: "S3JobDefinition"}
 15759  	if s.BucketDefinitions != nil {
 15760  		for i, v := range s.BucketDefinitions {
 15761  			if v == nil {
 15762  				continue
 15763  			}
 15764  			if err := v.Validate(); err != nil {
 15765  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BucketDefinitions", i), err.(request.ErrInvalidParams))
 15766  			}
 15767  		}
 15768  	}
 15769  
 15770  	if invalidParams.Len() > 0 {
 15771  		return invalidParams
 15772  	}
 15773  	return nil
 15774  }
 15775  
 15776  // SetBucketCriteria sets the BucketCriteria field's value.
 15777  func (s *S3JobDefinition) SetBucketCriteria(v *S3BucketCriteriaForJob) *S3JobDefinition {
 15778  	s.BucketCriteria = v
 15779  	return s
 15780  }
 15781  
 15782  // SetBucketDefinitions sets the BucketDefinitions field's value.
 15783  func (s *S3JobDefinition) SetBucketDefinitions(v []*S3BucketDefinitionForJob) *S3JobDefinition {
 15784  	s.BucketDefinitions = v
 15785  	return s
 15786  }
 15787  
 15788  // SetScoping sets the Scoping field's value.
 15789  func (s *S3JobDefinition) SetScoping(v *Scoping) *S3JobDefinition {
 15790  	s.Scoping = v
 15791  	return s
 15792  }
 15793  
 15794  // Provides information about the S3 object that a finding applies to.
 15795  type S3Object struct {
 15796  	_ struct{} `type:"structure"`
 15797  
 15798  	BucketArn *string `locationName:"bucketArn" type:"string"`
 15799  
 15800  	ETag *string `locationName:"eTag" type:"string"`
 15801  
 15802  	Extension *string `locationName:"extension" type:"string"`
 15803  
 15804  	Key *string `locationName:"key" type:"string"`
 15805  
 15806  	LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601"`
 15807  
 15808  	Path *string `locationName:"path" type:"string"`
 15809  
 15810  	PublicAccess *bool `locationName:"publicAccess" type:"boolean"`
 15811  
 15812  	// Provides information about the server-side encryption settings for an S3
 15813  	// bucket or S3 object.
 15814  	ServerSideEncryption *ServerSideEncryption `locationName:"serverSideEncryption" type:"structure"`
 15815  
 15816  	Size *int64 `locationName:"size" type:"long"`
 15817  
 15818  	// The storage class of the S3 object. Possible values are:
 15819  	StorageClass *string `locationName:"storageClass" type:"string" enum:"StorageClass"`
 15820  
 15821  	// Provides information about the tags that are associated with an S3 bucket
 15822  	// or object. Each tag consists of a required tag key and an associated tag
 15823  	// value.
 15824  	Tags []*KeyValuePair `locationName:"tags" type:"list"`
 15825  
 15826  	VersionId *string `locationName:"versionId" type:"string"`
 15827  }
 15828  
 15829  // String returns the string representation.
 15830  //
 15831  // API parameter values that are decorated as "sensitive" in the API will not
 15832  // be included in the string output. The member name will be present, but the
 15833  // value will be replaced with "sensitive".
 15834  func (s S3Object) String() string {
 15835  	return awsutil.Prettify(s)
 15836  }
 15837  
 15838  // GoString returns the string representation.
 15839  //
 15840  // API parameter values that are decorated as "sensitive" in the API will not
 15841  // be included in the string output. The member name will be present, but the
 15842  // value will be replaced with "sensitive".
 15843  func (s S3Object) GoString() string {
 15844  	return s.String()
 15845  }
 15846  
 15847  // SetBucketArn sets the BucketArn field's value.
 15848  func (s *S3Object) SetBucketArn(v string) *S3Object {
 15849  	s.BucketArn = &v
 15850  	return s
 15851  }
 15852  
 15853  // SetETag sets the ETag field's value.
 15854  func (s *S3Object) SetETag(v string) *S3Object {
 15855  	s.ETag = &v
 15856  	return s
 15857  }
 15858  
 15859  // SetExtension sets the Extension field's value.
 15860  func (s *S3Object) SetExtension(v string) *S3Object {
 15861  	s.Extension = &v
 15862  	return s
 15863  }
 15864  
 15865  // SetKey sets the Key field's value.
 15866  func (s *S3Object) SetKey(v string) *S3Object {
 15867  	s.Key = &v
 15868  	return s
 15869  }
 15870  
 15871  // SetLastModified sets the LastModified field's value.
 15872  func (s *S3Object) SetLastModified(v time.Time) *S3Object {
 15873  	s.LastModified = &v
 15874  	return s
 15875  }
 15876  
 15877  // SetPath sets the Path field's value.
 15878  func (s *S3Object) SetPath(v string) *S3Object {
 15879  	s.Path = &v
 15880  	return s
 15881  }
 15882  
 15883  // SetPublicAccess sets the PublicAccess field's value.
 15884  func (s *S3Object) SetPublicAccess(v bool) *S3Object {
 15885  	s.PublicAccess = &v
 15886  	return s
 15887  }
 15888  
 15889  // SetServerSideEncryption sets the ServerSideEncryption field's value.
 15890  func (s *S3Object) SetServerSideEncryption(v *ServerSideEncryption) *S3Object {
 15891  	s.ServerSideEncryption = v
 15892  	return s
 15893  }
 15894  
 15895  // SetSize sets the Size field's value.
 15896  func (s *S3Object) SetSize(v int64) *S3Object {
 15897  	s.Size = &v
 15898  	return s
 15899  }
 15900  
 15901  // SetStorageClass sets the StorageClass field's value.
 15902  func (s *S3Object) SetStorageClass(v string) *S3Object {
 15903  	s.StorageClass = &v
 15904  	return s
 15905  }
 15906  
 15907  // SetTags sets the Tags field's value.
 15908  func (s *S3Object) SetTags(v []*KeyValuePair) *S3Object {
 15909  	s.Tags = v
 15910  	return s
 15911  }
 15912  
 15913  // SetVersionId sets the VersionId field's value.
 15914  func (s *S3Object) SetVersionId(v string) *S3Object {
 15915  	s.VersionId = &v
 15916  	return s
 15917  }
 15918  
 15919  // Specifies one or more property- and tag-based conditions that define criteria
 15920  // for including or excluding S3 objects from a classification job. Exclude
 15921  // conditions take precedence over include conditions.
 15922  type Scoping struct {
 15923  	_ struct{} `type:"structure"`
 15924  
 15925  	// Specifies one or more property- and tag-based conditions that define criteria
 15926  	// for including or excluding S3 objects from a classification job.
 15927  	Excludes *JobScopingBlock `locationName:"excludes" type:"structure"`
 15928  
 15929  	// Specifies one or more property- and tag-based conditions that define criteria
 15930  	// for including or excluding S3 objects from a classification job.
 15931  	Includes *JobScopingBlock `locationName:"includes" type:"structure"`
 15932  }
 15933  
 15934  // String returns the string representation.
 15935  //
 15936  // API parameter values that are decorated as "sensitive" in the API will not
 15937  // be included in the string output. The member name will be present, but the
 15938  // value will be replaced with "sensitive".
 15939  func (s Scoping) String() string {
 15940  	return awsutil.Prettify(s)
 15941  }
 15942  
 15943  // GoString returns the string representation.
 15944  //
 15945  // API parameter values that are decorated as "sensitive" in the API will not
 15946  // be included in the string output. The member name will be present, but the
 15947  // value will be replaced with "sensitive".
 15948  func (s Scoping) GoString() string {
 15949  	return s.String()
 15950  }
 15951  
 15952  // SetExcludes sets the Excludes field's value.
 15953  func (s *Scoping) SetExcludes(v *JobScopingBlock) *Scoping {
 15954  	s.Excludes = v
 15955  	return s
 15956  }
 15957  
 15958  // SetIncludes sets the Includes field's value.
 15959  func (s *Scoping) SetIncludes(v *JobScopingBlock) *Scoping {
 15960  	s.Includes = v
 15961  	return s
 15962  }
 15963  
 15964  // Specifies property- and tag-based conditions that define filter criteria
 15965  // for including or excluding S3 buckets from the query results. Exclude conditions
 15966  // take precedence over include conditions.
 15967  type SearchResourcesBucketCriteria struct {
 15968  	_ struct{} `type:"structure"`
 15969  
 15970  	// Specifies property- and tag-based conditions that define filter criteria
 15971  	// for including or excluding Amazon Web Services resources from the query results.
 15972  	Excludes *SearchResourcesCriteriaBlock `locationName:"excludes" type:"structure"`
 15973  
 15974  	// Specifies property- and tag-based conditions that define filter criteria
 15975  	// for including or excluding Amazon Web Services resources from the query results.
 15976  	Includes *SearchResourcesCriteriaBlock `locationName:"includes" type:"structure"`
 15977  }
 15978  
 15979  // String returns the string representation.
 15980  //
 15981  // API parameter values that are decorated as "sensitive" in the API will not
 15982  // be included in the string output. The member name will be present, but the
 15983  // value will be replaced with "sensitive".
 15984  func (s SearchResourcesBucketCriteria) String() string {
 15985  	return awsutil.Prettify(s)
 15986  }
 15987  
 15988  // GoString returns the string representation.
 15989  //
 15990  // API parameter values that are decorated as "sensitive" in the API will not
 15991  // be included in the string output. The member name will be present, but the
 15992  // value will be replaced with "sensitive".
 15993  func (s SearchResourcesBucketCriteria) GoString() string {
 15994  	return s.String()
 15995  }
 15996  
 15997  // SetExcludes sets the Excludes field's value.
 15998  func (s *SearchResourcesBucketCriteria) SetExcludes(v *SearchResourcesCriteriaBlock) *SearchResourcesBucketCriteria {
 15999  	s.Excludes = v
 16000  	return s
 16001  }
 16002  
 16003  // SetIncludes sets the Includes field's value.
 16004  func (s *SearchResourcesBucketCriteria) SetIncludes(v *SearchResourcesCriteriaBlock) *SearchResourcesBucketCriteria {
 16005  	s.Includes = v
 16006  	return s
 16007  }
 16008  
 16009  // Specifies a property- or tag-based filter condition for including or excluding
 16010  // Amazon Web Services resources from the query results.
 16011  type SearchResourcesCriteria struct {
 16012  	_ struct{} `type:"structure"`
 16013  
 16014  	// Specifies a property-based filter condition that determines which Amazon
 16015  	// Web Services resources are included or excluded from the query results.
 16016  	SimpleCriterion *SearchResourcesSimpleCriterion `locationName:"simpleCriterion" type:"structure"`
 16017  
 16018  	// Specifies a tag-based filter condition that determines which Amazon Web Services
 16019  	// resources are included or excluded from the query results.
 16020  	TagCriterion *SearchResourcesTagCriterion `locationName:"tagCriterion" type:"structure"`
 16021  }
 16022  
 16023  // String returns the string representation.
 16024  //
 16025  // API parameter values that are decorated as "sensitive" in the API will not
 16026  // be included in the string output. The member name will be present, but the
 16027  // value will be replaced with "sensitive".
 16028  func (s SearchResourcesCriteria) String() string {
 16029  	return awsutil.Prettify(s)
 16030  }
 16031  
 16032  // GoString returns the string representation.
 16033  //
 16034  // API parameter values that are decorated as "sensitive" in the API will not
 16035  // be included in the string output. The member name will be present, but the
 16036  // value will be replaced with "sensitive".
 16037  func (s SearchResourcesCriteria) GoString() string {
 16038  	return s.String()
 16039  }
 16040  
 16041  // SetSimpleCriterion sets the SimpleCriterion field's value.
 16042  func (s *SearchResourcesCriteria) SetSimpleCriterion(v *SearchResourcesSimpleCriterion) *SearchResourcesCriteria {
 16043  	s.SimpleCriterion = v
 16044  	return s
 16045  }
 16046  
 16047  // SetTagCriterion sets the TagCriterion field's value.
 16048  func (s *SearchResourcesCriteria) SetTagCriterion(v *SearchResourcesTagCriterion) *SearchResourcesCriteria {
 16049  	s.TagCriterion = v
 16050  	return s
 16051  }
 16052  
 16053  // Specifies property- and tag-based conditions that define filter criteria
 16054  // for including or excluding Amazon Web Services resources from the query results.
 16055  type SearchResourcesCriteriaBlock struct {
 16056  	_ struct{} `type:"structure"`
 16057  
 16058  	And []*SearchResourcesCriteria `locationName:"and" type:"list"`
 16059  }
 16060  
 16061  // String returns the string representation.
 16062  //
 16063  // API parameter values that are decorated as "sensitive" in the API will not
 16064  // be included in the string output. The member name will be present, but the
 16065  // value will be replaced with "sensitive".
 16066  func (s SearchResourcesCriteriaBlock) String() string {
 16067  	return awsutil.Prettify(s)
 16068  }
 16069  
 16070  // GoString returns the string representation.
 16071  //
 16072  // API parameter values that are decorated as "sensitive" in the API will not
 16073  // be included in the string output. The member name will be present, but the
 16074  // value will be replaced with "sensitive".
 16075  func (s SearchResourcesCriteriaBlock) GoString() string {
 16076  	return s.String()
 16077  }
 16078  
 16079  // SetAnd sets the And field's value.
 16080  func (s *SearchResourcesCriteriaBlock) SetAnd(v []*SearchResourcesCriteria) *SearchResourcesCriteriaBlock {
 16081  	s.And = v
 16082  	return s
 16083  }
 16084  
 16085  // Specifies criteria for filtering, sorting, and paginating the results of
 16086  // a query for statistical data and other information about Amazon Web Services
 16087  // resources that Amazon Macie monitors and analyzes.
 16088  type SearchResourcesInput struct {
 16089  	_ struct{} `type:"structure"`
 16090  
 16091  	// Specifies property- and tag-based conditions that define filter criteria
 16092  	// for including or excluding S3 buckets from the query results. Exclude conditions
 16093  	// take precedence over include conditions.
 16094  	BucketCriteria *SearchResourcesBucketCriteria `locationName:"bucketCriteria" type:"structure"`
 16095  
 16096  	MaxResults *int64 `locationName:"maxResults" type:"integer"`
 16097  
 16098  	NextToken *string `locationName:"nextToken" type:"string"`
 16099  
 16100  	// Specifies criteria for sorting the results of a query for information about
 16101  	// Amazon Web Services resources that Amazon Macie monitors and analyzes.
 16102  	SortCriteria *SearchResourcesSortCriteria `locationName:"sortCriteria" type:"structure"`
 16103  }
 16104  
 16105  // String returns the string representation.
 16106  //
 16107  // API parameter values that are decorated as "sensitive" in the API will not
 16108  // be included in the string output. The member name will be present, but the
 16109  // value will be replaced with "sensitive".
 16110  func (s SearchResourcesInput) String() string {
 16111  	return awsutil.Prettify(s)
 16112  }
 16113  
 16114  // GoString returns the string representation.
 16115  //
 16116  // API parameter values that are decorated as "sensitive" in the API will not
 16117  // be included in the string output. The member name will be present, but the
 16118  // value will be replaced with "sensitive".
 16119  func (s SearchResourcesInput) GoString() string {
 16120  	return s.String()
 16121  }
 16122  
 16123  // SetBucketCriteria sets the BucketCriteria field's value.
 16124  func (s *SearchResourcesInput) SetBucketCriteria(v *SearchResourcesBucketCriteria) *SearchResourcesInput {
 16125  	s.BucketCriteria = v
 16126  	return s
 16127  }
 16128  
 16129  // SetMaxResults sets the MaxResults field's value.
 16130  func (s *SearchResourcesInput) SetMaxResults(v int64) *SearchResourcesInput {
 16131  	s.MaxResults = &v
 16132  	return s
 16133  }
 16134  
 16135  // SetNextToken sets the NextToken field's value.
 16136  func (s *SearchResourcesInput) SetNextToken(v string) *SearchResourcesInput {
 16137  	s.NextToken = &v
 16138  	return s
 16139  }
 16140  
 16141  // SetSortCriteria sets the SortCriteria field's value.
 16142  func (s *SearchResourcesInput) SetSortCriteria(v *SearchResourcesSortCriteria) *SearchResourcesInput {
 16143  	s.SortCriteria = v
 16144  	return s
 16145  }
 16146  
 16147  // Provides the results of a query that retrieved statistical data and other
 16148  // information about Amazon Web Services resources that Amazon Macie monitors
 16149  // and analyzes for your account.
 16150  type SearchResourcesOutput struct {
 16151  	_ struct{} `type:"structure"`
 16152  
 16153  	MatchingResources []*MatchingResource `locationName:"matchingResources" type:"list"`
 16154  
 16155  	NextToken *string `locationName:"nextToken" type:"string"`
 16156  }
 16157  
 16158  // String returns the string representation.
 16159  //
 16160  // API parameter values that are decorated as "sensitive" in the API will not
 16161  // be included in the string output. The member name will be present, but the
 16162  // value will be replaced with "sensitive".
 16163  func (s SearchResourcesOutput) String() string {
 16164  	return awsutil.Prettify(s)
 16165  }
 16166  
 16167  // GoString returns the string representation.
 16168  //
 16169  // API parameter values that are decorated as "sensitive" in the API will not
 16170  // be included in the string output. The member name will be present, but the
 16171  // value will be replaced with "sensitive".
 16172  func (s SearchResourcesOutput) GoString() string {
 16173  	return s.String()
 16174  }
 16175  
 16176  // SetMatchingResources sets the MatchingResources field's value.
 16177  func (s *SearchResourcesOutput) SetMatchingResources(v []*MatchingResource) *SearchResourcesOutput {
 16178  	s.MatchingResources = v
 16179  	return s
 16180  }
 16181  
 16182  // SetNextToken sets the NextToken field's value.
 16183  func (s *SearchResourcesOutput) SetNextToken(v string) *SearchResourcesOutput {
 16184  	s.NextToken = &v
 16185  	return s
 16186  }
 16187  
 16188  // Specifies a property-based filter condition that determines which Amazon
 16189  // Web Services resources are included or excluded from the query results.
 16190  type SearchResourcesSimpleCriterion struct {
 16191  	_ struct{} `type:"structure"`
 16192  
 16193  	// The operator to use in a condition that filters the results of a query. Valid
 16194  	// values are:
 16195  	Comparator *string `locationName:"comparator" type:"string" enum:"SearchResourcesComparator"`
 16196  
 16197  	// The property to use in a condition that filters the query results. Valid
 16198  	// values are:
 16199  	Key *string `locationName:"key" type:"string" enum:"SearchResourcesSimpleCriterionKey"`
 16200  
 16201  	Values []*string `locationName:"values" type:"list"`
 16202  }
 16203  
 16204  // String returns the string representation.
 16205  //
 16206  // API parameter values that are decorated as "sensitive" in the API will not
 16207  // be included in the string output. The member name will be present, but the
 16208  // value will be replaced with "sensitive".
 16209  func (s SearchResourcesSimpleCriterion) String() string {
 16210  	return awsutil.Prettify(s)
 16211  }
 16212  
 16213  // GoString returns the string representation.
 16214  //
 16215  // API parameter values that are decorated as "sensitive" in the API will not
 16216  // be included in the string output. The member name will be present, but the
 16217  // value will be replaced with "sensitive".
 16218  func (s SearchResourcesSimpleCriterion) GoString() string {
 16219  	return s.String()
 16220  }
 16221  
 16222  // SetComparator sets the Comparator field's value.
 16223  func (s *SearchResourcesSimpleCriterion) SetComparator(v string) *SearchResourcesSimpleCriterion {
 16224  	s.Comparator = &v
 16225  	return s
 16226  }
 16227  
 16228  // SetKey sets the Key field's value.
 16229  func (s *SearchResourcesSimpleCriterion) SetKey(v string) *SearchResourcesSimpleCriterion {
 16230  	s.Key = &v
 16231  	return s
 16232  }
 16233  
 16234  // SetValues sets the Values field's value.
 16235  func (s *SearchResourcesSimpleCriterion) SetValues(v []*string) *SearchResourcesSimpleCriterion {
 16236  	s.Values = v
 16237  	return s
 16238  }
 16239  
 16240  // Specifies criteria for sorting the results of a query for information about
 16241  // Amazon Web Services resources that Amazon Macie monitors and analyzes.
 16242  type SearchResourcesSortCriteria struct {
 16243  	_ struct{} `type:"structure"`
 16244  
 16245  	// The property to sort the query results by. Valid values are:
 16246  	AttributeName *string `locationName:"attributeName" type:"string" enum:"SearchResourcesSortAttributeName"`
 16247  
 16248  	OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
 16249  }
 16250  
 16251  // String returns the string representation.
 16252  //
 16253  // API parameter values that are decorated as "sensitive" in the API will not
 16254  // be included in the string output. The member name will be present, but the
 16255  // value will be replaced with "sensitive".
 16256  func (s SearchResourcesSortCriteria) String() string {
 16257  	return awsutil.Prettify(s)
 16258  }
 16259  
 16260  // GoString returns the string representation.
 16261  //
 16262  // API parameter values that are decorated as "sensitive" in the API will not
 16263  // be included in the string output. The member name will be present, but the
 16264  // value will be replaced with "sensitive".
 16265  func (s SearchResourcesSortCriteria) GoString() string {
 16266  	return s.String()
 16267  }
 16268  
 16269  // SetAttributeName sets the AttributeName field's value.
 16270  func (s *SearchResourcesSortCriteria) SetAttributeName(v string) *SearchResourcesSortCriteria {
 16271  	s.AttributeName = &v
 16272  	return s
 16273  }
 16274  
 16275  // SetOrderBy sets the OrderBy field's value.
 16276  func (s *SearchResourcesSortCriteria) SetOrderBy(v string) *SearchResourcesSortCriteria {
 16277  	s.OrderBy = &v
 16278  	return s
 16279  }
 16280  
 16281  // Specifies a tag-based filter condition that determines which Amazon Web Services
 16282  // resources are included or excluded from the query results.
 16283  type SearchResourcesTagCriterion struct {
 16284  	_ struct{} `type:"structure"`
 16285  
 16286  	// The operator to use in a condition that filters the results of a query. Valid
 16287  	// values are:
 16288  	Comparator *string `locationName:"comparator" type:"string" enum:"SearchResourcesComparator"`
 16289  
 16290  	TagValues []*SearchResourcesTagCriterionPair `locationName:"tagValues" type:"list"`
 16291  }
 16292  
 16293  // String returns the string representation.
 16294  //
 16295  // API parameter values that are decorated as "sensitive" in the API will not
 16296  // be included in the string output. The member name will be present, but the
 16297  // value will be replaced with "sensitive".
 16298  func (s SearchResourcesTagCriterion) String() string {
 16299  	return awsutil.Prettify(s)
 16300  }
 16301  
 16302  // GoString returns the string representation.
 16303  //
 16304  // API parameter values that are decorated as "sensitive" in the API will not
 16305  // be included in the string output. The member name will be present, but the
 16306  // value will be replaced with "sensitive".
 16307  func (s SearchResourcesTagCriterion) GoString() string {
 16308  	return s.String()
 16309  }
 16310  
 16311  // SetComparator sets the Comparator field's value.
 16312  func (s *SearchResourcesTagCriterion) SetComparator(v string) *SearchResourcesTagCriterion {
 16313  	s.Comparator = &v
 16314  	return s
 16315  }
 16316  
 16317  // SetTagValues sets the TagValues field's value.
 16318  func (s *SearchResourcesTagCriterion) SetTagValues(v []*SearchResourcesTagCriterionPair) *SearchResourcesTagCriterion {
 16319  	s.TagValues = v
 16320  	return s
 16321  }
 16322  
 16323  // Specifies a tag key, a tag value, or a tag key and value (as a pair) to use
 16324  // in a tag-based filter condition for a query. Tag keys and values are case
 16325  // sensitive. Also, Amazon Macie doesn't support use of partial values or wildcard
 16326  // characters in tag-based filter conditions.
 16327  type SearchResourcesTagCriterionPair struct {
 16328  	_ struct{} `type:"structure"`
 16329  
 16330  	Key *string `locationName:"key" type:"string"`
 16331  
 16332  	Value *string `locationName:"value" type:"string"`
 16333  }
 16334  
 16335  // String returns the string representation.
 16336  //
 16337  // API parameter values that are decorated as "sensitive" in the API will not
 16338  // be included in the string output. The member name will be present, but the
 16339  // value will be replaced with "sensitive".
 16340  func (s SearchResourcesTagCriterionPair) String() string {
 16341  	return awsutil.Prettify(s)
 16342  }
 16343  
 16344  // GoString returns the string representation.
 16345  //
 16346  // API parameter values that are decorated as "sensitive" in the API will not
 16347  // be included in the string output. The member name will be present, but the
 16348  // value will be replaced with "sensitive".
 16349  func (s SearchResourcesTagCriterionPair) GoString() string {
 16350  	return s.String()
 16351  }
 16352  
 16353  // SetKey sets the Key field's value.
 16354  func (s *SearchResourcesTagCriterionPair) SetKey(v string) *SearchResourcesTagCriterionPair {
 16355  	s.Key = &v
 16356  	return s
 16357  }
 16358  
 16359  // SetValue sets the Value field's value.
 16360  func (s *SearchResourcesTagCriterionPair) SetValue(v string) *SearchResourcesTagCriterionPair {
 16361  	s.Value = &v
 16362  	return s
 16363  }
 16364  
 16365  // Specifies configuration settings that determine which findings are published
 16366  // to Security Hub automatically. For information about how Macie publishes
 16367  // findings to Security Hub, see Amazon Macie integration with Security Hub
 16368  // (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html)
 16369  // in the Amazon Macie User Guide.
 16370  type SecurityHubConfiguration struct {
 16371  	_ struct{} `type:"structure"`
 16372  
 16373  	// PublishClassificationFindings is a required field
 16374  	PublishClassificationFindings *bool `locationName:"publishClassificationFindings" type:"boolean" required:"true"`
 16375  
 16376  	// PublishPolicyFindings is a required field
 16377  	PublishPolicyFindings *bool `locationName:"publishPolicyFindings" type:"boolean" required:"true"`
 16378  }
 16379  
 16380  // String returns the string representation.
 16381  //
 16382  // API parameter values that are decorated as "sensitive" in the API will not
 16383  // be included in the string output. The member name will be present, but the
 16384  // value will be replaced with "sensitive".
 16385  func (s SecurityHubConfiguration) String() string {
 16386  	return awsutil.Prettify(s)
 16387  }
 16388  
 16389  // GoString returns the string representation.
 16390  //
 16391  // API parameter values that are decorated as "sensitive" in the API will not
 16392  // be included in the string output. The member name will be present, but the
 16393  // value will be replaced with "sensitive".
 16394  func (s SecurityHubConfiguration) GoString() string {
 16395  	return s.String()
 16396  }
 16397  
 16398  // Validate inspects the fields of the type to determine if they are valid.
 16399  func (s *SecurityHubConfiguration) Validate() error {
 16400  	invalidParams := request.ErrInvalidParams{Context: "SecurityHubConfiguration"}
 16401  	if s.PublishClassificationFindings == nil {
 16402  		invalidParams.Add(request.NewErrParamRequired("PublishClassificationFindings"))
 16403  	}
 16404  	if s.PublishPolicyFindings == nil {
 16405  		invalidParams.Add(request.NewErrParamRequired("PublishPolicyFindings"))
 16406  	}
 16407  
 16408  	if invalidParams.Len() > 0 {
 16409  		return invalidParams
 16410  	}
 16411  	return nil
 16412  }
 16413  
 16414  // SetPublishClassificationFindings sets the PublishClassificationFindings field's value.
 16415  func (s *SecurityHubConfiguration) SetPublishClassificationFindings(v bool) *SecurityHubConfiguration {
 16416  	s.PublishClassificationFindings = &v
 16417  	return s
 16418  }
 16419  
 16420  // SetPublishPolicyFindings sets the PublishPolicyFindings field's value.
 16421  func (s *SecurityHubConfiguration) SetPublishPolicyFindings(v bool) *SecurityHubConfiguration {
 16422  	s.PublishPolicyFindings = &v
 16423  	return s
 16424  }
 16425  
 16426  // Provides information about the category, types, and occurrences of sensitive
 16427  // data that produced a sensitive data finding.
 16428  type SensitiveDataItem struct {
 16429  	_ struct{} `type:"structure"`
 16430  
 16431  	// For a finding, the category of sensitive data that was detected and produced
 16432  	// the finding. For a managed data identifier, the category of sensitive data
 16433  	// that the managed data identifier detects. Possible values are:
 16434  	Category *string `locationName:"category" type:"string" enum:"SensitiveDataItemCategory"`
 16435  
 16436  	// Provides information about sensitive data that was detected by managed data
 16437  	// identifiers and produced a sensitive data finding, and the number of occurrences
 16438  	// of each type of sensitive data that was detected.
 16439  	Detections []*DefaultDetection `locationName:"detections" type:"list"`
 16440  
 16441  	TotalCount *int64 `locationName:"totalCount" type:"long"`
 16442  }
 16443  
 16444  // String returns the string representation.
 16445  //
 16446  // API parameter values that are decorated as "sensitive" in the API will not
 16447  // be included in the string output. The member name will be present, but the
 16448  // value will be replaced with "sensitive".
 16449  func (s SensitiveDataItem) String() string {
 16450  	return awsutil.Prettify(s)
 16451  }
 16452  
 16453  // GoString returns the string representation.
 16454  //
 16455  // API parameter values that are decorated as "sensitive" in the API will not
 16456  // be included in the string output. The member name will be present, but the
 16457  // value will be replaced with "sensitive".
 16458  func (s SensitiveDataItem) GoString() string {
 16459  	return s.String()
 16460  }
 16461  
 16462  // SetCategory sets the Category field's value.
 16463  func (s *SensitiveDataItem) SetCategory(v string) *SensitiveDataItem {
 16464  	s.Category = &v
 16465  	return s
 16466  }
 16467  
 16468  // SetDetections sets the Detections field's value.
 16469  func (s *SensitiveDataItem) SetDetections(v []*DefaultDetection) *SensitiveDataItem {
 16470  	s.Detections = v
 16471  	return s
 16472  }
 16473  
 16474  // SetTotalCount sets the TotalCount field's value.
 16475  func (s *SensitiveDataItem) SetTotalCount(v int64) *SensitiveDataItem {
 16476  	s.TotalCount = &v
 16477  	return s
 16478  }
 16479  
 16480  // Provides information about the server-side encryption settings for an S3
 16481  // bucket or S3 object.
 16482  type ServerSideEncryption struct {
 16483  	_ struct{} `type:"structure"`
 16484  
 16485  	// The type of server-side encryption that's used to encrypt an S3 object or
 16486  	// objects in an S3 bucket. Valid values are:
 16487  	EncryptionType *string `locationName:"encryptionType" type:"string" enum:"EncryptionType"`
 16488  
 16489  	KmsMasterKeyId *string `locationName:"kmsMasterKeyId" type:"string"`
 16490  }
 16491  
 16492  // String returns the string representation.
 16493  //
 16494  // API parameter values that are decorated as "sensitive" in the API will not
 16495  // be included in the string output. The member name will be present, but the
 16496  // value will be replaced with "sensitive".
 16497  func (s ServerSideEncryption) String() string {
 16498  	return awsutil.Prettify(s)
 16499  }
 16500  
 16501  // GoString returns the string representation.
 16502  //
 16503  // API parameter values that are decorated as "sensitive" in the API will not
 16504  // be included in the string output. The member name will be present, but the
 16505  // value will be replaced with "sensitive".
 16506  func (s ServerSideEncryption) GoString() string {
 16507  	return s.String()
 16508  }
 16509  
 16510  // SetEncryptionType sets the EncryptionType field's value.
 16511  func (s *ServerSideEncryption) SetEncryptionType(v string) *ServerSideEncryption {
 16512  	s.EncryptionType = &v
 16513  	return s
 16514  }
 16515  
 16516  // SetKmsMasterKeyId sets the KmsMasterKeyId field's value.
 16517  func (s *ServerSideEncryption) SetKmsMasterKeyId(v string) *ServerSideEncryption {
 16518  	s.KmsMasterKeyId = &v
 16519  	return s
 16520  }
 16521  
 16522  // Specifies a current quota for an Amazon Macie account.
 16523  type ServiceLimit struct {
 16524  	_ struct{} `type:"structure"`
 16525  
 16526  	IsServiceLimited *bool `locationName:"isServiceLimited" type:"boolean"`
 16527  
 16528  	Unit *string `locationName:"unit" type:"string" enum:"Unit"`
 16529  
 16530  	Value *int64 `locationName:"value" type:"long"`
 16531  }
 16532  
 16533  // String returns the string representation.
 16534  //
 16535  // API parameter values that are decorated as "sensitive" in the API will not
 16536  // be included in the string output. The member name will be present, but the
 16537  // value will be replaced with "sensitive".
 16538  func (s ServiceLimit) String() string {
 16539  	return awsutil.Prettify(s)
 16540  }
 16541  
 16542  // GoString returns the string representation.
 16543  //
 16544  // API parameter values that are decorated as "sensitive" in the API will not
 16545  // be included in the string output. The member name will be present, but the
 16546  // value will be replaced with "sensitive".
 16547  func (s ServiceLimit) GoString() string {
 16548  	return s.String()
 16549  }
 16550  
 16551  // SetIsServiceLimited sets the IsServiceLimited field's value.
 16552  func (s *ServiceLimit) SetIsServiceLimited(v bool) *ServiceLimit {
 16553  	s.IsServiceLimited = &v
 16554  	return s
 16555  }
 16556  
 16557  // SetUnit sets the Unit field's value.
 16558  func (s *ServiceLimit) SetUnit(v string) *ServiceLimit {
 16559  	s.Unit = &v
 16560  	return s
 16561  }
 16562  
 16563  // SetValue sets the Value field's value.
 16564  func (s *ServiceLimit) SetValue(v int64) *ServiceLimit {
 16565  	s.Value = &v
 16566  	return s
 16567  }
 16568  
 16569  // Provides information about an error that occurred due to one or more service
 16570  // quotas for an account.
 16571  type ServiceQuotaExceededException struct {
 16572  	_            struct{}                  `type:"structure"`
 16573  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 16574  
 16575  	Message_ *string `locationName:"message" type:"string"`
 16576  }
 16577  
 16578  // String returns the string representation.
 16579  //
 16580  // API parameter values that are decorated as "sensitive" in the API will not
 16581  // be included in the string output. The member name will be present, but the
 16582  // value will be replaced with "sensitive".
 16583  func (s ServiceQuotaExceededException) String() string {
 16584  	return awsutil.Prettify(s)
 16585  }
 16586  
 16587  // GoString returns the string representation.
 16588  //
 16589  // API parameter values that are decorated as "sensitive" in the API will not
 16590  // be included in the string output. The member name will be present, but the
 16591  // value will be replaced with "sensitive".
 16592  func (s ServiceQuotaExceededException) GoString() string {
 16593  	return s.String()
 16594  }
 16595  
 16596  func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
 16597  	return &ServiceQuotaExceededException{
 16598  		RespMetadata: v,
 16599  	}
 16600  }
 16601  
 16602  // Code returns the exception type name.
 16603  func (s *ServiceQuotaExceededException) Code() string {
 16604  	return "ServiceQuotaExceededException"
 16605  }
 16606  
 16607  // Message returns the exception's message.
 16608  func (s *ServiceQuotaExceededException) Message() string {
 16609  	if s.Message_ != nil {
 16610  		return *s.Message_
 16611  	}
 16612  	return ""
 16613  }
 16614  
 16615  // OrigErr always returns nil, satisfies awserr.Error interface.
 16616  func (s *ServiceQuotaExceededException) OrigErr() error {
 16617  	return nil
 16618  }
 16619  
 16620  func (s *ServiceQuotaExceededException) Error() string {
 16621  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 16622  }
 16623  
 16624  // Status code returns the HTTP status code for the request's response error.
 16625  func (s *ServiceQuotaExceededException) StatusCode() int {
 16626  	return s.RespMetadata.StatusCode
 16627  }
 16628  
 16629  // RequestID returns the service's response RequestID for request.
 16630  func (s *ServiceQuotaExceededException) RequestID() string {
 16631  	return s.RespMetadata.RequestID
 16632  }
 16633  
 16634  // Provides information about a session that was created for an entity that
 16635  // performed an action by using temporary security credentials.
 16636  type SessionContext struct {
 16637  	_ struct{} `type:"structure"`
 16638  
 16639  	// Provides information about the context in which temporary security credentials
 16640  	// were issued to an entity.
 16641  	Attributes *SessionContextAttributes `locationName:"attributes" type:"structure"`
 16642  
 16643  	// Provides information about the source and type of temporary security credentials
 16644  	// that were issued to an entity.
 16645  	SessionIssuer *SessionIssuer `locationName:"sessionIssuer" type:"structure"`
 16646  }
 16647  
 16648  // String returns the string representation.
 16649  //
 16650  // API parameter values that are decorated as "sensitive" in the API will not
 16651  // be included in the string output. The member name will be present, but the
 16652  // value will be replaced with "sensitive".
 16653  func (s SessionContext) String() string {
 16654  	return awsutil.Prettify(s)
 16655  }
 16656  
 16657  // GoString returns the string representation.
 16658  //
 16659  // API parameter values that are decorated as "sensitive" in the API will not
 16660  // be included in the string output. The member name will be present, but the
 16661  // value will be replaced with "sensitive".
 16662  func (s SessionContext) GoString() string {
 16663  	return s.String()
 16664  }
 16665  
 16666  // SetAttributes sets the Attributes field's value.
 16667  func (s *SessionContext) SetAttributes(v *SessionContextAttributes) *SessionContext {
 16668  	s.Attributes = v
 16669  	return s
 16670  }
 16671  
 16672  // SetSessionIssuer sets the SessionIssuer field's value.
 16673  func (s *SessionContext) SetSessionIssuer(v *SessionIssuer) *SessionContext {
 16674  	s.SessionIssuer = v
 16675  	return s
 16676  }
 16677  
 16678  // Provides information about the context in which temporary security credentials
 16679  // were issued to an entity.
 16680  type SessionContextAttributes struct {
 16681  	_ struct{} `type:"structure"`
 16682  
 16683  	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"iso8601"`
 16684  
 16685  	MfaAuthenticated *bool `locationName:"mfaAuthenticated" type:"boolean"`
 16686  }
 16687  
 16688  // String returns the string representation.
 16689  //
 16690  // API parameter values that are decorated as "sensitive" in the API will not
 16691  // be included in the string output. The member name will be present, but the
 16692  // value will be replaced with "sensitive".
 16693  func (s SessionContextAttributes) String() string {
 16694  	return awsutil.Prettify(s)
 16695  }
 16696  
 16697  // GoString returns the string representation.
 16698  //
 16699  // API parameter values that are decorated as "sensitive" in the API will not
 16700  // be included in the string output. The member name will be present, but the
 16701  // value will be replaced with "sensitive".
 16702  func (s SessionContextAttributes) GoString() string {
 16703  	return s.String()
 16704  }
 16705  
 16706  // SetCreationDate sets the CreationDate field's value.
 16707  func (s *SessionContextAttributes) SetCreationDate(v time.Time) *SessionContextAttributes {
 16708  	s.CreationDate = &v
 16709  	return s
 16710  }
 16711  
 16712  // SetMfaAuthenticated sets the MfaAuthenticated field's value.
 16713  func (s *SessionContextAttributes) SetMfaAuthenticated(v bool) *SessionContextAttributes {
 16714  	s.MfaAuthenticated = &v
 16715  	return s
 16716  }
 16717  
 16718  // Provides information about the source and type of temporary security credentials
 16719  // that were issued to an entity.
 16720  type SessionIssuer struct {
 16721  	_ struct{} `type:"structure"`
 16722  
 16723  	AccountId *string `locationName:"accountId" type:"string"`
 16724  
 16725  	Arn *string `locationName:"arn" type:"string"`
 16726  
 16727  	PrincipalId *string `locationName:"principalId" type:"string"`
 16728  
 16729  	Type *string `locationName:"type" type:"string"`
 16730  
 16731  	UserName *string `locationName:"userName" type:"string"`
 16732  }
 16733  
 16734  // String returns the string representation.
 16735  //
 16736  // API parameter values that are decorated as "sensitive" in the API will not
 16737  // be included in the string output. The member name will be present, but the
 16738  // value will be replaced with "sensitive".
 16739  func (s SessionIssuer) String() string {
 16740  	return awsutil.Prettify(s)
 16741  }
 16742  
 16743  // GoString returns the string representation.
 16744  //
 16745  // API parameter values that are decorated as "sensitive" in the API will not
 16746  // be included in the string output. The member name will be present, but the
 16747  // value will be replaced with "sensitive".
 16748  func (s SessionIssuer) GoString() string {
 16749  	return s.String()
 16750  }
 16751  
 16752  // SetAccountId sets the AccountId field's value.
 16753  func (s *SessionIssuer) SetAccountId(v string) *SessionIssuer {
 16754  	s.AccountId = &v
 16755  	return s
 16756  }
 16757  
 16758  // SetArn sets the Arn field's value.
 16759  func (s *SessionIssuer) SetArn(v string) *SessionIssuer {
 16760  	s.Arn = &v
 16761  	return s
 16762  }
 16763  
 16764  // SetPrincipalId sets the PrincipalId field's value.
 16765  func (s *SessionIssuer) SetPrincipalId(v string) *SessionIssuer {
 16766  	s.PrincipalId = &v
 16767  	return s
 16768  }
 16769  
 16770  // SetType sets the Type field's value.
 16771  func (s *SessionIssuer) SetType(v string) *SessionIssuer {
 16772  	s.Type = &v
 16773  	return s
 16774  }
 16775  
 16776  // SetUserName sets the UserName field's value.
 16777  func (s *SessionIssuer) SetUserName(v string) *SessionIssuer {
 16778  	s.UserName = &v
 16779  	return s
 16780  }
 16781  
 16782  // Provides the numerical and qualitative representations of a finding's severity.
 16783  type Severity struct {
 16784  	_ struct{} `type:"structure"`
 16785  
 16786  	// The qualitative representation of the finding's severity. Possible values
 16787  	// are:
 16788  	Description *string `locationName:"description" type:"string" enum:"SeverityDescription"`
 16789  
 16790  	Score *int64 `locationName:"score" type:"long"`
 16791  }
 16792  
 16793  // String returns the string representation.
 16794  //
 16795  // API parameter values that are decorated as "sensitive" in the API will not
 16796  // be included in the string output. The member name will be present, but the
 16797  // value will be replaced with "sensitive".
 16798  func (s Severity) String() string {
 16799  	return awsutil.Prettify(s)
 16800  }
 16801  
 16802  // GoString returns the string representation.
 16803  //
 16804  // API parameter values that are decorated as "sensitive" in the API will not
 16805  // be included in the string output. The member name will be present, but the
 16806  // value will be replaced with "sensitive".
 16807  func (s Severity) GoString() string {
 16808  	return s.String()
 16809  }
 16810  
 16811  // SetDescription sets the Description field's value.
 16812  func (s *Severity) SetDescription(v string) *Severity {
 16813  	s.Description = &v
 16814  	return s
 16815  }
 16816  
 16817  // SetScore sets the Score field's value.
 16818  func (s *Severity) SetScore(v int64) *Severity {
 16819  	s.Score = &v
 16820  	return s
 16821  }
 16822  
 16823  // Specifies a property-based condition that determines whether an S3 bucket
 16824  // is included or excluded from a classification job.
 16825  type SimpleCriterionForJob struct {
 16826  	_ struct{} `type:"structure"`
 16827  
 16828  	// The operator to use in a condition. Valid values are:
 16829  	Comparator *string `locationName:"comparator" type:"string" enum:"JobComparator"`
 16830  
 16831  	// The property to use in a condition that determines whether an S3 bucket is
 16832  	// included or excluded from a classification job. Valid values are:
 16833  	Key *string `locationName:"key" type:"string" enum:"SimpleCriterionKeyForJob"`
 16834  
 16835  	Values []*string `locationName:"values" type:"list"`
 16836  }
 16837  
 16838  // String returns the string representation.
 16839  //
 16840  // API parameter values that are decorated as "sensitive" in the API will not
 16841  // be included in the string output. The member name will be present, but the
 16842  // value will be replaced with "sensitive".
 16843  func (s SimpleCriterionForJob) String() string {
 16844  	return awsutil.Prettify(s)
 16845  }
 16846  
 16847  // GoString returns the string representation.
 16848  //
 16849  // API parameter values that are decorated as "sensitive" in the API will not
 16850  // be included in the string output. The member name will be present, but the
 16851  // value will be replaced with "sensitive".
 16852  func (s SimpleCriterionForJob) GoString() string {
 16853  	return s.String()
 16854  }
 16855  
 16856  // SetComparator sets the Comparator field's value.
 16857  func (s *SimpleCriterionForJob) SetComparator(v string) *SimpleCriterionForJob {
 16858  	s.Comparator = &v
 16859  	return s
 16860  }
 16861  
 16862  // SetKey sets the Key field's value.
 16863  func (s *SimpleCriterionForJob) SetKey(v string) *SimpleCriterionForJob {
 16864  	s.Key = &v
 16865  	return s
 16866  }
 16867  
 16868  // SetValues sets the Values field's value.
 16869  func (s *SimpleCriterionForJob) SetValues(v []*string) *SimpleCriterionForJob {
 16870  	s.Values = v
 16871  	return s
 16872  }
 16873  
 16874  // Specifies a property-based condition that determines whether an S3 object
 16875  // is included or excluded from a classification job.
 16876  type SimpleScopeTerm struct {
 16877  	_ struct{} `type:"structure"`
 16878  
 16879  	// The operator to use in a condition. Valid values are:
 16880  	Comparator *string `locationName:"comparator" type:"string" enum:"JobComparator"`
 16881  
 16882  	// The property to use in a condition that determines whether an S3 object is
 16883  	// included or excluded from a classification job. Valid values are:
 16884  	Key *string `locationName:"key" type:"string" enum:"ScopeFilterKey"`
 16885  
 16886  	Values []*string `locationName:"values" type:"list"`
 16887  }
 16888  
 16889  // String returns the string representation.
 16890  //
 16891  // API parameter values that are decorated as "sensitive" in the API will not
 16892  // be included in the string output. The member name will be present, but the
 16893  // value will be replaced with "sensitive".
 16894  func (s SimpleScopeTerm) String() string {
 16895  	return awsutil.Prettify(s)
 16896  }
 16897  
 16898  // GoString returns the string representation.
 16899  //
 16900  // API parameter values that are decorated as "sensitive" in the API will not
 16901  // be included in the string output. The member name will be present, but the
 16902  // value will be replaced with "sensitive".
 16903  func (s SimpleScopeTerm) GoString() string {
 16904  	return s.String()
 16905  }
 16906  
 16907  // SetComparator sets the Comparator field's value.
 16908  func (s *SimpleScopeTerm) SetComparator(v string) *SimpleScopeTerm {
 16909  	s.Comparator = &v
 16910  	return s
 16911  }
 16912  
 16913  // SetKey sets the Key field's value.
 16914  func (s *SimpleScopeTerm) SetKey(v string) *SimpleScopeTerm {
 16915  	s.Key = &v
 16916  	return s
 16917  }
 16918  
 16919  // SetValues sets the Values field's value.
 16920  func (s *SimpleScopeTerm) SetValues(v []*string) *SimpleScopeTerm {
 16921  	s.Values = v
 16922  	return s
 16923  }
 16924  
 16925  // Specifies criteria for sorting the results of a request for findings.
 16926  type SortCriteria struct {
 16927  	_ struct{} `type:"structure"`
 16928  
 16929  	AttributeName *string `locationName:"attributeName" type:"string"`
 16930  
 16931  	OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
 16932  }
 16933  
 16934  // String returns the string representation.
 16935  //
 16936  // API parameter values that are decorated as "sensitive" in the API will not
 16937  // be included in the string output. The member name will be present, but the
 16938  // value will be replaced with "sensitive".
 16939  func (s SortCriteria) String() string {
 16940  	return awsutil.Prettify(s)
 16941  }
 16942  
 16943  // GoString returns the string representation.
 16944  //
 16945  // API parameter values that are decorated as "sensitive" in the API will not
 16946  // be included in the string output. The member name will be present, but the
 16947  // value will be replaced with "sensitive".
 16948  func (s SortCriteria) GoString() string {
 16949  	return s.String()
 16950  }
 16951  
 16952  // SetAttributeName sets the AttributeName field's value.
 16953  func (s *SortCriteria) SetAttributeName(v string) *SortCriteria {
 16954  	s.AttributeName = &v
 16955  	return s
 16956  }
 16957  
 16958  // SetOrderBy sets the OrderBy field's value.
 16959  func (s *SortCriteria) SetOrderBy(v string) *SortCriteria {
 16960  	s.OrderBy = &v
 16961  	return s
 16962  }
 16963  
 16964  // Provides processing statistics for a classification job.
 16965  type Statistics struct {
 16966  	_ struct{} `type:"structure"`
 16967  
 16968  	ApproximateNumberOfObjectsToProcess *float64 `locationName:"approximateNumberOfObjectsToProcess" type:"double"`
 16969  
 16970  	NumberOfRuns *float64 `locationName:"numberOfRuns" type:"double"`
 16971  }
 16972  
 16973  // String returns the string representation.
 16974  //
 16975  // API parameter values that are decorated as "sensitive" in the API will not
 16976  // be included in the string output. The member name will be present, but the
 16977  // value will be replaced with "sensitive".
 16978  func (s Statistics) String() string {
 16979  	return awsutil.Prettify(s)
 16980  }
 16981  
 16982  // GoString returns the string representation.
 16983  //
 16984  // API parameter values that are decorated as "sensitive" in the API will not
 16985  // be included in the string output. The member name will be present, but the
 16986  // value will be replaced with "sensitive".
 16987  func (s Statistics) GoString() string {
 16988  	return s.String()
 16989  }
 16990  
 16991  // SetApproximateNumberOfObjectsToProcess sets the ApproximateNumberOfObjectsToProcess field's value.
 16992  func (s *Statistics) SetApproximateNumberOfObjectsToProcess(v float64) *Statistics {
 16993  	s.ApproximateNumberOfObjectsToProcess = &v
 16994  	return s
 16995  }
 16996  
 16997  // SetNumberOfRuns sets the NumberOfRuns field's value.
 16998  func (s *Statistics) SetNumberOfRuns(v float64) *Statistics {
 16999  	s.NumberOfRuns = &v
 17000  	return s
 17001  }
 17002  
 17003  // Specifies a tag-based condition that determines whether an S3 bucket is included
 17004  // or excluded from a classification job.
 17005  type TagCriterionForJob struct {
 17006  	_ struct{} `type:"structure"`
 17007  
 17008  	// The operator to use in a condition. Valid values are:
 17009  	Comparator *string `locationName:"comparator" type:"string" enum:"JobComparator"`
 17010  
 17011  	TagValues []*TagCriterionPairForJob `locationName:"tagValues" type:"list"`
 17012  }
 17013  
 17014  // String returns the string representation.
 17015  //
 17016  // API parameter values that are decorated as "sensitive" in the API will not
 17017  // be included in the string output. The member name will be present, but the
 17018  // value will be replaced with "sensitive".
 17019  func (s TagCriterionForJob) String() string {
 17020  	return awsutil.Prettify(s)
 17021  }
 17022  
 17023  // GoString returns the string representation.
 17024  //
 17025  // API parameter values that are decorated as "sensitive" in the API will not
 17026  // be included in the string output. The member name will be present, but the
 17027  // value will be replaced with "sensitive".
 17028  func (s TagCriterionForJob) GoString() string {
 17029  	return s.String()
 17030  }
 17031  
 17032  // SetComparator sets the Comparator field's value.
 17033  func (s *TagCriterionForJob) SetComparator(v string) *TagCriterionForJob {
 17034  	s.Comparator = &v
 17035  	return s
 17036  }
 17037  
 17038  // SetTagValues sets the TagValues field's value.
 17039  func (s *TagCriterionForJob) SetTagValues(v []*TagCriterionPairForJob) *TagCriterionForJob {
 17040  	s.TagValues = v
 17041  	return s
 17042  }
 17043  
 17044  // Specifies a tag key, a tag value, or a tag key and value (as a pair) to use
 17045  // in a tag-based condition that determines whether an S3 bucket is included
 17046  // or excluded from a classification job. Tag keys and values are case sensitive.
 17047  // Also, Amazon Macie doesn't support use of partial values or wildcard characters
 17048  // in tag-based conditions.
 17049  type TagCriterionPairForJob struct {
 17050  	_ struct{} `type:"structure"`
 17051  
 17052  	Key *string `locationName:"key" type:"string"`
 17053  
 17054  	Value *string `locationName:"value" type:"string"`
 17055  }
 17056  
 17057  // String returns the string representation.
 17058  //
 17059  // API parameter values that are decorated as "sensitive" in the API will not
 17060  // be included in the string output. The member name will be present, but the
 17061  // value will be replaced with "sensitive".
 17062  func (s TagCriterionPairForJob) String() string {
 17063  	return awsutil.Prettify(s)
 17064  }
 17065  
 17066  // GoString returns the string representation.
 17067  //
 17068  // API parameter values that are decorated as "sensitive" in the API will not
 17069  // be included in the string output. The member name will be present, but the
 17070  // value will be replaced with "sensitive".
 17071  func (s TagCriterionPairForJob) GoString() string {
 17072  	return s.String()
 17073  }
 17074  
 17075  // SetKey sets the Key field's value.
 17076  func (s *TagCriterionPairForJob) SetKey(v string) *TagCriterionPairForJob {
 17077  	s.Key = &v
 17078  	return s
 17079  }
 17080  
 17081  // SetValue sets the Value field's value.
 17082  func (s *TagCriterionPairForJob) SetValue(v string) *TagCriterionPairForJob {
 17083  	s.Value = &v
 17084  	return s
 17085  }
 17086  
 17087  // Specifies the tags (keys and values) to associate with a classification job,
 17088  // custom data identifier, findings filter, or member account.
 17089  type TagResourceInput struct {
 17090  	_ struct{} `type:"structure"`
 17091  
 17092  	// ResourceArn is a required field
 17093  	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
 17094  
 17095  	// A string-to-string map of key-value pairs that specifies the tags (keys and
 17096  	// values) for a classification job, custom data identifier, findings filter,
 17097  	// or member account.
 17098  	//
 17099  	// Tags is a required field
 17100  	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
 17101  }
 17102  
 17103  // String returns the string representation.
 17104  //
 17105  // API parameter values that are decorated as "sensitive" in the API will not
 17106  // be included in the string output. The member name will be present, but the
 17107  // value will be replaced with "sensitive".
 17108  func (s TagResourceInput) String() string {
 17109  	return awsutil.Prettify(s)
 17110  }
 17111  
 17112  // GoString returns the string representation.
 17113  //
 17114  // API parameter values that are decorated as "sensitive" in the API will not
 17115  // be included in the string output. The member name will be present, but the
 17116  // value will be replaced with "sensitive".
 17117  func (s TagResourceInput) GoString() string {
 17118  	return s.String()
 17119  }
 17120  
 17121  // Validate inspects the fields of the type to determine if they are valid.
 17122  func (s *TagResourceInput) Validate() error {
 17123  	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
 17124  	if s.ResourceArn == nil {
 17125  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 17126  	}
 17127  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 17128  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 17129  	}
 17130  	if s.Tags == nil {
 17131  		invalidParams.Add(request.NewErrParamRequired("Tags"))
 17132  	}
 17133  
 17134  	if invalidParams.Len() > 0 {
 17135  		return invalidParams
 17136  	}
 17137  	return nil
 17138  }
 17139  
 17140  // SetResourceArn sets the ResourceArn field's value.
 17141  func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
 17142  	s.ResourceArn = &v
 17143  	return s
 17144  }
 17145  
 17146  // SetTags sets the Tags field's value.
 17147  func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
 17148  	s.Tags = v
 17149  	return s
 17150  }
 17151  
 17152  // The request succeeded. The specified tags were added to the resource.
 17153  type TagResourceOutput struct {
 17154  	_ struct{} `type:"structure" nopayload:"true"`
 17155  }
 17156  
 17157  // String returns the string representation.
 17158  //
 17159  // API parameter values that are decorated as "sensitive" in the API will not
 17160  // be included in the string output. The member name will be present, but the
 17161  // value will be replaced with "sensitive".
 17162  func (s TagResourceOutput) String() string {
 17163  	return awsutil.Prettify(s)
 17164  }
 17165  
 17166  // GoString returns the string representation.
 17167  //
 17168  // API parameter values that are decorated as "sensitive" in the API will not
 17169  // be included in the string output. The member name will be present, but the
 17170  // value will be replaced with "sensitive".
 17171  func (s TagResourceOutput) GoString() string {
 17172  	return s.String()
 17173  }
 17174  
 17175  // Specifies a tag-based condition that determines whether an S3 object is included
 17176  // or excluded from a classification job.
 17177  type TagScopeTerm struct {
 17178  	_ struct{} `type:"structure"`
 17179  
 17180  	// The operator to use in a condition. Valid values are:
 17181  	Comparator *string `locationName:"comparator" type:"string" enum:"JobComparator"`
 17182  
 17183  	Key *string `locationName:"key" type:"string"`
 17184  
 17185  	TagValues []*TagValuePair `locationName:"tagValues" type:"list"`
 17186  
 17187  	// The type of object to apply a tag-based condition to. Valid values are:
 17188  	Target *string `locationName:"target" type:"string" enum:"TagTarget"`
 17189  }
 17190  
 17191  // String returns the string representation.
 17192  //
 17193  // API parameter values that are decorated as "sensitive" in the API will not
 17194  // be included in the string output. The member name will be present, but the
 17195  // value will be replaced with "sensitive".
 17196  func (s TagScopeTerm) String() string {
 17197  	return awsutil.Prettify(s)
 17198  }
 17199  
 17200  // GoString returns the string representation.
 17201  //
 17202  // API parameter values that are decorated as "sensitive" in the API will not
 17203  // be included in the string output. The member name will be present, but the
 17204  // value will be replaced with "sensitive".
 17205  func (s TagScopeTerm) GoString() string {
 17206  	return s.String()
 17207  }
 17208  
 17209  // SetComparator sets the Comparator field's value.
 17210  func (s *TagScopeTerm) SetComparator(v string) *TagScopeTerm {
 17211  	s.Comparator = &v
 17212  	return s
 17213  }
 17214  
 17215  // SetKey sets the Key field's value.
 17216  func (s *TagScopeTerm) SetKey(v string) *TagScopeTerm {
 17217  	s.Key = &v
 17218  	return s
 17219  }
 17220  
 17221  // SetTagValues sets the TagValues field's value.
 17222  func (s *TagScopeTerm) SetTagValues(v []*TagValuePair) *TagScopeTerm {
 17223  	s.TagValues = v
 17224  	return s
 17225  }
 17226  
 17227  // SetTarget sets the Target field's value.
 17228  func (s *TagScopeTerm) SetTarget(v string) *TagScopeTerm {
 17229  	s.Target = &v
 17230  	return s
 17231  }
 17232  
 17233  // Specifies a tag key or tag key and value pair to use in a tag-based condition
 17234  // that determines whether an S3 object is included or excluded from a classification
 17235  // job. Tag keys and values are case sensitive. Also, Amazon Macie doesn't support
 17236  // use of partial values or wildcard characters in tag-based conditions.
 17237  type TagValuePair struct {
 17238  	_ struct{} `type:"structure"`
 17239  
 17240  	Key *string `locationName:"key" type:"string"`
 17241  
 17242  	Value *string `locationName:"value" type:"string"`
 17243  }
 17244  
 17245  // String returns the string representation.
 17246  //
 17247  // API parameter values that are decorated as "sensitive" in the API will not
 17248  // be included in the string output. The member name will be present, but the
 17249  // value will be replaced with "sensitive".
 17250  func (s TagValuePair) String() string {
 17251  	return awsutil.Prettify(s)
 17252  }
 17253  
 17254  // GoString returns the string representation.
 17255  //
 17256  // API parameter values that are decorated as "sensitive" in the API will not
 17257  // be included in the string output. The member name will be present, but the
 17258  // value will be replaced with "sensitive".
 17259  func (s TagValuePair) GoString() string {
 17260  	return s.String()
 17261  }
 17262  
 17263  // SetKey sets the Key field's value.
 17264  func (s *TagValuePair) SetKey(v string) *TagValuePair {
 17265  	s.Key = &v
 17266  	return s
 17267  }
 17268  
 17269  // SetValue sets the Value field's value.
 17270  func (s *TagValuePair) SetValue(v string) *TagValuePair {
 17271  	s.Value = &v
 17272  	return s
 17273  }
 17274  
 17275  // Specifies the detection criteria of a custom data identifier to test.
 17276  type TestCustomDataIdentifierInput struct {
 17277  	_ struct{} `type:"structure"`
 17278  
 17279  	IgnoreWords []*string `locationName:"ignoreWords" type:"list"`
 17280  
 17281  	Keywords []*string `locationName:"keywords" type:"list"`
 17282  
 17283  	MaximumMatchDistance *int64 `locationName:"maximumMatchDistance" type:"integer"`
 17284  
 17285  	// Regex is a required field
 17286  	Regex *string `locationName:"regex" type:"string" required:"true"`
 17287  
 17288  	// SampleText is a required field
 17289  	SampleText *string `locationName:"sampleText" type:"string" required:"true"`
 17290  }
 17291  
 17292  // String returns the string representation.
 17293  //
 17294  // API parameter values that are decorated as "sensitive" in the API will not
 17295  // be included in the string output. The member name will be present, but the
 17296  // value will be replaced with "sensitive".
 17297  func (s TestCustomDataIdentifierInput) String() string {
 17298  	return awsutil.Prettify(s)
 17299  }
 17300  
 17301  // GoString returns the string representation.
 17302  //
 17303  // API parameter values that are decorated as "sensitive" in the API will not
 17304  // be included in the string output. The member name will be present, but the
 17305  // value will be replaced with "sensitive".
 17306  func (s TestCustomDataIdentifierInput) GoString() string {
 17307  	return s.String()
 17308  }
 17309  
 17310  // Validate inspects the fields of the type to determine if they are valid.
 17311  func (s *TestCustomDataIdentifierInput) Validate() error {
 17312  	invalidParams := request.ErrInvalidParams{Context: "TestCustomDataIdentifierInput"}
 17313  	if s.Regex == nil {
 17314  		invalidParams.Add(request.NewErrParamRequired("Regex"))
 17315  	}
 17316  	if s.SampleText == nil {
 17317  		invalidParams.Add(request.NewErrParamRequired("SampleText"))
 17318  	}
 17319  
 17320  	if invalidParams.Len() > 0 {
 17321  		return invalidParams
 17322  	}
 17323  	return nil
 17324  }
 17325  
 17326  // SetIgnoreWords sets the IgnoreWords field's value.
 17327  func (s *TestCustomDataIdentifierInput) SetIgnoreWords(v []*string) *TestCustomDataIdentifierInput {
 17328  	s.IgnoreWords = v
 17329  	return s
 17330  }
 17331  
 17332  // SetKeywords sets the Keywords field's value.
 17333  func (s *TestCustomDataIdentifierInput) SetKeywords(v []*string) *TestCustomDataIdentifierInput {
 17334  	s.Keywords = v
 17335  	return s
 17336  }
 17337  
 17338  // SetMaximumMatchDistance sets the MaximumMatchDistance field's value.
 17339  func (s *TestCustomDataIdentifierInput) SetMaximumMatchDistance(v int64) *TestCustomDataIdentifierInput {
 17340  	s.MaximumMatchDistance = &v
 17341  	return s
 17342  }
 17343  
 17344  // SetRegex sets the Regex field's value.
 17345  func (s *TestCustomDataIdentifierInput) SetRegex(v string) *TestCustomDataIdentifierInput {
 17346  	s.Regex = &v
 17347  	return s
 17348  }
 17349  
 17350  // SetSampleText sets the SampleText field's value.
 17351  func (s *TestCustomDataIdentifierInput) SetSampleText(v string) *TestCustomDataIdentifierInput {
 17352  	s.SampleText = &v
 17353  	return s
 17354  }
 17355  
 17356  // Provides test results for a custom data identifier.
 17357  type TestCustomDataIdentifierOutput struct {
 17358  	_ struct{} `type:"structure"`
 17359  
 17360  	MatchCount *int64 `locationName:"matchCount" type:"integer"`
 17361  }
 17362  
 17363  // String returns the string representation.
 17364  //
 17365  // API parameter values that are decorated as "sensitive" in the API will not
 17366  // be included in the string output. The member name will be present, but the
 17367  // value will be replaced with "sensitive".
 17368  func (s TestCustomDataIdentifierOutput) String() string {
 17369  	return awsutil.Prettify(s)
 17370  }
 17371  
 17372  // GoString returns the string representation.
 17373  //
 17374  // API parameter values that are decorated as "sensitive" in the API will not
 17375  // be included in the string output. The member name will be present, but the
 17376  // value will be replaced with "sensitive".
 17377  func (s TestCustomDataIdentifierOutput) GoString() string {
 17378  	return s.String()
 17379  }
 17380  
 17381  // SetMatchCount sets the MatchCount field's value.
 17382  func (s *TestCustomDataIdentifierOutput) SetMatchCount(v int64) *TestCustomDataIdentifierOutput {
 17383  	s.MatchCount = &v
 17384  	return s
 17385  }
 17386  
 17387  // Provides information about an error that occurred because too many requests
 17388  // were sent during a certain amount of time.
 17389  type ThrottlingException struct {
 17390  	_            struct{}                  `type:"structure"`
 17391  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 17392  
 17393  	Message_ *string `locationName:"message" type:"string"`
 17394  }
 17395  
 17396  // String returns the string representation.
 17397  //
 17398  // API parameter values that are decorated as "sensitive" in the API will not
 17399  // be included in the string output. The member name will be present, but the
 17400  // value will be replaced with "sensitive".
 17401  func (s ThrottlingException) String() string {
 17402  	return awsutil.Prettify(s)
 17403  }
 17404  
 17405  // GoString returns the string representation.
 17406  //
 17407  // API parameter values that are decorated as "sensitive" in the API will not
 17408  // be included in the string output. The member name will be present, but the
 17409  // value will be replaced with "sensitive".
 17410  func (s ThrottlingException) GoString() string {
 17411  	return s.String()
 17412  }
 17413  
 17414  func newErrorThrottlingException(v protocol.ResponseMetadata) error {
 17415  	return &ThrottlingException{
 17416  		RespMetadata: v,
 17417  	}
 17418  }
 17419  
 17420  // Code returns the exception type name.
 17421  func (s *ThrottlingException) Code() string {
 17422  	return "ThrottlingException"
 17423  }
 17424  
 17425  // Message returns the exception's message.
 17426  func (s *ThrottlingException) Message() string {
 17427  	if s.Message_ != nil {
 17428  		return *s.Message_
 17429  	}
 17430  	return ""
 17431  }
 17432  
 17433  // OrigErr always returns nil, satisfies awserr.Error interface.
 17434  func (s *ThrottlingException) OrigErr() error {
 17435  	return nil
 17436  }
 17437  
 17438  func (s *ThrottlingException) Error() string {
 17439  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 17440  }
 17441  
 17442  // Status code returns the HTTP status code for the request's response error.
 17443  func (s *ThrottlingException) StatusCode() int {
 17444  	return s.RespMetadata.StatusCode
 17445  }
 17446  
 17447  // RequestID returns the service's response RequestID for request.
 17448  func (s *ThrottlingException) RequestID() string {
 17449  	return s.RespMetadata.RequestID
 17450  }
 17451  
 17452  // Provides information about an account-related request that hasn't been processed.
 17453  type UnprocessedAccount struct {
 17454  	_ struct{} `type:"structure"`
 17455  
 17456  	AccountId *string `locationName:"accountId" type:"string"`
 17457  
 17458  	// The source of an issue or delay. Possible values are:
 17459  	ErrorCode *string `locationName:"errorCode" type:"string" enum:"ErrorCode"`
 17460  
 17461  	ErrorMessage *string `locationName:"errorMessage" type:"string"`
 17462  }
 17463  
 17464  // String returns the string representation.
 17465  //
 17466  // API parameter values that are decorated as "sensitive" in the API will not
 17467  // be included in the string output. The member name will be present, but the
 17468  // value will be replaced with "sensitive".
 17469  func (s UnprocessedAccount) String() string {
 17470  	return awsutil.Prettify(s)
 17471  }
 17472  
 17473  // GoString returns the string representation.
 17474  //
 17475  // API parameter values that are decorated as "sensitive" in the API will not
 17476  // be included in the string output. The member name will be present, but the
 17477  // value will be replaced with "sensitive".
 17478  func (s UnprocessedAccount) GoString() string {
 17479  	return s.String()
 17480  }
 17481  
 17482  // SetAccountId sets the AccountId field's value.
 17483  func (s *UnprocessedAccount) SetAccountId(v string) *UnprocessedAccount {
 17484  	s.AccountId = &v
 17485  	return s
 17486  }
 17487  
 17488  // SetErrorCode sets the ErrorCode field's value.
 17489  func (s *UnprocessedAccount) SetErrorCode(v string) *UnprocessedAccount {
 17490  	s.ErrorCode = &v
 17491  	return s
 17492  }
 17493  
 17494  // SetErrorMessage sets the ErrorMessage field's value.
 17495  func (s *UnprocessedAccount) SetErrorMessage(v string) *UnprocessedAccount {
 17496  	s.ErrorMessage = &v
 17497  	return s
 17498  }
 17499  
 17500  type UntagResourceInput struct {
 17501  	_ struct{} `type:"structure" nopayload:"true"`
 17502  
 17503  	// ResourceArn is a required field
 17504  	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
 17505  
 17506  	// TagKeys is a required field
 17507  	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
 17508  }
 17509  
 17510  // String returns the string representation.
 17511  //
 17512  // API parameter values that are decorated as "sensitive" in the API will not
 17513  // be included in the string output. The member name will be present, but the
 17514  // value will be replaced with "sensitive".
 17515  func (s UntagResourceInput) String() string {
 17516  	return awsutil.Prettify(s)
 17517  }
 17518  
 17519  // GoString returns the string representation.
 17520  //
 17521  // API parameter values that are decorated as "sensitive" in the API will not
 17522  // be included in the string output. The member name will be present, but the
 17523  // value will be replaced with "sensitive".
 17524  func (s UntagResourceInput) GoString() string {
 17525  	return s.String()
 17526  }
 17527  
 17528  // Validate inspects the fields of the type to determine if they are valid.
 17529  func (s *UntagResourceInput) Validate() error {
 17530  	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
 17531  	if s.ResourceArn == nil {
 17532  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 17533  	}
 17534  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 17535  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 17536  	}
 17537  	if s.TagKeys == nil {
 17538  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
 17539  	}
 17540  
 17541  	if invalidParams.Len() > 0 {
 17542  		return invalidParams
 17543  	}
 17544  	return nil
 17545  }
 17546  
 17547  // SetResourceArn sets the ResourceArn field's value.
 17548  func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
 17549  	s.ResourceArn = &v
 17550  	return s
 17551  }
 17552  
 17553  // SetTagKeys sets the TagKeys field's value.
 17554  func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
 17555  	s.TagKeys = v
 17556  	return s
 17557  }
 17558  
 17559  // The request succeeded. The specified tags were removed from the resource.
 17560  type UntagResourceOutput struct {
 17561  	_ struct{} `type:"structure" nopayload:"true"`
 17562  }
 17563  
 17564  // String returns the string representation.
 17565  //
 17566  // API parameter values that are decorated as "sensitive" in the API will not
 17567  // be included in the string output. The member name will be present, but the
 17568  // value will be replaced with "sensitive".
 17569  func (s UntagResourceOutput) String() string {
 17570  	return awsutil.Prettify(s)
 17571  }
 17572  
 17573  // GoString returns the string representation.
 17574  //
 17575  // API parameter values that are decorated as "sensitive" in the API will not
 17576  // be included in the string output. The member name will be present, but the
 17577  // value will be replaced with "sensitive".
 17578  func (s UntagResourceOutput) GoString() string {
 17579  	return s.String()
 17580  }
 17581  
 17582  // Changes the status of a classification job. For more information about pausing,
 17583  // resuming, or cancelling jobs, see Managing sensitive data discovery jobs
 17584  // (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-manage.html)
 17585  // in the Amazon Macie User Guide.
 17586  type UpdateClassificationJobInput struct {
 17587  	_ struct{} `type:"structure"`
 17588  
 17589  	// JobId is a required field
 17590  	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`
 17591  
 17592  	// The status of a classification job. Possible values are:
 17593  	//
 17594  	// JobStatus is a required field
 17595  	JobStatus *string `locationName:"jobStatus" type:"string" required:"true" enum:"JobStatus"`
 17596  }
 17597  
 17598  // String returns the string representation.
 17599  //
 17600  // API parameter values that are decorated as "sensitive" in the API will not
 17601  // be included in the string output. The member name will be present, but the
 17602  // value will be replaced with "sensitive".
 17603  func (s UpdateClassificationJobInput) String() string {
 17604  	return awsutil.Prettify(s)
 17605  }
 17606  
 17607  // GoString returns the string representation.
 17608  //
 17609  // API parameter values that are decorated as "sensitive" in the API will not
 17610  // be included in the string output. The member name will be present, but the
 17611  // value will be replaced with "sensitive".
 17612  func (s UpdateClassificationJobInput) GoString() string {
 17613  	return s.String()
 17614  }
 17615  
 17616  // Validate inspects the fields of the type to determine if they are valid.
 17617  func (s *UpdateClassificationJobInput) Validate() error {
 17618  	invalidParams := request.ErrInvalidParams{Context: "UpdateClassificationJobInput"}
 17619  	if s.JobId == nil {
 17620  		invalidParams.Add(request.NewErrParamRequired("JobId"))
 17621  	}
 17622  	if s.JobId != nil && len(*s.JobId) < 1 {
 17623  		invalidParams.Add(request.NewErrParamMinLen("JobId", 1))
 17624  	}
 17625  	if s.JobStatus == nil {
 17626  		invalidParams.Add(request.NewErrParamRequired("JobStatus"))
 17627  	}
 17628  
 17629  	if invalidParams.Len() > 0 {
 17630  		return invalidParams
 17631  	}
 17632  	return nil
 17633  }
 17634  
 17635  // SetJobId sets the JobId field's value.
 17636  func (s *UpdateClassificationJobInput) SetJobId(v string) *UpdateClassificationJobInput {
 17637  	s.JobId = &v
 17638  	return s
 17639  }
 17640  
 17641  // SetJobStatus sets the JobStatus field's value.
 17642  func (s *UpdateClassificationJobInput) SetJobStatus(v string) *UpdateClassificationJobInput {
 17643  	s.JobStatus = &v
 17644  	return s
 17645  }
 17646  
 17647  type UpdateClassificationJobOutput struct {
 17648  	_ struct{} `type:"structure" nopayload:"true"`
 17649  }
 17650  
 17651  // String returns the string representation.
 17652  //
 17653  // API parameter values that are decorated as "sensitive" in the API will not
 17654  // be included in the string output. The member name will be present, but the
 17655  // value will be replaced with "sensitive".
 17656  func (s UpdateClassificationJobOutput) String() string {
 17657  	return awsutil.Prettify(s)
 17658  }
 17659  
 17660  // GoString returns the string representation.
 17661  //
 17662  // API parameter values that are decorated as "sensitive" in the API will not
 17663  // be included in the string output. The member name will be present, but the
 17664  // value will be replaced with "sensitive".
 17665  func (s UpdateClassificationJobOutput) GoString() string {
 17666  	return s.String()
 17667  }
 17668  
 17669  // Specifies the criteria and other settings for a findings filter.
 17670  type UpdateFindingsFilterInput struct {
 17671  	_ struct{} `type:"structure"`
 17672  
 17673  	// The action to perform on findings that meet the filter criteria. To suppress
 17674  	// (automatically archive) findings that meet the criteria, set this value to
 17675  	// ARCHIVE. Valid values are:
 17676  	Action *string `locationName:"action" type:"string" enum:"FindingsFilterAction"`
 17677  
 17678  	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`
 17679  
 17680  	Description *string `locationName:"description" type:"string"`
 17681  
 17682  	// Specifies, as a map, one or more property-based conditions that filter the
 17683  	// results of a query for findings.
 17684  	FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"`
 17685  
 17686  	// Id is a required field
 17687  	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
 17688  
 17689  	Name *string `locationName:"name" type:"string"`
 17690  
 17691  	Position *int64 `locationName:"position" type:"integer"`
 17692  }
 17693  
 17694  // String returns the string representation.
 17695  //
 17696  // API parameter values that are decorated as "sensitive" in the API will not
 17697  // be included in the string output. The member name will be present, but the
 17698  // value will be replaced with "sensitive".
 17699  func (s UpdateFindingsFilterInput) String() string {
 17700  	return awsutil.Prettify(s)
 17701  }
 17702  
 17703  // GoString returns the string representation.
 17704  //
 17705  // API parameter values that are decorated as "sensitive" in the API will not
 17706  // be included in the string output. The member name will be present, but the
 17707  // value will be replaced with "sensitive".
 17708  func (s UpdateFindingsFilterInput) GoString() string {
 17709  	return s.String()
 17710  }
 17711  
 17712  // Validate inspects the fields of the type to determine if they are valid.
 17713  func (s *UpdateFindingsFilterInput) Validate() error {
 17714  	invalidParams := request.ErrInvalidParams{Context: "UpdateFindingsFilterInput"}
 17715  	if s.Id == nil {
 17716  		invalidParams.Add(request.NewErrParamRequired("Id"))
 17717  	}
 17718  	if s.Id != nil && len(*s.Id) < 1 {
 17719  		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
 17720  	}
 17721  
 17722  	if invalidParams.Len() > 0 {
 17723  		return invalidParams
 17724  	}
 17725  	return nil
 17726  }
 17727  
 17728  // SetAction sets the Action field's value.
 17729  func (s *UpdateFindingsFilterInput) SetAction(v string) *UpdateFindingsFilterInput {
 17730  	s.Action = &v
 17731  	return s
 17732  }
 17733  
 17734  // SetClientToken sets the ClientToken field's value.
 17735  func (s *UpdateFindingsFilterInput) SetClientToken(v string) *UpdateFindingsFilterInput {
 17736  	s.ClientToken = &v
 17737  	return s
 17738  }
 17739  
 17740  // SetDescription sets the Description field's value.
 17741  func (s *UpdateFindingsFilterInput) SetDescription(v string) *UpdateFindingsFilterInput {
 17742  	s.Description = &v
 17743  	return s
 17744  }
 17745  
 17746  // SetFindingCriteria sets the FindingCriteria field's value.
 17747  func (s *UpdateFindingsFilterInput) SetFindingCriteria(v *FindingCriteria) *UpdateFindingsFilterInput {
 17748  	s.FindingCriteria = v
 17749  	return s
 17750  }
 17751  
 17752  // SetId sets the Id field's value.
 17753  func (s *UpdateFindingsFilterInput) SetId(v string) *UpdateFindingsFilterInput {
 17754  	s.Id = &v
 17755  	return s
 17756  }
 17757  
 17758  // SetName sets the Name field's value.
 17759  func (s *UpdateFindingsFilterInput) SetName(v string) *UpdateFindingsFilterInput {
 17760  	s.Name = &v
 17761  	return s
 17762  }
 17763  
 17764  // SetPosition sets the Position field's value.
 17765  func (s *UpdateFindingsFilterInput) SetPosition(v int64) *UpdateFindingsFilterInput {
 17766  	s.Position = &v
 17767  	return s
 17768  }
 17769  
 17770  // Provides information about a findings filter that was updated in response
 17771  // to a request.
 17772  type UpdateFindingsFilterOutput struct {
 17773  	_ struct{} `type:"structure"`
 17774  
 17775  	Arn *string `locationName:"arn" type:"string"`
 17776  
 17777  	Id *string `locationName:"id" type:"string"`
 17778  }
 17779  
 17780  // String returns the string representation.
 17781  //
 17782  // API parameter values that are decorated as "sensitive" in the API will not
 17783  // be included in the string output. The member name will be present, but the
 17784  // value will be replaced with "sensitive".
 17785  func (s UpdateFindingsFilterOutput) String() string {
 17786  	return awsutil.Prettify(s)
 17787  }
 17788  
 17789  // GoString returns the string representation.
 17790  //
 17791  // API parameter values that are decorated as "sensitive" in the API will not
 17792  // be included in the string output. The member name will be present, but the
 17793  // value will be replaced with "sensitive".
 17794  func (s UpdateFindingsFilterOutput) GoString() string {
 17795  	return s.String()
 17796  }
 17797  
 17798  // SetArn sets the Arn field's value.
 17799  func (s *UpdateFindingsFilterOutput) SetArn(v string) *UpdateFindingsFilterOutput {
 17800  	s.Arn = &v
 17801  	return s
 17802  }
 17803  
 17804  // SetId sets the Id field's value.
 17805  func (s *UpdateFindingsFilterOutput) SetId(v string) *UpdateFindingsFilterOutput {
 17806  	s.Id = &v
 17807  	return s
 17808  }
 17809  
 17810  // Changes the status or configuration settings for an Amazon Macie account.
 17811  type UpdateMacieSessionInput struct {
 17812  	_ struct{} `type:"structure"`
 17813  
 17814  	// The frequency with which Amazon Macie publishes updates to policy findings
 17815  	// for an account. This includes publishing updates to Security Hub and Amazon
 17816  	// EventBridge (formerly called Amazon CloudWatch Events). For more information,
 17817  	// see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html)
 17818  	// in the Amazon Macie User Guide. Valid values are:
 17819  	FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"`
 17820  
 17821  	// The status of an Amazon Macie account. Valid values are:
 17822  	Status *string `locationName:"status" type:"string" enum:"MacieStatus"`
 17823  }
 17824  
 17825  // String returns the string representation.
 17826  //
 17827  // API parameter values that are decorated as "sensitive" in the API will not
 17828  // be included in the string output. The member name will be present, but the
 17829  // value will be replaced with "sensitive".
 17830  func (s UpdateMacieSessionInput) String() string {
 17831  	return awsutil.Prettify(s)
 17832  }
 17833  
 17834  // GoString returns the string representation.
 17835  //
 17836  // API parameter values that are decorated as "sensitive" in the API will not
 17837  // be included in the string output. The member name will be present, but the
 17838  // value will be replaced with "sensitive".
 17839  func (s UpdateMacieSessionInput) GoString() string {
 17840  	return s.String()
 17841  }
 17842  
 17843  // SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.
 17844  func (s *UpdateMacieSessionInput) SetFindingPublishingFrequency(v string) *UpdateMacieSessionInput {
 17845  	s.FindingPublishingFrequency = &v
 17846  	return s
 17847  }
 17848  
 17849  // SetStatus sets the Status field's value.
 17850  func (s *UpdateMacieSessionInput) SetStatus(v string) *UpdateMacieSessionInput {
 17851  	s.Status = &v
 17852  	return s
 17853  }
 17854  
 17855  type UpdateMacieSessionOutput struct {
 17856  	_ struct{} `type:"structure" nopayload:"true"`
 17857  }
 17858  
 17859  // String returns the string representation.
 17860  //
 17861  // API parameter values that are decorated as "sensitive" in the API will not
 17862  // be included in the string output. The member name will be present, but the
 17863  // value will be replaced with "sensitive".
 17864  func (s UpdateMacieSessionOutput) String() string {
 17865  	return awsutil.Prettify(s)
 17866  }
 17867  
 17868  // GoString returns the string representation.
 17869  //
 17870  // API parameter values that are decorated as "sensitive" in the API will not
 17871  // be included in the string output. The member name will be present, but the
 17872  // value will be replaced with "sensitive".
 17873  func (s UpdateMacieSessionOutput) GoString() string {
 17874  	return s.String()
 17875  }
 17876  
 17877  // Suspends (pauses) or re-enables an Amazon Macie member account.
 17878  type UpdateMemberSessionInput struct {
 17879  	_ struct{} `type:"structure"`
 17880  
 17881  	// Id is a required field
 17882  	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
 17883  
 17884  	// The status of an Amazon Macie account. Valid values are:
 17885  	//
 17886  	// Status is a required field
 17887  	Status *string `locationName:"status" type:"string" required:"true" enum:"MacieStatus"`
 17888  }
 17889  
 17890  // String returns the string representation.
 17891  //
 17892  // API parameter values that are decorated as "sensitive" in the API will not
 17893  // be included in the string output. The member name will be present, but the
 17894  // value will be replaced with "sensitive".
 17895  func (s UpdateMemberSessionInput) String() string {
 17896  	return awsutil.Prettify(s)
 17897  }
 17898  
 17899  // GoString returns the string representation.
 17900  //
 17901  // API parameter values that are decorated as "sensitive" in the API will not
 17902  // be included in the string output. The member name will be present, but the
 17903  // value will be replaced with "sensitive".
 17904  func (s UpdateMemberSessionInput) GoString() string {
 17905  	return s.String()
 17906  }
 17907  
 17908  // Validate inspects the fields of the type to determine if they are valid.
 17909  func (s *UpdateMemberSessionInput) Validate() error {
 17910  	invalidParams := request.ErrInvalidParams{Context: "UpdateMemberSessionInput"}
 17911  	if s.Id == nil {
 17912  		invalidParams.Add(request.NewErrParamRequired("Id"))
 17913  	}
 17914  	if s.Id != nil && len(*s.Id) < 1 {
 17915  		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
 17916  	}
 17917  	if s.Status == nil {
 17918  		invalidParams.Add(request.NewErrParamRequired("Status"))
 17919  	}
 17920  
 17921  	if invalidParams.Len() > 0 {
 17922  		return invalidParams
 17923  	}
 17924  	return nil
 17925  }
 17926  
 17927  // SetId sets the Id field's value.
 17928  func (s *UpdateMemberSessionInput) SetId(v string) *UpdateMemberSessionInput {
 17929  	s.Id = &v
 17930  	return s
 17931  }
 17932  
 17933  // SetStatus sets the Status field's value.
 17934  func (s *UpdateMemberSessionInput) SetStatus(v string) *UpdateMemberSessionInput {
 17935  	s.Status = &v
 17936  	return s
 17937  }
 17938  
 17939  type UpdateMemberSessionOutput struct {
 17940  	_ struct{} `type:"structure" nopayload:"true"`
 17941  }
 17942  
 17943  // String returns the string representation.
 17944  //
 17945  // API parameter values that are decorated as "sensitive" in the API will not
 17946  // be included in the string output. The member name will be present, but the
 17947  // value will be replaced with "sensitive".
 17948  func (s UpdateMemberSessionOutput) String() string {
 17949  	return awsutil.Prettify(s)
 17950  }
 17951  
 17952  // GoString returns the string representation.
 17953  //
 17954  // API parameter values that are decorated as "sensitive" in the API will not
 17955  // be included in the string output. The member name will be present, but the
 17956  // value will be replaced with "sensitive".
 17957  func (s UpdateMemberSessionOutput) GoString() string {
 17958  	return s.String()
 17959  }
 17960  
 17961  // Specifies whether to enable Amazon Macie automatically for accounts that
 17962  // are added to an Amazon Web Services organization.
 17963  type UpdateOrganizationConfigurationInput struct {
 17964  	_ struct{} `type:"structure"`
 17965  
 17966  	// AutoEnable is a required field
 17967  	AutoEnable *bool `locationName:"autoEnable" type:"boolean" required:"true"`
 17968  }
 17969  
 17970  // String returns the string representation.
 17971  //
 17972  // API parameter values that are decorated as "sensitive" in the API will not
 17973  // be included in the string output. The member name will be present, but the
 17974  // value will be replaced with "sensitive".
 17975  func (s UpdateOrganizationConfigurationInput) String() string {
 17976  	return awsutil.Prettify(s)
 17977  }
 17978  
 17979  // GoString returns the string representation.
 17980  //
 17981  // API parameter values that are decorated as "sensitive" in the API will not
 17982  // be included in the string output. The member name will be present, but the
 17983  // value will be replaced with "sensitive".
 17984  func (s UpdateOrganizationConfigurationInput) GoString() string {
 17985  	return s.String()
 17986  }
 17987  
 17988  // Validate inspects the fields of the type to determine if they are valid.
 17989  func (s *UpdateOrganizationConfigurationInput) Validate() error {
 17990  	invalidParams := request.ErrInvalidParams{Context: "UpdateOrganizationConfigurationInput"}
 17991  	if s.AutoEnable == nil {
 17992  		invalidParams.Add(request.NewErrParamRequired("AutoEnable"))
 17993  	}
 17994  
 17995  	if invalidParams.Len() > 0 {
 17996  		return invalidParams
 17997  	}
 17998  	return nil
 17999  }
 18000  
 18001  // SetAutoEnable sets the AutoEnable field's value.
 18002  func (s *UpdateOrganizationConfigurationInput) SetAutoEnable(v bool) *UpdateOrganizationConfigurationInput {
 18003  	s.AutoEnable = &v
 18004  	return s
 18005  }
 18006  
 18007  type UpdateOrganizationConfigurationOutput struct {
 18008  	_ struct{} `type:"structure" nopayload:"true"`
 18009  }
 18010  
 18011  // String returns the string representation.
 18012  //
 18013  // API parameter values that are decorated as "sensitive" in the API will not
 18014  // be included in the string output. The member name will be present, but the
 18015  // value will be replaced with "sensitive".
 18016  func (s UpdateOrganizationConfigurationOutput) String() string {
 18017  	return awsutil.Prettify(s)
 18018  }
 18019  
 18020  // GoString returns the string representation.
 18021  //
 18022  // API parameter values that are decorated as "sensitive" in the API will not
 18023  // be included in the string output. The member name will be present, but the
 18024  // value will be replaced with "sensitive".
 18025  func (s UpdateOrganizationConfigurationOutput) GoString() string {
 18026  	return s.String()
 18027  }
 18028  
 18029  // Provides data for a specific usage metric and the corresponding quota for
 18030  // an Amazon Macie account.
 18031  type UsageByAccount struct {
 18032  	_ struct{} `type:"structure"`
 18033  
 18034  	// The type of currency that the data for an Amazon Macie usage metric is reported
 18035  	// in. Possible values are:
 18036  	Currency *string `locationName:"currency" type:"string" enum:"Currency"`
 18037  
 18038  	EstimatedCost *string `locationName:"estimatedCost" type:"string"`
 18039  
 18040  	// Specifies a current quota for an Amazon Macie account.
 18041  	ServiceLimit *ServiceLimit `locationName:"serviceLimit" type:"structure"`
 18042  
 18043  	// The name of an Amazon Macie usage metric for an account. Possible values
 18044  	// are:
 18045  	Type *string `locationName:"type" type:"string" enum:"UsageType"`
 18046  }
 18047  
 18048  // String returns the string representation.
 18049  //
 18050  // API parameter values that are decorated as "sensitive" in the API will not
 18051  // be included in the string output. The member name will be present, but the
 18052  // value will be replaced with "sensitive".
 18053  func (s UsageByAccount) String() string {
 18054  	return awsutil.Prettify(s)
 18055  }
 18056  
 18057  // GoString returns the string representation.
 18058  //
 18059  // API parameter values that are decorated as "sensitive" in the API will not
 18060  // be included in the string output. The member name will be present, but the
 18061  // value will be replaced with "sensitive".
 18062  func (s UsageByAccount) GoString() string {
 18063  	return s.String()
 18064  }
 18065  
 18066  // SetCurrency sets the Currency field's value.
 18067  func (s *UsageByAccount) SetCurrency(v string) *UsageByAccount {
 18068  	s.Currency = &v
 18069  	return s
 18070  }
 18071  
 18072  // SetEstimatedCost sets the EstimatedCost field's value.
 18073  func (s *UsageByAccount) SetEstimatedCost(v string) *UsageByAccount {
 18074  	s.EstimatedCost = &v
 18075  	return s
 18076  }
 18077  
 18078  // SetServiceLimit sets the ServiceLimit field's value.
 18079  func (s *UsageByAccount) SetServiceLimit(v *ServiceLimit) *UsageByAccount {
 18080  	s.ServiceLimit = v
 18081  	return s
 18082  }
 18083  
 18084  // SetType sets the Type field's value.
 18085  func (s *UsageByAccount) SetType(v string) *UsageByAccount {
 18086  	s.Type = &v
 18087  	return s
 18088  }
 18089  
 18090  // Provides quota and aggregated usage data for an Amazon Macie account.
 18091  type UsageRecord struct {
 18092  	_ struct{} `type:"structure"`
 18093  
 18094  	AccountId *string `locationName:"accountId" type:"string"`
 18095  
 18096  	FreeTrialStartDate *time.Time `locationName:"freeTrialStartDate" type:"timestamp" timestampFormat:"iso8601"`
 18097  
 18098  	Usage []*UsageByAccount `locationName:"usage" type:"list"`
 18099  }
 18100  
 18101  // String returns the string representation.
 18102  //
 18103  // API parameter values that are decorated as "sensitive" in the API will not
 18104  // be included in the string output. The member name will be present, but the
 18105  // value will be replaced with "sensitive".
 18106  func (s UsageRecord) String() string {
 18107  	return awsutil.Prettify(s)
 18108  }
 18109  
 18110  // GoString returns the string representation.
 18111  //
 18112  // API parameter values that are decorated as "sensitive" in the API will not
 18113  // be included in the string output. The member name will be present, but the
 18114  // value will be replaced with "sensitive".
 18115  func (s UsageRecord) GoString() string {
 18116  	return s.String()
 18117  }
 18118  
 18119  // SetAccountId sets the AccountId field's value.
 18120  func (s *UsageRecord) SetAccountId(v string) *UsageRecord {
 18121  	s.AccountId = &v
 18122  	return s
 18123  }
 18124  
 18125  // SetFreeTrialStartDate sets the FreeTrialStartDate field's value.
 18126  func (s *UsageRecord) SetFreeTrialStartDate(v time.Time) *UsageRecord {
 18127  	s.FreeTrialStartDate = &v
 18128  	return s
 18129  }
 18130  
 18131  // SetUsage sets the Usage field's value.
 18132  func (s *UsageRecord) SetUsage(v []*UsageByAccount) *UsageRecord {
 18133  	s.Usage = v
 18134  	return s
 18135  }
 18136  
 18137  // Specifies a condition for filtering the results of a query for quota and
 18138  // usage data for one or more Amazon Macie accounts.
 18139  type UsageStatisticsFilter struct {
 18140  	_ struct{} `type:"structure"`
 18141  
 18142  	// The operator to use in a condition that filters the results of a query for
 18143  	// Amazon Macie account quotas and usage data. Valid values are:
 18144  	Comparator *string `locationName:"comparator" type:"string" enum:"UsageStatisticsFilterComparator"`
 18145  
 18146  	// The field to use in a condition that filters the results of a query for Amazon
 18147  	// Macie account quotas and usage data. Valid values are:
 18148  	Key *string `locationName:"key" type:"string" enum:"UsageStatisticsFilterKey"`
 18149  
 18150  	Values []*string `locationName:"values" type:"list"`
 18151  }
 18152  
 18153  // String returns the string representation.
 18154  //
 18155  // API parameter values that are decorated as "sensitive" in the API will not
 18156  // be included in the string output. The member name will be present, but the
 18157  // value will be replaced with "sensitive".
 18158  func (s UsageStatisticsFilter) String() string {
 18159  	return awsutil.Prettify(s)
 18160  }
 18161  
 18162  // GoString returns the string representation.
 18163  //
 18164  // API parameter values that are decorated as "sensitive" in the API will not
 18165  // be included in the string output. The member name will be present, but the
 18166  // value will be replaced with "sensitive".
 18167  func (s UsageStatisticsFilter) GoString() string {
 18168  	return s.String()
 18169  }
 18170  
 18171  // SetComparator sets the Comparator field's value.
 18172  func (s *UsageStatisticsFilter) SetComparator(v string) *UsageStatisticsFilter {
 18173  	s.Comparator = &v
 18174  	return s
 18175  }
 18176  
 18177  // SetKey sets the Key field's value.
 18178  func (s *UsageStatisticsFilter) SetKey(v string) *UsageStatisticsFilter {
 18179  	s.Key = &v
 18180  	return s
 18181  }
 18182  
 18183  // SetValues sets the Values field's value.
 18184  func (s *UsageStatisticsFilter) SetValues(v []*string) *UsageStatisticsFilter {
 18185  	s.Values = v
 18186  	return s
 18187  }
 18188  
 18189  // Specifies criteria for sorting the results of a query for Amazon Macie account
 18190  // quotas and usage data.
 18191  type UsageStatisticsSortBy struct {
 18192  	_ struct{} `type:"structure"`
 18193  
 18194  	// The field to use to sort the results of a query for Amazon Macie account
 18195  	// quotas and usage data. Valid values are:
 18196  	Key *string `locationName:"key" type:"string" enum:"UsageStatisticsSortKey"`
 18197  
 18198  	OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
 18199  }
 18200  
 18201  // String returns the string representation.
 18202  //
 18203  // API parameter values that are decorated as "sensitive" in the API will not
 18204  // be included in the string output. The member name will be present, but the
 18205  // value will be replaced with "sensitive".
 18206  func (s UsageStatisticsSortBy) String() string {
 18207  	return awsutil.Prettify(s)
 18208  }
 18209  
 18210  // GoString returns the string representation.
 18211  //
 18212  // API parameter values that are decorated as "sensitive" in the API will not
 18213  // be included in the string output. The member name will be present, but the
 18214  // value will be replaced with "sensitive".
 18215  func (s UsageStatisticsSortBy) GoString() string {
 18216  	return s.String()
 18217  }
 18218  
 18219  // SetKey sets the Key field's value.
 18220  func (s *UsageStatisticsSortBy) SetKey(v string) *UsageStatisticsSortBy {
 18221  	s.Key = &v
 18222  	return s
 18223  }
 18224  
 18225  // SetOrderBy sets the OrderBy field's value.
 18226  func (s *UsageStatisticsSortBy) SetOrderBy(v string) *UsageStatisticsSortBy {
 18227  	s.OrderBy = &v
 18228  	return s
 18229  }
 18230  
 18231  // Provides aggregated data for an Amazon Macie usage metric. The value for
 18232  // the metric reports estimated usage data for an account for the preceding
 18233  // 30 days or the current calendar month to date, depending on the time period
 18234  // (timeRange) specified in the request.
 18235  type UsageTotal struct {
 18236  	_ struct{} `type:"structure"`
 18237  
 18238  	// The type of currency that the data for an Amazon Macie usage metric is reported
 18239  	// in. Possible values are:
 18240  	Currency *string `locationName:"currency" type:"string" enum:"Currency"`
 18241  
 18242  	EstimatedCost *string `locationName:"estimatedCost" type:"string"`
 18243  
 18244  	// The name of an Amazon Macie usage metric for an account. Possible values
 18245  	// are:
 18246  	Type *string `locationName:"type" type:"string" enum:"UsageType"`
 18247  }
 18248  
 18249  // String returns the string representation.
 18250  //
 18251  // API parameter values that are decorated as "sensitive" in the API will not
 18252  // be included in the string output. The member name will be present, but the
 18253  // value will be replaced with "sensitive".
 18254  func (s UsageTotal) String() string {
 18255  	return awsutil.Prettify(s)
 18256  }
 18257  
 18258  // GoString returns the string representation.
 18259  //
 18260  // API parameter values that are decorated as "sensitive" in the API will not
 18261  // be included in the string output. The member name will be present, but the
 18262  // value will be replaced with "sensitive".
 18263  func (s UsageTotal) GoString() string {
 18264  	return s.String()
 18265  }
 18266  
 18267  // SetCurrency sets the Currency field's value.
 18268  func (s *UsageTotal) SetCurrency(v string) *UsageTotal {
 18269  	s.Currency = &v
 18270  	return s
 18271  }
 18272  
 18273  // SetEstimatedCost sets the EstimatedCost field's value.
 18274  func (s *UsageTotal) SetEstimatedCost(v string) *UsageTotal {
 18275  	s.EstimatedCost = &v
 18276  	return s
 18277  }
 18278  
 18279  // SetType sets the Type field's value.
 18280  func (s *UsageTotal) SetType(v string) *UsageTotal {
 18281  	s.Type = &v
 18282  	return s
 18283  }
 18284  
 18285  // Provides information about the type and other characteristics of an entity
 18286  // that performed an action on an affected resource.
 18287  type UserIdentity struct {
 18288  	_ struct{} `type:"structure"`
 18289  
 18290  	// Provides information about an identity that performed an action on an affected
 18291  	// resource by using temporary security credentials. The credentials were obtained
 18292  	// using the AssumeRole operation of the Security Token Service (STS) API.
 18293  	AssumedRole *AssumedRole `locationName:"assumedRole" type:"structure"`
 18294  
 18295  	// Provides information about an Amazon Web Services account and entity that
 18296  	// performed an action on an affected resource. The action was performed using
 18297  	// the credentials for an Amazon Web Services account other than your own account.
 18298  	AwsAccount *AwsAccount `locationName:"awsAccount" type:"structure"`
 18299  
 18300  	// Provides information about an Amazon Web Service that performed an action
 18301  	// on an affected resource.
 18302  	AwsService *AwsService `locationName:"awsService" type:"structure"`
 18303  
 18304  	// Provides information about an identity that performed an action on an affected
 18305  	// resource by using temporary security credentials. The credentials were obtained
 18306  	// using the GetFederationToken operation of the Security Token Service (STS)
 18307  	// API.
 18308  	FederatedUser *FederatedUser `locationName:"federatedUser" type:"structure"`
 18309  
 18310  	// Provides information about an Identity and Access Management (IAM) user who
 18311  	// performed an action on an affected resource.
 18312  	IamUser *IamUser `locationName:"iamUser" type:"structure"`
 18313  
 18314  	// Provides information about an Amazon Web Services account and entity that
 18315  	// performed an action on an affected resource. The action was performed using
 18316  	// the credentials for your Amazon Web Services account.
 18317  	Root *UserIdentityRoot `locationName:"root" type:"structure"`
 18318  
 18319  	// The type of entity that performed the action on the affected resource. Possible
 18320  	// values are:
 18321  	Type *string `locationName:"type" type:"string" enum:"UserIdentityType"`
 18322  }
 18323  
 18324  // String returns the string representation.
 18325  //
 18326  // API parameter values that are decorated as "sensitive" in the API will not
 18327  // be included in the string output. The member name will be present, but the
 18328  // value will be replaced with "sensitive".
 18329  func (s UserIdentity) String() string {
 18330  	return awsutil.Prettify(s)
 18331  }
 18332  
 18333  // GoString returns the string representation.
 18334  //
 18335  // API parameter values that are decorated as "sensitive" in the API will not
 18336  // be included in the string output. The member name will be present, but the
 18337  // value will be replaced with "sensitive".
 18338  func (s UserIdentity) GoString() string {
 18339  	return s.String()
 18340  }
 18341  
 18342  // SetAssumedRole sets the AssumedRole field's value.
 18343  func (s *UserIdentity) SetAssumedRole(v *AssumedRole) *UserIdentity {
 18344  	s.AssumedRole = v
 18345  	return s
 18346  }
 18347  
 18348  // SetAwsAccount sets the AwsAccount field's value.
 18349  func (s *UserIdentity) SetAwsAccount(v *AwsAccount) *UserIdentity {
 18350  	s.AwsAccount = v
 18351  	return s
 18352  }
 18353  
 18354  // SetAwsService sets the AwsService field's value.
 18355  func (s *UserIdentity) SetAwsService(v *AwsService) *UserIdentity {
 18356  	s.AwsService = v
 18357  	return s
 18358  }
 18359  
 18360  // SetFederatedUser sets the FederatedUser field's value.
 18361  func (s *UserIdentity) SetFederatedUser(v *FederatedUser) *UserIdentity {
 18362  	s.FederatedUser = v
 18363  	return s
 18364  }
 18365  
 18366  // SetIamUser sets the IamUser field's value.
 18367  func (s *UserIdentity) SetIamUser(v *IamUser) *UserIdentity {
 18368  	s.IamUser = v
 18369  	return s
 18370  }
 18371  
 18372  // SetRoot sets the Root field's value.
 18373  func (s *UserIdentity) SetRoot(v *UserIdentityRoot) *UserIdentity {
 18374  	s.Root = v
 18375  	return s
 18376  }
 18377  
 18378  // SetType sets the Type field's value.
 18379  func (s *UserIdentity) SetType(v string) *UserIdentity {
 18380  	s.Type = &v
 18381  	return s
 18382  }
 18383  
 18384  // Provides information about an Amazon Web Services account and entity that
 18385  // performed an action on an affected resource. The action was performed using
 18386  // the credentials for your Amazon Web Services account.
 18387  type UserIdentityRoot struct {
 18388  	_ struct{} `type:"structure"`
 18389  
 18390  	AccountId *string `locationName:"accountId" type:"string"`
 18391  
 18392  	Arn *string `locationName:"arn" type:"string"`
 18393  
 18394  	PrincipalId *string `locationName:"principalId" type:"string"`
 18395  }
 18396  
 18397  // String returns the string representation.
 18398  //
 18399  // API parameter values that are decorated as "sensitive" in the API will not
 18400  // be included in the string output. The member name will be present, but the
 18401  // value will be replaced with "sensitive".
 18402  func (s UserIdentityRoot) String() string {
 18403  	return awsutil.Prettify(s)
 18404  }
 18405  
 18406  // GoString returns the string representation.
 18407  //
 18408  // API parameter values that are decorated as "sensitive" in the API will not
 18409  // be included in the string output. The member name will be present, but the
 18410  // value will be replaced with "sensitive".
 18411  func (s UserIdentityRoot) GoString() string {
 18412  	return s.String()
 18413  }
 18414  
 18415  // SetAccountId sets the AccountId field's value.
 18416  func (s *UserIdentityRoot) SetAccountId(v string) *UserIdentityRoot {
 18417  	s.AccountId = &v
 18418  	return s
 18419  }
 18420  
 18421  // SetArn sets the Arn field's value.
 18422  func (s *UserIdentityRoot) SetArn(v string) *UserIdentityRoot {
 18423  	s.Arn = &v
 18424  	return s
 18425  }
 18426  
 18427  // SetPrincipalId sets the PrincipalId field's value.
 18428  func (s *UserIdentityRoot) SetPrincipalId(v string) *UserIdentityRoot {
 18429  	s.PrincipalId = &v
 18430  	return s
 18431  }
 18432  
 18433  // Provides information about when a classification job was paused. For a one-time
 18434  // job, this object also specifies when the job will expire and be cancelled
 18435  // if it isn't resumed. For a recurring job, this object also specifies when
 18436  // the paused job run will expire and be cancelled if it isn't resumed. This
 18437  // object is present only if a job's current status (jobStatus) is USER_PAUSED.
 18438  // The information in this object applies only to a job that was paused while
 18439  // it had a status of RUNNING.
 18440  type UserPausedDetails struct {
 18441  	_ struct{} `type:"structure"`
 18442  
 18443  	JobExpiresAt *time.Time `locationName:"jobExpiresAt" type:"timestamp" timestampFormat:"iso8601"`
 18444  
 18445  	JobImminentExpirationHealthEventArn *string `locationName:"jobImminentExpirationHealthEventArn" type:"string"`
 18446  
 18447  	JobPausedAt *time.Time `locationName:"jobPausedAt" type:"timestamp" timestampFormat:"iso8601"`
 18448  }
 18449  
 18450  // String returns the string representation.
 18451  //
 18452  // API parameter values that are decorated as "sensitive" in the API will not
 18453  // be included in the string output. The member name will be present, but the
 18454  // value will be replaced with "sensitive".
 18455  func (s UserPausedDetails) String() string {
 18456  	return awsutil.Prettify(s)
 18457  }
 18458  
 18459  // GoString returns the string representation.
 18460  //
 18461  // API parameter values that are decorated as "sensitive" in the API will not
 18462  // be included in the string output. The member name will be present, but the
 18463  // value will be replaced with "sensitive".
 18464  func (s UserPausedDetails) GoString() string {
 18465  	return s.String()
 18466  }
 18467  
 18468  // SetJobExpiresAt sets the JobExpiresAt field's value.
 18469  func (s *UserPausedDetails) SetJobExpiresAt(v time.Time) *UserPausedDetails {
 18470  	s.JobExpiresAt = &v
 18471  	return s
 18472  }
 18473  
 18474  // SetJobImminentExpirationHealthEventArn sets the JobImminentExpirationHealthEventArn field's value.
 18475  func (s *UserPausedDetails) SetJobImminentExpirationHealthEventArn(v string) *UserPausedDetails {
 18476  	s.JobImminentExpirationHealthEventArn = &v
 18477  	return s
 18478  }
 18479  
 18480  // SetJobPausedAt sets the JobPausedAt field's value.
 18481  func (s *UserPausedDetails) SetJobPausedAt(v time.Time) *UserPausedDetails {
 18482  	s.JobPausedAt = &v
 18483  	return s
 18484  }
 18485  
 18486  // Provides information about an error that occurred due to a syntax error in
 18487  // a request.
 18488  type ValidationException struct {
 18489  	_            struct{}                  `type:"structure"`
 18490  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 18491  
 18492  	Message_ *string `locationName:"message" type:"string"`
 18493  }
 18494  
 18495  // String returns the string representation.
 18496  //
 18497  // API parameter values that are decorated as "sensitive" in the API will not
 18498  // be included in the string output. The member name will be present, but the
 18499  // value will be replaced with "sensitive".
 18500  func (s ValidationException) String() string {
 18501  	return awsutil.Prettify(s)
 18502  }
 18503  
 18504  // GoString returns the string representation.
 18505  //
 18506  // API parameter values that are decorated as "sensitive" in the API will not
 18507  // be included in the string output. The member name will be present, but the
 18508  // value will be replaced with "sensitive".
 18509  func (s ValidationException) GoString() string {
 18510  	return s.String()
 18511  }
 18512  
 18513  func newErrorValidationException(v protocol.ResponseMetadata) error {
 18514  	return &ValidationException{
 18515  		RespMetadata: v,
 18516  	}
 18517  }
 18518  
 18519  // Code returns the exception type name.
 18520  func (s *ValidationException) Code() string {
 18521  	return "ValidationException"
 18522  }
 18523  
 18524  // Message returns the exception's message.
 18525  func (s *ValidationException) Message() string {
 18526  	if s.Message_ != nil {
 18527  		return *s.Message_
 18528  	}
 18529  	return ""
 18530  }
 18531  
 18532  // OrigErr always returns nil, satisfies awserr.Error interface.
 18533  func (s *ValidationException) OrigErr() error {
 18534  	return nil
 18535  }
 18536  
 18537  func (s *ValidationException) Error() string {
 18538  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 18539  }
 18540  
 18541  // Status code returns the HTTP status code for the request's response error.
 18542  func (s *ValidationException) StatusCode() int {
 18543  	return s.RespMetadata.StatusCode
 18544  }
 18545  
 18546  // RequestID returns the service's response RequestID for request.
 18547  func (s *ValidationException) RequestID() string {
 18548  	return s.RespMetadata.RequestID
 18549  }
 18550  
 18551  // Specifies a weekly recurrence pattern for running a classification job.
 18552  type WeeklySchedule struct {
 18553  	_ struct{} `type:"structure"`
 18554  
 18555  	DayOfWeek *string `locationName:"dayOfWeek" type:"string" enum:"DayOfWeek"`
 18556  }
 18557  
 18558  // String returns the string representation.
 18559  //
 18560  // API parameter values that are decorated as "sensitive" in the API will not
 18561  // be included in the string output. The member name will be present, but the
 18562  // value will be replaced with "sensitive".
 18563  func (s WeeklySchedule) String() string {
 18564  	return awsutil.Prettify(s)
 18565  }
 18566  
 18567  // GoString returns the string representation.
 18568  //
 18569  // API parameter values that are decorated as "sensitive" in the API will not
 18570  // be included in the string output. The member name will be present, but the
 18571  // value will be replaced with "sensitive".
 18572  func (s WeeklySchedule) GoString() string {
 18573  	return s.String()
 18574  }
 18575  
 18576  // SetDayOfWeek sets the DayOfWeek field's value.
 18577  func (s *WeeklySchedule) SetDayOfWeek(v string) *WeeklySchedule {
 18578  	s.DayOfWeek = &v
 18579  	return s
 18580  }
 18581  
 18582  // The current status of an account as the delegated Amazon Macie administrator
 18583  // account for an Amazon Web Services organization. Possible values are:
 18584  const (
 18585  	// AdminStatusEnabled is a AdminStatus enum value
 18586  	AdminStatusEnabled = "ENABLED"
 18587  
 18588  	// AdminStatusDisablingInProgress is a AdminStatus enum value
 18589  	AdminStatusDisablingInProgress = "DISABLING_IN_PROGRESS"
 18590  )
 18591  
 18592  // AdminStatus_Values returns all elements of the AdminStatus enum
 18593  func AdminStatus_Values() []string {
 18594  	return []string{
 18595  		AdminStatusEnabled,
 18596  		AdminStatusDisablingInProgress,
 18597  	}
 18598  }
 18599  
 18600  const (
 18601  	// AllowsUnencryptedObjectUploadsTrue is a AllowsUnencryptedObjectUploads enum value
 18602  	AllowsUnencryptedObjectUploadsTrue = "TRUE"
 18603  
 18604  	// AllowsUnencryptedObjectUploadsFalse is a AllowsUnencryptedObjectUploads enum value
 18605  	AllowsUnencryptedObjectUploadsFalse = "FALSE"
 18606  
 18607  	// AllowsUnencryptedObjectUploadsUnknown is a AllowsUnencryptedObjectUploads enum value
 18608  	AllowsUnencryptedObjectUploadsUnknown = "UNKNOWN"
 18609  )
 18610  
 18611  // AllowsUnencryptedObjectUploads_Values returns all elements of the AllowsUnencryptedObjectUploads enum
 18612  func AllowsUnencryptedObjectUploads_Values() []string {
 18613  	return []string{
 18614  		AllowsUnencryptedObjectUploadsTrue,
 18615  		AllowsUnencryptedObjectUploadsFalse,
 18616  		AllowsUnencryptedObjectUploadsUnknown,
 18617  	}
 18618  }
 18619  
 18620  // The error code for an error that prevented Amazon Macie from retrieving and
 18621  // processing information about an S3 bucket and the bucket's objects.
 18622  const (
 18623  	// BucketMetadataErrorCodeAccessDenied is a BucketMetadataErrorCode enum value
 18624  	BucketMetadataErrorCodeAccessDenied = "ACCESS_DENIED"
 18625  )
 18626  
 18627  // BucketMetadataErrorCode_Values returns all elements of the BucketMetadataErrorCode enum
 18628  func BucketMetadataErrorCode_Values() []string {
 18629  	return []string{
 18630  		BucketMetadataErrorCodeAccessDenied,
 18631  	}
 18632  }
 18633  
 18634  // The type of currency that the data for an Amazon Macie usage metric is reported
 18635  // in. Possible values are:
 18636  const (
 18637  	// CurrencyUsd is a Currency enum value
 18638  	CurrencyUsd = "USD"
 18639  )
 18640  
 18641  // Currency_Values returns all elements of the Currency enum
 18642  func Currency_Values() []string {
 18643  	return []string{
 18644  		CurrencyUsd,
 18645  	}
 18646  }
 18647  
 18648  const (
 18649  	// DayOfWeekSunday is a DayOfWeek enum value
 18650  	DayOfWeekSunday = "SUNDAY"
 18651  
 18652  	// DayOfWeekMonday is a DayOfWeek enum value
 18653  	DayOfWeekMonday = "MONDAY"
 18654  
 18655  	// DayOfWeekTuesday is a DayOfWeek enum value
 18656  	DayOfWeekTuesday = "TUESDAY"
 18657  
 18658  	// DayOfWeekWednesday is a DayOfWeek enum value
 18659  	DayOfWeekWednesday = "WEDNESDAY"
 18660  
 18661  	// DayOfWeekThursday is a DayOfWeek enum value
 18662  	DayOfWeekThursday = "THURSDAY"
 18663  
 18664  	// DayOfWeekFriday is a DayOfWeek enum value
 18665  	DayOfWeekFriday = "FRIDAY"
 18666  
 18667  	// DayOfWeekSaturday is a DayOfWeek enum value
 18668  	DayOfWeekSaturday = "SATURDAY"
 18669  )
 18670  
 18671  // DayOfWeek_Values returns all elements of the DayOfWeek enum
 18672  func DayOfWeek_Values() []string {
 18673  	return []string{
 18674  		DayOfWeekSunday,
 18675  		DayOfWeekMonday,
 18676  		DayOfWeekTuesday,
 18677  		DayOfWeekWednesday,
 18678  		DayOfWeekThursday,
 18679  		DayOfWeekFriday,
 18680  		DayOfWeekSaturday,
 18681  	}
 18682  }
 18683  
 18684  const (
 18685  	// EffectivePermissionPublic is a EffectivePermission enum value
 18686  	EffectivePermissionPublic = "PUBLIC"
 18687  
 18688  	// EffectivePermissionNotPublic is a EffectivePermission enum value
 18689  	EffectivePermissionNotPublic = "NOT_PUBLIC"
 18690  
 18691  	// EffectivePermissionUnknown is a EffectivePermission enum value
 18692  	EffectivePermissionUnknown = "UNKNOWN"
 18693  )
 18694  
 18695  // EffectivePermission_Values returns all elements of the EffectivePermission enum
 18696  func EffectivePermission_Values() []string {
 18697  	return []string{
 18698  		EffectivePermissionPublic,
 18699  		EffectivePermissionNotPublic,
 18700  		EffectivePermissionUnknown,
 18701  	}
 18702  }
 18703  
 18704  // The type of server-side encryption that's used to encrypt an S3 object or
 18705  // objects in an S3 bucket. Valid values are:
 18706  const (
 18707  	// EncryptionTypeNone is a EncryptionType enum value
 18708  	EncryptionTypeNone = "NONE"
 18709  
 18710  	// EncryptionTypeAes256 is a EncryptionType enum value
 18711  	EncryptionTypeAes256 = "AES256"
 18712  
 18713  	// EncryptionTypeAwsKms is a EncryptionType enum value
 18714  	EncryptionTypeAwsKms = "aws:kms"
 18715  
 18716  	// EncryptionTypeUnknown is a EncryptionType enum value
 18717  	EncryptionTypeUnknown = "UNKNOWN"
 18718  )
 18719  
 18720  // EncryptionType_Values returns all elements of the EncryptionType enum
 18721  func EncryptionType_Values() []string {
 18722  	return []string{
 18723  		EncryptionTypeNone,
 18724  		EncryptionTypeAes256,
 18725  		EncryptionTypeAwsKms,
 18726  		EncryptionTypeUnknown,
 18727  	}
 18728  }
 18729  
 18730  // The source of an issue or delay. Possible values are:
 18731  const (
 18732  	// ErrorCodeClientError is a ErrorCode enum value
 18733  	ErrorCodeClientError = "ClientError"
 18734  
 18735  	// ErrorCodeInternalError is a ErrorCode enum value
 18736  	ErrorCodeInternalError = "InternalError"
 18737  )
 18738  
 18739  // ErrorCode_Values returns all elements of the ErrorCode enum
 18740  func ErrorCode_Values() []string {
 18741  	return []string{
 18742  		ErrorCodeClientError,
 18743  		ErrorCodeInternalError,
 18744  	}
 18745  }
 18746  
 18747  // The type of action that occurred for the resource and produced the policy
 18748  // finding:
 18749  const (
 18750  	// FindingActionTypeAwsApiCall is a FindingActionType enum value
 18751  	FindingActionTypeAwsApiCall = "AWS_API_CALL"
 18752  )
 18753  
 18754  // FindingActionType_Values returns all elements of the FindingActionType enum
 18755  func FindingActionType_Values() []string {
 18756  	return []string{
 18757  		FindingActionTypeAwsApiCall,
 18758  	}
 18759  }
 18760  
 18761  // The category of the finding. Valid values are:
 18762  const (
 18763  	// FindingCategoryClassification is a FindingCategory enum value
 18764  	FindingCategoryClassification = "CLASSIFICATION"
 18765  
 18766  	// FindingCategoryPolicy is a FindingCategory enum value
 18767  	FindingCategoryPolicy = "POLICY"
 18768  )
 18769  
 18770  // FindingCategory_Values returns all elements of the FindingCategory enum
 18771  func FindingCategory_Values() []string {
 18772  	return []string{
 18773  		FindingCategoryClassification,
 18774  		FindingCategoryPolicy,
 18775  	}
 18776  }
 18777  
 18778  // The frequency with which Amazon Macie publishes updates to policy findings
 18779  // for an account. This includes publishing updates to Security Hub and Amazon
 18780  // EventBridge (formerly called Amazon CloudWatch Events). For more information,
 18781  // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html)
 18782  // in the Amazon Macie User Guide. Valid values are:
 18783  const (
 18784  	// FindingPublishingFrequencyFifteenMinutes is a FindingPublishingFrequency enum value
 18785  	FindingPublishingFrequencyFifteenMinutes = "FIFTEEN_MINUTES"
 18786  
 18787  	// FindingPublishingFrequencyOneHour is a FindingPublishingFrequency enum value
 18788  	FindingPublishingFrequencyOneHour = "ONE_HOUR"
 18789  
 18790  	// FindingPublishingFrequencySixHours is a FindingPublishingFrequency enum value
 18791  	FindingPublishingFrequencySixHours = "SIX_HOURS"
 18792  )
 18793  
 18794  // FindingPublishingFrequency_Values returns all elements of the FindingPublishingFrequency enum
 18795  func FindingPublishingFrequency_Values() []string {
 18796  	return []string{
 18797  		FindingPublishingFrequencyFifteenMinutes,
 18798  		FindingPublishingFrequencyOneHour,
 18799  		FindingPublishingFrequencySixHours,
 18800  	}
 18801  }
 18802  
 18803  // The grouping to sort the results by. Valid values are:
 18804  const (
 18805  	// FindingStatisticsSortAttributeNameGroupKey is a FindingStatisticsSortAttributeName enum value
 18806  	FindingStatisticsSortAttributeNameGroupKey = "groupKey"
 18807  
 18808  	// FindingStatisticsSortAttributeNameCount is a FindingStatisticsSortAttributeName enum value
 18809  	FindingStatisticsSortAttributeNameCount = "count"
 18810  )
 18811  
 18812  // FindingStatisticsSortAttributeName_Values returns all elements of the FindingStatisticsSortAttributeName enum
 18813  func FindingStatisticsSortAttributeName_Values() []string {
 18814  	return []string{
 18815  		FindingStatisticsSortAttributeNameGroupKey,
 18816  		FindingStatisticsSortAttributeNameCount,
 18817  	}
 18818  }
 18819  
 18820  // The type of finding. For details about each type, see Types of Amazon Macie
 18821  // findings (https://docs.aws.amazon.com/macie/latest/user/findings-types.html)
 18822  // in the Amazon Macie User Guide. Valid values are:
 18823  const (
 18824  	// FindingTypeSensitiveDataS3objectMultiple is a FindingType enum value
 18825  	FindingTypeSensitiveDataS3objectMultiple = "SensitiveData:S3Object/Multiple"
 18826  
 18827  	// FindingTypeSensitiveDataS3objectFinancial is a FindingType enum value
 18828  	FindingTypeSensitiveDataS3objectFinancial = "SensitiveData:S3Object/Financial"
 18829  
 18830  	// FindingTypeSensitiveDataS3objectPersonal is a FindingType enum value
 18831  	FindingTypeSensitiveDataS3objectPersonal = "SensitiveData:S3Object/Personal"
 18832  
 18833  	// FindingTypeSensitiveDataS3objectCredentials is a FindingType enum value
 18834  	FindingTypeSensitiveDataS3objectCredentials = "SensitiveData:S3Object/Credentials"
 18835  
 18836  	// FindingTypeSensitiveDataS3objectCustomIdentifier is a FindingType enum value
 18837  	FindingTypeSensitiveDataS3objectCustomIdentifier = "SensitiveData:S3Object/CustomIdentifier"
 18838  
 18839  	// FindingTypePolicyIamuserS3bucketPublic is a FindingType enum value
 18840  	FindingTypePolicyIamuserS3bucketPublic = "Policy:IAMUser/S3BucketPublic"
 18841  
 18842  	// FindingTypePolicyIamuserS3bucketSharedExternally is a FindingType enum value
 18843  	FindingTypePolicyIamuserS3bucketSharedExternally = "Policy:IAMUser/S3BucketSharedExternally"
 18844  
 18845  	// FindingTypePolicyIamuserS3bucketReplicatedExternally is a FindingType enum value
 18846  	FindingTypePolicyIamuserS3bucketReplicatedExternally = "Policy:IAMUser/S3BucketReplicatedExternally"
 18847  
 18848  	// FindingTypePolicyIamuserS3bucketEncryptionDisabled is a FindingType enum value
 18849  	FindingTypePolicyIamuserS3bucketEncryptionDisabled = "Policy:IAMUser/S3BucketEncryptionDisabled"
 18850  
 18851  	// FindingTypePolicyIamuserS3blockPublicAccessDisabled is a FindingType enum value
 18852  	FindingTypePolicyIamuserS3blockPublicAccessDisabled = "Policy:IAMUser/S3BlockPublicAccessDisabled"
 18853  )
 18854  
 18855  // FindingType_Values returns all elements of the FindingType enum
 18856  func FindingType_Values() []string {
 18857  	return []string{
 18858  		FindingTypeSensitiveDataS3objectMultiple,
 18859  		FindingTypeSensitiveDataS3objectFinancial,
 18860  		FindingTypeSensitiveDataS3objectPersonal,
 18861  		FindingTypeSensitiveDataS3objectCredentials,
 18862  		FindingTypeSensitiveDataS3objectCustomIdentifier,
 18863  		FindingTypePolicyIamuserS3bucketPublic,
 18864  		FindingTypePolicyIamuserS3bucketSharedExternally,
 18865  		FindingTypePolicyIamuserS3bucketReplicatedExternally,
 18866  		FindingTypePolicyIamuserS3bucketEncryptionDisabled,
 18867  		FindingTypePolicyIamuserS3blockPublicAccessDisabled,
 18868  	}
 18869  }
 18870  
 18871  // The action to perform on findings that meet the filter criteria. To suppress
 18872  // (automatically archive) findings that meet the criteria, set this value to
 18873  // ARCHIVE. Valid values are:
 18874  const (
 18875  	// FindingsFilterActionArchive is a FindingsFilterAction enum value
 18876  	FindingsFilterActionArchive = "ARCHIVE"
 18877  
 18878  	// FindingsFilterActionNoop is a FindingsFilterAction enum value
 18879  	FindingsFilterActionNoop = "NOOP"
 18880  )
 18881  
 18882  // FindingsFilterAction_Values returns all elements of the FindingsFilterAction enum
 18883  func FindingsFilterAction_Values() []string {
 18884  	return []string{
 18885  		FindingsFilterActionArchive,
 18886  		FindingsFilterActionNoop,
 18887  	}
 18888  }
 18889  
 18890  const (
 18891  	// GroupByResourcesAffectedS3bucketName is a GroupBy enum value
 18892  	GroupByResourcesAffectedS3bucketName = "resourcesAffected.s3Bucket.name"
 18893  
 18894  	// GroupByType is a GroupBy enum value
 18895  	GroupByType = "type"
 18896  
 18897  	// GroupByClassificationDetailsJobId is a GroupBy enum value
 18898  	GroupByClassificationDetailsJobId = "classificationDetails.jobId"
 18899  
 18900  	// GroupBySeverityDescription is a GroupBy enum value
 18901  	GroupBySeverityDescription = "severity.description"
 18902  )
 18903  
 18904  // GroupBy_Values returns all elements of the GroupBy enum
 18905  func GroupBy_Values() []string {
 18906  	return []string{
 18907  		GroupByResourcesAffectedS3bucketName,
 18908  		GroupByType,
 18909  		GroupByClassificationDetailsJobId,
 18910  		GroupBySeverityDescription,
 18911  	}
 18912  }
 18913  
 18914  const (
 18915  	// IsDefinedInJobTrue is a IsDefinedInJob enum value
 18916  	IsDefinedInJobTrue = "TRUE"
 18917  
 18918  	// IsDefinedInJobFalse is a IsDefinedInJob enum value
 18919  	IsDefinedInJobFalse = "FALSE"
 18920  
 18921  	// IsDefinedInJobUnknown is a IsDefinedInJob enum value
 18922  	IsDefinedInJobUnknown = "UNKNOWN"
 18923  )
 18924  
 18925  // IsDefinedInJob_Values returns all elements of the IsDefinedInJob enum
 18926  func IsDefinedInJob_Values() []string {
 18927  	return []string{
 18928  		IsDefinedInJobTrue,
 18929  		IsDefinedInJobFalse,
 18930  		IsDefinedInJobUnknown,
 18931  	}
 18932  }
 18933  
 18934  const (
 18935  	// IsMonitoredByJobTrue is a IsMonitoredByJob enum value
 18936  	IsMonitoredByJobTrue = "TRUE"
 18937  
 18938  	// IsMonitoredByJobFalse is a IsMonitoredByJob enum value
 18939  	IsMonitoredByJobFalse = "FALSE"
 18940  
 18941  	// IsMonitoredByJobUnknown is a IsMonitoredByJob enum value
 18942  	IsMonitoredByJobUnknown = "UNKNOWN"
 18943  )
 18944  
 18945  // IsMonitoredByJob_Values returns all elements of the IsMonitoredByJob enum
 18946  func IsMonitoredByJob_Values() []string {
 18947  	return []string{
 18948  		IsMonitoredByJobTrue,
 18949  		IsMonitoredByJobFalse,
 18950  		IsMonitoredByJobUnknown,
 18951  	}
 18952  }
 18953  
 18954  // The operator to use in a condition. Valid values are:
 18955  const (
 18956  	// JobComparatorEq is a JobComparator enum value
 18957  	JobComparatorEq = "EQ"
 18958  
 18959  	// JobComparatorGt is a JobComparator enum value
 18960  	JobComparatorGt = "GT"
 18961  
 18962  	// JobComparatorGte is a JobComparator enum value
 18963  	JobComparatorGte = "GTE"
 18964  
 18965  	// JobComparatorLt is a JobComparator enum value
 18966  	JobComparatorLt = "LT"
 18967  
 18968  	// JobComparatorLte is a JobComparator enum value
 18969  	JobComparatorLte = "LTE"
 18970  
 18971  	// JobComparatorNe is a JobComparator enum value
 18972  	JobComparatorNe = "NE"
 18973  
 18974  	// JobComparatorContains is a JobComparator enum value
 18975  	JobComparatorContains = "CONTAINS"
 18976  
 18977  	// JobComparatorStartsWith is a JobComparator enum value
 18978  	JobComparatorStartsWith = "STARTS_WITH"
 18979  )
 18980  
 18981  // JobComparator_Values returns all elements of the JobComparator enum
 18982  func JobComparator_Values() []string {
 18983  	return []string{
 18984  		JobComparatorEq,
 18985  		JobComparatorGt,
 18986  		JobComparatorGte,
 18987  		JobComparatorLt,
 18988  		JobComparatorLte,
 18989  		JobComparatorNe,
 18990  		JobComparatorContains,
 18991  		JobComparatorStartsWith,
 18992  	}
 18993  }
 18994  
 18995  // The status of a classification job. Possible values are:
 18996  const (
 18997  	// JobStatusRunning is a JobStatus enum value
 18998  	JobStatusRunning = "RUNNING"
 18999  
 19000  	// JobStatusPaused is a JobStatus enum value
 19001  	JobStatusPaused = "PAUSED"
 19002  
 19003  	// JobStatusCancelled is a JobStatus enum value
 19004  	JobStatusCancelled = "CANCELLED"
 19005  
 19006  	// JobStatusComplete is a JobStatus enum value
 19007  	JobStatusComplete = "COMPLETE"
 19008  
 19009  	// JobStatusIdle is a JobStatus enum value
 19010  	JobStatusIdle = "IDLE"
 19011  
 19012  	// JobStatusUserPaused is a JobStatus enum value
 19013  	JobStatusUserPaused = "USER_PAUSED"
 19014  )
 19015  
 19016  // JobStatus_Values returns all elements of the JobStatus enum
 19017  func JobStatus_Values() []string {
 19018  	return []string{
 19019  		JobStatusRunning,
 19020  		JobStatusPaused,
 19021  		JobStatusCancelled,
 19022  		JobStatusComplete,
 19023  		JobStatusIdle,
 19024  		JobStatusUserPaused,
 19025  	}
 19026  }
 19027  
 19028  // The schedule for running a classification job. Valid values are:
 19029  const (
 19030  	// JobTypeOneTime is a JobType enum value
 19031  	JobTypeOneTime = "ONE_TIME"
 19032  
 19033  	// JobTypeScheduled is a JobType enum value
 19034  	JobTypeScheduled = "SCHEDULED"
 19035  )
 19036  
 19037  // JobType_Values returns all elements of the JobType enum
 19038  func JobType_Values() []string {
 19039  	return []string{
 19040  		JobTypeOneTime,
 19041  		JobTypeScheduled,
 19042  	}
 19043  }
 19044  
 19045  // Specifies whether any account- or bucket-level access errors occurred during
 19046  // the run of a one-time classification job or the most recent run of a recurring
 19047  // classification job. Possible values are:
 19048  const (
 19049  	// LastRunErrorStatusCodeNone is a LastRunErrorStatusCode enum value
 19050  	LastRunErrorStatusCodeNone = "NONE"
 19051  
 19052  	// LastRunErrorStatusCodeError is a LastRunErrorStatusCode enum value
 19053  	LastRunErrorStatusCodeError = "ERROR"
 19054  )
 19055  
 19056  // LastRunErrorStatusCode_Values returns all elements of the LastRunErrorStatusCode enum
 19057  func LastRunErrorStatusCode_Values() []string {
 19058  	return []string{
 19059  		LastRunErrorStatusCodeNone,
 19060  		LastRunErrorStatusCodeError,
 19061  	}
 19062  }
 19063  
 19064  // The property to use to filter the results. Valid values are:
 19065  const (
 19066  	// ListJobsFilterKeyJobType is a ListJobsFilterKey enum value
 19067  	ListJobsFilterKeyJobType = "jobType"
 19068  
 19069  	// ListJobsFilterKeyJobStatus is a ListJobsFilterKey enum value
 19070  	ListJobsFilterKeyJobStatus = "jobStatus"
 19071  
 19072  	// ListJobsFilterKeyCreatedAt is a ListJobsFilterKey enum value
 19073  	ListJobsFilterKeyCreatedAt = "createdAt"
 19074  
 19075  	// ListJobsFilterKeyName is a ListJobsFilterKey enum value
 19076  	ListJobsFilterKeyName = "name"
 19077  )
 19078  
 19079  // ListJobsFilterKey_Values returns all elements of the ListJobsFilterKey enum
 19080  func ListJobsFilterKey_Values() []string {
 19081  	return []string{
 19082  		ListJobsFilterKeyJobType,
 19083  		ListJobsFilterKeyJobStatus,
 19084  		ListJobsFilterKeyCreatedAt,
 19085  		ListJobsFilterKeyName,
 19086  	}
 19087  }
 19088  
 19089  // The property to sort the results by. Valid values are:
 19090  const (
 19091  	// ListJobsSortAttributeNameCreatedAt is a ListJobsSortAttributeName enum value
 19092  	ListJobsSortAttributeNameCreatedAt = "createdAt"
 19093  
 19094  	// ListJobsSortAttributeNameJobStatus is a ListJobsSortAttributeName enum value
 19095  	ListJobsSortAttributeNameJobStatus = "jobStatus"
 19096  
 19097  	// ListJobsSortAttributeNameName is a ListJobsSortAttributeName enum value
 19098  	ListJobsSortAttributeNameName = "name"
 19099  
 19100  	// ListJobsSortAttributeNameJobType is a ListJobsSortAttributeName enum value
 19101  	ListJobsSortAttributeNameJobType = "jobType"
 19102  )
 19103  
 19104  // ListJobsSortAttributeName_Values returns all elements of the ListJobsSortAttributeName enum
 19105  func ListJobsSortAttributeName_Values() []string {
 19106  	return []string{
 19107  		ListJobsSortAttributeNameCreatedAt,
 19108  		ListJobsSortAttributeNameJobStatus,
 19109  		ListJobsSortAttributeNameName,
 19110  		ListJobsSortAttributeNameJobType,
 19111  	}
 19112  }
 19113  
 19114  // The status of an Amazon Macie account. Valid values are:
 19115  const (
 19116  	// MacieStatusPaused is a MacieStatus enum value
 19117  	MacieStatusPaused = "PAUSED"
 19118  
 19119  	// MacieStatusEnabled is a MacieStatus enum value
 19120  	MacieStatusEnabled = "ENABLED"
 19121  )
 19122  
 19123  // MacieStatus_Values returns all elements of the MacieStatus enum
 19124  func MacieStatus_Values() []string {
 19125  	return []string{
 19126  		MacieStatusPaused,
 19127  		MacieStatusEnabled,
 19128  	}
 19129  }
 19130  
 19131  // The selection type that determines which managed data identifiers a classification
 19132  // job uses to analyze data. Valid values are:
 19133  const (
 19134  	// ManagedDataIdentifierSelectorAll is a ManagedDataIdentifierSelector enum value
 19135  	ManagedDataIdentifierSelectorAll = "ALL"
 19136  
 19137  	// ManagedDataIdentifierSelectorExclude is a ManagedDataIdentifierSelector enum value
 19138  	ManagedDataIdentifierSelectorExclude = "EXCLUDE"
 19139  
 19140  	// ManagedDataIdentifierSelectorInclude is a ManagedDataIdentifierSelector enum value
 19141  	ManagedDataIdentifierSelectorInclude = "INCLUDE"
 19142  
 19143  	// ManagedDataIdentifierSelectorNone is a ManagedDataIdentifierSelector enum value
 19144  	ManagedDataIdentifierSelectorNone = "NONE"
 19145  )
 19146  
 19147  // ManagedDataIdentifierSelector_Values returns all elements of the ManagedDataIdentifierSelector enum
 19148  func ManagedDataIdentifierSelector_Values() []string {
 19149  	return []string{
 19150  		ManagedDataIdentifierSelectorAll,
 19151  		ManagedDataIdentifierSelectorExclude,
 19152  		ManagedDataIdentifierSelectorInclude,
 19153  		ManagedDataIdentifierSelectorNone,
 19154  	}
 19155  }
 19156  
 19157  const (
 19158  	// OrderByAsc is a OrderBy enum value
 19159  	OrderByAsc = "ASC"
 19160  
 19161  	// OrderByDesc is a OrderBy enum value
 19162  	OrderByDesc = "DESC"
 19163  )
 19164  
 19165  // OrderBy_Values returns all elements of the OrderBy enum
 19166  func OrderBy_Values() []string {
 19167  	return []string{
 19168  		OrderByAsc,
 19169  		OrderByDesc,
 19170  	}
 19171  }
 19172  
 19173  // The current status of the relationship between an account and an associated
 19174  // Amazon Macie administrator account (inviter account). Possible values are:
 19175  const (
 19176  	// RelationshipStatusEnabled is a RelationshipStatus enum value
 19177  	RelationshipStatusEnabled = "Enabled"
 19178  
 19179  	// RelationshipStatusPaused is a RelationshipStatus enum value
 19180  	RelationshipStatusPaused = "Paused"
 19181  
 19182  	// RelationshipStatusInvited is a RelationshipStatus enum value
 19183  	RelationshipStatusInvited = "Invited"
 19184  
 19185  	// RelationshipStatusCreated is a RelationshipStatus enum value
 19186  	RelationshipStatusCreated = "Created"
 19187  
 19188  	// RelationshipStatusRemoved is a RelationshipStatus enum value
 19189  	RelationshipStatusRemoved = "Removed"
 19190  
 19191  	// RelationshipStatusResigned is a RelationshipStatus enum value
 19192  	RelationshipStatusResigned = "Resigned"
 19193  
 19194  	// RelationshipStatusEmailVerificationInProgress is a RelationshipStatus enum value
 19195  	RelationshipStatusEmailVerificationInProgress = "EmailVerificationInProgress"
 19196  
 19197  	// RelationshipStatusEmailVerificationFailed is a RelationshipStatus enum value
 19198  	RelationshipStatusEmailVerificationFailed = "EmailVerificationFailed"
 19199  
 19200  	// RelationshipStatusRegionDisabled is a RelationshipStatus enum value
 19201  	RelationshipStatusRegionDisabled = "RegionDisabled"
 19202  
 19203  	// RelationshipStatusAccountSuspended is a RelationshipStatus enum value
 19204  	RelationshipStatusAccountSuspended = "AccountSuspended"
 19205  )
 19206  
 19207  // RelationshipStatus_Values returns all elements of the RelationshipStatus enum
 19208  func RelationshipStatus_Values() []string {
 19209  	return []string{
 19210  		RelationshipStatusEnabled,
 19211  		RelationshipStatusPaused,
 19212  		RelationshipStatusInvited,
 19213  		RelationshipStatusCreated,
 19214  		RelationshipStatusRemoved,
 19215  		RelationshipStatusResigned,
 19216  		RelationshipStatusEmailVerificationInProgress,
 19217  		RelationshipStatusEmailVerificationFailed,
 19218  		RelationshipStatusRegionDisabled,
 19219  		RelationshipStatusAccountSuspended,
 19220  	}
 19221  }
 19222  
 19223  // The property to use in a condition that determines whether an S3 object is
 19224  // included or excluded from a classification job. Valid values are:
 19225  const (
 19226  	// ScopeFilterKeyObjectExtension is a ScopeFilterKey enum value
 19227  	ScopeFilterKeyObjectExtension = "OBJECT_EXTENSION"
 19228  
 19229  	// ScopeFilterKeyObjectLastModifiedDate is a ScopeFilterKey enum value
 19230  	ScopeFilterKeyObjectLastModifiedDate = "OBJECT_LAST_MODIFIED_DATE"
 19231  
 19232  	// ScopeFilterKeyObjectSize is a ScopeFilterKey enum value
 19233  	ScopeFilterKeyObjectSize = "OBJECT_SIZE"
 19234  
 19235  	// ScopeFilterKeyObjectKey is a ScopeFilterKey enum value
 19236  	ScopeFilterKeyObjectKey = "OBJECT_KEY"
 19237  )
 19238  
 19239  // ScopeFilterKey_Values returns all elements of the ScopeFilterKey enum
 19240  func ScopeFilterKey_Values() []string {
 19241  	return []string{
 19242  		ScopeFilterKeyObjectExtension,
 19243  		ScopeFilterKeyObjectLastModifiedDate,
 19244  		ScopeFilterKeyObjectSize,
 19245  		ScopeFilterKeyObjectKey,
 19246  	}
 19247  }
 19248  
 19249  // The operator to use in a condition that filters the results of a query. Valid
 19250  // values are:
 19251  const (
 19252  	// SearchResourcesComparatorEq is a SearchResourcesComparator enum value
 19253  	SearchResourcesComparatorEq = "EQ"
 19254  
 19255  	// SearchResourcesComparatorNe is a SearchResourcesComparator enum value
 19256  	SearchResourcesComparatorNe = "NE"
 19257  )
 19258  
 19259  // SearchResourcesComparator_Values returns all elements of the SearchResourcesComparator enum
 19260  func SearchResourcesComparator_Values() []string {
 19261  	return []string{
 19262  		SearchResourcesComparatorEq,
 19263  		SearchResourcesComparatorNe,
 19264  	}
 19265  }
 19266  
 19267  // The property to use in a condition that filters the query results. Valid
 19268  // values are:
 19269  const (
 19270  	// SearchResourcesSimpleCriterionKeyAccountId is a SearchResourcesSimpleCriterionKey enum value
 19271  	SearchResourcesSimpleCriterionKeyAccountId = "ACCOUNT_ID"
 19272  
 19273  	// SearchResourcesSimpleCriterionKeyS3BucketName is a SearchResourcesSimpleCriterionKey enum value
 19274  	SearchResourcesSimpleCriterionKeyS3BucketName = "S3_BUCKET_NAME"
 19275  
 19276  	// SearchResourcesSimpleCriterionKeyS3BucketEffectivePermission is a SearchResourcesSimpleCriterionKey enum value
 19277  	SearchResourcesSimpleCriterionKeyS3BucketEffectivePermission = "S3_BUCKET_EFFECTIVE_PERMISSION"
 19278  
 19279  	// SearchResourcesSimpleCriterionKeyS3BucketSharedAccess is a SearchResourcesSimpleCriterionKey enum value
 19280  	SearchResourcesSimpleCriterionKeyS3BucketSharedAccess = "S3_BUCKET_SHARED_ACCESS"
 19281  )
 19282  
 19283  // SearchResourcesSimpleCriterionKey_Values returns all elements of the SearchResourcesSimpleCriterionKey enum
 19284  func SearchResourcesSimpleCriterionKey_Values() []string {
 19285  	return []string{
 19286  		SearchResourcesSimpleCriterionKeyAccountId,
 19287  		SearchResourcesSimpleCriterionKeyS3BucketName,
 19288  		SearchResourcesSimpleCriterionKeyS3BucketEffectivePermission,
 19289  		SearchResourcesSimpleCriterionKeyS3BucketSharedAccess,
 19290  	}
 19291  }
 19292  
 19293  // The property to sort the query results by. Valid values are:
 19294  const (
 19295  	// SearchResourcesSortAttributeNameAccountId is a SearchResourcesSortAttributeName enum value
 19296  	SearchResourcesSortAttributeNameAccountId = "ACCOUNT_ID"
 19297  
 19298  	// SearchResourcesSortAttributeNameResourceName is a SearchResourcesSortAttributeName enum value
 19299  	SearchResourcesSortAttributeNameResourceName = "RESOURCE_NAME"
 19300  
 19301  	// SearchResourcesSortAttributeNameS3ClassifiableObjectCount is a SearchResourcesSortAttributeName enum value
 19302  	SearchResourcesSortAttributeNameS3ClassifiableObjectCount = "S3_CLASSIFIABLE_OBJECT_COUNT"
 19303  
 19304  	// SearchResourcesSortAttributeNameS3ClassifiableSizeInBytes is a SearchResourcesSortAttributeName enum value
 19305  	SearchResourcesSortAttributeNameS3ClassifiableSizeInBytes = "S3_CLASSIFIABLE_SIZE_IN_BYTES"
 19306  )
 19307  
 19308  // SearchResourcesSortAttributeName_Values returns all elements of the SearchResourcesSortAttributeName enum
 19309  func SearchResourcesSortAttributeName_Values() []string {
 19310  	return []string{
 19311  		SearchResourcesSortAttributeNameAccountId,
 19312  		SearchResourcesSortAttributeNameResourceName,
 19313  		SearchResourcesSortAttributeNameS3ClassifiableObjectCount,
 19314  		SearchResourcesSortAttributeNameS3ClassifiableSizeInBytes,
 19315  	}
 19316  }
 19317  
 19318  // For a finding, the category of sensitive data that was detected and produced
 19319  // the finding. For a managed data identifier, the category of sensitive data
 19320  // that the managed data identifier detects. Possible values are:
 19321  const (
 19322  	// SensitiveDataItemCategoryFinancialInformation is a SensitiveDataItemCategory enum value
 19323  	SensitiveDataItemCategoryFinancialInformation = "FINANCIAL_INFORMATION"
 19324  
 19325  	// SensitiveDataItemCategoryPersonalInformation is a SensitiveDataItemCategory enum value
 19326  	SensitiveDataItemCategoryPersonalInformation = "PERSONAL_INFORMATION"
 19327  
 19328  	// SensitiveDataItemCategoryCredentials is a SensitiveDataItemCategory enum value
 19329  	SensitiveDataItemCategoryCredentials = "CREDENTIALS"
 19330  
 19331  	// SensitiveDataItemCategoryCustomIdentifier is a SensitiveDataItemCategory enum value
 19332  	SensitiveDataItemCategoryCustomIdentifier = "CUSTOM_IDENTIFIER"
 19333  )
 19334  
 19335  // SensitiveDataItemCategory_Values returns all elements of the SensitiveDataItemCategory enum
 19336  func SensitiveDataItemCategory_Values() []string {
 19337  	return []string{
 19338  		SensitiveDataItemCategoryFinancialInformation,
 19339  		SensitiveDataItemCategoryPersonalInformation,
 19340  		SensitiveDataItemCategoryCredentials,
 19341  		SensitiveDataItemCategoryCustomIdentifier,
 19342  	}
 19343  }
 19344  
 19345  // The qualitative representation of the finding's severity. Possible values
 19346  // are:
 19347  const (
 19348  	// SeverityDescriptionLow is a SeverityDescription enum value
 19349  	SeverityDescriptionLow = "Low"
 19350  
 19351  	// SeverityDescriptionMedium is a SeverityDescription enum value
 19352  	SeverityDescriptionMedium = "Medium"
 19353  
 19354  	// SeverityDescriptionHigh is a SeverityDescription enum value
 19355  	SeverityDescriptionHigh = "High"
 19356  )
 19357  
 19358  // SeverityDescription_Values returns all elements of the SeverityDescription enum
 19359  func SeverityDescription_Values() []string {
 19360  	return []string{
 19361  		SeverityDescriptionLow,
 19362  		SeverityDescriptionMedium,
 19363  		SeverityDescriptionHigh,
 19364  	}
 19365  }
 19366  
 19367  const (
 19368  	// SharedAccessExternal is a SharedAccess enum value
 19369  	SharedAccessExternal = "EXTERNAL"
 19370  
 19371  	// SharedAccessInternal is a SharedAccess enum value
 19372  	SharedAccessInternal = "INTERNAL"
 19373  
 19374  	// SharedAccessNotShared is a SharedAccess enum value
 19375  	SharedAccessNotShared = "NOT_SHARED"
 19376  
 19377  	// SharedAccessUnknown is a SharedAccess enum value
 19378  	SharedAccessUnknown = "UNKNOWN"
 19379  )
 19380  
 19381  // SharedAccess_Values returns all elements of the SharedAccess enum
 19382  func SharedAccess_Values() []string {
 19383  	return []string{
 19384  		SharedAccessExternal,
 19385  		SharedAccessInternal,
 19386  		SharedAccessNotShared,
 19387  		SharedAccessUnknown,
 19388  	}
 19389  }
 19390  
 19391  // The property to use in a condition that determines whether an S3 bucket is
 19392  // included or excluded from a classification job. Valid values are:
 19393  const (
 19394  	// SimpleCriterionKeyForJobAccountId is a SimpleCriterionKeyForJob enum value
 19395  	SimpleCriterionKeyForJobAccountId = "ACCOUNT_ID"
 19396  
 19397  	// SimpleCriterionKeyForJobS3BucketName is a SimpleCriterionKeyForJob enum value
 19398  	SimpleCriterionKeyForJobS3BucketName = "S3_BUCKET_NAME"
 19399  
 19400  	// SimpleCriterionKeyForJobS3BucketEffectivePermission is a SimpleCriterionKeyForJob enum value
 19401  	SimpleCriterionKeyForJobS3BucketEffectivePermission = "S3_BUCKET_EFFECTIVE_PERMISSION"
 19402  
 19403  	// SimpleCriterionKeyForJobS3BucketSharedAccess is a SimpleCriterionKeyForJob enum value
 19404  	SimpleCriterionKeyForJobS3BucketSharedAccess = "S3_BUCKET_SHARED_ACCESS"
 19405  )
 19406  
 19407  // SimpleCriterionKeyForJob_Values returns all elements of the SimpleCriterionKeyForJob enum
 19408  func SimpleCriterionKeyForJob_Values() []string {
 19409  	return []string{
 19410  		SimpleCriterionKeyForJobAccountId,
 19411  		SimpleCriterionKeyForJobS3BucketName,
 19412  		SimpleCriterionKeyForJobS3BucketEffectivePermission,
 19413  		SimpleCriterionKeyForJobS3BucketSharedAccess,
 19414  	}
 19415  }
 19416  
 19417  // The storage class of the S3 object. Possible values are:
 19418  const (
 19419  	// StorageClassStandard is a StorageClass enum value
 19420  	StorageClassStandard = "STANDARD"
 19421  
 19422  	// StorageClassReducedRedundancy is a StorageClass enum value
 19423  	StorageClassReducedRedundancy = "REDUCED_REDUNDANCY"
 19424  
 19425  	// StorageClassStandardIa is a StorageClass enum value
 19426  	StorageClassStandardIa = "STANDARD_IA"
 19427  
 19428  	// StorageClassIntelligentTiering is a StorageClass enum value
 19429  	StorageClassIntelligentTiering = "INTELLIGENT_TIERING"
 19430  
 19431  	// StorageClassDeepArchive is a StorageClass enum value
 19432  	StorageClassDeepArchive = "DEEP_ARCHIVE"
 19433  
 19434  	// StorageClassOnezoneIa is a StorageClass enum value
 19435  	StorageClassOnezoneIa = "ONEZONE_IA"
 19436  
 19437  	// StorageClassGlacier is a StorageClass enum value
 19438  	StorageClassGlacier = "GLACIER"
 19439  )
 19440  
 19441  // StorageClass_Values returns all elements of the StorageClass enum
 19442  func StorageClass_Values() []string {
 19443  	return []string{
 19444  		StorageClassStandard,
 19445  		StorageClassReducedRedundancy,
 19446  		StorageClassStandardIa,
 19447  		StorageClassIntelligentTiering,
 19448  		StorageClassDeepArchive,
 19449  		StorageClassOnezoneIa,
 19450  		StorageClassGlacier,
 19451  	}
 19452  }
 19453  
 19454  // The type of object to apply a tag-based condition to. Valid values are:
 19455  const (
 19456  	// TagTargetS3Object is a TagTarget enum value
 19457  	TagTargetS3Object = "S3_OBJECT"
 19458  )
 19459  
 19460  // TagTarget_Values returns all elements of the TagTarget enum
 19461  func TagTarget_Values() []string {
 19462  	return []string{
 19463  		TagTargetS3Object,
 19464  	}
 19465  }
 19466  
 19467  // An inclusive time period that Amazon Macie usage data applies to. Possible
 19468  // values are:
 19469  const (
 19470  	// TimeRangeMonthToDate is a TimeRange enum value
 19471  	TimeRangeMonthToDate = "MONTH_TO_DATE"
 19472  
 19473  	// TimeRangePast30Days is a TimeRange enum value
 19474  	TimeRangePast30Days = "PAST_30_DAYS"
 19475  )
 19476  
 19477  // TimeRange_Values returns all elements of the TimeRange enum
 19478  func TimeRange_Values() []string {
 19479  	return []string{
 19480  		TimeRangeMonthToDate,
 19481  		TimeRangePast30Days,
 19482  	}
 19483  }
 19484  
 19485  const (
 19486  	// TypeNone is a Type enum value
 19487  	TypeNone = "NONE"
 19488  
 19489  	// TypeAes256 is a Type enum value
 19490  	TypeAes256 = "AES256"
 19491  
 19492  	// TypeAwsKms is a Type enum value
 19493  	TypeAwsKms = "aws:kms"
 19494  )
 19495  
 19496  // Type_Values returns all elements of the Type enum
 19497  func Type_Values() []string {
 19498  	return []string{
 19499  		TypeNone,
 19500  		TypeAes256,
 19501  		TypeAwsKms,
 19502  	}
 19503  }
 19504  
 19505  const (
 19506  	// UnitTerabytes is a Unit enum value
 19507  	UnitTerabytes = "TERABYTES"
 19508  )
 19509  
 19510  // Unit_Values returns all elements of the Unit enum
 19511  func Unit_Values() []string {
 19512  	return []string{
 19513  		UnitTerabytes,
 19514  	}
 19515  }
 19516  
 19517  // The operator to use in a condition that filters the results of a query for
 19518  // Amazon Macie account quotas and usage data. Valid values are:
 19519  const (
 19520  	// UsageStatisticsFilterComparatorGt is a UsageStatisticsFilterComparator enum value
 19521  	UsageStatisticsFilterComparatorGt = "GT"
 19522  
 19523  	// UsageStatisticsFilterComparatorGte is a UsageStatisticsFilterComparator enum value
 19524  	UsageStatisticsFilterComparatorGte = "GTE"
 19525  
 19526  	// UsageStatisticsFilterComparatorLt is a UsageStatisticsFilterComparator enum value
 19527  	UsageStatisticsFilterComparatorLt = "LT"
 19528  
 19529  	// UsageStatisticsFilterComparatorLte is a UsageStatisticsFilterComparator enum value
 19530  	UsageStatisticsFilterComparatorLte = "LTE"
 19531  
 19532  	// UsageStatisticsFilterComparatorEq is a UsageStatisticsFilterComparator enum value
 19533  	UsageStatisticsFilterComparatorEq = "EQ"
 19534  
 19535  	// UsageStatisticsFilterComparatorNe is a UsageStatisticsFilterComparator enum value
 19536  	UsageStatisticsFilterComparatorNe = "NE"
 19537  
 19538  	// UsageStatisticsFilterComparatorContains is a UsageStatisticsFilterComparator enum value
 19539  	UsageStatisticsFilterComparatorContains = "CONTAINS"
 19540  )
 19541  
 19542  // UsageStatisticsFilterComparator_Values returns all elements of the UsageStatisticsFilterComparator enum
 19543  func UsageStatisticsFilterComparator_Values() []string {
 19544  	return []string{
 19545  		UsageStatisticsFilterComparatorGt,
 19546  		UsageStatisticsFilterComparatorGte,
 19547  		UsageStatisticsFilterComparatorLt,
 19548  		UsageStatisticsFilterComparatorLte,
 19549  		UsageStatisticsFilterComparatorEq,
 19550  		UsageStatisticsFilterComparatorNe,
 19551  		UsageStatisticsFilterComparatorContains,
 19552  	}
 19553  }
 19554  
 19555  // The field to use in a condition that filters the results of a query for Amazon
 19556  // Macie account quotas and usage data. Valid values are:
 19557  const (
 19558  	// UsageStatisticsFilterKeyAccountId is a UsageStatisticsFilterKey enum value
 19559  	UsageStatisticsFilterKeyAccountId = "accountId"
 19560  
 19561  	// UsageStatisticsFilterKeyServiceLimit is a UsageStatisticsFilterKey enum value
 19562  	UsageStatisticsFilterKeyServiceLimit = "serviceLimit"
 19563  
 19564  	// UsageStatisticsFilterKeyFreeTrialStartDate is a UsageStatisticsFilterKey enum value
 19565  	UsageStatisticsFilterKeyFreeTrialStartDate = "freeTrialStartDate"
 19566  
 19567  	// UsageStatisticsFilterKeyTotal is a UsageStatisticsFilterKey enum value
 19568  	UsageStatisticsFilterKeyTotal = "total"
 19569  )
 19570  
 19571  // UsageStatisticsFilterKey_Values returns all elements of the UsageStatisticsFilterKey enum
 19572  func UsageStatisticsFilterKey_Values() []string {
 19573  	return []string{
 19574  		UsageStatisticsFilterKeyAccountId,
 19575  		UsageStatisticsFilterKeyServiceLimit,
 19576  		UsageStatisticsFilterKeyFreeTrialStartDate,
 19577  		UsageStatisticsFilterKeyTotal,
 19578  	}
 19579  }
 19580  
 19581  // The field to use to sort the results of a query for Amazon Macie account
 19582  // quotas and usage data. Valid values are:
 19583  const (
 19584  	// UsageStatisticsSortKeyAccountId is a UsageStatisticsSortKey enum value
 19585  	UsageStatisticsSortKeyAccountId = "accountId"
 19586  
 19587  	// UsageStatisticsSortKeyTotal is a UsageStatisticsSortKey enum value
 19588  	UsageStatisticsSortKeyTotal = "total"
 19589  
 19590  	// UsageStatisticsSortKeyServiceLimitValue is a UsageStatisticsSortKey enum value
 19591  	UsageStatisticsSortKeyServiceLimitValue = "serviceLimitValue"
 19592  
 19593  	// UsageStatisticsSortKeyFreeTrialStartDate is a UsageStatisticsSortKey enum value
 19594  	UsageStatisticsSortKeyFreeTrialStartDate = "freeTrialStartDate"
 19595  )
 19596  
 19597  // UsageStatisticsSortKey_Values returns all elements of the UsageStatisticsSortKey enum
 19598  func UsageStatisticsSortKey_Values() []string {
 19599  	return []string{
 19600  		UsageStatisticsSortKeyAccountId,
 19601  		UsageStatisticsSortKeyTotal,
 19602  		UsageStatisticsSortKeyServiceLimitValue,
 19603  		UsageStatisticsSortKeyFreeTrialStartDate,
 19604  	}
 19605  }
 19606  
 19607  // The name of an Amazon Macie usage metric for an account. Possible values
 19608  // are:
 19609  const (
 19610  	// UsageTypeDataInventoryEvaluation is a UsageType enum value
 19611  	UsageTypeDataInventoryEvaluation = "DATA_INVENTORY_EVALUATION"
 19612  
 19613  	// UsageTypeSensitiveDataDiscovery is a UsageType enum value
 19614  	UsageTypeSensitiveDataDiscovery = "SENSITIVE_DATA_DISCOVERY"
 19615  )
 19616  
 19617  // UsageType_Values returns all elements of the UsageType enum
 19618  func UsageType_Values() []string {
 19619  	return []string{
 19620  		UsageTypeDataInventoryEvaluation,
 19621  		UsageTypeSensitiveDataDiscovery,
 19622  	}
 19623  }
 19624  
 19625  // The type of entity that performed the action on the affected resource. Possible
 19626  // values are:
 19627  const (
 19628  	// UserIdentityTypeAssumedRole is a UserIdentityType enum value
 19629  	UserIdentityTypeAssumedRole = "AssumedRole"
 19630  
 19631  	// UserIdentityTypeIamuser is a UserIdentityType enum value
 19632  	UserIdentityTypeIamuser = "IAMUser"
 19633  
 19634  	// UserIdentityTypeFederatedUser is a UserIdentityType enum value
 19635  	UserIdentityTypeFederatedUser = "FederatedUser"
 19636  
 19637  	// UserIdentityTypeRoot is a UserIdentityType enum value
 19638  	UserIdentityTypeRoot = "Root"
 19639  
 19640  	// UserIdentityTypeAwsaccount is a UserIdentityType enum value
 19641  	UserIdentityTypeAwsaccount = "AWSAccount"
 19642  
 19643  	// UserIdentityTypeAwsservice is a UserIdentityType enum value
 19644  	UserIdentityTypeAwsservice = "AWSService"
 19645  )
 19646  
 19647  // UserIdentityType_Values returns all elements of the UserIdentityType enum
 19648  func UserIdentityType_Values() []string {
 19649  	return []string{
 19650  		UserIdentityTypeAssumedRole,
 19651  		UserIdentityTypeIamuser,
 19652  		UserIdentityTypeFederatedUser,
 19653  		UserIdentityTypeRoot,
 19654  		UserIdentityTypeAwsaccount,
 19655  		UserIdentityTypeAwsservice,
 19656  	}
 19657  }