func AdminStatus_Values() []string
AdminStatus_Values returns all elements of the AdminStatus enum
func AllowsUnencryptedObjectUploads_Values() []string
AllowsUnencryptedObjectUploads_Values returns all elements of the AllowsUnencryptedObjectUploads enum
func BucketMetadataErrorCode_Values() []string
BucketMetadataErrorCode_Values returns all elements of the BucketMetadataErrorCode enum
func Currency_Values() []string
Currency_Values returns all elements of the Currency enum
func DataIdentifierSeverity_Values() []string
DataIdentifierSeverity_Values returns all elements of the DataIdentifierSeverity enum
func DayOfWeek_Values() []string
DayOfWeek_Values returns all elements of the DayOfWeek enum
func EffectivePermission_Values() []string
EffectivePermission_Values returns all elements of the EffectivePermission enum
func EncryptionType_Values() []string
EncryptionType_Values returns all elements of the EncryptionType enum
func ErrorCode_Values() []string
ErrorCode_Values returns all elements of the ErrorCode enum
func FindingActionType_Values() []string
FindingActionType_Values returns all elements of the FindingActionType enum
func FindingCategory_Values() []string
FindingCategory_Values returns all elements of the FindingCategory enum
func FindingPublishingFrequency_Values() []string
FindingPublishingFrequency_Values returns all elements of the FindingPublishingFrequency enum
func FindingStatisticsSortAttributeName_Values() []string
FindingStatisticsSortAttributeName_Values returns all elements of the FindingStatisticsSortAttributeName enum
func FindingType_Values() []string
FindingType_Values returns all elements of the FindingType enum
func FindingsFilterAction_Values() []string
FindingsFilterAction_Values returns all elements of the FindingsFilterAction enum
func GroupBy_Values() []string
GroupBy_Values returns all elements of the GroupBy enum
func IsDefinedInJob_Values() []string
IsDefinedInJob_Values returns all elements of the IsDefinedInJob enum
func IsMonitoredByJob_Values() []string
IsMonitoredByJob_Values returns all elements of the IsMonitoredByJob enum
func JobComparator_Values() []string
JobComparator_Values returns all elements of the JobComparator enum
func JobStatus_Values() []string
JobStatus_Values returns all elements of the JobStatus enum
func JobType_Values() []string
JobType_Values returns all elements of the JobType enum
func LastRunErrorStatusCode_Values() []string
LastRunErrorStatusCode_Values returns all elements of the LastRunErrorStatusCode enum
func ListJobsFilterKey_Values() []string
ListJobsFilterKey_Values returns all elements of the ListJobsFilterKey enum
func ListJobsSortAttributeName_Values() []string
ListJobsSortAttributeName_Values returns all elements of the ListJobsSortAttributeName enum
func MacieStatus_Values() []string
MacieStatus_Values returns all elements of the MacieStatus enum
func ManagedDataIdentifierSelector_Values() []string
ManagedDataIdentifierSelector_Values returns all elements of the ManagedDataIdentifierSelector enum
func OrderBy_Values() []string
OrderBy_Values returns all elements of the OrderBy enum
func OriginType_Values() []string
OriginType_Values returns all elements of the OriginType enum
func RelationshipStatus_Values() []string
RelationshipStatus_Values returns all elements of the RelationshipStatus enum
func ScopeFilterKey_Values() []string
ScopeFilterKey_Values returns all elements of the ScopeFilterKey enum
func SearchResourcesComparator_Values() []string
SearchResourcesComparator_Values returns all elements of the SearchResourcesComparator enum
func SearchResourcesSimpleCriterionKey_Values() []string
SearchResourcesSimpleCriterionKey_Values returns all elements of the SearchResourcesSimpleCriterionKey enum
func SearchResourcesSortAttributeName_Values() []string
SearchResourcesSortAttributeName_Values returns all elements of the SearchResourcesSortAttributeName enum
func SensitiveDataItemCategory_Values() []string
SensitiveDataItemCategory_Values returns all elements of the SensitiveDataItemCategory enum
func SeverityDescription_Values() []string
SeverityDescription_Values returns all elements of the SeverityDescription enum
func SharedAccess_Values() []string
SharedAccess_Values returns all elements of the SharedAccess enum
func SimpleCriterionKeyForJob_Values() []string
SimpleCriterionKeyForJob_Values returns all elements of the SimpleCriterionKeyForJob enum
func StorageClass_Values() []string
StorageClass_Values returns all elements of the StorageClass enum
func TagTarget_Values() []string
TagTarget_Values returns all elements of the TagTarget enum
func TimeRange_Values() []string
TimeRange_Values returns all elements of the TimeRange enum
func Type_Values() []string
Type_Values returns all elements of the Type enum
func Unit_Values() []string
Unit_Values returns all elements of the Unit enum
func UsageStatisticsFilterComparator_Values() []string
UsageStatisticsFilterComparator_Values returns all elements of the UsageStatisticsFilterComparator enum
func UsageStatisticsFilterKey_Values() []string
UsageStatisticsFilterKey_Values returns all elements of the UsageStatisticsFilterKey enum
func UsageStatisticsSortKey_Values() []string
UsageStatisticsSortKey_Values returns all elements of the UsageStatisticsSortKey enum
func UsageType_Values() []string
UsageType_Values returns all elements of the UsageType enum
func UserIdentityType_Values() []string
UserIdentityType_Values returns all elements of the UserIdentityType enum
type AcceptInvitationInput struct { AdministratorAccountId *string `locationName:"administratorAccountId" type:"string"` // InvitationId is a required field InvitationId *string `locationName:"invitationId" type:"string" required:"true"` MasterAccount *string `locationName:"masterAccount" type:"string"` // contains filtered or unexported fields }
Specifies an Amazon Macie membership invitation to accept. In the request, you have to specify the ID for the Amazon Web Services account that sent the invitation. Otherwise, a validation error occurs. To specify this ID, we recommend that you use the administratorAccountId property instead of the masterAccount property. The masterAccount property has been deprecated and is retained only for backward compatibility.
func (s AcceptInvitationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AcceptInvitationInput) SetAdministratorAccountId(v string) *AcceptInvitationInput
SetAdministratorAccountId sets the AdministratorAccountId field's value.
func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput
SetInvitationId sets the InvitationId field's value.
func (s *AcceptInvitationInput) SetMasterAccount(v string) *AcceptInvitationInput
SetMasterAccount sets the MasterAccount field's value.
func (s AcceptInvitationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AcceptInvitationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcceptInvitationOutput struct {
// contains filtered or unexported fields
}
func (s AcceptInvitationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s AcceptInvitationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccessControlList struct {
AllowsPublicReadAccess *bool `locationName:"allowsPublicReadAccess" type:"boolean"`
AllowsPublicWriteAccess *bool `locationName:"allowsPublicWriteAccess" type:"boolean"`
// contains filtered or unexported fields
}
Provides information about the permissions settings of the bucket-level access control list (ACL) for an S3 bucket.
func (s AccessControlList) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessControlList) SetAllowsPublicReadAccess(v bool) *AccessControlList
SetAllowsPublicReadAccess sets the AllowsPublicReadAccess field's value.
func (s *AccessControlList) SetAllowsPublicWriteAccess(v bool) *AccessControlList
SetAllowsPublicWriteAccess sets the AllowsPublicWriteAccess field's value.
func (s AccessControlList) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Provides information about an error that occurred due to insufficient access to a specified resource.
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccountDetail struct { // AccountId is a required field AccountId *string `locationName:"accountId" type:"string" required:"true"` // Email is a required field Email *string `locationName:"email" type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the details of an account to associate with an Amazon Macie administrator account.
func (s AccountDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccountDetail) SetAccountId(v string) *AccountDetail
SetAccountId sets the AccountId field's value.
func (s *AccountDetail) SetEmail(v string) *AccountDetail
SetEmail sets the Email field's value.
func (s AccountDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccountDetail) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AccountLevelPermissions struct { // Provides information about the block public access settings for an S3 bucket. // These settings can apply to a bucket at the account level or bucket level. // For detailed information about each setting, see Blocking public access to // your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) // in the Amazon Simple Storage Service User Guide. BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"` // contains filtered or unexported fields }
Provides information about the account-level permissions settings that apply to an S3 bucket.
func (s AccountLevelPermissions) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccountLevelPermissions) SetBlockPublicAccess(v *BlockPublicAccess) *AccountLevelPermissions
SetBlockPublicAccess sets the BlockPublicAccess field's value.
func (s AccountLevelPermissions) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AdminAccount struct { AccountId *string `locationName:"accountId" type:"string"` // The current status of an account as the delegated Amazon Macie administrator // account for an organization in Organizations. Possible values are: Status *string `locationName:"status" type:"string" enum:"AdminStatus"` // contains filtered or unexported fields }
Provides information about the delegated Amazon Macie administrator account for an organization in Organizations.
func (s AdminAccount) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AdminAccount) SetAccountId(v string) *AdminAccount
SetAccountId sets the AccountId field's value.
func (s *AdminAccount) SetStatus(v string) *AdminAccount
SetStatus sets the Status field's value.
func (s AdminAccount) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ApiCallDetails struct {
Api *string `locationName:"api" type:"string"`
ApiServiceName *string `locationName:"apiServiceName" type:"string"`
FirstSeen *time.Time `locationName:"firstSeen" type:"timestamp" timestampFormat:"iso8601"`
LastSeen *time.Time `locationName:"lastSeen" type:"timestamp" timestampFormat:"iso8601"`
// contains filtered or unexported fields
}
Provides information about an API operation that an entity invoked for an affected resource.
func (s ApiCallDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApiCallDetails) SetApi(v string) *ApiCallDetails
SetApi sets the Api field's value.
func (s *ApiCallDetails) SetApiServiceName(v string) *ApiCallDetails
SetApiServiceName sets the ApiServiceName field's value.
func (s *ApiCallDetails) SetFirstSeen(v time.Time) *ApiCallDetails
SetFirstSeen sets the FirstSeen field's value.
func (s *ApiCallDetails) SetLastSeen(v time.Time) *ApiCallDetails
SetLastSeen sets the LastSeen field's value.
func (s ApiCallDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssumedRole struct { AccessKeyId *string `locationName:"accessKeyId" type:"string"` AccountId *string `locationName:"accountId" type:"string"` Arn *string `locationName:"arn" type:"string"` PrincipalId *string `locationName:"principalId" type:"string"` // Provides information about a session that was created for an entity that // performed an action by using temporary security credentials. SessionContext *SessionContext `locationName:"sessionContext" type:"structure"` // contains filtered or unexported fields }
Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the AssumeRole operation of the Security Token Service (STS) API.
func (s AssumedRole) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssumedRole) SetAccessKeyId(v string) *AssumedRole
SetAccessKeyId sets the AccessKeyId field's value.
func (s *AssumedRole) SetAccountId(v string) *AssumedRole
SetAccountId sets the AccountId field's value.
func (s *AssumedRole) SetArn(v string) *AssumedRole
SetArn sets the Arn field's value.
func (s *AssumedRole) SetPrincipalId(v string) *AssumedRole
SetPrincipalId sets the PrincipalId field's value.
func (s *AssumedRole) SetSessionContext(v *SessionContext) *AssumedRole
SetSessionContext sets the SessionContext field's value.
func (s AssumedRole) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AwsAccount struct {
AccountId *string `locationName:"accountId" type:"string"`
PrincipalId *string `locationName:"principalId" type:"string"`
// contains filtered or unexported fields
}
Provides information about an Amazon Web Services account and entity that performed an action on an affected resource. The action was performed using the credentials for an Amazon Web Services account other than your own account.
func (s AwsAccount) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AwsAccount) SetAccountId(v string) *AwsAccount
SetAccountId sets the AccountId field's value.
func (s *AwsAccount) SetPrincipalId(v string) *AwsAccount
SetPrincipalId sets the PrincipalId field's value.
func (s AwsAccount) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AwsService struct {
InvokedBy *string `locationName:"invokedBy" type:"string"`
// contains filtered or unexported fields
}
Provides information about an Amazon Web Service that performed an action on an affected resource.
func (s AwsService) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AwsService) SetInvokedBy(v string) *AwsService
SetInvokedBy sets the InvokedBy field's value.
func (s AwsService) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetCustomDataIdentifierSummary struct {
Arn *string `locationName:"arn" type:"string"`
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
Deleted *bool `locationName:"deleted" type:"boolean"`
Description *string `locationName:"description" type:"string"`
Id *string `locationName:"id" type:"string"`
Name *string `locationName:"name" type:"string"`
// contains filtered or unexported fields
}
Provides information about a custom data identifier.
func (s BatchGetCustomDataIdentifierSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchGetCustomDataIdentifierSummary) SetArn(v string) *BatchGetCustomDataIdentifierSummary
SetArn sets the Arn field's value.
func (s *BatchGetCustomDataIdentifierSummary) SetCreatedAt(v time.Time) *BatchGetCustomDataIdentifierSummary
SetCreatedAt sets the CreatedAt field's value.
func (s *BatchGetCustomDataIdentifierSummary) SetDeleted(v bool) *BatchGetCustomDataIdentifierSummary
SetDeleted sets the Deleted field's value.
func (s *BatchGetCustomDataIdentifierSummary) SetDescription(v string) *BatchGetCustomDataIdentifierSummary
SetDescription sets the Description field's value.
func (s *BatchGetCustomDataIdentifierSummary) SetId(v string) *BatchGetCustomDataIdentifierSummary
SetId sets the Id field's value.
func (s *BatchGetCustomDataIdentifierSummary) SetName(v string) *BatchGetCustomDataIdentifierSummary
SetName sets the Name field's value.
func (s BatchGetCustomDataIdentifierSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetCustomDataIdentifiersInput struct {
Ids []*string `locationName:"ids" type:"list"`
// contains filtered or unexported fields
}
Specifies one or more custom data identifiers to retrieve information about.
func (s BatchGetCustomDataIdentifiersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchGetCustomDataIdentifiersInput) SetIds(v []*string) *BatchGetCustomDataIdentifiersInput
SetIds sets the Ids field's value.
func (s BatchGetCustomDataIdentifiersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetCustomDataIdentifiersOutput struct { CustomDataIdentifiers []*BatchGetCustomDataIdentifierSummary `locationName:"customDataIdentifiers" type:"list"` NotFoundIdentifierIds []*string `locationName:"notFoundIdentifierIds" type:"list"` // contains filtered or unexported fields }
Provides information about one or more custom data identifiers.
func (s BatchGetCustomDataIdentifiersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchGetCustomDataIdentifiersOutput) SetCustomDataIdentifiers(v []*BatchGetCustomDataIdentifierSummary) *BatchGetCustomDataIdentifiersOutput
SetCustomDataIdentifiers sets the CustomDataIdentifiers field's value.
func (s *BatchGetCustomDataIdentifiersOutput) SetNotFoundIdentifierIds(v []*string) *BatchGetCustomDataIdentifiersOutput
SetNotFoundIdentifierIds sets the NotFoundIdentifierIds field's value.
func (s BatchGetCustomDataIdentifiersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BlockPublicAccess struct {
BlockPublicAcls *bool `locationName:"blockPublicAcls" type:"boolean"`
BlockPublicPolicy *bool `locationName:"blockPublicPolicy" type:"boolean"`
IgnorePublicAcls *bool `locationName:"ignorePublicAcls" type:"boolean"`
RestrictPublicBuckets *bool `locationName:"restrictPublicBuckets" type:"boolean"`
// contains filtered or unexported fields
}
Provides information about the block public access settings for an S3 bucket. These settings can apply to a bucket at the account level or bucket level. For detailed information about each setting, see Blocking public access to your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) in the Amazon Simple Storage Service User Guide.
func (s BlockPublicAccess) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BlockPublicAccess) SetBlockPublicAcls(v bool) *BlockPublicAccess
SetBlockPublicAcls sets the BlockPublicAcls field's value.
func (s *BlockPublicAccess) SetBlockPublicPolicy(v bool) *BlockPublicAccess
SetBlockPublicPolicy sets the BlockPublicPolicy field's value.
func (s *BlockPublicAccess) SetIgnorePublicAcls(v bool) *BlockPublicAccess
SetIgnorePublicAcls sets the IgnorePublicAcls field's value.
func (s *BlockPublicAccess) SetRestrictPublicBuckets(v bool) *BlockPublicAccess
SetRestrictPublicBuckets sets the RestrictPublicBuckets field's value.
func (s BlockPublicAccess) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketCountByEffectivePermission struct {
PubliclyAccessible *int64 `locationName:"publiclyAccessible" type:"long"`
PubliclyReadable *int64 `locationName:"publiclyReadable" type:"long"`
PubliclyWritable *int64 `locationName:"publiclyWritable" type:"long"`
Unknown *int64 `locationName:"unknown" type:"long"`
// contains filtered or unexported fields
}
Provides information about the number of S3 buckets that are publicly accessible based on a combination of permissions settings for each bucket.
func (s BucketCountByEffectivePermission) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketCountByEffectivePermission) SetPubliclyAccessible(v int64) *BucketCountByEffectivePermission
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (s *BucketCountByEffectivePermission) SetPubliclyReadable(v int64) *BucketCountByEffectivePermission
SetPubliclyReadable sets the PubliclyReadable field's value.
func (s *BucketCountByEffectivePermission) SetPubliclyWritable(v int64) *BucketCountByEffectivePermission
SetPubliclyWritable sets the PubliclyWritable field's value.
func (s *BucketCountByEffectivePermission) SetUnknown(v int64) *BucketCountByEffectivePermission
SetUnknown sets the Unknown field's value.
func (s BucketCountByEffectivePermission) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketCountByEncryptionType struct {
KmsManaged *int64 `locationName:"kmsManaged" type:"long"`
S3Managed *int64 `locationName:"s3Managed" type:"long"`
Unencrypted *int64 `locationName:"unencrypted" type:"long"`
Unknown *int64 `locationName:"unknown" type:"long"`
// contains filtered or unexported fields
}
Provides information about the number of S3 buckets that use certain types of server-side encryption by default or don't encrypt new objects by default. For detailed information about these settings, see Setting default server-side encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html) in the Amazon Simple Storage Service User Guide.
func (s BucketCountByEncryptionType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketCountByEncryptionType) SetKmsManaged(v int64) *BucketCountByEncryptionType
SetKmsManaged sets the KmsManaged field's value.
func (s *BucketCountByEncryptionType) SetS3Managed(v int64) *BucketCountByEncryptionType
SetS3Managed sets the S3Managed field's value.
func (s *BucketCountByEncryptionType) SetUnencrypted(v int64) *BucketCountByEncryptionType
SetUnencrypted sets the Unencrypted field's value.
func (s *BucketCountByEncryptionType) SetUnknown(v int64) *BucketCountByEncryptionType
SetUnknown sets the Unknown field's value.
func (s BucketCountByEncryptionType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketCountBySharedAccessType struct {
External *int64 `locationName:"external" type:"long"`
Internal *int64 `locationName:"internal" type:"long"`
NotShared *int64 `locationName:"notShared" type:"long"`
Unknown *int64 `locationName:"unknown" type:"long"`
// contains filtered or unexported fields
}
Provides information about the number of S3 buckets that are or aren't shared with other Amazon Web Services accounts.
func (s BucketCountBySharedAccessType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketCountBySharedAccessType) SetExternal(v int64) *BucketCountBySharedAccessType
SetExternal sets the External field's value.
func (s *BucketCountBySharedAccessType) SetInternal(v int64) *BucketCountBySharedAccessType
SetInternal sets the Internal field's value.
func (s *BucketCountBySharedAccessType) SetNotShared(v int64) *BucketCountBySharedAccessType
SetNotShared sets the NotShared field's value.
func (s *BucketCountBySharedAccessType) SetUnknown(v int64) *BucketCountBySharedAccessType
SetUnknown sets the Unknown field's value.
func (s BucketCountBySharedAccessType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketCountPolicyAllowsUnencryptedObjectUploads struct {
AllowsUnencryptedObjectUploads *int64 `locationName:"allowsUnencryptedObjectUploads" type:"long"`
DeniesUnencryptedObjectUploads *int64 `locationName:"deniesUnencryptedObjectUploads" type:"long"`
Unknown *int64 `locationName:"unknown" type:"long"`
// contains filtered or unexported fields
}
Provides information about the number of S3 buckets whose bucket policies do or don't require server-side encryption of objects when objects are uploaded to the buckets.
func (s BucketCountPolicyAllowsUnencryptedObjectUploads) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketCountPolicyAllowsUnencryptedObjectUploads) SetAllowsUnencryptedObjectUploads(v int64) *BucketCountPolicyAllowsUnencryptedObjectUploads
SetAllowsUnencryptedObjectUploads sets the AllowsUnencryptedObjectUploads field's value.
func (s *BucketCountPolicyAllowsUnencryptedObjectUploads) SetDeniesUnencryptedObjectUploads(v int64) *BucketCountPolicyAllowsUnencryptedObjectUploads
SetDeniesUnencryptedObjectUploads sets the DeniesUnencryptedObjectUploads field's value.
func (s *BucketCountPolicyAllowsUnencryptedObjectUploads) SetUnknown(v int64) *BucketCountPolicyAllowsUnencryptedObjectUploads
SetUnknown sets the Unknown field's value.
func (s BucketCountPolicyAllowsUnencryptedObjectUploads) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketCriteriaAdditionalProperties struct {
Eq []*string `locationName:"eq" type:"list"`
Gt *int64 `locationName:"gt" type:"long"`
Gte *int64 `locationName:"gte" type:"long"`
Lt *int64 `locationName:"lt" type:"long"`
Lte *int64 `locationName:"lte" type:"long"`
Neq []*string `locationName:"neq" type:"list"`
Prefix *string `locationName:"prefix" type:"string"`
// contains filtered or unexported fields
}
Specifies the operator to use in a property-based condition that filters the results of a query for information about S3 buckets.
func (s BucketCriteriaAdditionalProperties) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketCriteriaAdditionalProperties) SetEq(v []*string) *BucketCriteriaAdditionalProperties
SetEq sets the Eq field's value.
func (s *BucketCriteriaAdditionalProperties) SetGt(v int64) *BucketCriteriaAdditionalProperties
SetGt sets the Gt field's value.
func (s *BucketCriteriaAdditionalProperties) SetGte(v int64) *BucketCriteriaAdditionalProperties
SetGte sets the Gte field's value.
func (s *BucketCriteriaAdditionalProperties) SetLt(v int64) *BucketCriteriaAdditionalProperties
SetLt sets the Lt field's value.
func (s *BucketCriteriaAdditionalProperties) SetLte(v int64) *BucketCriteriaAdditionalProperties
SetLte sets the Lte field's value.
func (s *BucketCriteriaAdditionalProperties) SetNeq(v []*string) *BucketCriteriaAdditionalProperties
SetNeq sets the Neq field's value.
func (s *BucketCriteriaAdditionalProperties) SetPrefix(v string) *BucketCriteriaAdditionalProperties
SetPrefix sets the Prefix field's value.
func (s BucketCriteriaAdditionalProperties) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketLevelPermissions struct { // Provides information about the permissions settings of the bucket-level access // control list (ACL) for an S3 bucket. AccessControlList *AccessControlList `locationName:"accessControlList" type:"structure"` // Provides information about the block public access settings for an S3 bucket. // These settings can apply to a bucket at the account level or bucket level. // For detailed information about each setting, see Blocking public access to // your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) // in the Amazon Simple Storage Service User Guide. BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"` // Provides information about the permissions settings of the bucket policy // for an S3 bucket. BucketPolicy *BucketPolicy `locationName:"bucketPolicy" type:"structure"` // contains filtered or unexported fields }
Provides information about the bucket-level permissions settings for an S3 bucket.
func (s BucketLevelPermissions) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketLevelPermissions) SetAccessControlList(v *AccessControlList) *BucketLevelPermissions
SetAccessControlList sets the AccessControlList field's value.
func (s *BucketLevelPermissions) SetBlockPublicAccess(v *BlockPublicAccess) *BucketLevelPermissions
SetBlockPublicAccess sets the BlockPublicAccess field's value.
func (s *BucketLevelPermissions) SetBucketPolicy(v *BucketPolicy) *BucketLevelPermissions
SetBucketPolicy sets the BucketPolicy field's value.
func (s BucketLevelPermissions) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketMetadata struct { AccountId *string `locationName:"accountId" type:"string"` AllowsUnencryptedObjectUploads *string `locationName:"allowsUnencryptedObjectUploads" type:"string" enum:"AllowsUnencryptedObjectUploads"` BucketArn *string `locationName:"bucketArn" type:"string"` BucketCreatedAt *time.Time `locationName:"bucketCreatedAt" type:"timestamp" timestampFormat:"iso8601"` BucketName *string `locationName:"bucketName" type:"string"` ClassifiableObjectCount *int64 `locationName:"classifiableObjectCount" type:"long"` ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"` // The error code for an error that prevented Amazon Macie from retrieving and // processing information about an S3 bucket and the bucket's objects. ErrorCode *string `locationName:"errorCode" type:"string" enum:"BucketMetadataErrorCode"` ErrorMessage *string `locationName:"errorMessage" type:"string"` // Specifies whether any one-time or recurring classification jobs are configured // to analyze data in an S3 bucket, and, if so, the details of the job that // ran most recently. JobDetails *JobDetails `locationName:"jobDetails" type:"structure"` LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"iso8601"` ObjectCount *int64 `locationName:"objectCount" type:"long"` // Provides information about the number of objects that are in an S3 bucket // and use certain types of server-side encryption, use client-side encryption, // or aren't encrypted. ObjectCountByEncryptionType *ObjectCountByEncryptionType `locationName:"objectCountByEncryptionType" type:"structure"` // Provides information about the permissions settings that determine whether // an S3 bucket is publicly accessible. PublicAccess *BucketPublicAccess `locationName:"publicAccess" type:"structure"` Region *string `locationName:"region" type:"string"` // Provides information about settings that define whether one or more objects // in an S3 bucket are replicated to S3 buckets for other Amazon Web Services // accounts and, if so, which accounts. ReplicationDetails *ReplicationDetails `locationName:"replicationDetails" type:"structure"` // Provides information about the default server-side encryption settings for // an S3 bucket. For detailed information about these settings, see Setting // default server-side encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html) // in the Amazon Simple Storage Service User Guide. ServerSideEncryption *BucketServerSideEncryption `locationName:"serverSideEncryption" type:"structure"` SharedAccess *string `locationName:"sharedAccess" type:"string" enum:"SharedAccess"` SizeInBytes *int64 `locationName:"sizeInBytes" type:"long"` SizeInBytesCompressed *int64 `locationName:"sizeInBytesCompressed" type:"long"` Tags []*KeyValuePair `locationName:"tags" type:"list"` // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse // object, this data is aggregated for the buckets in the query results. If // versioning is enabled for a bucket, total storage size values are based on // the size of the latest version of each applicable object in the bucket. UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"` // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse // object, this data is aggregated for the buckets in the query results. If // versioning is enabled for a bucket, total storage size values are based on // the size of the latest version of each applicable object in the bucket. UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"` Versioning *bool `locationName:"versioning" type:"boolean"` // contains filtered or unexported fields }
Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for the versioning property is false and the value for most other properties is null. Exceptions are accountId, bucketArn, bucketCreatedAt, bucketName, lastUpdated, and region. To identify the cause of the error, refer to the errorCode and errorMessage values.
func (s BucketMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketMetadata) SetAccountId(v string) *BucketMetadata
SetAccountId sets the AccountId field's value.
func (s *BucketMetadata) SetAllowsUnencryptedObjectUploads(v string) *BucketMetadata
SetAllowsUnencryptedObjectUploads sets the AllowsUnencryptedObjectUploads field's value.
func (s *BucketMetadata) SetBucketArn(v string) *BucketMetadata
SetBucketArn sets the BucketArn field's value.
func (s *BucketMetadata) SetBucketCreatedAt(v time.Time) *BucketMetadata
SetBucketCreatedAt sets the BucketCreatedAt field's value.
func (s *BucketMetadata) SetBucketName(v string) *BucketMetadata
SetBucketName sets the BucketName field's value.
func (s *BucketMetadata) SetClassifiableObjectCount(v int64) *BucketMetadata
SetClassifiableObjectCount sets the ClassifiableObjectCount field's value.
func (s *BucketMetadata) SetClassifiableSizeInBytes(v int64) *BucketMetadata
SetClassifiableSizeInBytes sets the ClassifiableSizeInBytes field's value.
func (s *BucketMetadata) SetErrorCode(v string) *BucketMetadata
SetErrorCode sets the ErrorCode field's value.
func (s *BucketMetadata) SetErrorMessage(v string) *BucketMetadata
SetErrorMessage sets the ErrorMessage field's value.
func (s *BucketMetadata) SetJobDetails(v *JobDetails) *BucketMetadata
SetJobDetails sets the JobDetails field's value.
func (s *BucketMetadata) SetLastUpdated(v time.Time) *BucketMetadata
SetLastUpdated sets the LastUpdated field's value.
func (s *BucketMetadata) SetObjectCount(v int64) *BucketMetadata
SetObjectCount sets the ObjectCount field's value.
func (s *BucketMetadata) SetObjectCountByEncryptionType(v *ObjectCountByEncryptionType) *BucketMetadata
SetObjectCountByEncryptionType sets the ObjectCountByEncryptionType field's value.
func (s *BucketMetadata) SetPublicAccess(v *BucketPublicAccess) *BucketMetadata
SetPublicAccess sets the PublicAccess field's value.
func (s *BucketMetadata) SetRegion(v string) *BucketMetadata
SetRegion sets the Region field's value.
func (s *BucketMetadata) SetReplicationDetails(v *ReplicationDetails) *BucketMetadata
SetReplicationDetails sets the ReplicationDetails field's value.
func (s *BucketMetadata) SetServerSideEncryption(v *BucketServerSideEncryption) *BucketMetadata
SetServerSideEncryption sets the ServerSideEncryption field's value.
func (s *BucketMetadata) SetSharedAccess(v string) *BucketMetadata
SetSharedAccess sets the SharedAccess field's value.
func (s *BucketMetadata) SetSizeInBytes(v int64) *BucketMetadata
SetSizeInBytes sets the SizeInBytes field's value.
func (s *BucketMetadata) SetSizeInBytesCompressed(v int64) *BucketMetadata
SetSizeInBytesCompressed sets the SizeInBytesCompressed field's value.
func (s *BucketMetadata) SetTags(v []*KeyValuePair) *BucketMetadata
SetTags sets the Tags field's value.
func (s *BucketMetadata) SetUnclassifiableObjectCount(v *ObjectLevelStatistics) *BucketMetadata
SetUnclassifiableObjectCount sets the UnclassifiableObjectCount field's value.
func (s *BucketMetadata) SetUnclassifiableObjectSizeInBytes(v *ObjectLevelStatistics) *BucketMetadata
SetUnclassifiableObjectSizeInBytes sets the UnclassifiableObjectSizeInBytes field's value.
func (s *BucketMetadata) SetVersioning(v bool) *BucketMetadata
SetVersioning sets the Versioning field's value.
func (s BucketMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketPermissionConfiguration struct { // Provides information about the account-level permissions settings that apply // to an S3 bucket. AccountLevelPermissions *AccountLevelPermissions `locationName:"accountLevelPermissions" type:"structure"` // Provides information about the bucket-level permissions settings for an S3 // bucket. BucketLevelPermissions *BucketLevelPermissions `locationName:"bucketLevelPermissions" type:"structure"` // contains filtered or unexported fields }
Provides information about the account-level and bucket-level permissions settings for an S3 bucket.
func (s BucketPermissionConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketPermissionConfiguration) SetAccountLevelPermissions(v *AccountLevelPermissions) *BucketPermissionConfiguration
SetAccountLevelPermissions sets the AccountLevelPermissions field's value.
func (s *BucketPermissionConfiguration) SetBucketLevelPermissions(v *BucketLevelPermissions) *BucketPermissionConfiguration
SetBucketLevelPermissions sets the BucketLevelPermissions field's value.
func (s BucketPermissionConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketPolicy struct {
AllowsPublicReadAccess *bool `locationName:"allowsPublicReadAccess" type:"boolean"`
AllowsPublicWriteAccess *bool `locationName:"allowsPublicWriteAccess" type:"boolean"`
// contains filtered or unexported fields
}
Provides information about the permissions settings of the bucket policy for an S3 bucket.
func (s BucketPolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketPolicy) SetAllowsPublicReadAccess(v bool) *BucketPolicy
SetAllowsPublicReadAccess sets the AllowsPublicReadAccess field's value.
func (s *BucketPolicy) SetAllowsPublicWriteAccess(v bool) *BucketPolicy
SetAllowsPublicWriteAccess sets the AllowsPublicWriteAccess field's value.
func (s BucketPolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketPublicAccess struct { EffectivePermission *string `locationName:"effectivePermission" type:"string" enum:"EffectivePermission"` // Provides information about the account-level and bucket-level permissions // settings for an S3 bucket. PermissionConfiguration *BucketPermissionConfiguration `locationName:"permissionConfiguration" type:"structure"` // contains filtered or unexported fields }
Provides information about the permissions settings that determine whether an S3 bucket is publicly accessible.
func (s BucketPublicAccess) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketPublicAccess) SetEffectivePermission(v string) *BucketPublicAccess
SetEffectivePermission sets the EffectivePermission field's value.
func (s *BucketPublicAccess) SetPermissionConfiguration(v *BucketPermissionConfiguration) *BucketPublicAccess
SetPermissionConfiguration sets the PermissionConfiguration field's value.
func (s BucketPublicAccess) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketServerSideEncryption struct {
KmsMasterKeyId *string `locationName:"kmsMasterKeyId" type:"string"`
Type *string `locationName:"type" type:"string" enum:"Type"`
// contains filtered or unexported fields
}
Provides information about the default server-side encryption settings for an S3 bucket. For detailed information about these settings, see Setting default server-side encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html) in the Amazon Simple Storage Service User Guide.
func (s BucketServerSideEncryption) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketServerSideEncryption) SetKmsMasterKeyId(v string) *BucketServerSideEncryption
SetKmsMasterKeyId sets the KmsMasterKeyId field's value.
func (s *BucketServerSideEncryption) SetType(v string) *BucketServerSideEncryption
SetType sets the Type field's value.
func (s BucketServerSideEncryption) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BucketSortCriteria struct {
AttributeName *string `locationName:"attributeName" type:"string"`
OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
// contains filtered or unexported fields
}
Specifies criteria for sorting the results of a query for information about S3 buckets.
func (s BucketSortCriteria) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BucketSortCriteria) SetAttributeName(v string) *BucketSortCriteria
SetAttributeName sets the AttributeName field's value.
func (s *BucketSortCriteria) SetOrderBy(v string) *BucketSortCriteria
SetOrderBy sets the OrderBy field's value.
func (s BucketSortCriteria) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Cell struct {
CellReference *string `locationName:"cellReference" type:"string"`
Column *int64 `locationName:"column" type:"long"`
ColumnName *string `locationName:"columnName" type:"string"`
Row *int64 `locationName:"row" type:"long"`
// contains filtered or unexported fields
}
Specifies the location of an occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file.
func (s Cell) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Cell) SetCellReference(v string) *Cell
SetCellReference sets the CellReference field's value.
func (s *Cell) SetColumn(v int64) *Cell
SetColumn sets the Column field's value.
func (s *Cell) SetColumnName(v string) *Cell
SetColumnName sets the ColumnName field's value.
func (s *Cell) SetRow(v int64) *Cell
SetRow sets the Row field's value.
func (s Cell) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ClassificationDetails struct { DetailedResultsLocation *string `locationName:"detailedResultsLocation" type:"string"` JobArn *string `locationName:"jobArn" type:"string"` JobId *string `locationName:"jobId" type:"string"` // Specifies how Amazon Macie found the sensitive data that produced a finding. // The only possible value is: OriginType *string `locationName:"originType" type:"string" enum:"OriginType"` // Provides the details of a sensitive data finding, including the types, number // of occurrences, and locations of the sensitive data that was detected. Result *ClassificationResult `locationName:"result" type:"structure"` // contains filtered or unexported fields }
Provides information about a sensitive data finding and the details of the finding.
func (s ClassificationDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ClassificationDetails) SetDetailedResultsLocation(v string) *ClassificationDetails
SetDetailedResultsLocation sets the DetailedResultsLocation field's value.
func (s *ClassificationDetails) SetJobArn(v string) *ClassificationDetails
SetJobArn sets the JobArn field's value.
func (s *ClassificationDetails) SetJobId(v string) *ClassificationDetails
SetJobId sets the JobId field's value.
func (s *ClassificationDetails) SetOriginType(v string) *ClassificationDetails
SetOriginType sets the OriginType field's value.
func (s *ClassificationDetails) SetResult(v *ClassificationResult) *ClassificationDetails
SetResult sets the Result field's value.
func (s ClassificationDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ClassificationExportConfiguration struct { // Specifies an S3 bucket to store data classification results in, and the encryption // settings to use when storing results in that bucket. S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` // contains filtered or unexported fields }
Specifies where to store data classification results, and the encryption settings to use when storing results in that location. Currently, you can store classification results only in an S3 bucket.
func (s ClassificationExportConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ClassificationExportConfiguration) SetS3Destination(v *S3Destination) *ClassificationExportConfiguration
SetS3Destination sets the S3Destination field's value.
func (s ClassificationExportConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ClassificationExportConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ClassificationResult struct { AdditionalOccurrences *bool `locationName:"additionalOccurrences" type:"boolean"` // Provides information about custom data identifiers that produced a sensitive // data finding, and the number of occurrences of the data that they detected // for the finding. CustomDataIdentifiers *CustomDataIdentifiers `locationName:"customDataIdentifiers" type:"structure"` MimeType *string `locationName:"mimeType" type:"string"` // Provides information about the category and number of occurrences of sensitive // data that produced a finding. SensitiveData []*SensitiveDataItem `locationName:"sensitiveData" type:"list"` SizeClassified *int64 `locationName:"sizeClassified" type:"long"` // Provides information about the status of a sensitive data finding. Status *ClassificationResultStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
Provides the details of a sensitive data finding, including the types, number of occurrences, and locations of the sensitive data that was detected.
func (s ClassificationResult) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ClassificationResult) SetAdditionalOccurrences(v bool) *ClassificationResult
SetAdditionalOccurrences sets the AdditionalOccurrences field's value.
func (s *ClassificationResult) SetCustomDataIdentifiers(v *CustomDataIdentifiers) *ClassificationResult
SetCustomDataIdentifiers sets the CustomDataIdentifiers field's value.
func (s *ClassificationResult) SetMimeType(v string) *ClassificationResult
SetMimeType sets the MimeType field's value.
func (s *ClassificationResult) SetSensitiveData(v []*SensitiveDataItem) *ClassificationResult
SetSensitiveData sets the SensitiveData field's value.
func (s *ClassificationResult) SetSizeClassified(v int64) *ClassificationResult
SetSizeClassified sets the SizeClassified field's value.
func (s *ClassificationResult) SetStatus(v *ClassificationResultStatus) *ClassificationResult
SetStatus sets the Status field's value.
func (s ClassificationResult) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ClassificationResultStatus struct {
Code *string `locationName:"code" type:"string"`
Reason *string `locationName:"reason" type:"string"`
// contains filtered or unexported fields
}
Provides information about the status of a sensitive data finding.
func (s ClassificationResultStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ClassificationResultStatus) SetCode(v string) *ClassificationResultStatus
SetCode sets the Code field's value.
func (s *ClassificationResultStatus) SetReason(v string) *ClassificationResultStatus
SetReason sets the Reason field's value.
func (s ClassificationResultStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Provides information about an error that occurred due to a versioning conflict for a specified resource.
func (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateClassificationJobInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` CustomDataIdentifierIds []*string `locationName:"customDataIdentifierIds" type:"list"` Description *string `locationName:"description" type:"string"` InitialRun *bool `locationName:"initialRun" type:"boolean"` // The schedule for running a classification job. Valid values are: // // JobType is a required field JobType *string `locationName:"jobType" type:"string" required:"true" enum:"JobType"` ManagedDataIdentifierIds []*string `locationName:"managedDataIdentifierIds" type:"list"` // The selection type that determines which managed data identifiers a classification // job uses to analyze data. Valid values are: ManagedDataIdentifierSelector *string `locationName:"managedDataIdentifierSelector" type:"string" enum:"ManagedDataIdentifierSelector"` // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // Specifies which S3 buckets contain the objects that a classification job // analyzes, and the scope of that analysis. The bucket specification can be // static (bucketDefinitions) or dynamic (bucketCriteria). If it's static, the // job analyzes objects in the same predefined set of buckets each time the // job runs. If it's dynamic, the job analyzes objects in any buckets that match // the specified criteria each time the job starts to run. // // S3JobDefinition is a required field S3JobDefinition *S3JobDefinition `locationName:"s3JobDefinition" type:"structure" required:"true"` SamplingPercentage *int64 `locationName:"samplingPercentage" type:"integer"` // Specifies the recurrence pattern for running a classification job. ScheduleFrequency *JobScheduleFrequency `locationName:"scheduleFrequency" type:"structure"` // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Specifies the scope, schedule, and other settings for a classification job. You can't change any settings for a classification job after you create it. This helps ensure that you have an immutable history of sensitive data findings and discovery results for data privacy and protection audits or investigations.
func (s CreateClassificationJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateClassificationJobInput) SetClientToken(v string) *CreateClassificationJobInput
SetClientToken sets the ClientToken field's value.
func (s *CreateClassificationJobInput) SetCustomDataIdentifierIds(v []*string) *CreateClassificationJobInput
SetCustomDataIdentifierIds sets the CustomDataIdentifierIds field's value.
func (s *CreateClassificationJobInput) SetDescription(v string) *CreateClassificationJobInput
SetDescription sets the Description field's value.
func (s *CreateClassificationJobInput) SetInitialRun(v bool) *CreateClassificationJobInput
SetInitialRun sets the InitialRun field's value.
func (s *CreateClassificationJobInput) SetJobType(v string) *CreateClassificationJobInput
SetJobType sets the JobType field's value.
func (s *CreateClassificationJobInput) SetManagedDataIdentifierIds(v []*string) *CreateClassificationJobInput
SetManagedDataIdentifierIds sets the ManagedDataIdentifierIds field's value.
func (s *CreateClassificationJobInput) SetManagedDataIdentifierSelector(v string) *CreateClassificationJobInput
SetManagedDataIdentifierSelector sets the ManagedDataIdentifierSelector field's value.
func (s *CreateClassificationJobInput) SetName(v string) *CreateClassificationJobInput
SetName sets the Name field's value.
func (s *CreateClassificationJobInput) SetS3JobDefinition(v *S3JobDefinition) *CreateClassificationJobInput
SetS3JobDefinition sets the S3JobDefinition field's value.
func (s *CreateClassificationJobInput) SetSamplingPercentage(v int64) *CreateClassificationJobInput
SetSamplingPercentage sets the SamplingPercentage field's value.
func (s *CreateClassificationJobInput) SetScheduleFrequency(v *JobScheduleFrequency) *CreateClassificationJobInput
SetScheduleFrequency sets the ScheduleFrequency field's value.
func (s *CreateClassificationJobInput) SetTags(v map[string]*string) *CreateClassificationJobInput
SetTags sets the Tags field's value.
func (s CreateClassificationJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateClassificationJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateClassificationJobOutput struct {
JobArn *string `locationName:"jobArn" type:"string"`
JobId *string `locationName:"jobId" type:"string"`
// contains filtered or unexported fields
}
Provides information about a classification job that was created in response to a request.
func (s CreateClassificationJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateClassificationJobOutput) SetJobArn(v string) *CreateClassificationJobOutput
SetJobArn sets the JobArn field's value.
func (s *CreateClassificationJobOutput) SetJobId(v string) *CreateClassificationJobOutput
SetJobId sets the JobId field's value.
func (s CreateClassificationJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateCustomDataIdentifierInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` Description *string `locationName:"description" type:"string"` IgnoreWords []*string `locationName:"ignoreWords" type:"list"` Keywords []*string `locationName:"keywords" type:"list"` MaximumMatchDistance *int64 `locationName:"maximumMatchDistance" type:"integer"` // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // Regex is a required field Regex *string `locationName:"regex" type:"string" required:"true"` // The severity to assign to findings that the custom data identifier produces, // based on the number of occurrences of text that matches the custom data identifier's // detection criteria. You can specify as many as three SeverityLevel objects // in this array, one for each severity: LOW, MEDIUM, or HIGH. If you specify // more than one, the occurrences thresholds must be in ascending order by severity, // moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for // HIGH. If an S3 object contains fewer occurrences than the lowest specified // threshold, Amazon Macie doesn't create a finding. // // If you don't specify any values for this array, Macie creates findings for // S3 objects that contain at least one occurrence of text that matches the // detection criteria, and Macie automatically assigns the MEDIUM severity to // those findings. SeverityLevels []*SeverityLevel `locationName:"severityLevels" type:"list"` // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Specifies the detection criteria and other settings for a custom data identifier. You can't change a custom data identifier after you create it. This helps ensure that you have an immutable history of sensitive data findings and discovery results for data privacy and protection audits or investigations.
func (s CreateCustomDataIdentifierInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateCustomDataIdentifierInput) SetClientToken(v string) *CreateCustomDataIdentifierInput
SetClientToken sets the ClientToken field's value.
func (s *CreateCustomDataIdentifierInput) SetDescription(v string) *CreateCustomDataIdentifierInput
SetDescription sets the Description field's value.
func (s *CreateCustomDataIdentifierInput) SetIgnoreWords(v []*string) *CreateCustomDataIdentifierInput
SetIgnoreWords sets the IgnoreWords field's value.
func (s *CreateCustomDataIdentifierInput) SetKeywords(v []*string) *CreateCustomDataIdentifierInput
SetKeywords sets the Keywords field's value.
func (s *CreateCustomDataIdentifierInput) SetMaximumMatchDistance(v int64) *CreateCustomDataIdentifierInput
SetMaximumMatchDistance sets the MaximumMatchDistance field's value.
func (s *CreateCustomDataIdentifierInput) SetName(v string) *CreateCustomDataIdentifierInput
SetName sets the Name field's value.
func (s *CreateCustomDataIdentifierInput) SetRegex(v string) *CreateCustomDataIdentifierInput
SetRegex sets the Regex field's value.
func (s *CreateCustomDataIdentifierInput) SetSeverityLevels(v []*SeverityLevel) *CreateCustomDataIdentifierInput
SetSeverityLevels sets the SeverityLevels field's value.
func (s *CreateCustomDataIdentifierInput) SetTags(v map[string]*string) *CreateCustomDataIdentifierInput
SetTags sets the Tags field's value.
func (s CreateCustomDataIdentifierInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateCustomDataIdentifierInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCustomDataIdentifierOutput struct {
CustomDataIdentifierId *string `locationName:"customDataIdentifierId" type:"string"`
// contains filtered or unexported fields
}
Provides information about a custom data identifier that was created in response to a request.
func (s CreateCustomDataIdentifierOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateCustomDataIdentifierOutput) SetCustomDataIdentifierId(v string) *CreateCustomDataIdentifierOutput
SetCustomDataIdentifierId sets the CustomDataIdentifierId field's value.
func (s CreateCustomDataIdentifierOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateFindingsFilterInput struct { // The action to perform on findings that meet the filter criteria. To suppress // (automatically archive) findings that meet the criteria, set this value to // ARCHIVE. Valid values are: // // Action is a required field Action *string `locationName:"action" type:"string" required:"true" enum:"FindingsFilterAction"` ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` Description *string `locationName:"description" type:"string"` // Specifies, as a map, one or more property-based conditions that filter the // results of a query for findings. // // FindingCriteria is a required field FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure" required:"true"` // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` Position *int64 `locationName:"position" type:"integer"` // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Specifies the criteria and other settings for a new findings filter.
func (s CreateFindingsFilterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateFindingsFilterInput) SetAction(v string) *CreateFindingsFilterInput
SetAction sets the Action field's value.
func (s *CreateFindingsFilterInput) SetClientToken(v string) *CreateFindingsFilterInput
SetClientToken sets the ClientToken field's value.
func (s *CreateFindingsFilterInput) SetDescription(v string) *CreateFindingsFilterInput
SetDescription sets the Description field's value.
func (s *CreateFindingsFilterInput) SetFindingCriteria(v *FindingCriteria) *CreateFindingsFilterInput
SetFindingCriteria sets the FindingCriteria field's value.
func (s *CreateFindingsFilterInput) SetName(v string) *CreateFindingsFilterInput
SetName sets the Name field's value.
func (s *CreateFindingsFilterInput) SetPosition(v int64) *CreateFindingsFilterInput
SetPosition sets the Position field's value.
func (s *CreateFindingsFilterInput) SetTags(v map[string]*string) *CreateFindingsFilterInput
SetTags sets the Tags field's value.
func (s CreateFindingsFilterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateFindingsFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFindingsFilterOutput struct {
Arn *string `locationName:"arn" type:"string"`
Id *string `locationName:"id" type:"string"`
// contains filtered or unexported fields
}
Provides information about a findings filter that was created in response to a request.
func (s CreateFindingsFilterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateFindingsFilterOutput) SetArn(v string) *CreateFindingsFilterOutput
SetArn sets the Arn field's value.
func (s *CreateFindingsFilterOutput) SetId(v string) *CreateFindingsFilterOutput
SetId sets the Id field's value.
func (s CreateFindingsFilterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateInvitationsInput struct { // AccountIds is a required field AccountIds []*string `locationName:"accountIds" type:"list" required:"true"` DisableEmailNotification *bool `locationName:"disableEmailNotification" type:"boolean"` Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Specifies the settings for an Amazon Macie membership invitation. When you send an invitation, Macie notifies the recipient by creating an Health event for the recipient's account and, if Macie is already enabled for the account, displaying an Accounts badge and notification on the recipient's console. You can optionally notify the recipient by also sending the invitation as an email message.
func (s CreateInvitationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateInvitationsInput) SetAccountIds(v []*string) *CreateInvitationsInput
SetAccountIds sets the AccountIds field's value.
func (s *CreateInvitationsInput) SetDisableEmailNotification(v bool) *CreateInvitationsInput
SetDisableEmailNotification sets the DisableEmailNotification field's value.
func (s *CreateInvitationsInput) SetMessage(v string) *CreateInvitationsInput
SetMessage sets the Message field's value.
func (s CreateInvitationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateInvitationsOutput struct { UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
Provides information about an unprocessed request to send an Amazon Macie membership invitation to a specific account.
func (s CreateInvitationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *CreateInvitationsOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (s CreateInvitationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateMemberInput struct { // Specifies the details of an account to associate with an Amazon Macie administrator // account. // // Account is a required field Account *AccountDetail `locationName:"account" type:"structure" required:"true"` // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Specifies an Amazon Web Services account to associate with an Amazon Macie administrator account.
func (s CreateMemberInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateMemberInput) SetAccount(v *AccountDetail) *CreateMemberInput
SetAccount sets the Account field's value.
func (s *CreateMemberInput) SetTags(v map[string]*string) *CreateMemberInput
SetTags sets the Tags field's value.
func (s CreateMemberInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMemberOutput struct {
Arn *string `locationName:"arn" type:"string"`
// contains filtered or unexported fields
}
Provides information about a request to associate an account with an Amazon Macie administrator account.
func (s CreateMemberOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateMemberOutput) SetArn(v string) *CreateMemberOutput
SetArn sets the Arn field's value.
func (s CreateMemberOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateSampleFindingsInput struct {
FindingTypes []*string `locationName:"findingTypes" type:"list" enum:"FindingType"`
// contains filtered or unexported fields
}
Specifies the types of sample findings to create.
func (s CreateSampleFindingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateSampleFindingsInput) SetFindingTypes(v []*string) *CreateSampleFindingsInput
SetFindingTypes sets the FindingTypes field's value.
func (s CreateSampleFindingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateSampleFindingsOutput struct {
// contains filtered or unexported fields
}
func (s CreateSampleFindingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s CreateSampleFindingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CriteriaBlockForJob struct { And []*CriteriaForJob `locationName:"and" type:"list"` // contains filtered or unexported fields }
Specifies one or more property- and tag-based conditions that define criteria for including or excluding S3 buckets from a classification job.
func (s CriteriaBlockForJob) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CriteriaBlockForJob) SetAnd(v []*CriteriaForJob) *CriteriaBlockForJob
SetAnd sets the And field's value.
func (s CriteriaBlockForJob) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CriteriaForJob struct { // Specifies a property-based condition that determines whether an S3 bucket // is included or excluded from a classification job. SimpleCriterion *SimpleCriterionForJob `locationName:"simpleCriterion" type:"structure"` // Specifies a tag-based condition that determines whether an S3 bucket is included // or excluded from a classification job. TagCriterion *TagCriterionForJob `locationName:"tagCriterion" type:"structure"` // contains filtered or unexported fields }
Specifies a property- or tag-based condition that defines criteria for including or excluding S3 buckets from a classification job.
func (s CriteriaForJob) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CriteriaForJob) SetSimpleCriterion(v *SimpleCriterionForJob) *CriteriaForJob
SetSimpleCriterion sets the SimpleCriterion field's value.
func (s *CriteriaForJob) SetTagCriterion(v *TagCriterionForJob) *CriteriaForJob
SetTagCriterion sets the TagCriterion field's value.
func (s CriteriaForJob) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CriterionAdditionalProperties struct {
Eq []*string `locationName:"eq" type:"list"`
EqExactMatch []*string `locationName:"eqExactMatch" type:"list"`
Gt *int64 `locationName:"gt" type:"long"`
Gte *int64 `locationName:"gte" type:"long"`
Lt *int64 `locationName:"lt" type:"long"`
Lte *int64 `locationName:"lte" type:"long"`
Neq []*string `locationName:"neq" type:"list"`
// contains filtered or unexported fields
}
Specifies the operator to use in a property-based condition that filters the results of a query for findings. For detailed information and examples of each operator, see Fundamentals of filtering findings (https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html) in the Amazon Macie User Guide.
func (s CriterionAdditionalProperties) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CriterionAdditionalProperties) SetEq(v []*string) *CriterionAdditionalProperties
SetEq sets the Eq field's value.
func (s *CriterionAdditionalProperties) SetEqExactMatch(v []*string) *CriterionAdditionalProperties
SetEqExactMatch sets the EqExactMatch field's value.
func (s *CriterionAdditionalProperties) SetGt(v int64) *CriterionAdditionalProperties
SetGt sets the Gt field's value.
func (s *CriterionAdditionalProperties) SetGte(v int64) *CriterionAdditionalProperties
SetGte sets the Gte field's value.
func (s *CriterionAdditionalProperties) SetLt(v int64) *CriterionAdditionalProperties
SetLt sets the Lt field's value.
func (s *CriterionAdditionalProperties) SetLte(v int64) *CriterionAdditionalProperties
SetLte sets the Lte field's value.
func (s *CriterionAdditionalProperties) SetNeq(v []*string) *CriterionAdditionalProperties
SetNeq sets the Neq field's value.
func (s CriterionAdditionalProperties) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CustomDataIdentifierSummary struct {
Arn *string `locationName:"arn" type:"string"`
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
Description *string `locationName:"description" type:"string"`
Id *string `locationName:"id" type:"string"`
Name *string `locationName:"name" type:"string"`
// contains filtered or unexported fields
}
Provides information about a custom data identifier.
func (s CustomDataIdentifierSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CustomDataIdentifierSummary) SetArn(v string) *CustomDataIdentifierSummary
SetArn sets the Arn field's value.
func (s *CustomDataIdentifierSummary) SetCreatedAt(v time.Time) *CustomDataIdentifierSummary
SetCreatedAt sets the CreatedAt field's value.
func (s *CustomDataIdentifierSummary) SetDescription(v string) *CustomDataIdentifierSummary
SetDescription sets the Description field's value.
func (s *CustomDataIdentifierSummary) SetId(v string) *CustomDataIdentifierSummary
SetId sets the Id field's value.
func (s *CustomDataIdentifierSummary) SetName(v string) *CustomDataIdentifierSummary
SetName sets the Name field's value.
func (s CustomDataIdentifierSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CustomDataIdentifiers struct { // Provides information about custom data identifiers that produced a sensitive // data finding, and the number of occurrences of the data that each identifier // detected. Detections []*CustomDetection `locationName:"detections" type:"list"` TotalCount *int64 `locationName:"totalCount" type:"long"` // contains filtered or unexported fields }
Provides information about custom data identifiers that produced a sensitive data finding, and the number of occurrences of the data that they detected for the finding.
func (s CustomDataIdentifiers) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CustomDataIdentifiers) SetDetections(v []*CustomDetection) *CustomDataIdentifiers
SetDetections sets the Detections field's value.
func (s *CustomDataIdentifiers) SetTotalCount(v int64) *CustomDataIdentifiers
SetTotalCount sets the TotalCount field's value.
func (s CustomDataIdentifiers) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CustomDetection struct { Arn *string `locationName:"arn" type:"string"` Count *int64 `locationName:"count" type:"long"` Name *string `locationName:"name" type:"string"` // Specifies the location of 1-15 occurrences of sensitive data that was detected // by a managed data identifier or a custom data identifier and produced a sensitive // data finding. Occurrences *Occurrences `locationName:"occurrences" type:"structure"` // contains filtered or unexported fields }
Provides information about a custom data identifier that produced a sensitive data finding, and the sensitive data that it detected for the finding.
func (s CustomDetection) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CustomDetection) SetArn(v string) *CustomDetection
SetArn sets the Arn field's value.
func (s *CustomDetection) SetCount(v int64) *CustomDetection
SetCount sets the Count field's value.
func (s *CustomDetection) SetName(v string) *CustomDetection
SetName sets the Name field's value.
func (s *CustomDetection) SetOccurrences(v *Occurrences) *CustomDetection
SetOccurrences sets the Occurrences field's value.
func (s CustomDetection) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DailySchedule struct {
// contains filtered or unexported fields
}
Specifies that a classification job runs once a day, every day. This is an empty object.
func (s DailySchedule) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DailySchedule) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeclineInvitationsInput struct { // AccountIds is a required field AccountIds []*string `locationName:"accountIds" type:"list" required:"true"` // contains filtered or unexported fields }
Specifies one or more accounts that sent Amazon Macie membership invitations to decline.
func (s DeclineInvitationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeclineInvitationsInput) SetAccountIds(v []*string) *DeclineInvitationsInput
SetAccountIds sets the AccountIds field's value.
func (s DeclineInvitationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeclineInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeclineInvitationsOutput struct { UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
Provides information about unprocessed requests to decline Amazon Macie membership invitations that were received from specific accounts.
func (s DeclineInvitationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeclineInvitationsOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (s DeclineInvitationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DefaultDetection struct { Count *int64 `locationName:"count" type:"long"` // Specifies the location of 1-15 occurrences of sensitive data that was detected // by a managed data identifier or a custom data identifier and produced a sensitive // data finding. Occurrences *Occurrences `locationName:"occurrences" type:"structure"` Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Provides information about a type of sensitive data that was detected by a managed data identifier and produced a sensitive data finding.
func (s DefaultDetection) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DefaultDetection) SetCount(v int64) *DefaultDetection
SetCount sets the Count field's value.
func (s *DefaultDetection) SetOccurrences(v *Occurrences) *DefaultDetection
SetOccurrences sets the Occurrences field's value.
func (s *DefaultDetection) SetType(v string) *DefaultDetection
SetType sets the Type field's value.
func (s DefaultDetection) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteCustomDataIdentifierInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteCustomDataIdentifierInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteCustomDataIdentifierInput) SetId(v string) *DeleteCustomDataIdentifierInput
SetId sets the Id field's value.
func (s DeleteCustomDataIdentifierInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteCustomDataIdentifierInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCustomDataIdentifierOutput struct {
// contains filtered or unexported fields
}
func (s DeleteCustomDataIdentifierOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteCustomDataIdentifierOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteFindingsFilterInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteFindingsFilterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteFindingsFilterInput) SetId(v string) *DeleteFindingsFilterInput
SetId sets the Id field's value.
func (s DeleteFindingsFilterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteFindingsFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFindingsFilterOutput struct {
// contains filtered or unexported fields
}
func (s DeleteFindingsFilterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteFindingsFilterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteInvitationsInput struct { // AccountIds is a required field AccountIds []*string `locationName:"accountIds" type:"list" required:"true"` // contains filtered or unexported fields }
Specifies one or more accounts that sent Amazon Macie membership invitations to delete.
func (s DeleteInvitationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteInvitationsInput) SetAccountIds(v []*string) *DeleteInvitationsInput
SetAccountIds sets the AccountIds field's value.
func (s DeleteInvitationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteInvitationsOutput struct { UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
Provides information about unprocessed requests to delete Amazon Macie membership invitations that were received from specific accounts.
func (s DeleteInvitationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteInvitationsOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (s DeleteInvitationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteMemberInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteMemberInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteMemberInput) SetId(v string) *DeleteMemberInput
SetId sets the Id field's value.
func (s DeleteMemberInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMemberOutput struct {
// contains filtered or unexported fields
}
func (s DeleteMemberOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteMemberOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeBucketsInput struct { // Specifies, as a map, one or more property-based conditions that filter the // results of a query for information about S3 buckets. Criteria map[string]*BucketCriteriaAdditionalProperties `locationName:"criteria" type:"map"` MaxResults *int64 `locationName:"maxResults" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` // Specifies criteria for sorting the results of a query for information about // S3 buckets. SortCriteria *BucketSortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
Specifies criteria for filtering, sorting, and paginating the results of a query for statistical data and other information about S3 buckets.
func (s DescribeBucketsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeBucketsInput) SetCriteria(v map[string]*BucketCriteriaAdditionalProperties) *DescribeBucketsInput
SetCriteria sets the Criteria field's value.
func (s *DescribeBucketsInput) SetMaxResults(v int64) *DescribeBucketsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeBucketsInput) SetNextToken(v string) *DescribeBucketsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeBucketsInput) SetSortCriteria(v *BucketSortCriteria) *DescribeBucketsInput
SetSortCriteria sets the SortCriteria field's value.
func (s DescribeBucketsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeBucketsOutput struct { Buckets []*BucketMetadata `locationName:"buckets" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Provides the results of a query that retrieved statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for your account.
func (s DescribeBucketsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeBucketsOutput) SetBuckets(v []*BucketMetadata) *DescribeBucketsOutput
SetBuckets sets the Buckets field's value.
func (s *DescribeBucketsOutput) SetNextToken(v string) *DescribeBucketsOutput
SetNextToken sets the NextToken field's value.
func (s DescribeBucketsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeClassificationJobInput struct { // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeClassificationJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeClassificationJobInput) SetJobId(v string) *DescribeClassificationJobInput
SetJobId sets the JobId field's value.
func (s DescribeClassificationJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeClassificationJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeClassificationJobOutput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` CustomDataIdentifierIds []*string `locationName:"customDataIdentifierIds" type:"list"` Description *string `locationName:"description" type:"string"` InitialRun *bool `locationName:"initialRun" type:"boolean"` JobArn *string `locationName:"jobArn" type:"string"` JobId *string `locationName:"jobId" type:"string"` // The status of a classification job. Possible values are: JobStatus *string `locationName:"jobStatus" type:"string" enum:"JobStatus"` // The schedule for running a classification job. Valid values are: JobType *string `locationName:"jobType" type:"string" enum:"JobType"` // Specifies whether any account- or bucket-level access errors occurred when // a classification job ran. For information about using logging data to investigate // these errors, see Monitoring sensitive data discovery jobs (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-monitor-cw-logs.html) // in the Amazon Macie User Guide. LastRunErrorStatus *LastRunErrorStatus `locationName:"lastRunErrorStatus" type:"structure"` LastRunTime *time.Time `locationName:"lastRunTime" type:"timestamp" timestampFormat:"iso8601"` ManagedDataIdentifierIds []*string `locationName:"managedDataIdentifierIds" type:"list"` // The selection type that determines which managed data identifiers a classification // job uses to analyze data. Valid values are: ManagedDataIdentifierSelector *string `locationName:"managedDataIdentifierSelector" type:"string" enum:"ManagedDataIdentifierSelector"` Name *string `locationName:"name" type:"string"` // Specifies which S3 buckets contain the objects that a classification job // analyzes, and the scope of that analysis. The bucket specification can be // static (bucketDefinitions) or dynamic (bucketCriteria). If it's static, the // job analyzes objects in the same predefined set of buckets each time the // job runs. If it's dynamic, the job analyzes objects in any buckets that match // the specified criteria each time the job starts to run. S3JobDefinition *S3JobDefinition `locationName:"s3JobDefinition" type:"structure"` SamplingPercentage *int64 `locationName:"samplingPercentage" type:"integer"` // Specifies the recurrence pattern for running a classification job. ScheduleFrequency *JobScheduleFrequency `locationName:"scheduleFrequency" type:"structure"` // Provides processing statistics for a classification job. Statistics *Statistics `locationName:"statistics" type:"structure"` // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` // Provides information about when a classification job was paused. For a one-time // job, this object also specifies when the job will expire and be cancelled // if it isn't resumed. For a recurring job, this object also specifies when // the paused job run will expire and be cancelled if it isn't resumed. This // object is present only if a job's current status (jobStatus) is USER_PAUSED. // The information in this object applies only to a job that was paused while // it had a status of RUNNING. UserPausedDetails *UserPausedDetails `locationName:"userPausedDetails" type:"structure"` // contains filtered or unexported fields }
Provides information about a classification job, including the current configuration settings and status of the job.
func (s DescribeClassificationJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeClassificationJobOutput) SetClientToken(v string) *DescribeClassificationJobOutput
SetClientToken sets the ClientToken field's value.
func (s *DescribeClassificationJobOutput) SetCreatedAt(v time.Time) *DescribeClassificationJobOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *DescribeClassificationJobOutput) SetCustomDataIdentifierIds(v []*string) *DescribeClassificationJobOutput
SetCustomDataIdentifierIds sets the CustomDataIdentifierIds field's value.
func (s *DescribeClassificationJobOutput) SetDescription(v string) *DescribeClassificationJobOutput
SetDescription sets the Description field's value.
func (s *DescribeClassificationJobOutput) SetInitialRun(v bool) *DescribeClassificationJobOutput
SetInitialRun sets the InitialRun field's value.
func (s *DescribeClassificationJobOutput) SetJobArn(v string) *DescribeClassificationJobOutput
SetJobArn sets the JobArn field's value.
func (s *DescribeClassificationJobOutput) SetJobId(v string) *DescribeClassificationJobOutput
SetJobId sets the JobId field's value.
func (s *DescribeClassificationJobOutput) SetJobStatus(v string) *DescribeClassificationJobOutput
SetJobStatus sets the JobStatus field's value.
func (s *DescribeClassificationJobOutput) SetJobType(v string) *DescribeClassificationJobOutput
SetJobType sets the JobType field's value.
func (s *DescribeClassificationJobOutput) SetLastRunErrorStatus(v *LastRunErrorStatus) *DescribeClassificationJobOutput
SetLastRunErrorStatus sets the LastRunErrorStatus field's value.
func (s *DescribeClassificationJobOutput) SetLastRunTime(v time.Time) *DescribeClassificationJobOutput
SetLastRunTime sets the LastRunTime field's value.
func (s *DescribeClassificationJobOutput) SetManagedDataIdentifierIds(v []*string) *DescribeClassificationJobOutput
SetManagedDataIdentifierIds sets the ManagedDataIdentifierIds field's value.
func (s *DescribeClassificationJobOutput) SetManagedDataIdentifierSelector(v string) *DescribeClassificationJobOutput
SetManagedDataIdentifierSelector sets the ManagedDataIdentifierSelector field's value.
func (s *DescribeClassificationJobOutput) SetName(v string) *DescribeClassificationJobOutput
SetName sets the Name field's value.
func (s *DescribeClassificationJobOutput) SetS3JobDefinition(v *S3JobDefinition) *DescribeClassificationJobOutput
SetS3JobDefinition sets the S3JobDefinition field's value.
func (s *DescribeClassificationJobOutput) SetSamplingPercentage(v int64) *DescribeClassificationJobOutput
SetSamplingPercentage sets the SamplingPercentage field's value.
func (s *DescribeClassificationJobOutput) SetScheduleFrequency(v *JobScheduleFrequency) *DescribeClassificationJobOutput
SetScheduleFrequency sets the ScheduleFrequency field's value.
func (s *DescribeClassificationJobOutput) SetStatistics(v *Statistics) *DescribeClassificationJobOutput
SetStatistics sets the Statistics field's value.
func (s *DescribeClassificationJobOutput) SetTags(v map[string]*string) *DescribeClassificationJobOutput
SetTags sets the Tags field's value.
func (s *DescribeClassificationJobOutput) SetUserPausedDetails(v *UserPausedDetails) *DescribeClassificationJobOutput
SetUserPausedDetails sets the UserPausedDetails field's value.
func (s DescribeClassificationJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeOrganizationConfigurationInput struct {
// contains filtered or unexported fields
}
func (s DescribeOrganizationConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DescribeOrganizationConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeOrganizationConfigurationOutput struct {
AutoEnable *bool `locationName:"autoEnable" type:"boolean"`
MaxAccountLimitReached *bool `locationName:"maxAccountLimitReached" type:"boolean"`
// contains filtered or unexported fields
}
Provides information about the Amazon Macie configuration settings for an organization in Organizations.
func (s DescribeOrganizationConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeOrganizationConfigurationOutput) SetAutoEnable(v bool) *DescribeOrganizationConfigurationOutput
SetAutoEnable sets the AutoEnable field's value.
func (s *DescribeOrganizationConfigurationOutput) SetMaxAccountLimitReached(v bool) *DescribeOrganizationConfigurationOutput
SetMaxAccountLimitReached sets the MaxAccountLimitReached field's value.
func (s DescribeOrganizationConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisableMacieInput struct {
// contains filtered or unexported fields
}
func (s DisableMacieInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisableMacieInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisableMacieOutput struct {
// contains filtered or unexported fields
}
func (s DisableMacieOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisableMacieOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisableOrganizationAdminAccountInput struct { // AdminAccountId is a required field AdminAccountId *string `location:"querystring" locationName:"adminAccountId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DisableOrganizationAdminAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisableOrganizationAdminAccountInput) SetAdminAccountId(v string) *DisableOrganizationAdminAccountInput
SetAdminAccountId sets the AdminAccountId field's value.
func (s DisableOrganizationAdminAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisableOrganizationAdminAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableOrganizationAdminAccountOutput struct {
// contains filtered or unexported fields
}
func (s DisableOrganizationAdminAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisableOrganizationAdminAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateFromAdministratorAccountInput struct {
// contains filtered or unexported fields
}
func (s DisassociateFromAdministratorAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisassociateFromAdministratorAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateFromAdministratorAccountOutput struct {
// contains filtered or unexported fields
}
func (s DisassociateFromAdministratorAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisassociateFromAdministratorAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateFromMasterAccountInput struct {
// contains filtered or unexported fields
}
func (s DisassociateFromMasterAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisassociateFromMasterAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateFromMasterAccountOutput struct {
// contains filtered or unexported fields
}
func (s DisassociateFromMasterAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisassociateFromMasterAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateMemberInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DisassociateMemberInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateMemberInput) SetId(v string) *DisassociateMemberInput
SetId sets the Id field's value.
func (s DisassociateMemberInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateMemberOutput struct {
// contains filtered or unexported fields
}
func (s DisassociateMemberOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisassociateMemberOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DomainDetails struct {
DomainName *string `locationName:"domainName" type:"string"`
// contains filtered or unexported fields
}
Provides information about the domain name of the device that an entity used to perform an action on an affected resource.
func (s DomainDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DomainDetails) SetDomainName(v string) *DomainDetails
SetDomainName sets the DomainName field's value.
func (s DomainDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EnableMacieInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to Security Hub and Amazon // EventBridge (formerly called Amazon CloudWatch Events). For more information, // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` // The status of an Amazon Macie account. Valid values are: Status *string `locationName:"status" type:"string" enum:"MacieStatus"` // contains filtered or unexported fields }
Enables Amazon Macie and specifies the configuration settings for a Macie account.
func (s EnableMacieInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EnableMacieInput) SetClientToken(v string) *EnableMacieInput
SetClientToken sets the ClientToken field's value.
func (s *EnableMacieInput) SetFindingPublishingFrequency(v string) *EnableMacieInput
SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.
func (s *EnableMacieInput) SetStatus(v string) *EnableMacieInput
SetStatus sets the Status field's value.
func (s EnableMacieInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EnableMacieOutput struct {
// contains filtered or unexported fields
}
func (s EnableMacieOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s EnableMacieOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EnableOrganizationAdminAccountInput struct { // AdminAccountId is a required field AdminAccountId *string `locationName:"adminAccountId" type:"string" required:"true"` ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // contains filtered or unexported fields }
Specifies an account to designate as the delegated Amazon Macie administrator account for an organization in Organizations. To submit this request, you must be a user of the Organizations management account.
func (s EnableOrganizationAdminAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EnableOrganizationAdminAccountInput) SetAdminAccountId(v string) *EnableOrganizationAdminAccountInput
SetAdminAccountId sets the AdminAccountId field's value.
func (s *EnableOrganizationAdminAccountInput) SetClientToken(v string) *EnableOrganizationAdminAccountInput
SetClientToken sets the ClientToken field's value.
func (s EnableOrganizationAdminAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EnableOrganizationAdminAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableOrganizationAdminAccountOutput struct {
// contains filtered or unexported fields
}
func (s EnableOrganizationAdminAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s EnableOrganizationAdminAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FederatedUser struct { AccessKeyId *string `locationName:"accessKeyId" type:"string"` AccountId *string `locationName:"accountId" type:"string"` Arn *string `locationName:"arn" type:"string"` PrincipalId *string `locationName:"principalId" type:"string"` // Provides information about a session that was created for an entity that // performed an action by using temporary security credentials. SessionContext *SessionContext `locationName:"sessionContext" type:"structure"` // contains filtered or unexported fields }
Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the GetFederationToken operation of the Security Token Service (STS) API.
func (s FederatedUser) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FederatedUser) SetAccessKeyId(v string) *FederatedUser
SetAccessKeyId sets the AccessKeyId field's value.
func (s *FederatedUser) SetAccountId(v string) *FederatedUser
SetAccountId sets the AccountId field's value.
func (s *FederatedUser) SetArn(v string) *FederatedUser
SetArn sets the Arn field's value.
func (s *FederatedUser) SetPrincipalId(v string) *FederatedUser
SetPrincipalId sets the PrincipalId field's value.
func (s *FederatedUser) SetSessionContext(v *SessionContext) *FederatedUser
SetSessionContext sets the SessionContext field's value.
func (s FederatedUser) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Finding struct { AccountId *string `locationName:"accountId" type:"string"` Archived *bool `locationName:"archived" type:"boolean"` // The category of the finding. Valid values are: Category *string `locationName:"category" type:"string" enum:"FindingCategory"` // Provides information about a sensitive data finding and the details of the // finding. ClassificationDetails *ClassificationDetails `locationName:"classificationDetails" type:"structure"` Count *int64 `locationName:"count" type:"long"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` Description *string `locationName:"description" type:"string"` Id *string `locationName:"id" type:"string"` Partition *string `locationName:"partition" type:"string"` // Provides the details of a policy finding. PolicyDetails *PolicyDetails `locationName:"policyDetails" type:"structure"` Region *string `locationName:"region" type:"string"` // Provides information about the resources that a finding applies to. ResourcesAffected *ResourcesAffected `locationName:"resourcesAffected" type:"structure"` Sample *bool `locationName:"sample" type:"boolean"` SchemaVersion *string `locationName:"schemaVersion" type:"string"` // Provides the numerical and qualitative representations of a finding's severity. Severity *Severity `locationName:"severity" type:"structure"` Title *string `locationName:"title" type:"string"` // The type of finding. For details about each type, see Types of Amazon Macie // findings (https://docs.aws.amazon.com/macie/latest/user/findings-types.html) // in the Amazon Macie User Guide. Valid values are: Type *string `locationName:"type" type:"string" enum:"FindingType"` UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
Provides the details of a finding.
func (s Finding) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Finding) SetAccountId(v string) *Finding
SetAccountId sets the AccountId field's value.
func (s *Finding) SetArchived(v bool) *Finding
SetArchived sets the Archived field's value.
func (s *Finding) SetCategory(v string) *Finding
SetCategory sets the Category field's value.
func (s *Finding) SetClassificationDetails(v *ClassificationDetails) *Finding
SetClassificationDetails sets the ClassificationDetails field's value.
func (s *Finding) SetCount(v int64) *Finding
SetCount sets the Count field's value.
func (s *Finding) SetCreatedAt(v time.Time) *Finding
SetCreatedAt sets the CreatedAt field's value.
func (s *Finding) SetDescription(v string) *Finding
SetDescription sets the Description field's value.
func (s *Finding) SetId(v string) *Finding
SetId sets the Id field's value.
func (s *Finding) SetPartition(v string) *Finding
SetPartition sets the Partition field's value.
func (s *Finding) SetPolicyDetails(v *PolicyDetails) *Finding
SetPolicyDetails sets the PolicyDetails field's value.
func (s *Finding) SetRegion(v string) *Finding
SetRegion sets the Region field's value.
func (s *Finding) SetResourcesAffected(v *ResourcesAffected) *Finding
SetResourcesAffected sets the ResourcesAffected field's value.
func (s *Finding) SetSample(v bool) *Finding
SetSample sets the Sample field's value.
func (s *Finding) SetSchemaVersion(v string) *Finding
SetSchemaVersion sets the SchemaVersion field's value.
func (s *Finding) SetSeverity(v *Severity) *Finding
SetSeverity sets the Severity field's value.
func (s *Finding) SetTitle(v string) *Finding
SetTitle sets the Title field's value.
func (s *Finding) SetType(v string) *Finding
SetType sets the Type field's value.
func (s *Finding) SetUpdatedAt(v time.Time) *Finding
SetUpdatedAt sets the UpdatedAt field's value.
func (s Finding) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FindingAction struct { // The type of action that occurred for the resource and produced the policy // finding: ActionType *string `locationName:"actionType" type:"string" enum:"FindingActionType"` // Provides information about an API operation that an entity invoked for an // affected resource. ApiCallDetails *ApiCallDetails `locationName:"apiCallDetails" type:"structure"` // contains filtered or unexported fields }
Provides information about an action that occurred for a resource and produced a policy finding.
func (s FindingAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FindingAction) SetActionType(v string) *FindingAction
SetActionType sets the ActionType field's value.
func (s *FindingAction) SetApiCallDetails(v *ApiCallDetails) *FindingAction
SetApiCallDetails sets the ApiCallDetails field's value.
func (s FindingAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FindingActor struct { // Provides information about the domain name of the device that an entity used // to perform an action on an affected resource. DomainDetails *DomainDetails `locationName:"domainDetails" type:"structure"` // Provides information about the IP address of the device that an entity used // to perform an action on an affected resource. IpAddressDetails *IpAddressDetails `locationName:"ipAddressDetails" type:"structure"` // Provides information about the type and other characteristics of an entity // that performed an action on an affected resource. UserIdentity *UserIdentity `locationName:"userIdentity" type:"structure"` // contains filtered or unexported fields }
Provides information about an entity that performed an action that produced a policy finding for a resource.
func (s FindingActor) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FindingActor) SetDomainDetails(v *DomainDetails) *FindingActor
SetDomainDetails sets the DomainDetails field's value.
func (s *FindingActor) SetIpAddressDetails(v *IpAddressDetails) *FindingActor
SetIpAddressDetails sets the IpAddressDetails field's value.
func (s *FindingActor) SetUserIdentity(v *UserIdentity) *FindingActor
SetUserIdentity sets the UserIdentity field's value.
func (s FindingActor) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FindingCriteria struct { // Specifies a condition that defines a property, operator, and one or more // values to filter the results of a query for findings. The number of values // depends on the property and operator specified by the condition. For information // about defining filter conditions, see Fundamentals of filtering findings // (https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html) // in the Amazon Macie User Guide. Criterion map[string]*CriterionAdditionalProperties `locationName:"criterion" type:"map"` // contains filtered or unexported fields }
Specifies, as a map, one or more property-based conditions that filter the results of a query for findings.
func (s FindingCriteria) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FindingCriteria) SetCriterion(v map[string]*CriterionAdditionalProperties) *FindingCriteria
SetCriterion sets the Criterion field's value.
func (s FindingCriteria) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FindingStatisticsSortCriteria struct { // The grouping to sort the results by. Valid values are: AttributeName *string `locationName:"attributeName" type:"string" enum:"FindingStatisticsSortAttributeName"` OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"` // contains filtered or unexported fields }
Specifies criteria for sorting the results of a query that retrieves aggregated statistical data about findings.
func (s FindingStatisticsSortCriteria) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FindingStatisticsSortCriteria) SetAttributeName(v string) *FindingStatisticsSortCriteria
SetAttributeName sets the AttributeName field's value.
func (s *FindingStatisticsSortCriteria) SetOrderBy(v string) *FindingStatisticsSortCriteria
SetOrderBy sets the OrderBy field's value.
func (s FindingStatisticsSortCriteria) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FindingsFilterListItem struct { // The action to perform on findings that meet the filter criteria. To suppress // (automatically archive) findings that meet the criteria, set this value to // ARCHIVE. Valid values are: Action *string `locationName:"action" type:"string" enum:"FindingsFilterAction"` Arn *string `locationName:"arn" type:"string"` Id *string `locationName:"id" type:"string"` Name *string `locationName:"name" type:"string"` // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Provides information about a findings filter.
func (s FindingsFilterListItem) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FindingsFilterListItem) SetAction(v string) *FindingsFilterListItem
SetAction sets the Action field's value.
func (s *FindingsFilterListItem) SetArn(v string) *FindingsFilterListItem
SetArn sets the Arn field's value.
func (s *FindingsFilterListItem) SetId(v string) *FindingsFilterListItem
SetId sets the Id field's value.
func (s *FindingsFilterListItem) SetName(v string) *FindingsFilterListItem
SetName sets the Name field's value.
func (s *FindingsFilterListItem) SetTags(v map[string]*string) *FindingsFilterListItem
SetTags sets the Tags field's value.
func (s FindingsFilterListItem) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAdministratorAccountInput struct {
// contains filtered or unexported fields
}
func (s GetAdministratorAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s GetAdministratorAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAdministratorAccountOutput struct { // Provides information about an Amazon Macie membership invitation. Administrator *Invitation `locationName:"administrator" type:"structure"` // contains filtered or unexported fields }
Provides information about the Amazon Macie administrator account for an account. If the accounts are associated by a Macie membership invitation, the response also provides information about that invitation.
func (s GetAdministratorAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAdministratorAccountOutput) SetAdministrator(v *Invitation) *GetAdministratorAccountOutput
SetAdministrator sets the Administrator field's value.
func (s GetAdministratorAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetBucketStatisticsInput struct {
AccountId *string `locationName:"accountId" type:"string"`
// contains filtered or unexported fields
}
Specifies the account that owns the S3 buckets to retrieve aggregated statistical data for.
func (s GetBucketStatisticsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetBucketStatisticsInput) SetAccountId(v string) *GetBucketStatisticsInput
SetAccountId sets the AccountId field's value.
func (s GetBucketStatisticsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetBucketStatisticsOutput struct { BucketCount *int64 `locationName:"bucketCount" type:"long"` // Provides information about the number of S3 buckets that are publicly accessible // based on a combination of permissions settings for each bucket. BucketCountByEffectivePermission *BucketCountByEffectivePermission `locationName:"bucketCountByEffectivePermission" type:"structure"` // Provides information about the number of S3 buckets that use certain types // of server-side encryption by default or don't encrypt new objects by default. // For detailed information about these settings, see Setting default server-side // encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html) // in the Amazon Simple Storage Service User Guide. BucketCountByEncryptionType *BucketCountByEncryptionType `locationName:"bucketCountByEncryptionType" type:"structure"` // Provides information about the number of S3 buckets whose bucket policies // do or don't require server-side encryption of objects when objects are uploaded // to the buckets. BucketCountByObjectEncryptionRequirement *BucketCountPolicyAllowsUnencryptedObjectUploads `locationName:"bucketCountByObjectEncryptionRequirement" type:"structure"` // Provides information about the number of S3 buckets that are or aren't shared // with other Amazon Web Services accounts. BucketCountBySharedAccessType *BucketCountBySharedAccessType `locationName:"bucketCountBySharedAccessType" type:"structure"` ClassifiableObjectCount *int64 `locationName:"classifiableObjectCount" type:"long"` ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"` LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"iso8601"` ObjectCount *int64 `locationName:"objectCount" type:"long"` SizeInBytes *int64 `locationName:"sizeInBytes" type:"long"` SizeInBytesCompressed *int64 `locationName:"sizeInBytesCompressed" type:"long"` // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse // object, this data is aggregated for the buckets in the query results. If // versioning is enabled for a bucket, total storage size values are based on // the size of the latest version of each applicable object in the bucket. UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"` // Provides information about the total storage size (in bytes) or number of // objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata // or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse // object, this data is aggregated for the buckets in the query results. If // versioning is enabled for a bucket, total storage size values are based on // the size of the latest version of each applicable object in the bucket. UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"` // contains filtered or unexported fields }
Provides the results of a query that retrieved aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes for your account.
func (s GetBucketStatisticsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetBucketStatisticsOutput) SetBucketCount(v int64) *GetBucketStatisticsOutput
SetBucketCount sets the BucketCount field's value.
func (s *GetBucketStatisticsOutput) SetBucketCountByEffectivePermission(v *BucketCountByEffectivePermission) *GetBucketStatisticsOutput
SetBucketCountByEffectivePermission sets the BucketCountByEffectivePermission field's value.
func (s *GetBucketStatisticsOutput) SetBucketCountByEncryptionType(v *BucketCountByEncryptionType) *GetBucketStatisticsOutput
SetBucketCountByEncryptionType sets the BucketCountByEncryptionType field's value.
func (s *GetBucketStatisticsOutput) SetBucketCountByObjectEncryptionRequirement(v *BucketCountPolicyAllowsUnencryptedObjectUploads) *GetBucketStatisticsOutput
SetBucketCountByObjectEncryptionRequirement sets the BucketCountByObjectEncryptionRequirement field's value.
func (s *GetBucketStatisticsOutput) SetBucketCountBySharedAccessType(v *BucketCountBySharedAccessType) *GetBucketStatisticsOutput
SetBucketCountBySharedAccessType sets the BucketCountBySharedAccessType field's value.
func (s *GetBucketStatisticsOutput) SetClassifiableObjectCount(v int64) *GetBucketStatisticsOutput
SetClassifiableObjectCount sets the ClassifiableObjectCount field's value.
func (s *GetBucketStatisticsOutput) SetClassifiableSizeInBytes(v int64) *GetBucketStatisticsOutput
SetClassifiableSizeInBytes sets the ClassifiableSizeInBytes field's value.
func (s *GetBucketStatisticsOutput) SetLastUpdated(v time.Time) *GetBucketStatisticsOutput
SetLastUpdated sets the LastUpdated field's value.
func (s *GetBucketStatisticsOutput) SetObjectCount(v int64) *GetBucketStatisticsOutput
SetObjectCount sets the ObjectCount field's value.
func (s *GetBucketStatisticsOutput) SetSizeInBytes(v int64) *GetBucketStatisticsOutput
SetSizeInBytes sets the SizeInBytes field's value.
func (s *GetBucketStatisticsOutput) SetSizeInBytesCompressed(v int64) *GetBucketStatisticsOutput
SetSizeInBytesCompressed sets the SizeInBytesCompressed field's value.
func (s *GetBucketStatisticsOutput) SetUnclassifiableObjectCount(v *ObjectLevelStatistics) *GetBucketStatisticsOutput
SetUnclassifiableObjectCount sets the UnclassifiableObjectCount field's value.
func (s *GetBucketStatisticsOutput) SetUnclassifiableObjectSizeInBytes(v *ObjectLevelStatistics) *GetBucketStatisticsOutput
SetUnclassifiableObjectSizeInBytes sets the UnclassifiableObjectSizeInBytes field's value.
func (s GetBucketStatisticsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetClassificationExportConfigurationInput struct {
// contains filtered or unexported fields
}
func (s GetClassificationExportConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s GetClassificationExportConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetClassificationExportConfigurationOutput struct { // Specifies where to store data classification results, and the encryption // settings to use when storing results in that location. Currently, you can // store classification results only in an S3 bucket. Configuration *ClassificationExportConfiguration `locationName:"configuration" type:"structure"` // contains filtered or unexported fields }
Provides information about the current configuration settings for storing data classification results.
func (s GetClassificationExportConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetClassificationExportConfigurationOutput) SetConfiguration(v *ClassificationExportConfiguration) *GetClassificationExportConfigurationOutput
SetConfiguration sets the Configuration field's value.
func (s GetClassificationExportConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetCustomDataIdentifierInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetCustomDataIdentifierInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetCustomDataIdentifierInput) SetId(v string) *GetCustomDataIdentifierInput
SetId sets the Id field's value.
func (s GetCustomDataIdentifierInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetCustomDataIdentifierInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCustomDataIdentifierOutput struct { Arn *string `locationName:"arn" type:"string"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` Deleted *bool `locationName:"deleted" type:"boolean"` Description *string `locationName:"description" type:"string"` Id *string `locationName:"id" type:"string"` IgnoreWords []*string `locationName:"ignoreWords" type:"list"` Keywords []*string `locationName:"keywords" type:"list"` MaximumMatchDistance *int64 `locationName:"maximumMatchDistance" type:"integer"` Name *string `locationName:"name" type:"string"` Regex *string `locationName:"regex" type:"string"` // The severity to assign to findings that the custom data identifier produces, // based on the number of occurrences of text that matches the custom data identifier's // detection criteria. You can specify as many as three SeverityLevel objects // in this array, one for each severity: LOW, MEDIUM, or HIGH. If you specify // more than one, the occurrences thresholds must be in ascending order by severity, // moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for // HIGH. If an S3 object contains fewer occurrences than the lowest specified // threshold, Amazon Macie doesn't create a finding. // // If you don't specify any values for this array, Macie creates findings for // S3 objects that contain at least one occurrence of text that matches the // detection criteria, and Macie automatically assigns the MEDIUM severity to // those findings. SeverityLevels []*SeverityLevel `locationName:"severityLevels" type:"list"` // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Provides information about the detection criteria and other settings for a custom data identifier.
func (s GetCustomDataIdentifierOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetCustomDataIdentifierOutput) SetArn(v string) *GetCustomDataIdentifierOutput
SetArn sets the Arn field's value.
func (s *GetCustomDataIdentifierOutput) SetCreatedAt(v time.Time) *GetCustomDataIdentifierOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *GetCustomDataIdentifierOutput) SetDeleted(v bool) *GetCustomDataIdentifierOutput
SetDeleted sets the Deleted field's value.
func (s *GetCustomDataIdentifierOutput) SetDescription(v string) *GetCustomDataIdentifierOutput
SetDescription sets the Description field's value.
func (s *GetCustomDataIdentifierOutput) SetId(v string) *GetCustomDataIdentifierOutput
SetId sets the Id field's value.
func (s *GetCustomDataIdentifierOutput) SetIgnoreWords(v []*string) *GetCustomDataIdentifierOutput
SetIgnoreWords sets the IgnoreWords field's value.
func (s *GetCustomDataIdentifierOutput) SetKeywords(v []*string) *GetCustomDataIdentifierOutput
SetKeywords sets the Keywords field's value.
func (s *GetCustomDataIdentifierOutput) SetMaximumMatchDistance(v int64) *GetCustomDataIdentifierOutput
SetMaximumMatchDistance sets the MaximumMatchDistance field's value.
func (s *GetCustomDataIdentifierOutput) SetName(v string) *GetCustomDataIdentifierOutput
SetName sets the Name field's value.
func (s *GetCustomDataIdentifierOutput) SetRegex(v string) *GetCustomDataIdentifierOutput
SetRegex sets the Regex field's value.
func (s *GetCustomDataIdentifierOutput) SetSeverityLevels(v []*SeverityLevel) *GetCustomDataIdentifierOutput
SetSeverityLevels sets the SeverityLevels field's value.
func (s *GetCustomDataIdentifierOutput) SetTags(v map[string]*string) *GetCustomDataIdentifierOutput
SetTags sets the Tags field's value.
func (s GetCustomDataIdentifierOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFindingStatisticsInput struct { // Specifies, as a map, one or more property-based conditions that filter the // results of a query for findings. FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` // GroupBy is a required field GroupBy *string `locationName:"groupBy" type:"string" required:"true" enum:"GroupBy"` Size *int64 `locationName:"size" type:"integer"` // Specifies criteria for sorting the results of a query that retrieves aggregated // statistical data about findings. SortCriteria *FindingStatisticsSortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
Specifies criteria for filtering, grouping, sorting, and paginating the results of a query that retrieves aggregated statistical data about findings.
func (s GetFindingStatisticsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingStatisticsInput) SetFindingCriteria(v *FindingCriteria) *GetFindingStatisticsInput
SetFindingCriteria sets the FindingCriteria field's value.
func (s *GetFindingStatisticsInput) SetGroupBy(v string) *GetFindingStatisticsInput
SetGroupBy sets the GroupBy field's value.
func (s *GetFindingStatisticsInput) SetSize(v int64) *GetFindingStatisticsInput
SetSize sets the Size field's value.
func (s *GetFindingStatisticsInput) SetSortCriteria(v *FindingStatisticsSortCriteria) *GetFindingStatisticsInput
SetSortCriteria sets the SortCriteria field's value.
func (s GetFindingStatisticsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingStatisticsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFindingStatisticsOutput struct { CountsByGroup []*GroupCount `locationName:"countsByGroup" type:"list"` // contains filtered or unexported fields }
Provides the results of a query that retrieved aggregated statistical data about findings.
func (s GetFindingStatisticsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingStatisticsOutput) SetCountsByGroup(v []*GroupCount) *GetFindingStatisticsOutput
SetCountsByGroup sets the CountsByGroup field's value.
func (s GetFindingStatisticsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFindingsFilterInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetFindingsFilterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingsFilterInput) SetId(v string) *GetFindingsFilterInput
SetId sets the Id field's value.
func (s GetFindingsFilterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingsFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFindingsFilterOutput struct { // The action to perform on findings that meet the filter criteria. To suppress // (automatically archive) findings that meet the criteria, set this value to // ARCHIVE. Valid values are: Action *string `locationName:"action" type:"string" enum:"FindingsFilterAction"` Arn *string `locationName:"arn" type:"string"` Description *string `locationName:"description" type:"string"` // Specifies, as a map, one or more property-based conditions that filter the // results of a query for findings. FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` Id *string `locationName:"id" type:"string"` Name *string `locationName:"name" type:"string"` Position *int64 `locationName:"position" type:"integer"` // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Provides information about the criteria and other settings for a findings filter.
func (s GetFindingsFilterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingsFilterOutput) SetAction(v string) *GetFindingsFilterOutput
SetAction sets the Action field's value.
func (s *GetFindingsFilterOutput) SetArn(v string) *GetFindingsFilterOutput
SetArn sets the Arn field's value.
func (s *GetFindingsFilterOutput) SetDescription(v string) *GetFindingsFilterOutput
SetDescription sets the Description field's value.
func (s *GetFindingsFilterOutput) SetFindingCriteria(v *FindingCriteria) *GetFindingsFilterOutput
SetFindingCriteria sets the FindingCriteria field's value.
func (s *GetFindingsFilterOutput) SetId(v string) *GetFindingsFilterOutput
SetId sets the Id field's value.
func (s *GetFindingsFilterOutput) SetName(v string) *GetFindingsFilterOutput
SetName sets the Name field's value.
func (s *GetFindingsFilterOutput) SetPosition(v int64) *GetFindingsFilterOutput
SetPosition sets the Position field's value.
func (s *GetFindingsFilterOutput) SetTags(v map[string]*string) *GetFindingsFilterOutput
SetTags sets the Tags field's value.
func (s GetFindingsFilterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFindingsInput struct { // FindingIds is a required field FindingIds []*string `locationName:"findingIds" type:"list" required:"true"` // Specifies criteria for sorting the results of a request for findings. SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
Specifies one or more findings to retrieve.
func (s GetFindingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingsInput) SetFindingIds(v []*string) *GetFindingsInput
SetFindingIds sets the FindingIds field's value.
func (s *GetFindingsInput) SetSortCriteria(v *SortCriteria) *GetFindingsInput
SetSortCriteria sets the SortCriteria field's value.
func (s GetFindingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFindingsOutput struct { Findings []*Finding `locationName:"findings" type:"list"` // contains filtered or unexported fields }
Provides the results of a request for one or more findings.
func (s GetFindingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingsOutput) SetFindings(v []*Finding) *GetFindingsOutput
SetFindings sets the Findings field's value.
func (s GetFindingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFindingsPublicationConfigurationInput struct {
// contains filtered or unexported fields
}
func (s GetFindingsPublicationConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s GetFindingsPublicationConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFindingsPublicationConfigurationOutput struct { // Specifies configuration settings that determine which findings are published // to Security Hub automatically. For information about how Macie publishes // findings to Security Hub, see Amazon Macie integration with Security Hub // (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) // in the Amazon Macie User Guide. SecurityHubConfiguration *SecurityHubConfiguration `locationName:"securityHubConfiguration" type:"structure"` // contains filtered or unexported fields }
Provides information about the current configuration settings for publishing findings to Security Hub automatically.
func (s GetFindingsPublicationConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFindingsPublicationConfigurationOutput) SetSecurityHubConfiguration(v *SecurityHubConfiguration) *GetFindingsPublicationConfigurationOutput
SetSecurityHubConfiguration sets the SecurityHubConfiguration field's value.
func (s GetFindingsPublicationConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetInvitationsCountInput struct {
// contains filtered or unexported fields
}
func (s GetInvitationsCountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s GetInvitationsCountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetInvitationsCountOutput struct {
InvitationsCount *int64 `locationName:"invitationsCount" type:"long"`
// contains filtered or unexported fields
}
Provides the count of all the Amazon Macie membership invitations that were received by an account, not including the currently accepted invitation.
func (s GetInvitationsCountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetInvitationsCountOutput) SetInvitationsCount(v int64) *GetInvitationsCountOutput
SetInvitationsCount sets the InvitationsCount field's value.
func (s GetInvitationsCountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetMacieSessionInput struct {
// contains filtered or unexported fields
}
func (s GetMacieSessionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s GetMacieSessionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetMacieSessionOutput struct { CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to Security Hub and Amazon // EventBridge (formerly called Amazon CloudWatch Events). For more information, // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` ServiceRole *string `locationName:"serviceRole" type:"string"` // The status of an Amazon Macie account. Valid values are: Status *string `locationName:"status" type:"string" enum:"MacieStatus"` UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
Provides information about the current status and configuration settings for an Amazon Macie account.
func (s GetMacieSessionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMacieSessionOutput) SetCreatedAt(v time.Time) *GetMacieSessionOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *GetMacieSessionOutput) SetFindingPublishingFrequency(v string) *GetMacieSessionOutput
SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.
func (s *GetMacieSessionOutput) SetServiceRole(v string) *GetMacieSessionOutput
SetServiceRole sets the ServiceRole field's value.
func (s *GetMacieSessionOutput) SetStatus(v string) *GetMacieSessionOutput
SetStatus sets the Status field's value.
func (s *GetMacieSessionOutput) SetUpdatedAt(v time.Time) *GetMacieSessionOutput
SetUpdatedAt sets the UpdatedAt field's value.
func (s GetMacieSessionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetMasterAccountInput struct {
// contains filtered or unexported fields
}
func (s GetMasterAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s GetMasterAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetMasterAccountOutput struct { // Provides information about an Amazon Macie membership invitation. Master *Invitation `locationName:"master" type:"structure"` // contains filtered or unexported fields }
(Deprecated) Provides information about the Amazon Macie administrator account for an account. If the accounts are associated by a Macie membership invitation, the response also provides information about that invitation.
func (s GetMasterAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMasterAccountOutput) SetMaster(v *Invitation) *GetMasterAccountOutput
SetMaster sets the Master field's value.
func (s GetMasterAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetMemberInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetMemberInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMemberInput) SetId(v string) *GetMemberInput
SetId sets the Id field's value.
func (s GetMemberInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMemberOutput struct { AccountId *string `locationName:"accountId" type:"string"` AdministratorAccountId *string `locationName:"administratorAccountId" type:"string"` Arn *string `locationName:"arn" type:"string"` Email *string `locationName:"email" type:"string"` InvitedAt *time.Time `locationName:"invitedAt" type:"timestamp" timestampFormat:"iso8601"` MasterAccountId *string `locationName:"masterAccountId" type:"string"` // The current status of the relationship between an account and an associated // Amazon Macie administrator account. Possible values are: RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"` // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
Provides information about an account that's associated with an Amazon Macie administrator account.
func (s GetMemberOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMemberOutput) SetAccountId(v string) *GetMemberOutput
SetAccountId sets the AccountId field's value.
func (s *GetMemberOutput) SetAdministratorAccountId(v string) *GetMemberOutput
SetAdministratorAccountId sets the AdministratorAccountId field's value.
func (s *GetMemberOutput) SetArn(v string) *GetMemberOutput
SetArn sets the Arn field's value.
func (s *GetMemberOutput) SetEmail(v string) *GetMemberOutput
SetEmail sets the Email field's value.
func (s *GetMemberOutput) SetInvitedAt(v time.Time) *GetMemberOutput
SetInvitedAt sets the InvitedAt field's value.
func (s *GetMemberOutput) SetMasterAccountId(v string) *GetMemberOutput
SetMasterAccountId sets the MasterAccountId field's value.
func (s *GetMemberOutput) SetRelationshipStatus(v string) *GetMemberOutput
SetRelationshipStatus sets the RelationshipStatus field's value.
func (s *GetMemberOutput) SetTags(v map[string]*string) *GetMemberOutput
SetTags sets the Tags field's value.
func (s *GetMemberOutput) SetUpdatedAt(v time.Time) *GetMemberOutput
SetUpdatedAt sets the UpdatedAt field's value.
func (s GetMemberOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetUsageStatisticsInput struct { FilterBy []*UsageStatisticsFilter `locationName:"filterBy" type:"list"` MaxResults *int64 `locationName:"maxResults" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` // Specifies criteria for sorting the results of a query for Amazon Macie account // quotas and usage data. SortBy *UsageStatisticsSortBy `locationName:"sortBy" type:"structure"` // An inclusive time period that Amazon Macie usage data applies to. Possible // values are: TimeRange *string `locationName:"timeRange" type:"string" enum:"TimeRange"` // contains filtered or unexported fields }
Specifies criteria for filtering, sorting, and paginating the results of a query for quotas and aggregated usage data for one or more Amazon Macie accounts.
func (s GetUsageStatisticsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetUsageStatisticsInput) SetFilterBy(v []*UsageStatisticsFilter) *GetUsageStatisticsInput
SetFilterBy sets the FilterBy field's value.
func (s *GetUsageStatisticsInput) SetMaxResults(v int64) *GetUsageStatisticsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetUsageStatisticsInput) SetNextToken(v string) *GetUsageStatisticsInput
SetNextToken sets the NextToken field's value.
func (s *GetUsageStatisticsInput) SetSortBy(v *UsageStatisticsSortBy) *GetUsageStatisticsInput
SetSortBy sets the SortBy field's value.
func (s *GetUsageStatisticsInput) SetTimeRange(v string) *GetUsageStatisticsInput
SetTimeRange sets the TimeRange field's value.
func (s GetUsageStatisticsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetUsageStatisticsOutput struct { NextToken *string `locationName:"nextToken" type:"string"` Records []*UsageRecord `locationName:"records" type:"list"` // An inclusive time period that Amazon Macie usage data applies to. Possible // values are: TimeRange *string `locationName:"timeRange" type:"string" enum:"TimeRange"` // contains filtered or unexported fields }
Provides the results of a query that retrieved quotas and aggregated usage data for one or more Amazon Macie accounts.
func (s GetUsageStatisticsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetUsageStatisticsOutput) SetNextToken(v string) *GetUsageStatisticsOutput
SetNextToken sets the NextToken field's value.
func (s *GetUsageStatisticsOutput) SetRecords(v []*UsageRecord) *GetUsageStatisticsOutput
SetRecords sets the Records field's value.
func (s *GetUsageStatisticsOutput) SetTimeRange(v string) *GetUsageStatisticsOutput
SetTimeRange sets the TimeRange field's value.
func (s GetUsageStatisticsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetUsageTotalsInput struct {
TimeRange *string `location:"querystring" locationName:"timeRange" type:"string"`
// contains filtered or unexported fields
}
func (s GetUsageTotalsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetUsageTotalsInput) SetTimeRange(v string) *GetUsageTotalsInput
SetTimeRange sets the TimeRange field's value.
func (s GetUsageTotalsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetUsageTotalsOutput struct { // An inclusive time period that Amazon Macie usage data applies to. Possible // values are: TimeRange *string `locationName:"timeRange" type:"string" enum:"TimeRange"` UsageTotals []*UsageTotal `locationName:"usageTotals" type:"list"` // contains filtered or unexported fields }
Provides the results of a query that retrieved aggregated usage data for an Amazon Macie account.
func (s GetUsageTotalsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetUsageTotalsOutput) SetTimeRange(v string) *GetUsageTotalsOutput
SetTimeRange sets the TimeRange field's value.
func (s *GetUsageTotalsOutput) SetUsageTotals(v []*UsageTotal) *GetUsageTotalsOutput
SetUsageTotals sets the UsageTotals field's value.
func (s GetUsageTotalsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GroupCount struct {
Count *int64 `locationName:"count" type:"long"`
GroupKey *string `locationName:"groupKey" type:"string"`
// contains filtered or unexported fields
}
Provides a group of results for a query that retrieved aggregated statistical data about findings.
func (s GroupCount) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GroupCount) SetCount(v int64) *GroupCount
SetCount sets the Count field's value.
func (s *GroupCount) SetGroupKey(v string) *GroupCount
SetGroupKey sets the GroupKey field's value.
func (s GroupCount) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IamUser struct {
AccountId *string `locationName:"accountId" type:"string"`
Arn *string `locationName:"arn" type:"string"`
PrincipalId *string `locationName:"principalId" type:"string"`
UserName *string `locationName:"userName" type:"string"`
// contains filtered or unexported fields
}
Provides information about an Identity and Access Management (IAM) user who performed an action on an affected resource.
func (s IamUser) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IamUser) SetAccountId(v string) *IamUser
SetAccountId sets the AccountId field's value.
func (s *IamUser) SetArn(v string) *IamUser
SetArn sets the Arn field's value.
func (s *IamUser) SetPrincipalId(v string) *IamUser
SetPrincipalId sets the PrincipalId field's value.
func (s *IamUser) SetUserName(v string) *IamUser
SetUserName sets the UserName field's value.
func (s IamUser) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Provides information about an error that occurred due to an unknown internal server error, exception, or failure.
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Invitation struct { AccountId *string `locationName:"accountId" type:"string"` InvitationId *string `locationName:"invitationId" type:"string"` InvitedAt *time.Time `locationName:"invitedAt" type:"timestamp" timestampFormat:"iso8601"` // The current status of the relationship between an account and an associated // Amazon Macie administrator account. Possible values are: RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"` // contains filtered or unexported fields }
Provides information about an Amazon Macie membership invitation.
func (s Invitation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Invitation) SetAccountId(v string) *Invitation
SetAccountId sets the AccountId field's value.
func (s *Invitation) SetInvitationId(v string) *Invitation
SetInvitationId sets the InvitationId field's value.
func (s *Invitation) SetInvitedAt(v time.Time) *Invitation
SetInvitedAt sets the InvitedAt field's value.
func (s *Invitation) SetRelationshipStatus(v string) *Invitation
SetRelationshipStatus sets the RelationshipStatus field's value.
func (s Invitation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IpAddressDetails struct { IpAddressV4 *string `locationName:"ipAddressV4" type:"string"` // Provides information about the city that an IP address originated from. IpCity *IpCity `locationName:"ipCity" type:"structure"` // Provides information about the country that an IP address originated from. IpCountry *IpCountry `locationName:"ipCountry" type:"structure"` // Provides geographic coordinates that indicate where a specified IP address // originated from. IpGeoLocation *IpGeoLocation `locationName:"ipGeoLocation" type:"structure"` // Provides information about the registered owner of an IP address. IpOwner *IpOwner `locationName:"ipOwner" type:"structure"` // contains filtered or unexported fields }
Provides information about the IP address of the device that an entity used to perform an action on an affected resource.
func (s IpAddressDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IpAddressDetails) SetIpAddressV4(v string) *IpAddressDetails
SetIpAddressV4 sets the IpAddressV4 field's value.
func (s *IpAddressDetails) SetIpCity(v *IpCity) *IpAddressDetails
SetIpCity sets the IpCity field's value.
func (s *IpAddressDetails) SetIpCountry(v *IpCountry) *IpAddressDetails
SetIpCountry sets the IpCountry field's value.
func (s *IpAddressDetails) SetIpGeoLocation(v *IpGeoLocation) *IpAddressDetails
SetIpGeoLocation sets the IpGeoLocation field's value.
func (s *IpAddressDetails) SetIpOwner(v *IpOwner) *IpAddressDetails
SetIpOwner sets the IpOwner field's value.
func (s IpAddressDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IpCity struct {
Name *string `locationName:"name" type:"string"`
// contains filtered or unexported fields
}
Provides information about the city that an IP address originated from.
func (s IpCity) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IpCity) SetName(v string) *IpCity
SetName sets the Name field's value.
func (s IpCity) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IpCountry struct {
Code *string `locationName:"code" type:"string"`
Name *string `locationName:"name" type:"string"`
// contains filtered or unexported fields
}
Provides information about the country that an IP address originated from.
func (s IpCountry) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IpCountry) SetCode(v string) *IpCountry
SetCode sets the Code field's value.
func (s *IpCountry) SetName(v string) *IpCountry
SetName sets the Name field's value.
func (s IpCountry) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IpGeoLocation struct {
Lat *float64 `locationName:"lat" type:"double"`
Lon *float64 `locationName:"lon" type:"double"`
// contains filtered or unexported fields
}
Provides geographic coordinates that indicate where a specified IP address originated from.
func (s IpGeoLocation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IpGeoLocation) SetLat(v float64) *IpGeoLocation
SetLat sets the Lat field's value.
func (s *IpGeoLocation) SetLon(v float64) *IpGeoLocation
SetLon sets the Lon field's value.
func (s IpGeoLocation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IpOwner struct {
Asn *string `locationName:"asn" type:"string"`
AsnOrg *string `locationName:"asnOrg" type:"string"`
Isp *string `locationName:"isp" type:"string"`
Org *string `locationName:"org" type:"string"`
// contains filtered or unexported fields
}
Provides information about the registered owner of an IP address.
func (s IpOwner) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IpOwner) SetAsn(v string) *IpOwner
SetAsn sets the Asn field's value.
func (s *IpOwner) SetAsnOrg(v string) *IpOwner
SetAsnOrg sets the AsnOrg field's value.
func (s *IpOwner) SetIsp(v string) *IpOwner
SetIsp sets the Isp field's value.
func (s *IpOwner) SetOrg(v string) *IpOwner
SetOrg sets the Org field's value.
func (s IpOwner) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobDetails struct {
IsDefinedInJob *string `locationName:"isDefinedInJob" type:"string" enum:"IsDefinedInJob"`
IsMonitoredByJob *string `locationName:"isMonitoredByJob" type:"string" enum:"IsMonitoredByJob"`
LastJobId *string `locationName:"lastJobId" type:"string"`
LastJobRunTime *time.Time `locationName:"lastJobRunTime" type:"timestamp" timestampFormat:"iso8601"`
// contains filtered or unexported fields
}
Specifies whether any one-time or recurring classification jobs are configured to analyze data in an S3 bucket, and, if so, the details of the job that ran most recently.
func (s JobDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *JobDetails) SetIsDefinedInJob(v string) *JobDetails
SetIsDefinedInJob sets the IsDefinedInJob field's value.
func (s *JobDetails) SetIsMonitoredByJob(v string) *JobDetails
SetIsMonitoredByJob sets the IsMonitoredByJob field's value.
func (s *JobDetails) SetLastJobId(v string) *JobDetails
SetLastJobId sets the LastJobId field's value.
func (s *JobDetails) SetLastJobRunTime(v time.Time) *JobDetails
SetLastJobRunTime sets the LastJobRunTime field's value.
func (s JobDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobScheduleFrequency struct { // Specifies that a classification job runs once a day, every day. This is an // empty object. DailySchedule *DailySchedule `locationName:"dailySchedule" type:"structure"` // Specifies a monthly recurrence pattern for running a classification job. MonthlySchedule *MonthlySchedule `locationName:"monthlySchedule" type:"structure"` // Specifies a weekly recurrence pattern for running a classification job. WeeklySchedule *WeeklySchedule `locationName:"weeklySchedule" type:"structure"` // contains filtered or unexported fields }
Specifies the recurrence pattern for running a classification job.
func (s JobScheduleFrequency) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *JobScheduleFrequency) SetDailySchedule(v *DailySchedule) *JobScheduleFrequency
SetDailySchedule sets the DailySchedule field's value.
func (s *JobScheduleFrequency) SetMonthlySchedule(v *MonthlySchedule) *JobScheduleFrequency
SetMonthlySchedule sets the MonthlySchedule field's value.
func (s *JobScheduleFrequency) SetWeeklySchedule(v *WeeklySchedule) *JobScheduleFrequency
SetWeeklySchedule sets the WeeklySchedule field's value.
func (s JobScheduleFrequency) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobScopeTerm struct { // Specifies a property-based condition that determines whether an S3 object // is included or excluded from a classification job. SimpleScopeTerm *SimpleScopeTerm `locationName:"simpleScopeTerm" type:"structure"` // Specifies a tag-based condition that determines whether an S3 object is included // or excluded from a classification job. TagScopeTerm *TagScopeTerm `locationName:"tagScopeTerm" type:"structure"` // contains filtered or unexported fields }
Specifies a property- or tag-based condition that defines criteria for including or excluding S3 objects from a classification job. A JobScopeTerm object can contain only one simpleScopeTerm object or one tagScopeTerm object.
func (s JobScopeTerm) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *JobScopeTerm) SetSimpleScopeTerm(v *SimpleScopeTerm) *JobScopeTerm
SetSimpleScopeTerm sets the SimpleScopeTerm field's value.
func (s *JobScopeTerm) SetTagScopeTerm(v *TagScopeTerm) *JobScopeTerm
SetTagScopeTerm sets the TagScopeTerm field's value.
func (s JobScopeTerm) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobScopingBlock struct { And []*JobScopeTerm `locationName:"and" type:"list"` // contains filtered or unexported fields }
Specifies one or more property- and tag-based conditions that define criteria for including or excluding S3 objects from a classification job.
func (s JobScopingBlock) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *JobScopingBlock) SetAnd(v []*JobScopeTerm) *JobScopingBlock
SetAnd sets the And field's value.
func (s JobScopingBlock) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobSummary struct { // Specifies property- and tag-based conditions that define criteria for including // or excluding S3 buckets from a classification job. Exclude conditions take // precedence over include conditions. BucketCriteria *S3BucketCriteriaForJob `locationName:"bucketCriteria" type:"structure"` BucketDefinitions []*S3BucketDefinitionForJob `locationName:"bucketDefinitions" type:"list"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` JobId *string `locationName:"jobId" type:"string"` // The status of a classification job. Possible values are: JobStatus *string `locationName:"jobStatus" type:"string" enum:"JobStatus"` // The schedule for running a classification job. Valid values are: JobType *string `locationName:"jobType" type:"string" enum:"JobType"` // Specifies whether any account- or bucket-level access errors occurred when // a classification job ran. For information about using logging data to investigate // these errors, see Monitoring sensitive data discovery jobs (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-monitor-cw-logs.html) // in the Amazon Macie User Guide. LastRunErrorStatus *LastRunErrorStatus `locationName:"lastRunErrorStatus" type:"structure"` Name *string `locationName:"name" type:"string"` // Provides information about when a classification job was paused. For a one-time // job, this object also specifies when the job will expire and be cancelled // if it isn't resumed. For a recurring job, this object also specifies when // the paused job run will expire and be cancelled if it isn't resumed. This // object is present only if a job's current status (jobStatus) is USER_PAUSED. // The information in this object applies only to a job that was paused while // it had a status of RUNNING. UserPausedDetails *UserPausedDetails `locationName:"userPausedDetails" type:"structure"` // contains filtered or unexported fields }
Provides information about a classification job, including the current status of the job.
func (s JobSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *JobSummary) SetBucketCriteria(v *S3BucketCriteriaForJob) *JobSummary
SetBucketCriteria sets the BucketCriteria field's value.
func (s *JobSummary) SetBucketDefinitions(v []*S3BucketDefinitionForJob) *JobSummary
SetBucketDefinitions sets the BucketDefinitions field's value.
func (s *JobSummary) SetCreatedAt(v time.Time) *JobSummary
SetCreatedAt sets the CreatedAt field's value.
func (s *JobSummary) SetJobId(v string) *JobSummary
SetJobId sets the JobId field's value.
func (s *JobSummary) SetJobStatus(v string) *JobSummary
SetJobStatus sets the JobStatus field's value.
func (s *JobSummary) SetJobType(v string) *JobSummary
SetJobType sets the JobType field's value.
func (s *JobSummary) SetLastRunErrorStatus(v *LastRunErrorStatus) *JobSummary
SetLastRunErrorStatus sets the LastRunErrorStatus field's value.
func (s *JobSummary) SetName(v string) *JobSummary
SetName sets the Name field's value.
func (s *JobSummary) SetUserPausedDetails(v *UserPausedDetails) *JobSummary
SetUserPausedDetails sets the UserPausedDetails field's value.
func (s JobSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KeyValuePair struct {
Key *string `locationName:"key" type:"string"`
Value *string `locationName:"value" type:"string"`
// contains filtered or unexported fields
}
Provides information about the tags that are associated with an S3 bucket or object. Each tag consists of a required tag key and an associated tag value.
func (s KeyValuePair) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *KeyValuePair) SetKey(v string) *KeyValuePair
SetKey sets the Key field's value.
func (s *KeyValuePair) SetValue(v string) *KeyValuePair
SetValue sets the Value field's value.
func (s KeyValuePair) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LastRunErrorStatus struct { // Specifies whether any account- or bucket-level access errors occurred during // the run of a one-time classification job or the most recent run of a recurring // classification job. Possible values are: Code *string `locationName:"code" type:"string" enum:"LastRunErrorStatusCode"` // contains filtered or unexported fields }
Specifies whether any account- or bucket-level access errors occurred when a classification job ran. For information about using logging data to investigate these errors, see Monitoring sensitive data discovery jobs (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-monitor-cw-logs.html) in the Amazon Macie User Guide.
func (s LastRunErrorStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LastRunErrorStatus) SetCode(v string) *LastRunErrorStatus
SetCode sets the Code field's value.
func (s LastRunErrorStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListClassificationJobsInput struct { // Specifies criteria for filtering the results of a request for information // about classification jobs. FilterCriteria *ListJobsFilterCriteria `locationName:"filterCriteria" type:"structure"` MaxResults *int64 `locationName:"maxResults" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` // Specifies criteria for sorting the results of a request for information about // classification jobs. SortCriteria *ListJobsSortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
Specifies criteria for filtering, sorting, and paginating the results of a request for information about classification jobs.
func (s ListClassificationJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListClassificationJobsInput) SetFilterCriteria(v *ListJobsFilterCriteria) *ListClassificationJobsInput
SetFilterCriteria sets the FilterCriteria field's value.
func (s *ListClassificationJobsInput) SetMaxResults(v int64) *ListClassificationJobsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListClassificationJobsInput) SetNextToken(v string) *ListClassificationJobsInput
SetNextToken sets the NextToken field's value.
func (s *ListClassificationJobsInput) SetSortCriteria(v *ListJobsSortCriteria) *ListClassificationJobsInput
SetSortCriteria sets the SortCriteria field's value.
func (s ListClassificationJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListClassificationJobsOutput struct { Items []*JobSummary `locationName:"items" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Provides the results of a request for information about one or more classification jobs.
func (s ListClassificationJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListClassificationJobsOutput) SetItems(v []*JobSummary) *ListClassificationJobsOutput
SetItems sets the Items field's value.
func (s *ListClassificationJobsOutput) SetNextToken(v string) *ListClassificationJobsOutput
SetNextToken sets the NextToken field's value.
func (s ListClassificationJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListCustomDataIdentifiersInput struct {
MaxResults *int64 `locationName:"maxResults" type:"integer"`
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}
Specifies criteria for paginating the results of a request for information about custom data identifiers.
func (s ListCustomDataIdentifiersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListCustomDataIdentifiersInput) SetMaxResults(v int64) *ListCustomDataIdentifiersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListCustomDataIdentifiersInput) SetNextToken(v string) *ListCustomDataIdentifiersInput
SetNextToken sets the NextToken field's value.
func (s ListCustomDataIdentifiersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListCustomDataIdentifiersOutput struct { Items []*CustomDataIdentifierSummary `locationName:"items" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Provides the results of a request for information about custom data identifiers.
func (s ListCustomDataIdentifiersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListCustomDataIdentifiersOutput) SetItems(v []*CustomDataIdentifierSummary) *ListCustomDataIdentifiersOutput
SetItems sets the Items field's value.
func (s *ListCustomDataIdentifiersOutput) SetNextToken(v string) *ListCustomDataIdentifiersOutput
SetNextToken sets the NextToken field's value.
func (s ListCustomDataIdentifiersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFindingsFiltersInput struct {
MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}
func (s ListFindingsFiltersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFindingsFiltersInput) SetMaxResults(v int64) *ListFindingsFiltersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListFindingsFiltersInput) SetNextToken(v string) *ListFindingsFiltersInput
SetNextToken sets the NextToken field's value.
func (s ListFindingsFiltersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFindingsFiltersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFindingsFiltersOutput struct { FindingsFilterListItems []*FindingsFilterListItem `locationName:"findingsFilterListItems" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Provides information about all the findings filters for an account.
func (s ListFindingsFiltersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFindingsFiltersOutput) SetFindingsFilterListItems(v []*FindingsFilterListItem) *ListFindingsFiltersOutput
SetFindingsFilterListItems sets the FindingsFilterListItems field's value.
func (s *ListFindingsFiltersOutput) SetNextToken(v string) *ListFindingsFiltersOutput
SetNextToken sets the NextToken field's value.
func (s ListFindingsFiltersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFindingsInput struct { // Specifies, as a map, one or more property-based conditions that filter the // results of a query for findings. FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` MaxResults *int64 `locationName:"maxResults" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` // Specifies criteria for sorting the results of a request for findings. SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
Specifies criteria for filtering, sorting, and paginating the results of a request for information about findings.
func (s ListFindingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFindingsInput) SetFindingCriteria(v *FindingCriteria) *ListFindingsInput
SetFindingCriteria sets the FindingCriteria field's value.
func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput
SetNextToken sets the NextToken field's value.
func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput
SetSortCriteria sets the SortCriteria field's value.
func (s ListFindingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFindingsOutput struct {
FindingIds []*string `locationName:"findingIds" type:"list"`
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}
Provides the results of a request for information about one or more findings.
func (s ListFindingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFindingsOutput) SetFindingIds(v []*string) *ListFindingsOutput
SetFindingIds sets the FindingIds field's value.
func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput
SetNextToken sets the NextToken field's value.
func (s ListFindingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListInvitationsInput struct {
MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}
func (s ListInvitationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput
SetNextToken sets the NextToken field's value.
func (s ListInvitationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListInvitationsOutput struct { Invitations []*Invitation `locationName:"invitations" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Provides information about the Amazon Macie membership invitations that were received by an account.
func (s ListInvitationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput
SetInvitations sets the Invitations field's value.
func (s *ListInvitationsOutput) SetNextToken(v string) *ListInvitationsOutput
SetNextToken sets the NextToken field's value.
func (s ListInvitationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListJobsFilterCriteria struct { Excludes []*ListJobsFilterTerm `locationName:"excludes" type:"list"` Includes []*ListJobsFilterTerm `locationName:"includes" type:"list"` // contains filtered or unexported fields }
Specifies criteria for filtering the results of a request for information about classification jobs.
func (s ListJobsFilterCriteria) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListJobsFilterCriteria) SetExcludes(v []*ListJobsFilterTerm) *ListJobsFilterCriteria
SetExcludes sets the Excludes field's value.
func (s *ListJobsFilterCriteria) SetIncludes(v []*ListJobsFilterTerm) *ListJobsFilterCriteria
SetIncludes sets the Includes field's value.
func (s ListJobsFilterCriteria) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListJobsFilterTerm struct { // The operator to use in a condition. Depending on the type of condition, possible // values are: Comparator *string `locationName:"comparator" type:"string" enum:"JobComparator"` // The property to use to filter the results. Valid values are: Key *string `locationName:"key" type:"string" enum:"ListJobsFilterKey"` Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
Specifies a condition that filters the results of a request for information about classification jobs. Each condition consists of a property, an operator, and one or more values.
func (s ListJobsFilterTerm) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListJobsFilterTerm) SetComparator(v string) *ListJobsFilterTerm
SetComparator sets the Comparator field's value.
func (s *ListJobsFilterTerm) SetKey(v string) *ListJobsFilterTerm
SetKey sets the Key field's value.
func (s *ListJobsFilterTerm) SetValues(v []*string) *ListJobsFilterTerm
SetValues sets the Values field's value.
func (s ListJobsFilterTerm) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListJobsSortCriteria struct { // The property to sort the results by. Valid values are: AttributeName *string `locationName:"attributeName" type:"string" enum:"ListJobsSortAttributeName"` OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"` // contains filtered or unexported fields }
Specifies criteria for sorting the results of a request for information about classification jobs.
func (s ListJobsSortCriteria) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListJobsSortCriteria) SetAttributeName(v string) *ListJobsSortCriteria
SetAttributeName sets the AttributeName field's value.
func (s *ListJobsSortCriteria) SetOrderBy(v string) *ListJobsSortCriteria
SetOrderBy sets the OrderBy field's value.
func (s ListJobsSortCriteria) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListManagedDataIdentifiersInput struct {
NextToken *string `locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}
Specifies criteria for paginating the results of a request for information about managed data identifiers.
func (s ListManagedDataIdentifiersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListManagedDataIdentifiersInput) SetNextToken(v string) *ListManagedDataIdentifiersInput
SetNextToken sets the NextToken field's value.
func (s ListManagedDataIdentifiersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListManagedDataIdentifiersOutput struct { Items []*ManagedDataIdentifierSummary `locationName:"items" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Provides information about the managed data identifiers that Amazon Macie currently provides.
func (s ListManagedDataIdentifiersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListManagedDataIdentifiersOutput) SetItems(v []*ManagedDataIdentifierSummary) *ListManagedDataIdentifiersOutput
SetItems sets the Items field's value.
func (s *ListManagedDataIdentifiersOutput) SetNextToken(v string) *ListManagedDataIdentifiersOutput
SetNextToken sets the NextToken field's value.
func (s ListManagedDataIdentifiersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListMembersInput struct {
MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
OnlyAssociated *string `location:"querystring" locationName:"onlyAssociated" type:"string"`
// contains filtered or unexported fields
}
func (s ListMembersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput
SetNextToken sets the NextToken field's value.
func (s *ListMembersInput) SetOnlyAssociated(v string) *ListMembersInput
SetOnlyAssociated sets the OnlyAssociated field's value.
func (s ListMembersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMembersOutput struct { Members []*Member `locationName:"members" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Provides information about the accounts that are associated with an Amazon Macie administrator account.
func (s ListMembersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput
SetMembers sets the Members field's value.
func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput
SetNextToken sets the NextToken field's value.
func (s ListMembersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListOrganizationAdminAccountsInput struct {
MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}
func (s ListOrganizationAdminAccountsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListOrganizationAdminAccountsInput) SetMaxResults(v int64) *ListOrganizationAdminAccountsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListOrganizationAdminAccountsInput) SetNextToken(v string) *ListOrganizationAdminAccountsInput
SetNextToken sets the NextToken field's value.
func (s ListOrganizationAdminAccountsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListOrganizationAdminAccountsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListOrganizationAdminAccountsOutput struct { AdminAccounts []*AdminAccount `locationName:"adminAccounts" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Provides information about the delegated Amazon Macie administrator accounts for an organization in Organizations.
func (s ListOrganizationAdminAccountsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListOrganizationAdminAccountsOutput) SetAdminAccounts(v []*AdminAccount) *ListOrganizationAdminAccountsOutput
SetAdminAccounts sets the AdminAccounts field's value.
func (s *ListOrganizationAdminAccountsOutput) SetNextToken(v string) *ListOrganizationAdminAccountsOutput
SetNextToken sets the NextToken field's value.
func (s ListOrganizationAdminAccountsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // A string-to-string map of key-value pairs that specifies the tags (keys and // values) for a classification job, custom data identifier, findings filter, // or member account. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Provides information about the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Macie2 struct { *client.Client }
Macie2 provides the API operation methods for making requests to Amazon Macie 2. See this package's package overview docs for details on the service.
Macie2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Macie2
New creates a new instance of the Macie2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a Macie2 client from just a session. svc := macie2.New(mySession) // Create a Macie2 client with additional configuration svc := macie2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *Macie2) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error)
AcceptInvitation API operation for Amazon Macie 2.
Accepts an Amazon Macie membership invitation that was received from a specific account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation AcceptInvitation for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation
func (c *Macie2) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput)
AcceptInvitationRequest generates a "aws/request.Request" representing the client's request for the AcceptInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AcceptInvitation for more information on using the AcceptInvitation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AcceptInvitationRequest method. req, resp := client.AcceptInvitationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation
func (c *Macie2) AcceptInvitationWithContext(ctx aws.Context, input *AcceptInvitationInput, opts ...request.Option) (*AcceptInvitationOutput, error)
AcceptInvitationWithContext is the same as AcceptInvitation with the addition of the ability to pass a context and additional request options.
See AcceptInvitation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) BatchGetCustomDataIdentifiers(input *BatchGetCustomDataIdentifiersInput) (*BatchGetCustomDataIdentifiersOutput, error)
BatchGetCustomDataIdentifiers API operation for Amazon Macie 2.
Retrieves information about one or more custom data identifiers.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation BatchGetCustomDataIdentifiers for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers
func (c *Macie2) BatchGetCustomDataIdentifiersRequest(input *BatchGetCustomDataIdentifiersInput) (req *request.Request, output *BatchGetCustomDataIdentifiersOutput)
BatchGetCustomDataIdentifiersRequest generates a "aws/request.Request" representing the client's request for the BatchGetCustomDataIdentifiers operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchGetCustomDataIdentifiers for more information on using the BatchGetCustomDataIdentifiers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchGetCustomDataIdentifiersRequest method. req, resp := client.BatchGetCustomDataIdentifiersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers
func (c *Macie2) BatchGetCustomDataIdentifiersWithContext(ctx aws.Context, input *BatchGetCustomDataIdentifiersInput, opts ...request.Option) (*BatchGetCustomDataIdentifiersOutput, error)
BatchGetCustomDataIdentifiersWithContext is the same as BatchGetCustomDataIdentifiers with the addition of the ability to pass a context and additional request options.
See BatchGetCustomDataIdentifiers for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) CreateClassificationJob(input *CreateClassificationJobInput) (*CreateClassificationJobOutput, error)
CreateClassificationJob API operation for Amazon Macie 2.
Creates and defines the settings for a classification job.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation CreateClassificationJob for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob
func (c *Macie2) CreateClassificationJobRequest(input *CreateClassificationJobInput) (req *request.Request, output *CreateClassificationJobOutput)
CreateClassificationJobRequest generates a "aws/request.Request" representing the client's request for the CreateClassificationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateClassificationJob for more information on using the CreateClassificationJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateClassificationJobRequest method. req, resp := client.CreateClassificationJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob
func (c *Macie2) CreateClassificationJobWithContext(ctx aws.Context, input *CreateClassificationJobInput, opts ...request.Option) (*CreateClassificationJobOutput, error)
CreateClassificationJobWithContext is the same as CreateClassificationJob with the addition of the ability to pass a context and additional request options.
See CreateClassificationJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) CreateCustomDataIdentifier(input *CreateCustomDataIdentifierInput) (*CreateCustomDataIdentifierOutput, error)
CreateCustomDataIdentifier API operation for Amazon Macie 2.
Creates and defines the criteria and other settings for a custom data identifier.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation CreateCustomDataIdentifier for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier
func (c *Macie2) CreateCustomDataIdentifierRequest(input *CreateCustomDataIdentifierInput) (req *request.Request, output *CreateCustomDataIdentifierOutput)
CreateCustomDataIdentifierRequest generates a "aws/request.Request" representing the client's request for the CreateCustomDataIdentifier operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateCustomDataIdentifier for more information on using the CreateCustomDataIdentifier API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateCustomDataIdentifierRequest method. req, resp := client.CreateCustomDataIdentifierRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier
func (c *Macie2) CreateCustomDataIdentifierWithContext(ctx aws.Context, input *CreateCustomDataIdentifierInput, opts ...request.Option) (*CreateCustomDataIdentifierOutput, error)
CreateCustomDataIdentifierWithContext is the same as CreateCustomDataIdentifier with the addition of the ability to pass a context and additional request options.
See CreateCustomDataIdentifier for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) CreateFindingsFilter(input *CreateFindingsFilterInput) (*CreateFindingsFilterOutput, error)
CreateFindingsFilter API operation for Amazon Macie 2.
Creates and defines the criteria and other settings for a findings filter.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation CreateFindingsFilter for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter
func (c *Macie2) CreateFindingsFilterRequest(input *CreateFindingsFilterInput) (req *request.Request, output *CreateFindingsFilterOutput)
CreateFindingsFilterRequest generates a "aws/request.Request" representing the client's request for the CreateFindingsFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateFindingsFilter for more information on using the CreateFindingsFilter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateFindingsFilterRequest method. req, resp := client.CreateFindingsFilterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter
func (c *Macie2) CreateFindingsFilterWithContext(ctx aws.Context, input *CreateFindingsFilterInput, opts ...request.Option) (*CreateFindingsFilterOutput, error)
CreateFindingsFilterWithContext is the same as CreateFindingsFilter with the addition of the ability to pass a context and additional request options.
See CreateFindingsFilter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) CreateInvitations(input *CreateInvitationsInput) (*CreateInvitationsOutput, error)
CreateInvitations API operation for Amazon Macie 2.
Sends an Amazon Macie membership invitation to one or more accounts.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation CreateInvitations for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations
func (c *Macie2) CreateInvitationsRequest(input *CreateInvitationsInput) (req *request.Request, output *CreateInvitationsOutput)
CreateInvitationsRequest generates a "aws/request.Request" representing the client's request for the CreateInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateInvitations for more information on using the CreateInvitations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateInvitationsRequest method. req, resp := client.CreateInvitationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations
func (c *Macie2) CreateInvitationsWithContext(ctx aws.Context, input *CreateInvitationsInput, opts ...request.Option) (*CreateInvitationsOutput, error)
CreateInvitationsWithContext is the same as CreateInvitations with the addition of the ability to pass a context and additional request options.
See CreateInvitations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) CreateMember(input *CreateMemberInput) (*CreateMemberOutput, error)
CreateMember API operation for Amazon Macie 2.
Associates an account with an Amazon Macie administrator account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation CreateMember for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember
func (c *Macie2) CreateMemberRequest(input *CreateMemberInput) (req *request.Request, output *CreateMemberOutput)
CreateMemberRequest generates a "aws/request.Request" representing the client's request for the CreateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateMember for more information on using the CreateMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateMemberRequest method. req, resp := client.CreateMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember
func (c *Macie2) CreateMemberWithContext(ctx aws.Context, input *CreateMemberInput, opts ...request.Option) (*CreateMemberOutput, error)
CreateMemberWithContext is the same as CreateMember with the addition of the ability to pass a context and additional request options.
See CreateMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) CreateSampleFindings(input *CreateSampleFindingsInput) (*CreateSampleFindingsOutput, error)
CreateSampleFindings API operation for Amazon Macie 2.
Creates sample findings.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation CreateSampleFindings for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings
func (c *Macie2) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) (req *request.Request, output *CreateSampleFindingsOutput)
CreateSampleFindingsRequest generates a "aws/request.Request" representing the client's request for the CreateSampleFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateSampleFindings for more information on using the CreateSampleFindings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateSampleFindingsRequest method. req, resp := client.CreateSampleFindingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings
func (c *Macie2) CreateSampleFindingsWithContext(ctx aws.Context, input *CreateSampleFindingsInput, opts ...request.Option) (*CreateSampleFindingsOutput, error)
CreateSampleFindingsWithContext is the same as CreateSampleFindings with the addition of the ability to pass a context and additional request options.
See CreateSampleFindings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error)
DeclineInvitations API operation for Amazon Macie 2.
Declines Amazon Macie membership invitations that were received from specific accounts.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DeclineInvitations for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations
func (c *Macie2) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput)
DeclineInvitationsRequest generates a "aws/request.Request" representing the client's request for the DeclineInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeclineInvitations for more information on using the DeclineInvitations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeclineInvitationsRequest method. req, resp := client.DeclineInvitationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations
func (c *Macie2) DeclineInvitationsWithContext(ctx aws.Context, input *DeclineInvitationsInput, opts ...request.Option) (*DeclineInvitationsOutput, error)
DeclineInvitationsWithContext is the same as DeclineInvitations with the addition of the ability to pass a context and additional request options.
See DeclineInvitations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DeleteCustomDataIdentifier(input *DeleteCustomDataIdentifierInput) (*DeleteCustomDataIdentifierOutput, error)
DeleteCustomDataIdentifier API operation for Amazon Macie 2.
Soft deletes a custom data identifier.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DeleteCustomDataIdentifier for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier
func (c *Macie2) DeleteCustomDataIdentifierRequest(input *DeleteCustomDataIdentifierInput) (req *request.Request, output *DeleteCustomDataIdentifierOutput)
DeleteCustomDataIdentifierRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomDataIdentifier operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteCustomDataIdentifier for more information on using the DeleteCustomDataIdentifier API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteCustomDataIdentifierRequest method. req, resp := client.DeleteCustomDataIdentifierRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier
func (c *Macie2) DeleteCustomDataIdentifierWithContext(ctx aws.Context, input *DeleteCustomDataIdentifierInput, opts ...request.Option) (*DeleteCustomDataIdentifierOutput, error)
DeleteCustomDataIdentifierWithContext is the same as DeleteCustomDataIdentifier with the addition of the ability to pass a context and additional request options.
See DeleteCustomDataIdentifier for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DeleteFindingsFilter(input *DeleteFindingsFilterInput) (*DeleteFindingsFilterOutput, error)
DeleteFindingsFilter API operation for Amazon Macie 2.
Deletes a findings filter.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DeleteFindingsFilter for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter
func (c *Macie2) DeleteFindingsFilterRequest(input *DeleteFindingsFilterInput) (req *request.Request, output *DeleteFindingsFilterOutput)
DeleteFindingsFilterRequest generates a "aws/request.Request" representing the client's request for the DeleteFindingsFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteFindingsFilter for more information on using the DeleteFindingsFilter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteFindingsFilterRequest method. req, resp := client.DeleteFindingsFilterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter
func (c *Macie2) DeleteFindingsFilterWithContext(ctx aws.Context, input *DeleteFindingsFilterInput, opts ...request.Option) (*DeleteFindingsFilterOutput, error)
DeleteFindingsFilterWithContext is the same as DeleteFindingsFilter with the addition of the ability to pass a context and additional request options.
See DeleteFindingsFilter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error)
DeleteInvitations API operation for Amazon Macie 2.
Deletes Amazon Macie membership invitations that were received from specific accounts.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DeleteInvitations for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations
func (c *Macie2) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput)
DeleteInvitationsRequest generates a "aws/request.Request" representing the client's request for the DeleteInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteInvitations for more information on using the DeleteInvitations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteInvitationsRequest method. req, resp := client.DeleteInvitationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations
func (c *Macie2) DeleteInvitationsWithContext(ctx aws.Context, input *DeleteInvitationsInput, opts ...request.Option) (*DeleteInvitationsOutput, error)
DeleteInvitationsWithContext is the same as DeleteInvitations with the addition of the ability to pass a context and additional request options.
See DeleteInvitations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DeleteMember(input *DeleteMemberInput) (*DeleteMemberOutput, error)
DeleteMember API operation for Amazon Macie 2.
Deletes the association between an Amazon Macie administrator account and an account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DeleteMember for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember
func (c *Macie2) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Request, output *DeleteMemberOutput)
DeleteMemberRequest generates a "aws/request.Request" representing the client's request for the DeleteMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteMember for more information on using the DeleteMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteMemberRequest method. req, resp := client.DeleteMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember
func (c *Macie2) DeleteMemberWithContext(ctx aws.Context, input *DeleteMemberInput, opts ...request.Option) (*DeleteMemberOutput, error)
DeleteMemberWithContext is the same as DeleteMember with the addition of the ability to pass a context and additional request options.
See DeleteMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DescribeBuckets(input *DescribeBucketsInput) (*DescribeBucketsOutput, error)
DescribeBuckets API operation for Amazon Macie 2.
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DescribeBuckets for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets
func (c *Macie2) DescribeBucketsPages(input *DescribeBucketsInput, fn func(*DescribeBucketsOutput, bool) bool) error
DescribeBucketsPages iterates over the pages of a DescribeBuckets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeBuckets method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeBuckets operation. pageNum := 0 err := client.DescribeBucketsPages(params, func(page *macie2.DescribeBucketsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) DescribeBucketsPagesWithContext(ctx aws.Context, input *DescribeBucketsInput, fn func(*DescribeBucketsOutput, bool) bool, opts ...request.Option) error
DescribeBucketsPagesWithContext same as DescribeBucketsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DescribeBucketsRequest(input *DescribeBucketsInput) (req *request.Request, output *DescribeBucketsOutput)
DescribeBucketsRequest generates a "aws/request.Request" representing the client's request for the DescribeBuckets operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeBuckets for more information on using the DescribeBuckets API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeBucketsRequest method. req, resp := client.DescribeBucketsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets
func (c *Macie2) DescribeBucketsWithContext(ctx aws.Context, input *DescribeBucketsInput, opts ...request.Option) (*DescribeBucketsOutput, error)
DescribeBucketsWithContext is the same as DescribeBuckets with the addition of the ability to pass a context and additional request options.
See DescribeBuckets for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DescribeClassificationJob(input *DescribeClassificationJobInput) (*DescribeClassificationJobOutput, error)
DescribeClassificationJob API operation for Amazon Macie 2.
Retrieves the status and settings for a classification job.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DescribeClassificationJob for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob
func (c *Macie2) DescribeClassificationJobRequest(input *DescribeClassificationJobInput) (req *request.Request, output *DescribeClassificationJobOutput)
DescribeClassificationJobRequest generates a "aws/request.Request" representing the client's request for the DescribeClassificationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeClassificationJob for more information on using the DescribeClassificationJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeClassificationJobRequest method. req, resp := client.DescribeClassificationJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob
func (c *Macie2) DescribeClassificationJobWithContext(ctx aws.Context, input *DescribeClassificationJobInput, opts ...request.Option) (*DescribeClassificationJobOutput, error)
DescribeClassificationJobWithContext is the same as DescribeClassificationJob with the addition of the ability to pass a context and additional request options.
See DescribeClassificationJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error)
DescribeOrganizationConfiguration API operation for Amazon Macie 2.
Retrieves the Amazon Macie configuration settings for an organization in Organizations.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DescribeOrganizationConfiguration for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration
func (c *Macie2) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput)
DescribeOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeOrganizationConfiguration for more information on using the DescribeOrganizationConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeOrganizationConfigurationRequest method. req, resp := client.DescribeOrganizationConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration
func (c *Macie2) DescribeOrganizationConfigurationWithContext(ctx aws.Context, input *DescribeOrganizationConfigurationInput, opts ...request.Option) (*DescribeOrganizationConfigurationOutput, error)
DescribeOrganizationConfigurationWithContext is the same as DescribeOrganizationConfiguration with the addition of the ability to pass a context and additional request options.
See DescribeOrganizationConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DisableMacie(input *DisableMacieInput) (*DisableMacieOutput, error)
DisableMacie API operation for Amazon Macie 2.
Disables Amazon Macie and deletes all settings and resources for a Macie account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DisableMacie for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie
func (c *Macie2) DisableMacieRequest(input *DisableMacieInput) (req *request.Request, output *DisableMacieOutput)
DisableMacieRequest generates a "aws/request.Request" representing the client's request for the DisableMacie operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisableMacie for more information on using the DisableMacie API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisableMacieRequest method. req, resp := client.DisableMacieRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie
func (c *Macie2) DisableMacieWithContext(ctx aws.Context, input *DisableMacieInput, opts ...request.Option) (*DisableMacieOutput, error)
DisableMacieWithContext is the same as DisableMacie with the addition of the ability to pass a context and additional request options.
See DisableMacie for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error)
DisableOrganizationAdminAccount API operation for Amazon Macie 2.
Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DisableOrganizationAdminAccount for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount
func (c *Macie2) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput)
DisableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the client's request for the DisableOrganizationAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisableOrganizationAdminAccount for more information on using the DisableOrganizationAdminAccount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisableOrganizationAdminAccountRequest method. req, resp := client.DisableOrganizationAdminAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount
func (c *Macie2) DisableOrganizationAdminAccountWithContext(ctx aws.Context, input *DisableOrganizationAdminAccountInput, opts ...request.Option) (*DisableOrganizationAdminAccountOutput, error)
DisableOrganizationAdminAccountWithContext is the same as DisableOrganizationAdminAccount with the addition of the ability to pass a context and additional request options.
See DisableOrganizationAdminAccount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DisassociateFromAdministratorAccount(input *DisassociateFromAdministratorAccountInput) (*DisassociateFromAdministratorAccountOutput, error)
DisassociateFromAdministratorAccount API operation for Amazon Macie 2.
Disassociates a member account from its Amazon Macie administrator account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DisassociateFromAdministratorAccount for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount
func (c *Macie2) DisassociateFromAdministratorAccountRequest(input *DisassociateFromAdministratorAccountInput) (req *request.Request, output *DisassociateFromAdministratorAccountOutput)
DisassociateFromAdministratorAccountRequest generates a "aws/request.Request" representing the client's request for the DisassociateFromAdministratorAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateFromAdministratorAccount for more information on using the DisassociateFromAdministratorAccount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateFromAdministratorAccountRequest method. req, resp := client.DisassociateFromAdministratorAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount
func (c *Macie2) DisassociateFromAdministratorAccountWithContext(ctx aws.Context, input *DisassociateFromAdministratorAccountInput, opts ...request.Option) (*DisassociateFromAdministratorAccountOutput, error)
DisassociateFromAdministratorAccountWithContext is the same as DisassociateFromAdministratorAccount with the addition of the ability to pass a context and additional request options.
See DisassociateFromAdministratorAccount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error)
DisassociateFromMasterAccount API operation for Amazon Macie 2.
(Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been replaced by the DisassociateFromAdministratorAccount operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DisassociateFromMasterAccount for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount
func (c *Macie2) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput)
DisassociateFromMasterAccountRequest generates a "aws/request.Request" representing the client's request for the DisassociateFromMasterAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateFromMasterAccount for more information on using the DisassociateFromMasterAccount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateFromMasterAccountRequest method. req, resp := client.DisassociateFromMasterAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount
func (c *Macie2) DisassociateFromMasterAccountWithContext(ctx aws.Context, input *DisassociateFromMasterAccountInput, opts ...request.Option) (*DisassociateFromMasterAccountOutput, error)
DisassociateFromMasterAccountWithContext is the same as DisassociateFromMasterAccount with the addition of the ability to pass a context and additional request options.
See DisassociateFromMasterAccount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) DisassociateMember(input *DisassociateMemberInput) (*DisassociateMemberOutput, error)
DisassociateMember API operation for Amazon Macie 2.
Disassociates an Amazon Macie administrator account from a member account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation DisassociateMember for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember
func (c *Macie2) DisassociateMemberRequest(input *DisassociateMemberInput) (req *request.Request, output *DisassociateMemberOutput)
DisassociateMemberRequest generates a "aws/request.Request" representing the client's request for the DisassociateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateMember for more information on using the DisassociateMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateMemberRequest method. req, resp := client.DisassociateMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember
func (c *Macie2) DisassociateMemberWithContext(ctx aws.Context, input *DisassociateMemberInput, opts ...request.Option) (*DisassociateMemberOutput, error)
DisassociateMemberWithContext is the same as DisassociateMember with the addition of the ability to pass a context and additional request options.
See DisassociateMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) EnableMacie(input *EnableMacieInput) (*EnableMacieOutput, error)
EnableMacie API operation for Amazon Macie 2.
Enables Amazon Macie and specifies the configuration settings for a Macie account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation EnableMacie for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie
func (c *Macie2) EnableMacieRequest(input *EnableMacieInput) (req *request.Request, output *EnableMacieOutput)
EnableMacieRequest generates a "aws/request.Request" representing the client's request for the EnableMacie operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See EnableMacie for more information on using the EnableMacie API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the EnableMacieRequest method. req, resp := client.EnableMacieRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie
func (c *Macie2) EnableMacieWithContext(ctx aws.Context, input *EnableMacieInput, opts ...request.Option) (*EnableMacieOutput, error)
EnableMacieWithContext is the same as EnableMacie with the addition of the ability to pass a context and additional request options.
See EnableMacie for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error)
EnableOrganizationAdminAccount API operation for Amazon Macie 2.
Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation EnableOrganizationAdminAccount for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount
func (c *Macie2) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput)
EnableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the client's request for the EnableOrganizationAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See EnableOrganizationAdminAccount for more information on using the EnableOrganizationAdminAccount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the EnableOrganizationAdminAccountRequest method. req, resp := client.EnableOrganizationAdminAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount
func (c *Macie2) EnableOrganizationAdminAccountWithContext(ctx aws.Context, input *EnableOrganizationAdminAccountInput, opts ...request.Option) (*EnableOrganizationAdminAccountOutput, error)
EnableOrganizationAdminAccountWithContext is the same as EnableOrganizationAdminAccount with the addition of the ability to pass a context and additional request options.
See EnableOrganizationAdminAccount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetAdministratorAccount(input *GetAdministratorAccountInput) (*GetAdministratorAccountOutput, error)
GetAdministratorAccount API operation for Amazon Macie 2.
Retrieves information about the Amazon Macie administrator account for an account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetAdministratorAccount for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount
func (c *Macie2) GetAdministratorAccountRequest(input *GetAdministratorAccountInput) (req *request.Request, output *GetAdministratorAccountOutput)
GetAdministratorAccountRequest generates a "aws/request.Request" representing the client's request for the GetAdministratorAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAdministratorAccount for more information on using the GetAdministratorAccount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAdministratorAccountRequest method. req, resp := client.GetAdministratorAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount
func (c *Macie2) GetAdministratorAccountWithContext(ctx aws.Context, input *GetAdministratorAccountInput, opts ...request.Option) (*GetAdministratorAccountOutput, error)
GetAdministratorAccountWithContext is the same as GetAdministratorAccount with the addition of the ability to pass a context and additional request options.
See GetAdministratorAccount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetBucketStatistics(input *GetBucketStatisticsInput) (*GetBucketStatisticsOutput, error)
GetBucketStatistics API operation for Amazon Macie 2.
Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetBucketStatistics for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics
func (c *Macie2) GetBucketStatisticsRequest(input *GetBucketStatisticsInput) (req *request.Request, output *GetBucketStatisticsOutput)
GetBucketStatisticsRequest generates a "aws/request.Request" representing the client's request for the GetBucketStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetBucketStatistics for more information on using the GetBucketStatistics API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetBucketStatisticsRequest method. req, resp := client.GetBucketStatisticsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics
func (c *Macie2) GetBucketStatisticsWithContext(ctx aws.Context, input *GetBucketStatisticsInput, opts ...request.Option) (*GetBucketStatisticsOutput, error)
GetBucketStatisticsWithContext is the same as GetBucketStatistics with the addition of the ability to pass a context and additional request options.
See GetBucketStatistics for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetClassificationExportConfiguration(input *GetClassificationExportConfigurationInput) (*GetClassificationExportConfigurationOutput, error)
GetClassificationExportConfiguration API operation for Amazon Macie 2.
Retrieves the configuration settings for storing data classification results.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetClassificationExportConfiguration for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration
func (c *Macie2) GetClassificationExportConfigurationRequest(input *GetClassificationExportConfigurationInput) (req *request.Request, output *GetClassificationExportConfigurationOutput)
GetClassificationExportConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetClassificationExportConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetClassificationExportConfiguration for more information on using the GetClassificationExportConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetClassificationExportConfigurationRequest method. req, resp := client.GetClassificationExportConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration
func (c *Macie2) GetClassificationExportConfigurationWithContext(ctx aws.Context, input *GetClassificationExportConfigurationInput, opts ...request.Option) (*GetClassificationExportConfigurationOutput, error)
GetClassificationExportConfigurationWithContext is the same as GetClassificationExportConfiguration with the addition of the ability to pass a context and additional request options.
See GetClassificationExportConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetCustomDataIdentifier(input *GetCustomDataIdentifierInput) (*GetCustomDataIdentifierOutput, error)
GetCustomDataIdentifier API operation for Amazon Macie 2.
Retrieves the criteria and other settings for a custom data identifier.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetCustomDataIdentifier for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier
func (c *Macie2) GetCustomDataIdentifierRequest(input *GetCustomDataIdentifierInput) (req *request.Request, output *GetCustomDataIdentifierOutput)
GetCustomDataIdentifierRequest generates a "aws/request.Request" representing the client's request for the GetCustomDataIdentifier operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetCustomDataIdentifier for more information on using the GetCustomDataIdentifier API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetCustomDataIdentifierRequest method. req, resp := client.GetCustomDataIdentifierRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier
func (c *Macie2) GetCustomDataIdentifierWithContext(ctx aws.Context, input *GetCustomDataIdentifierInput, opts ...request.Option) (*GetCustomDataIdentifierOutput, error)
GetCustomDataIdentifierWithContext is the same as GetCustomDataIdentifier with the addition of the ability to pass a context and additional request options.
See GetCustomDataIdentifier for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetFindingStatistics(input *GetFindingStatisticsInput) (*GetFindingStatisticsOutput, error)
GetFindingStatistics API operation for Amazon Macie 2.
Retrieves (queries) aggregated statistical data about findings.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetFindingStatistics for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics
func (c *Macie2) GetFindingStatisticsRequest(input *GetFindingStatisticsInput) (req *request.Request, output *GetFindingStatisticsOutput)
GetFindingStatisticsRequest generates a "aws/request.Request" representing the client's request for the GetFindingStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFindingStatistics for more information on using the GetFindingStatistics API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFindingStatisticsRequest method. req, resp := client.GetFindingStatisticsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics
func (c *Macie2) GetFindingStatisticsWithContext(ctx aws.Context, input *GetFindingStatisticsInput, opts ...request.Option) (*GetFindingStatisticsOutput, error)
GetFindingStatisticsWithContext is the same as GetFindingStatistics with the addition of the ability to pass a context and additional request options.
See GetFindingStatistics for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error)
GetFindings API operation for Amazon Macie 2.
Retrieves the details of one or more findings.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetFindings for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings
func (c *Macie2) GetFindingsFilter(input *GetFindingsFilterInput) (*GetFindingsFilterOutput, error)
GetFindingsFilter API operation for Amazon Macie 2.
Retrieves the criteria and other settings for a findings filter.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetFindingsFilter for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter
func (c *Macie2) GetFindingsFilterRequest(input *GetFindingsFilterInput) (req *request.Request, output *GetFindingsFilterOutput)
GetFindingsFilterRequest generates a "aws/request.Request" representing the client's request for the GetFindingsFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFindingsFilter for more information on using the GetFindingsFilter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFindingsFilterRequest method. req, resp := client.GetFindingsFilterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter
func (c *Macie2) GetFindingsFilterWithContext(ctx aws.Context, input *GetFindingsFilterInput, opts ...request.Option) (*GetFindingsFilterOutput, error)
GetFindingsFilterWithContext is the same as GetFindingsFilter with the addition of the ability to pass a context and additional request options.
See GetFindingsFilter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetFindingsPublicationConfiguration(input *GetFindingsPublicationConfigurationInput) (*GetFindingsPublicationConfigurationOutput, error)
GetFindingsPublicationConfiguration API operation for Amazon Macie 2.
Retrieves the configuration settings for publishing findings to Security Hub.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetFindingsPublicationConfiguration for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration
func (c *Macie2) GetFindingsPublicationConfigurationRequest(input *GetFindingsPublicationConfigurationInput) (req *request.Request, output *GetFindingsPublicationConfigurationOutput)
GetFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetFindingsPublicationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFindingsPublicationConfiguration for more information on using the GetFindingsPublicationConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFindingsPublicationConfigurationRequest method. req, resp := client.GetFindingsPublicationConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration
func (c *Macie2) GetFindingsPublicationConfigurationWithContext(ctx aws.Context, input *GetFindingsPublicationConfigurationInput, opts ...request.Option) (*GetFindingsPublicationConfigurationOutput, error)
GetFindingsPublicationConfigurationWithContext is the same as GetFindingsPublicationConfiguration with the addition of the ability to pass a context and additional request options.
See GetFindingsPublicationConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput)
GetFindingsRequest generates a "aws/request.Request" representing the client's request for the GetFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFindings for more information on using the GetFindings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFindingsRequest method. req, resp := client.GetFindingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings
func (c *Macie2) GetFindingsWithContext(ctx aws.Context, input *GetFindingsInput, opts ...request.Option) (*GetFindingsOutput, error)
GetFindingsWithContext is the same as GetFindings with the addition of the ability to pass a context and additional request options.
See GetFindings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error)
GetInvitationsCount API operation for Amazon Macie 2.
Retrieves the count of Amazon Macie membership invitations that were received by an account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetInvitationsCount for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount
func (c *Macie2) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput)
GetInvitationsCountRequest generates a "aws/request.Request" representing the client's request for the GetInvitationsCount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetInvitationsCount for more information on using the GetInvitationsCount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetInvitationsCountRequest method. req, resp := client.GetInvitationsCountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount
func (c *Macie2) GetInvitationsCountWithContext(ctx aws.Context, input *GetInvitationsCountInput, opts ...request.Option) (*GetInvitationsCountOutput, error)
GetInvitationsCountWithContext is the same as GetInvitationsCount with the addition of the ability to pass a context and additional request options.
See GetInvitationsCount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetMacieSession(input *GetMacieSessionInput) (*GetMacieSessionOutput, error)
GetMacieSession API operation for Amazon Macie 2.
Retrieves the current status and configuration settings for an Amazon Macie account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetMacieSession for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession
func (c *Macie2) GetMacieSessionRequest(input *GetMacieSessionInput) (req *request.Request, output *GetMacieSessionOutput)
GetMacieSessionRequest generates a "aws/request.Request" representing the client's request for the GetMacieSession operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetMacieSession for more information on using the GetMacieSession API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetMacieSessionRequest method. req, resp := client.GetMacieSessionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession
func (c *Macie2) GetMacieSessionWithContext(ctx aws.Context, input *GetMacieSessionInput, opts ...request.Option) (*GetMacieSessionOutput, error)
GetMacieSessionWithContext is the same as GetMacieSession with the addition of the ability to pass a context and additional request options.
See GetMacieSession for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error)
GetMasterAccount API operation for Amazon Macie 2.
(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetMasterAccount for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount
func (c *Macie2) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput)
GetMasterAccountRequest generates a "aws/request.Request" representing the client's request for the GetMasterAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetMasterAccount for more information on using the GetMasterAccount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetMasterAccountRequest method. req, resp := client.GetMasterAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount
func (c *Macie2) GetMasterAccountWithContext(ctx aws.Context, input *GetMasterAccountInput, opts ...request.Option) (*GetMasterAccountOutput, error)
GetMasterAccountWithContext is the same as GetMasterAccount with the addition of the ability to pass a context and additional request options.
See GetMasterAccount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetMember(input *GetMemberInput) (*GetMemberOutput, error)
GetMember API operation for Amazon Macie 2.
Retrieves information about an account that's associated with an Amazon Macie administrator account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetMember for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember
func (c *Macie2) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput)
GetMemberRequest generates a "aws/request.Request" representing the client's request for the GetMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetMember for more information on using the GetMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetMemberRequest method. req, resp := client.GetMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember
func (c *Macie2) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, opts ...request.Option) (*GetMemberOutput, error)
GetMemberWithContext is the same as GetMember with the addition of the ability to pass a context and additional request options.
See GetMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetUsageStatistics(input *GetUsageStatisticsInput) (*GetUsageStatisticsOutput, error)
GetUsageStatistics API operation for Amazon Macie 2.
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetUsageStatistics for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics
func (c *Macie2) GetUsageStatisticsPages(input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool) error
GetUsageStatisticsPages iterates over the pages of a GetUsageStatistics operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetUsageStatistics method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetUsageStatistics operation. pageNum := 0 err := client.GetUsageStatisticsPages(params, func(page *macie2.GetUsageStatisticsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) GetUsageStatisticsPagesWithContext(ctx aws.Context, input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool, opts ...request.Option) error
GetUsageStatisticsPagesWithContext same as GetUsageStatisticsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req *request.Request, output *GetUsageStatisticsOutput)
GetUsageStatisticsRequest generates a "aws/request.Request" representing the client's request for the GetUsageStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetUsageStatistics for more information on using the GetUsageStatistics API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetUsageStatisticsRequest method. req, resp := client.GetUsageStatisticsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics
func (c *Macie2) GetUsageStatisticsWithContext(ctx aws.Context, input *GetUsageStatisticsInput, opts ...request.Option) (*GetUsageStatisticsOutput, error)
GetUsageStatisticsWithContext is the same as GetUsageStatistics with the addition of the ability to pass a context and additional request options.
See GetUsageStatistics for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) GetUsageTotals(input *GetUsageTotalsInput) (*GetUsageTotalsOutput, error)
GetUsageTotals API operation for Amazon Macie 2.
Retrieves (queries) aggregated usage data for an account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation GetUsageTotals for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals
func (c *Macie2) GetUsageTotalsRequest(input *GetUsageTotalsInput) (req *request.Request, output *GetUsageTotalsOutput)
GetUsageTotalsRequest generates a "aws/request.Request" representing the client's request for the GetUsageTotals operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetUsageTotals for more information on using the GetUsageTotals API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetUsageTotalsRequest method. req, resp := client.GetUsageTotalsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals
func (c *Macie2) GetUsageTotalsWithContext(ctx aws.Context, input *GetUsageTotalsInput, opts ...request.Option) (*GetUsageTotalsOutput, error)
GetUsageTotalsWithContext is the same as GetUsageTotals with the addition of the ability to pass a context and additional request options.
See GetUsageTotals for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListClassificationJobs(input *ListClassificationJobsInput) (*ListClassificationJobsOutput, error)
ListClassificationJobs API operation for Amazon Macie 2.
Retrieves a subset of information about one or more classification jobs.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation ListClassificationJobs for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs
func (c *Macie2) ListClassificationJobsPages(input *ListClassificationJobsInput, fn func(*ListClassificationJobsOutput, bool) bool) error
ListClassificationJobsPages iterates over the pages of a ListClassificationJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListClassificationJobs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListClassificationJobs operation. pageNum := 0 err := client.ListClassificationJobsPages(params, func(page *macie2.ListClassificationJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) ListClassificationJobsPagesWithContext(ctx aws.Context, input *ListClassificationJobsInput, fn func(*ListClassificationJobsOutput, bool) bool, opts ...request.Option) error
ListClassificationJobsPagesWithContext same as ListClassificationJobsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListClassificationJobsRequest(input *ListClassificationJobsInput) (req *request.Request, output *ListClassificationJobsOutput)
ListClassificationJobsRequest generates a "aws/request.Request" representing the client's request for the ListClassificationJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListClassificationJobs for more information on using the ListClassificationJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListClassificationJobsRequest method. req, resp := client.ListClassificationJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs
func (c *Macie2) ListClassificationJobsWithContext(ctx aws.Context, input *ListClassificationJobsInput, opts ...request.Option) (*ListClassificationJobsOutput, error)
ListClassificationJobsWithContext is the same as ListClassificationJobs with the addition of the ability to pass a context and additional request options.
See ListClassificationJobs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListCustomDataIdentifiers(input *ListCustomDataIdentifiersInput) (*ListCustomDataIdentifiersOutput, error)
ListCustomDataIdentifiers API operation for Amazon Macie 2.
Retrieves a subset of information about all the custom data identifiers for an account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation ListCustomDataIdentifiers for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers
func (c *Macie2) ListCustomDataIdentifiersPages(input *ListCustomDataIdentifiersInput, fn func(*ListCustomDataIdentifiersOutput, bool) bool) error
ListCustomDataIdentifiersPages iterates over the pages of a ListCustomDataIdentifiers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCustomDataIdentifiers method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListCustomDataIdentifiers operation. pageNum := 0 err := client.ListCustomDataIdentifiersPages(params, func(page *macie2.ListCustomDataIdentifiersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) ListCustomDataIdentifiersPagesWithContext(ctx aws.Context, input *ListCustomDataIdentifiersInput, fn func(*ListCustomDataIdentifiersOutput, bool) bool, opts ...request.Option) error
ListCustomDataIdentifiersPagesWithContext same as ListCustomDataIdentifiersPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListCustomDataIdentifiersRequest(input *ListCustomDataIdentifiersInput) (req *request.Request, output *ListCustomDataIdentifiersOutput)
ListCustomDataIdentifiersRequest generates a "aws/request.Request" representing the client's request for the ListCustomDataIdentifiers operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListCustomDataIdentifiers for more information on using the ListCustomDataIdentifiers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListCustomDataIdentifiersRequest method. req, resp := client.ListCustomDataIdentifiersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers
func (c *Macie2) ListCustomDataIdentifiersWithContext(ctx aws.Context, input *ListCustomDataIdentifiersInput, opts ...request.Option) (*ListCustomDataIdentifiersOutput, error)
ListCustomDataIdentifiersWithContext is the same as ListCustomDataIdentifiers with the addition of the ability to pass a context and additional request options.
See ListCustomDataIdentifiers for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error)
ListFindings API operation for Amazon Macie 2.
Retrieves a subset of information about one or more findings.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation ListFindings for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings
func (c *Macie2) ListFindingsFilters(input *ListFindingsFiltersInput) (*ListFindingsFiltersOutput, error)
ListFindingsFilters API operation for Amazon Macie 2.
Retrieves a subset of information about all the findings filters for an account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation ListFindingsFilters for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters
func (c *Macie2) ListFindingsFiltersPages(input *ListFindingsFiltersInput, fn func(*ListFindingsFiltersOutput, bool) bool) error
ListFindingsFiltersPages iterates over the pages of a ListFindingsFilters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListFindingsFilters method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListFindingsFilters operation. pageNum := 0 err := client.ListFindingsFiltersPages(params, func(page *macie2.ListFindingsFiltersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) ListFindingsFiltersPagesWithContext(ctx aws.Context, input *ListFindingsFiltersInput, fn func(*ListFindingsFiltersOutput, bool) bool, opts ...request.Option) error
ListFindingsFiltersPagesWithContext same as ListFindingsFiltersPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListFindingsFiltersRequest(input *ListFindingsFiltersInput) (req *request.Request, output *ListFindingsFiltersOutput)
ListFindingsFiltersRequest generates a "aws/request.Request" representing the client's request for the ListFindingsFilters operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListFindingsFilters for more information on using the ListFindingsFilters API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListFindingsFiltersRequest method. req, resp := client.ListFindingsFiltersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters
func (c *Macie2) ListFindingsFiltersWithContext(ctx aws.Context, input *ListFindingsFiltersInput, opts ...request.Option) (*ListFindingsFiltersOutput, error)
ListFindingsFiltersWithContext is the same as ListFindingsFilters with the addition of the ability to pass a context and additional request options.
See ListFindingsFilters for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error
ListFindingsPages iterates over the pages of a ListFindings operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListFindings method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListFindings operation. pageNum := 0 err := client.ListFindingsPages(params, func(page *macie2.ListFindingsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) error
ListFindingsPagesWithContext same as ListFindingsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput)
ListFindingsRequest generates a "aws/request.Request" representing the client's request for the ListFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListFindings for more information on using the ListFindings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListFindingsRequest method. req, resp := client.ListFindingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings
func (c *Macie2) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error)
ListFindingsWithContext is the same as ListFindings with the addition of the ability to pass a context and additional request options.
See ListFindings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error)
ListInvitations API operation for Amazon Macie 2.
Retrieves information about the Amazon Macie membership invitations that were received by an account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation ListInvitations for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations
func (c *Macie2) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error
ListInvitationsPages iterates over the pages of a ListInvitations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListInvitations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListInvitations operation. pageNum := 0 err := client.ListInvitationsPages(params, func(page *macie2.ListInvitationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error
ListInvitationsPagesWithContext same as ListInvitationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput)
ListInvitationsRequest generates a "aws/request.Request" representing the client's request for the ListInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListInvitations for more information on using the ListInvitations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListInvitationsRequest method. req, resp := client.ListInvitationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations
func (c *Macie2) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error)
ListInvitationsWithContext is the same as ListInvitations with the addition of the ability to pass a context and additional request options.
See ListInvitations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListManagedDataIdentifiers(input *ListManagedDataIdentifiersInput) (*ListManagedDataIdentifiersOutput, error)
ListManagedDataIdentifiers API operation for Amazon Macie 2.
Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation ListManagedDataIdentifiers for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers
func (c *Macie2) ListManagedDataIdentifiersRequest(input *ListManagedDataIdentifiersInput) (req *request.Request, output *ListManagedDataIdentifiersOutput)
ListManagedDataIdentifiersRequest generates a "aws/request.Request" representing the client's request for the ListManagedDataIdentifiers operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListManagedDataIdentifiers for more information on using the ListManagedDataIdentifiers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListManagedDataIdentifiersRequest method. req, resp := client.ListManagedDataIdentifiersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers
func (c *Macie2) ListManagedDataIdentifiersWithContext(ctx aws.Context, input *ListManagedDataIdentifiersInput, opts ...request.Option) (*ListManagedDataIdentifiersOutput, error)
ListManagedDataIdentifiersWithContext is the same as ListManagedDataIdentifiers with the addition of the ability to pass a context and additional request options.
See ListManagedDataIdentifiers for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)
ListMembers API operation for Amazon Macie 2.
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation ListMembers for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers
func (c *Macie2) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error
ListMembersPages iterates over the pages of a ListMembers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListMembers method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListMembers operation. pageNum := 0 err := client.ListMembersPages(params, func(page *macie2.ListMembersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error
ListMembersPagesWithContext same as ListMembersPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)
ListMembersRequest generates a "aws/request.Request" representing the client's request for the ListMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListMembers for more information on using the ListMembers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListMembersRequest method. req, resp := client.ListMembersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers
func (c *Macie2) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)
ListMembersWithContext is the same as ListMembers with the addition of the ability to pass a context and additional request options.
See ListMembers for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error)
ListOrganizationAdminAccounts API operation for Amazon Macie 2.
Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation ListOrganizationAdminAccounts for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts
func (c *Macie2) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error
ListOrganizationAdminAccountsPages iterates over the pages of a ListOrganizationAdminAccounts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListOrganizationAdminAccounts method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. pageNum := 0 err := client.ListOrganizationAdminAccountsPages(params, func(page *macie2.ListOrganizationAdminAccountsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) ListOrganizationAdminAccountsPagesWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool, opts ...request.Option) error
ListOrganizationAdminAccountsPagesWithContext same as ListOrganizationAdminAccountsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput)
ListOrganizationAdminAccountsRequest generates a "aws/request.Request" representing the client's request for the ListOrganizationAdminAccounts operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListOrganizationAdminAccounts for more information on using the ListOrganizationAdminAccounts API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListOrganizationAdminAccountsRequest method. req, resp := client.ListOrganizationAdminAccountsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts
func (c *Macie2) ListOrganizationAdminAccountsWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, opts ...request.Option) (*ListOrganizationAdminAccountsOutput, error)
ListOrganizationAdminAccountsWithContext is the same as ListOrganizationAdminAccounts with the addition of the ability to pass a context and additional request options.
See ListOrganizationAdminAccounts for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Macie 2.
Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation ListTagsForResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource
func (c *Macie2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource
func (c *Macie2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) PutClassificationExportConfiguration(input *PutClassificationExportConfigurationInput) (*PutClassificationExportConfigurationOutput, error)
PutClassificationExportConfiguration API operation for Amazon Macie 2.
Creates or updates the configuration settings for storing data classification results.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation PutClassificationExportConfiguration for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration
func (c *Macie2) PutClassificationExportConfigurationRequest(input *PutClassificationExportConfigurationInput) (req *request.Request, output *PutClassificationExportConfigurationOutput)
PutClassificationExportConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutClassificationExportConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutClassificationExportConfiguration for more information on using the PutClassificationExportConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutClassificationExportConfigurationRequest method. req, resp := client.PutClassificationExportConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration
func (c *Macie2) PutClassificationExportConfigurationWithContext(ctx aws.Context, input *PutClassificationExportConfigurationInput, opts ...request.Option) (*PutClassificationExportConfigurationOutput, error)
PutClassificationExportConfigurationWithContext is the same as PutClassificationExportConfiguration with the addition of the ability to pass a context and additional request options.
See PutClassificationExportConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) PutFindingsPublicationConfiguration(input *PutFindingsPublicationConfigurationInput) (*PutFindingsPublicationConfigurationOutput, error)
PutFindingsPublicationConfiguration API operation for Amazon Macie 2.
Updates the configuration settings for publishing findings to Security Hub.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation PutFindingsPublicationConfiguration for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration
func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPublicationConfigurationInput) (req *request.Request, output *PutFindingsPublicationConfigurationOutput)
PutFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutFindingsPublicationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutFindingsPublicationConfiguration for more information on using the PutFindingsPublicationConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutFindingsPublicationConfigurationRequest method. req, resp := client.PutFindingsPublicationConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration
func (c *Macie2) PutFindingsPublicationConfigurationWithContext(ctx aws.Context, input *PutFindingsPublicationConfigurationInput, opts ...request.Option) (*PutFindingsPublicationConfigurationOutput, error)
PutFindingsPublicationConfigurationWithContext is the same as PutFindingsPublicationConfiguration with the addition of the ability to pass a context and additional request options.
See PutFindingsPublicationConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) SearchResources(input *SearchResourcesInput) (*SearchResourcesOutput, error)
SearchResources API operation for Amazon Macie 2.
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation SearchResources for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources
func (c *Macie2) SearchResourcesPages(input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool) error
SearchResourcesPages iterates over the pages of a SearchResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See SearchResources method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a SearchResources operation. pageNum := 0 err := client.SearchResourcesPages(params, func(page *macie2.SearchResourcesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *Macie2) SearchResourcesPagesWithContext(ctx aws.Context, input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool, opts ...request.Option) error
SearchResourcesPagesWithContext same as SearchResourcesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) SearchResourcesRequest(input *SearchResourcesInput) (req *request.Request, output *SearchResourcesOutput)
SearchResourcesRequest generates a "aws/request.Request" representing the client's request for the SearchResources operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SearchResources for more information on using the SearchResources API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SearchResourcesRequest method. req, resp := client.SearchResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources
func (c *Macie2) SearchResourcesWithContext(ctx aws.Context, input *SearchResourcesInput, opts ...request.Option) (*SearchResourcesOutput, error)
SearchResourcesWithContext is the same as SearchResources with the addition of the ability to pass a context and additional request options.
See SearchResources for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Macie 2.
Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation TagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource
func (c *Macie2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource
func (c *Macie2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) TestCustomDataIdentifier(input *TestCustomDataIdentifierInput) (*TestCustomDataIdentifierOutput, error)
TestCustomDataIdentifier API operation for Amazon Macie 2.
Tests a custom data identifier.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation TestCustomDataIdentifier for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier
func (c *Macie2) TestCustomDataIdentifierRequest(input *TestCustomDataIdentifierInput) (req *request.Request, output *TestCustomDataIdentifierOutput)
TestCustomDataIdentifierRequest generates a "aws/request.Request" representing the client's request for the TestCustomDataIdentifier operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TestCustomDataIdentifier for more information on using the TestCustomDataIdentifier API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TestCustomDataIdentifierRequest method. req, resp := client.TestCustomDataIdentifierRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier
func (c *Macie2) TestCustomDataIdentifierWithContext(ctx aws.Context, input *TestCustomDataIdentifierInput, opts ...request.Option) (*TestCustomDataIdentifierOutput, error)
TestCustomDataIdentifierWithContext is the same as TestCustomDataIdentifier with the addition of the ability to pass a context and additional request options.
See TestCustomDataIdentifier for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Macie 2.
Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation UntagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource
func (c *Macie2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource
func (c *Macie2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) UpdateClassificationJob(input *UpdateClassificationJobInput) (*UpdateClassificationJobOutput, error)
UpdateClassificationJob API operation for Amazon Macie 2.
Changes the status of a classification job.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation UpdateClassificationJob for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob
func (c *Macie2) UpdateClassificationJobRequest(input *UpdateClassificationJobInput) (req *request.Request, output *UpdateClassificationJobOutput)
UpdateClassificationJobRequest generates a "aws/request.Request" representing the client's request for the UpdateClassificationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateClassificationJob for more information on using the UpdateClassificationJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateClassificationJobRequest method. req, resp := client.UpdateClassificationJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob
func (c *Macie2) UpdateClassificationJobWithContext(ctx aws.Context, input *UpdateClassificationJobInput, opts ...request.Option) (*UpdateClassificationJobOutput, error)
UpdateClassificationJobWithContext is the same as UpdateClassificationJob with the addition of the ability to pass a context and additional request options.
See UpdateClassificationJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) UpdateFindingsFilter(input *UpdateFindingsFilterInput) (*UpdateFindingsFilterOutput, error)
UpdateFindingsFilter API operation for Amazon Macie 2.
Updates the criteria and other settings for a findings filter.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation UpdateFindingsFilter for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter
func (c *Macie2) UpdateFindingsFilterRequest(input *UpdateFindingsFilterInput) (req *request.Request, output *UpdateFindingsFilterOutput)
UpdateFindingsFilterRequest generates a "aws/request.Request" representing the client's request for the UpdateFindingsFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateFindingsFilter for more information on using the UpdateFindingsFilter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateFindingsFilterRequest method. req, resp := client.UpdateFindingsFilterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter
func (c *Macie2) UpdateFindingsFilterWithContext(ctx aws.Context, input *UpdateFindingsFilterInput, opts ...request.Option) (*UpdateFindingsFilterOutput, error)
UpdateFindingsFilterWithContext is the same as UpdateFindingsFilter with the addition of the ability to pass a context and additional request options.
See UpdateFindingsFilter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) UpdateMacieSession(input *UpdateMacieSessionInput) (*UpdateMacieSessionOutput, error)
UpdateMacieSession API operation for Amazon Macie 2.
Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation UpdateMacieSession for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession
func (c *Macie2) UpdateMacieSessionRequest(input *UpdateMacieSessionInput) (req *request.Request, output *UpdateMacieSessionOutput)
UpdateMacieSessionRequest generates a "aws/request.Request" representing the client's request for the UpdateMacieSession operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateMacieSession for more information on using the UpdateMacieSession API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateMacieSessionRequest method. req, resp := client.UpdateMacieSessionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession
func (c *Macie2) UpdateMacieSessionWithContext(ctx aws.Context, input *UpdateMacieSessionInput, opts ...request.Option) (*UpdateMacieSessionOutput, error)
UpdateMacieSessionWithContext is the same as UpdateMacieSession with the addition of the ability to pass a context and additional request options.
See UpdateMacieSession for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) UpdateMemberSession(input *UpdateMemberSessionInput) (*UpdateMemberSessionOutput, error)
UpdateMemberSession API operation for Amazon Macie 2.
Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation UpdateMemberSession for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession
func (c *Macie2) UpdateMemberSessionRequest(input *UpdateMemberSessionInput) (req *request.Request, output *UpdateMemberSessionOutput)
UpdateMemberSessionRequest generates a "aws/request.Request" representing the client's request for the UpdateMemberSession operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateMemberSession for more information on using the UpdateMemberSession API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateMemberSessionRequest method. req, resp := client.UpdateMemberSessionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession
func (c *Macie2) UpdateMemberSessionWithContext(ctx aws.Context, input *UpdateMemberSessionInput, opts ...request.Option) (*UpdateMemberSessionOutput, error)
UpdateMemberSessionWithContext is the same as UpdateMemberSession with the addition of the ability to pass a context and additional request options.
See UpdateMemberSession for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Macie2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error)
UpdateOrganizationConfiguration API operation for Amazon Macie 2.
Updates the Amazon Macie configuration settings for an organization in Organizations.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Macie 2's API operation UpdateOrganizationConfiguration for usage and error information.
Returned Error Types:
* ValidationException Provides information about an error that occurred due to a syntax error in a request. * InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure. * ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account. * AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource. * ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found. * ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time. * ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration
func (c *Macie2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput)
UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateOrganizationConfigurationRequest method. req, resp := client.UpdateOrganizationConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration
func (c *Macie2) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error)
UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of the ability to pass a context and additional request options.
See UpdateOrganizationConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.