macie2

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 10

Documentation

Overview

Package macie2 provides the client and types for making API requests to Amazon Macie 2.

Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.

See https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01 for more information on this service.

See macie2 package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/macie2/

Using the Client

To use Amazon Macie 2 with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Macie 2 client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/macie2/#New

Index

Constants

View Source
const (
	ServiceName = "Amazon Macie 2" // Service's name
	ServiceID   = "Macie2"         // Service's identifier
	EndpointsID = "macie2"         // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// Provides information about an error that occurred due to insufficient access
	// to a specified resource.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// Provides information about an error that occurred due to a versioning conflict
	// for a specified resource.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// Provides information about an error that occurred due to an unknown internal
	// server error, exception, or failure.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Provides information about an error that occurred because a specified resource
	// wasn't found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// Provides information about an error that occurred due to one or more service
	// quotas for an account.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// Provides information about an error that occurred because too many requests
	// were sent during a certain amount of time.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// Provides information about an error that occurred due to a syntax error in
	// a request.
	ErrCodeValidationException = "ValidationException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptInvitationInput

type AcceptInvitationInput struct {

	// InvitationId is a required field
	InvitationId *string `locationName:"invitationId" type:"string" required:"true"`

	// MasterAccount is a required field
	MasterAccount *string `locationName:"masterAccount" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies an Amazon Macie membership invitation to accept.

func (AcceptInvitationInput) MarshalFields

func (s AcceptInvitationInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AcceptInvitationInput) String

func (s AcceptInvitationInput) String() string

String returns the string representation

func (*AcceptInvitationInput) Validate

func (s *AcceptInvitationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AcceptInvitationOutput

type AcceptInvitationOutput struct {
	// contains filtered or unexported fields
}

func (AcceptInvitationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AcceptInvitationOutput) String

func (s AcceptInvitationOutput) String() string

String returns the string representation

type AcceptInvitationRequest

type AcceptInvitationRequest struct {
	*aws.Request
	Input *AcceptInvitationInput
	Copy  func(*AcceptInvitationInput) AcceptInvitationRequest
}

AcceptInvitationRequest is the request type for the AcceptInvitation API operation.

func (AcceptInvitationRequest) Send

Send marshals and sends the AcceptInvitation API request.

type AcceptInvitationResponse

type AcceptInvitationResponse struct {
	*AcceptInvitationOutput
	// contains filtered or unexported fields
}

AcceptInvitationResponse is the response type for the AcceptInvitation API operation.

func (*AcceptInvitationResponse) SDKResponseMetdata

func (r *AcceptInvitationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AcceptInvitation request.

type AccessControlList

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 (AccessControlList) MarshalFields

func (s AccessControlList) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AccessControlList) String

func (s AccessControlList) String() string

String returns the string representation

type AccountDetail

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 details for an account to associate with an Amazon Macie master account.

func (AccountDetail) MarshalFields

func (s AccountDetail) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AccountDetail) String

func (s AccountDetail) String() string

String returns the string representation

func (*AccountDetail) Validate

func (s *AccountDetail) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AccountLevelPermissions

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 Using Amazon S3 block public
	// access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html)
	// in the Amazon Simple Storage Service Developer Guide.
	BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about account-level permissions settings that apply to an S3 bucket.

func (AccountLevelPermissions) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AccountLevelPermissions) String

func (s AccountLevelPermissions) String() string

String returns the string representation

type AdminAccount

type AdminAccount struct {
	AccountId *string `locationName:"accountId" type:"string"`

	// The current status of an account as a delegated administrator of Amazon Macie
	// for an AWS organization.
	Status AdminStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Provides information about an account that's designated as a delegated administrator of Amazon Macie for an AWS organization.

func (AdminAccount) MarshalFields

func (s AdminAccount) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AdminAccount) String

func (s AdminAccount) String() string

String returns the string representation

type AdminStatus

type AdminStatus string

The current status of an account as a delegated administrator of Amazon Macie for an AWS organization.

const (
	AdminStatusEnabled             AdminStatus = "ENABLED"
	AdminStatusDisablingInProgress AdminStatus = "DISABLING_IN_PROGRESS"
)

Enum values for AdminStatus

func (AdminStatus) MarshalValue

func (enum AdminStatus) MarshalValue() (string, error)

func (AdminStatus) MarshalValueBuf

func (enum AdminStatus) MarshalValueBuf(b []byte) ([]byte, error)

type ApiCallDetails

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 (ApiCallDetails) MarshalFields

func (s ApiCallDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApiCallDetails) String

func (s ApiCallDetails) String() string

String returns the string representation

type ArchiveFindingsInput

type ArchiveFindingsInput struct {

	// FindingIds is a required field
	FindingIds []string `locationName:"findingIds" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Specifies one or more findings to archive.

func (ArchiveFindingsInput) MarshalFields

func (s ArchiveFindingsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ArchiveFindingsInput) String

func (s ArchiveFindingsInput) String() string

String returns the string representation

func (*ArchiveFindingsInput) Validate

func (s *ArchiveFindingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ArchiveFindingsOutput

type ArchiveFindingsOutput struct {
	// contains filtered or unexported fields
}

func (ArchiveFindingsOutput) MarshalFields

func (s ArchiveFindingsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ArchiveFindingsOutput) String

func (s ArchiveFindingsOutput) String() string

String returns the string representation

type ArchiveFindingsRequest

type ArchiveFindingsRequest struct {
	*aws.Request
	Input *ArchiveFindingsInput
	Copy  func(*ArchiveFindingsInput) ArchiveFindingsRequest
}

ArchiveFindingsRequest is the request type for the ArchiveFindings API operation.

func (ArchiveFindingsRequest) Send

Send marshals and sends the ArchiveFindings API request.

type ArchiveFindingsResponse

type ArchiveFindingsResponse struct {
	*ArchiveFindingsOutput
	// contains filtered or unexported fields
}

ArchiveFindingsResponse is the response type for the ArchiveFindings API operation.

func (*ArchiveFindingsResponse) SDKResponseMetdata

func (r *ArchiveFindingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ArchiveFindings request.

type AssumedRole

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 AWS Security Token Service (AWS STS) API.

func (AssumedRole) MarshalFields

func (s AssumedRole) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AssumedRole) String

func (s AssumedRole) String() string

String returns the string representation

type AwsAccount

type AwsAccount struct {
	AccountId *string `locationName:"accountId" type:"string"`

	PrincipalId *string `locationName:"principalId" type:"string"`
	// contains filtered or unexported fields
}

Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for an AWS account other than your own account.

func (AwsAccount) MarshalFields

func (s AwsAccount) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AwsAccount) String

func (s AwsAccount) String() string

String returns the string representation

type AwsService

type AwsService struct {
	InvokedBy *string `locationName:"invokedBy" type:"string"`
	// contains filtered or unexported fields
}

Provides information about an AWS service that performed an action on an affected resource.

func (AwsService) MarshalFields

func (s AwsService) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AwsService) String

func (s AwsService) String() string

String returns the string representation

type BatchGetCustomDataIdentifierSummary

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 (BatchGetCustomDataIdentifierSummary) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BatchGetCustomDataIdentifierSummary) String

String returns the string representation

type BatchGetCustomDataIdentifiersInput

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 (BatchGetCustomDataIdentifiersInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BatchGetCustomDataIdentifiersInput) String

String returns the string representation

type BatchGetCustomDataIdentifiersOutput

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 (BatchGetCustomDataIdentifiersOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BatchGetCustomDataIdentifiersOutput) String

String returns the string representation

type BatchGetCustomDataIdentifiersRequest

type BatchGetCustomDataIdentifiersRequest struct {
	*aws.Request
	Input *BatchGetCustomDataIdentifiersInput
	Copy  func(*BatchGetCustomDataIdentifiersInput) BatchGetCustomDataIdentifiersRequest
}

BatchGetCustomDataIdentifiersRequest is the request type for the BatchGetCustomDataIdentifiers API operation.

func (BatchGetCustomDataIdentifiersRequest) Send

Send marshals and sends the BatchGetCustomDataIdentifiers API request.

type BatchGetCustomDataIdentifiersResponse

type BatchGetCustomDataIdentifiersResponse struct {
	*BatchGetCustomDataIdentifiersOutput
	// contains filtered or unexported fields
}

BatchGetCustomDataIdentifiersResponse is the response type for the BatchGetCustomDataIdentifiers API operation.

func (*BatchGetCustomDataIdentifiersResponse) SDKResponseMetdata

func (r *BatchGetCustomDataIdentifiersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchGetCustomDataIdentifiers request.

type BlockPublicAccess

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 Using Amazon S3 block public access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) in the Amazon Simple Storage Service Developer Guide.

func (BlockPublicAccess) MarshalFields

func (s BlockPublicAccess) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BlockPublicAccess) String

func (s BlockPublicAccess) String() string

String returns the string representation

type BucketCountByEffectivePermission

type BucketCountByEffectivePermission struct {
	PubliclyAccessible *int64 `locationName:"publiclyAccessible" type:"long"`

	PubliclyReadable *int64 `locationName:"publiclyReadable" type:"long"`

	PubliclyWritable *int64 `locationName:"publiclyWritable" 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 (BucketCountByEffectivePermission) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketCountByEffectivePermission) String

String returns the string representation

type BucketCountByEncryptionType

type BucketCountByEncryptionType struct {
	KmsManaged *int64 `locationName:"kmsManaged" type:"long"`

	S3Managed *int64 `locationName:"s3Managed" type:"long"`

	Unencrypted *int64 `locationName:"unencrypted" type:"long"`
	// contains filtered or unexported fields
}

Provides information about the number of S3 buckets that use certain types of server-side encryption or don't encrypt objects by default.

func (BucketCountByEncryptionType) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketCountByEncryptionType) String

String returns the string representation

type BucketCountBySharedAccessType

type BucketCountBySharedAccessType struct {
	External *int64 `locationName:"external" type:"long"`

	Internal *int64 `locationName:"internal" type:"long"`

	NotShared *int64 `locationName:"notShared" type:"long"`
	// contains filtered or unexported fields
}

Provides information about the number of S3 buckets that are shared with other AWS accounts.

func (BucketCountBySharedAccessType) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketCountBySharedAccessType) String

String returns the string representation

type BucketCriteriaAdditionalProperties

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 an attribute-based condition that filters the results of a query for information about S3 buckets.

func (BucketCriteriaAdditionalProperties) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketCriteriaAdditionalProperties) String

String returns the string representation

type BucketLevelPermissions

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 Using Amazon S3 block public
	// access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html)
	// in the Amazon Simple Storage Service Developer Guide.
	BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"`

	// Provides information about the permissions settings of a bucket policy for
	// an S3 bucket.
	BucketPolicy *BucketPolicy `locationName:"bucketPolicy" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about bucket-level permissions settings for an S3 bucket.

func (BucketLevelPermissions) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketLevelPermissions) String

func (s BucketLevelPermissions) String() string

String returns the string representation

type BucketMetadata

type BucketMetadata struct {
	AccountId *string `locationName:"accountId" type:"string"`

	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"`

	LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"iso8601"`

	ObjectCount *int64 `locationName:"objectCount" type:"long"`

	// The total number of objects that are in the bucket, grouped by server-side
	// encryption type. This includes a grouping that reports the total number of
	// objects that aren't encrypted.
	ObjectCountByEncryptionType *ObjectCountByEncryptionType `locationName:"objectCountByEncryptionType" type:"structure"`

	// Provides information about 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 AWS accounts and,
	// if so, which accounts.
	ReplicationDetails *ReplicationDetails `locationName:"replicationDetails" type:"structure"`

	SharedAccess SharedAccess `locationName:"sharedAccess" type:"string" enum:"true"`

	SizeInBytes *int64 `locationName:"sizeInBytes" type:"long"`

	SizeInBytesCompressed *int64 `locationName:"sizeInBytesCompressed" type:"long"`

	Tags []KeyValuePair `locationName:"tags" type:"list"`

	Versioning *bool `locationName:"versioning" type:"boolean"`
	// contains filtered or unexported fields
}

Provides information about an S3 bucket that Amazon Macie monitors and analyzes.

func (BucketMetadata) MarshalFields

func (s BucketMetadata) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketMetadata) String

func (s BucketMetadata) String() string

String returns the string representation

type BucketPermissionConfiguration

type BucketPermissionConfiguration struct {

	// Provides information about account-level permissions settings that apply
	// to an S3 bucket.
	AccountLevelPermissions *AccountLevelPermissions `locationName:"accountLevelPermissions" type:"structure"`

	// Provides information about bucket-level permissions settings for an S3 bucket.
	BucketLevelPermissions *BucketLevelPermissions `locationName:"bucketLevelPermissions" type:"structure"`
	// contains filtered or unexported fields
}

The account-level and bucket-level permissions settings for an S3 bucket.

func (BucketPermissionConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketPermissionConfiguration) String

String returns the string representation

type BucketPolicy

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 a bucket policy for an S3 bucket.

func (BucketPolicy) MarshalFields

func (s BucketPolicy) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketPolicy) String

func (s BucketPolicy) String() string

String returns the string representation

type BucketPublicAccess

type BucketPublicAccess struct {
	EffectivePermission EffectivePermission `locationName:"effectivePermission" type:"string" enum:"true"`

	// 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 permissions settings that determine whether an S3 bucket is publicly accessible.

func (BucketPublicAccess) MarshalFields

func (s BucketPublicAccess) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketPublicAccess) String

func (s BucketPublicAccess) String() string

String returns the string representation

type BucketSortCriteria

type BucketSortCriteria struct {
	AttributeName *string `locationName:"attributeName" type:"string"`

	OrderBy OrderBy `locationName:"orderBy" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Specifies criteria for sorting the results of a query for information about S3 buckets.

func (BucketSortCriteria) MarshalFields

func (s BucketSortCriteria) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BucketSortCriteria) String

func (s BucketSortCriteria) String() string

String returns the string representation

type ClassificationDetails

type ClassificationDetails struct {
	DetailedResultsLocation *string `locationName:"detailedResultsLocation" type:"string"`

	JobArn *string `locationName:"jobArn" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	// Provides detailed information about a sensitive data finding, including the
	// types and number of occurrences of the sensitive data that was found.
	Result *ClassificationResult `locationName:"result" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about a sensitive data finding, including the classification job that produced the finding.

func (ClassificationDetails) MarshalFields

func (s ClassificationDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ClassificationDetails) String

func (s ClassificationDetails) String() string

String returns the string representation

type ClassificationExportConfiguration

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 (ClassificationExportConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ClassificationExportConfiguration) String

String returns the string representation

func (*ClassificationExportConfiguration) Validate

Validate inspects the fields of the type to determine if they are valid.

type ClassificationResult

type ClassificationResult struct {

	// Provides information about the number of occurrences of the data that produced
	// a sensitive data finding, and the custom data identifiers that detected the
	// data 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 detailed information about a sensitive data finding, including the types and number of occurrences of the sensitive data that was found.

func (ClassificationResult) MarshalFields

func (s ClassificationResult) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ClassificationResult) String

func (s ClassificationResult) String() string

String returns the string representation

type ClassificationResultStatus

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 (ClassificationResultStatus) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ClassificationResultStatus) String

String returns the string representation

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to Amazon Macie 2. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := macie2.New(myConfig)

func (*Client) AcceptInvitationRequest

func (c *Client) AcceptInvitationRequest(input *AcceptInvitationInput) AcceptInvitationRequest

AcceptInvitationRequest returns a request value for making API operation for Amazon Macie 2.

Accepts an Amazon Macie membership invitation that was received from a specific account.

// Example sending a request using AcceptInvitationRequest.
req := client.AcceptInvitationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation

func (*Client) ArchiveFindingsRequest

func (c *Client) ArchiveFindingsRequest(input *ArchiveFindingsInput) ArchiveFindingsRequest

ArchiveFindingsRequest returns a request value for making API operation for Amazon Macie 2.

Archives one or more findings.

// Example sending a request using ArchiveFindingsRequest.
req := client.ArchiveFindingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ArchiveFindings

func (*Client) BatchGetCustomDataIdentifiersRequest

func (c *Client) BatchGetCustomDataIdentifiersRequest(input *BatchGetCustomDataIdentifiersInput) BatchGetCustomDataIdentifiersRequest

BatchGetCustomDataIdentifiersRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about one or more custom data identifiers.

// Example sending a request using BatchGetCustomDataIdentifiersRequest.
req := client.BatchGetCustomDataIdentifiersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers

func (*Client) CreateClassificationJobRequest

func (c *Client) CreateClassificationJobRequest(input *CreateClassificationJobInput) CreateClassificationJobRequest

CreateClassificationJobRequest returns a request value for making API operation for Amazon Macie 2.

Creates and defines the settings for a classification job.

// Example sending a request using CreateClassificationJobRequest.
req := client.CreateClassificationJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob

func (*Client) CreateCustomDataIdentifierRequest

func (c *Client) CreateCustomDataIdentifierRequest(input *CreateCustomDataIdentifierInput) CreateCustomDataIdentifierRequest

CreateCustomDataIdentifierRequest returns a request value for making API operation for Amazon Macie 2.

Creates and defines the criteria and other settings for a custom data identifier.

// Example sending a request using CreateCustomDataIdentifierRequest.
req := client.CreateCustomDataIdentifierRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier

func (*Client) CreateFindingsFilterRequest

func (c *Client) CreateFindingsFilterRequest(input *CreateFindingsFilterInput) CreateFindingsFilterRequest

CreateFindingsFilterRequest returns a request value for making API operation for Amazon Macie 2.

Creates and defines the criteria and other settings for a findings filter.

// Example sending a request using CreateFindingsFilterRequest.
req := client.CreateFindingsFilterRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter

func (*Client) CreateInvitationsRequest

func (c *Client) CreateInvitationsRequest(input *CreateInvitationsInput) CreateInvitationsRequest

CreateInvitationsRequest returns a request value for making API operation for Amazon Macie 2.

Sends an Amazon Macie membership invitation to one or more accounts.

// Example sending a request using CreateInvitationsRequest.
req := client.CreateInvitationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations

func (*Client) CreateMemberRequest

func (c *Client) CreateMemberRequest(input *CreateMemberInput) CreateMemberRequest

CreateMemberRequest returns a request value for making API operation for Amazon Macie 2.

Associates an account with an Amazon Macie master account.

// Example sending a request using CreateMemberRequest.
req := client.CreateMemberRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember

func (*Client) CreateSampleFindingsRequest

func (c *Client) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) CreateSampleFindingsRequest

CreateSampleFindingsRequest returns a request value for making API operation for Amazon Macie 2.

Creates sample findings.

// Example sending a request using CreateSampleFindingsRequest.
req := client.CreateSampleFindingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings

func (*Client) DeclineInvitationsRequest

func (c *Client) DeclineInvitationsRequest(input *DeclineInvitationsInput) DeclineInvitationsRequest

DeclineInvitationsRequest returns a request value for making API operation for Amazon Macie 2.

Declines Amazon Macie membership invitations that were received from specific accounts.

// Example sending a request using DeclineInvitationsRequest.
req := client.DeclineInvitationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations

func (*Client) DeleteCustomDataIdentifierRequest

func (c *Client) DeleteCustomDataIdentifierRequest(input *DeleteCustomDataIdentifierInput) DeleteCustomDataIdentifierRequest

DeleteCustomDataIdentifierRequest returns a request value for making API operation for Amazon Macie 2.

Soft deletes a custom data identifier.

// Example sending a request using DeleteCustomDataIdentifierRequest.
req := client.DeleteCustomDataIdentifierRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier

func (*Client) DeleteFindingsFilterRequest

func (c *Client) DeleteFindingsFilterRequest(input *DeleteFindingsFilterInput) DeleteFindingsFilterRequest

DeleteFindingsFilterRequest returns a request value for making API operation for Amazon Macie 2.

Deletes a findings filter.

// Example sending a request using DeleteFindingsFilterRequest.
req := client.DeleteFindingsFilterRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter

func (*Client) DeleteInvitationsRequest

func (c *Client) DeleteInvitationsRequest(input *DeleteInvitationsInput) DeleteInvitationsRequest

DeleteInvitationsRequest returns a request value for making API operation for Amazon Macie 2.

Deletes Amazon Macie membership invitations that were received from specific accounts.

// Example sending a request using DeleteInvitationsRequest.
req := client.DeleteInvitationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations

func (*Client) DeleteMemberRequest

func (c *Client) DeleteMemberRequest(input *DeleteMemberInput) DeleteMemberRequest

DeleteMemberRequest returns a request value for making API operation for Amazon Macie 2.

Deletes the association between an Amazon Macie master account and an account.

// Example sending a request using DeleteMemberRequest.
req := client.DeleteMemberRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember

func (*Client) DescribeBucketsRequest

func (c *Client) DescribeBucketsRequest(input *DescribeBucketsInput) DescribeBucketsRequest

DescribeBucketsRequest returns a request value for making 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.

// Example sending a request using DescribeBucketsRequest.
req := client.DescribeBucketsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets

func (*Client) DescribeClassificationJobRequest

func (c *Client) DescribeClassificationJobRequest(input *DescribeClassificationJobInput) DescribeClassificationJobRequest

DescribeClassificationJobRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about the status and settings for a classification job.

// Example sending a request using DescribeClassificationJobRequest.
req := client.DescribeClassificationJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob

func (*Client) DescribeOrganizationConfigurationRequest

func (c *Client) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) DescribeOrganizationConfigurationRequest

DescribeOrganizationConfigurationRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about the Amazon Macie configuration settings for an AWS organization.

// Example sending a request using DescribeOrganizationConfigurationRequest.
req := client.DescribeOrganizationConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration

func (*Client) DisableMacieRequest

func (c *Client) DisableMacieRequest(input *DisableMacieInput) DisableMacieRequest

DisableMacieRequest returns a request value for making API operation for Amazon Macie 2.

Disables an Amazon Macie account and deletes Macie resources for the account.

// Example sending a request using DisableMacieRequest.
req := client.DisableMacieRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie

func (*Client) DisableOrganizationAdminAccountRequest

func (c *Client) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) DisableOrganizationAdminAccountRequest

DisableOrganizationAdminAccountRequest returns a request value for making API operation for Amazon Macie 2.

Disables an account as a delegated administrator of Amazon Macie for an AWS organization.

// Example sending a request using DisableOrganizationAdminAccountRequest.
req := client.DisableOrganizationAdminAccountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount

func (*Client) DisassociateFromMasterAccountRequest

func (c *Client) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) DisassociateFromMasterAccountRequest

DisassociateFromMasterAccountRequest returns a request value for making API operation for Amazon Macie 2.

Disassociates a member account from its Amazon Macie master account.

// Example sending a request using DisassociateFromMasterAccountRequest.
req := client.DisassociateFromMasterAccountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount

func (*Client) DisassociateMemberRequest

func (c *Client) DisassociateMemberRequest(input *DisassociateMemberInput) DisassociateMemberRequest

DisassociateMemberRequest returns a request value for making API operation for Amazon Macie 2.

Disassociates an Amazon Macie master account from a member account.

// Example sending a request using DisassociateMemberRequest.
req := client.DisassociateMemberRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember

func (*Client) EnableMacieRequest

func (c *Client) EnableMacieRequest(input *EnableMacieInput) EnableMacieRequest

EnableMacieRequest returns a request value for making API operation for Amazon Macie 2.

Enables Amazon Macie and specifies the configuration settings for a Macie account.

// Example sending a request using EnableMacieRequest.
req := client.EnableMacieRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie

func (*Client) EnableOrganizationAdminAccountRequest

func (c *Client) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) EnableOrganizationAdminAccountRequest

EnableOrganizationAdminAccountRequest returns a request value for making API operation for Amazon Macie 2.

Enables an account as a delegated administrator of Amazon Macie for an AWS organization.

// Example sending a request using EnableOrganizationAdminAccountRequest.
req := client.EnableOrganizationAdminAccountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount

func (*Client) GetBucketStatisticsRequest

func (c *Client) GetBucketStatisticsRequest(input *GetBucketStatisticsInput) GetBucketStatisticsRequest

GetBucketStatisticsRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves (queries) aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes.

// Example sending a request using GetBucketStatisticsRequest.
req := client.GetBucketStatisticsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics

func (*Client) GetClassificationExportConfigurationRequest

func (c *Client) GetClassificationExportConfigurationRequest(input *GetClassificationExportConfigurationInput) GetClassificationExportConfigurationRequest

GetClassificationExportConfigurationRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves the configuration settings for storing data classification results.

// Example sending a request using GetClassificationExportConfigurationRequest.
req := client.GetClassificationExportConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration

func (*Client) GetCustomDataIdentifierRequest

func (c *Client) GetCustomDataIdentifierRequest(input *GetCustomDataIdentifierInput) GetCustomDataIdentifierRequest

GetCustomDataIdentifierRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about the criteria and other settings for a custom data identifier.

// Example sending a request using GetCustomDataIdentifierRequest.
req := client.GetCustomDataIdentifierRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier

func (*Client) GetFindingStatisticsRequest

func (c *Client) GetFindingStatisticsRequest(input *GetFindingStatisticsInput) GetFindingStatisticsRequest

GetFindingStatisticsRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves (queries) aggregated statistical data about findings.

// Example sending a request using GetFindingStatisticsRequest.
req := client.GetFindingStatisticsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics

func (*Client) GetFindingsFilterRequest

func (c *Client) GetFindingsFilterRequest(input *GetFindingsFilterInput) GetFindingsFilterRequest

GetFindingsFilterRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about the criteria and other settings for a findings filter.

// Example sending a request using GetFindingsFilterRequest.
req := client.GetFindingsFilterRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter

func (*Client) GetFindingsRequest

func (c *Client) GetFindingsRequest(input *GetFindingsInput) GetFindingsRequest

GetFindingsRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about one or more findings.

// Example sending a request using GetFindingsRequest.
req := client.GetFindingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings

func (*Client) GetInvitationsCountRequest

func (c *Client) GetInvitationsCountRequest(input *GetInvitationsCountInput) GetInvitationsCountRequest

GetInvitationsCountRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves the count of Amazon Macie membership invitations that were received by an account.

// Example sending a request using GetInvitationsCountRequest.
req := client.GetInvitationsCountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount

func (*Client) GetMacieSessionRequest

func (c *Client) GetMacieSessionRequest(input *GetMacieSessionInput) GetMacieSessionRequest

GetMacieSessionRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about the current status and configuration settings for an Amazon Macie account.

// Example sending a request using GetMacieSessionRequest.
req := client.GetMacieSessionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession

func (*Client) GetMasterAccountRequest

func (c *Client) GetMasterAccountRequest(input *GetMasterAccountInput) GetMasterAccountRequest

GetMasterAccountRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about the Amazon Macie master account for an account.

// Example sending a request using GetMasterAccountRequest.
req := client.GetMasterAccountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount

func (*Client) GetMemberRequest

func (c *Client) GetMemberRequest(input *GetMemberInput) GetMemberRequest

GetMemberRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about a member account that's associated with an Amazon Macie master account.

// Example sending a request using GetMemberRequest.
req := client.GetMemberRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember

func (*Client) GetUsageStatisticsRequest

func (c *Client) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) GetUsageStatisticsRequest

GetUsageStatisticsRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves (queries) quotas and aggregated usage data for one or more accounts.

// Example sending a request using GetUsageStatisticsRequest.
req := client.GetUsageStatisticsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics

func (*Client) GetUsageTotalsRequest

func (c *Client) GetUsageTotalsRequest(input *GetUsageTotalsInput) GetUsageTotalsRequest

GetUsageTotalsRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves (queries) aggregated usage data for an account.

// Example sending a request using GetUsageTotalsRequest.
req := client.GetUsageTotalsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals

func (*Client) ListClassificationJobsRequest

func (c *Client) ListClassificationJobsRequest(input *ListClassificationJobsInput) ListClassificationJobsRequest

ListClassificationJobsRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves a subset of information about one or more classification jobs.

// Example sending a request using ListClassificationJobsRequest.
req := client.ListClassificationJobsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs

func (*Client) ListCustomDataIdentifiersRequest

func (c *Client) ListCustomDataIdentifiersRequest(input *ListCustomDataIdentifiersInput) ListCustomDataIdentifiersRequest

ListCustomDataIdentifiersRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves a subset of information about all the custom data identifiers for an account.

// Example sending a request using ListCustomDataIdentifiersRequest.
req := client.ListCustomDataIdentifiersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers

func (*Client) ListFindingsFiltersRequest

func (c *Client) ListFindingsFiltersRequest(input *ListFindingsFiltersInput) ListFindingsFiltersRequest

ListFindingsFiltersRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves a subset of information about all the findings filters for an account.

// Example sending a request using ListFindingsFiltersRequest.
req := client.ListFindingsFiltersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters

func (*Client) ListFindingsRequest

func (c *Client) ListFindingsRequest(input *ListFindingsInput) ListFindingsRequest

ListFindingsRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves a subset of information about one or more findings.

// Example sending a request using ListFindingsRequest.
req := client.ListFindingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings

func (*Client) ListInvitationsRequest

func (c *Client) ListInvitationsRequest(input *ListInvitationsInput) ListInvitationsRequest

ListInvitationsRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about all the Amazon Macie membership invitations that were received by an account.

// Example sending a request using ListInvitationsRequest.
req := client.ListInvitationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations

func (*Client) ListMembersRequest

func (c *Client) ListMembersRequest(input *ListMembersInput) ListMembersRequest

ListMembersRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about the accounts that are associated with an Amazon Macie master account.

// Example sending a request using ListMembersRequest.
req := client.ListMembersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers

func (*Client) ListOrganizationAdminAccountsRequest

func (c *Client) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) ListOrganizationAdminAccountsRequest

ListOrganizationAdminAccountsRequest returns a request value for making API operation for Amazon Macie 2.

Retrieves information about the account that's designated as the delegated administrator of Amazon Macie for an AWS organization.

// Example sending a request using ListOrganizationAdminAccountsRequest.
req := client.ListOrganizationAdminAccountsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making 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.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource

func (*Client) PutClassificationExportConfigurationRequest

func (c *Client) PutClassificationExportConfigurationRequest(input *PutClassificationExportConfigurationInput) PutClassificationExportConfigurationRequest

PutClassificationExportConfigurationRequest returns a request value for making API operation for Amazon Macie 2.

Creates or updates the configuration settings for storing data classification results.

// Example sending a request using PutClassificationExportConfigurationRequest.
req := client.PutClassificationExportConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making 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.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource

func (*Client) TestCustomDataIdentifierRequest

func (c *Client) TestCustomDataIdentifierRequest(input *TestCustomDataIdentifierInput) TestCustomDataIdentifierRequest

TestCustomDataIdentifierRequest returns a request value for making API operation for Amazon Macie 2.

Tests a custom data identifier.

// Example sending a request using TestCustomDataIdentifierRequest.
req := client.TestCustomDataIdentifierRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier

func (*Client) UnarchiveFindingsRequest

func (c *Client) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) UnarchiveFindingsRequest

UnarchiveFindingsRequest returns a request value for making API operation for Amazon Macie 2.

Reactivates (unarchives) one or more findings.

// Example sending a request using UnarchiveFindingsRequest.
req := client.UnarchiveFindingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnarchiveFindings

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making 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.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource

func (*Client) UpdateClassificationJobRequest

func (c *Client) UpdateClassificationJobRequest(input *UpdateClassificationJobInput) UpdateClassificationJobRequest

UpdateClassificationJobRequest returns a request value for making API operation for Amazon Macie 2.

Cancels a classification job.

// Example sending a request using UpdateClassificationJobRequest.
req := client.UpdateClassificationJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob

func (*Client) UpdateFindingsFilterRequest

func (c *Client) UpdateFindingsFilterRequest(input *UpdateFindingsFilterInput) UpdateFindingsFilterRequest

UpdateFindingsFilterRequest returns a request value for making API operation for Amazon Macie 2.

Updates the criteria and other settings for a findings filter.

// Example sending a request using UpdateFindingsFilterRequest.
req := client.UpdateFindingsFilterRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter

func (*Client) UpdateMacieSessionRequest

func (c *Client) UpdateMacieSessionRequest(input *UpdateMacieSessionInput) UpdateMacieSessionRequest

UpdateMacieSessionRequest returns a request value for making API operation for Amazon Macie 2.

Suspends or re-enables an Amazon Macie account, or updates the configuration settings for a Macie account.

// Example sending a request using UpdateMacieSessionRequest.
req := client.UpdateMacieSessionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession

func (*Client) UpdateMemberSessionRequest

func (c *Client) UpdateMemberSessionRequest(input *UpdateMemberSessionInput) UpdateMemberSessionRequest

UpdateMemberSessionRequest returns a request value for making API operation for Amazon Macie 2.

Enables an Amazon Macie master account to suspend or re-enable a member account.

// Example sending a request using UpdateMemberSessionRequest.
req := client.UpdateMemberSessionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession

func (*Client) UpdateOrganizationConfigurationRequest

func (c *Client) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) UpdateOrganizationConfigurationRequest

UpdateOrganizationConfigurationRequest returns a request value for making API operation for Amazon Macie 2.

Updates Amazon Macie configuration settings for an AWS organization.

// Example sending a request using UpdateOrganizationConfigurationRequest.
req := client.UpdateOrganizationConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration

type CreateClassificationJobInput

type CreateClassificationJobInput struct {

	// ClientToken is a required field
	ClientToken *string `locationName:"clientToken" type:"string" required:"true" 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 JobType `locationName:"jobType" type:"string" required:"true" enum:"true"`

	// 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.
	//
	// 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 delete or change the settings for a classification job after you create it. In Amazon Macie, classification jobs are immutable. This ensures accurate data classification results for audits or investigations.

func (CreateClassificationJobInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateClassificationJobInput) String

String returns the string representation

func (*CreateClassificationJobInput) Validate

func (s *CreateClassificationJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateClassificationJobOutput

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 (CreateClassificationJobOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateClassificationJobOutput) String

String returns the string representation

type CreateClassificationJobRequest

type CreateClassificationJobRequest struct {
	*aws.Request
	Input *CreateClassificationJobInput
	Copy  func(*CreateClassificationJobInput) CreateClassificationJobRequest
}

CreateClassificationJobRequest is the request type for the CreateClassificationJob API operation.

func (CreateClassificationJobRequest) Send

Send marshals and sends the CreateClassificationJob API request.

type CreateClassificationJobResponse

type CreateClassificationJobResponse struct {
	*CreateClassificationJobOutput
	// contains filtered or unexported fields
}

CreateClassificationJobResponse is the response type for the CreateClassificationJob API operation.

func (*CreateClassificationJobResponse) SDKResponseMetdata

func (r *CreateClassificationJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateClassificationJob request.

type CreateCustomDataIdentifierInput

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 *string `locationName:"name" type:"string"`

	Regex *string `locationName:"regex" 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
}

Specifies the criteria and other settings for a new custom data identifier. You can't change a custom data identifier after you create it. In Amazon Macie, custom data identifiers are immutable. This ensures accurate data classification results for audits or investigations.

func (CreateCustomDataIdentifierInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCustomDataIdentifierInput) String

String returns the string representation

type CreateCustomDataIdentifierOutput

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 (CreateCustomDataIdentifierOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCustomDataIdentifierOutput) String

String returns the string representation

type CreateCustomDataIdentifierRequest

type CreateCustomDataIdentifierRequest struct {
	*aws.Request
	Input *CreateCustomDataIdentifierInput
	Copy  func(*CreateCustomDataIdentifierInput) CreateCustomDataIdentifierRequest
}

CreateCustomDataIdentifierRequest is the request type for the CreateCustomDataIdentifier API operation.

func (CreateCustomDataIdentifierRequest) Send

Send marshals and sends the CreateCustomDataIdentifier API request.

type CreateCustomDataIdentifierResponse

type CreateCustomDataIdentifierResponse struct {
	*CreateCustomDataIdentifierOutput
	// contains filtered or unexported fields
}

CreateCustomDataIdentifierResponse is the response type for the CreateCustomDataIdentifier API operation.

func (*CreateCustomDataIdentifierResponse) SDKResponseMetdata

func (r *CreateCustomDataIdentifierResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateCustomDataIdentifier request.

type CreateFindingsFilterInput

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 FindingsFilterAction `locationName:"action" type:"string" required:"true" enum:"true"`

	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 (CreateFindingsFilterInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateFindingsFilterInput) String

func (s CreateFindingsFilterInput) String() string

String returns the string representation

func (*CreateFindingsFilterInput) Validate

func (s *CreateFindingsFilterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateFindingsFilterOutput

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 (CreateFindingsFilterOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateFindingsFilterOutput) String

String returns the string representation

type CreateFindingsFilterRequest

type CreateFindingsFilterRequest struct {
	*aws.Request
	Input *CreateFindingsFilterInput
	Copy  func(*CreateFindingsFilterInput) CreateFindingsFilterRequest
}

CreateFindingsFilterRequest is the request type for the CreateFindingsFilter API operation.

func (CreateFindingsFilterRequest) Send

Send marshals and sends the CreateFindingsFilter API request.

type CreateFindingsFilterResponse

type CreateFindingsFilterResponse struct {
	*CreateFindingsFilterOutput
	// contains filtered or unexported fields
}

CreateFindingsFilterResponse is the response type for the CreateFindingsFilter API operation.

func (*CreateFindingsFilterResponse) SDKResponseMetdata

func (r *CreateFindingsFilterResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateFindingsFilter request.

type CreateInvitationsInput

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.

func (CreateInvitationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateInvitationsInput) String

func (s CreateInvitationsInput) String() string

String returns the string representation

func (*CreateInvitationsInput) Validate

func (s *CreateInvitationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateInvitationsOutput

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 (CreateInvitationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateInvitationsOutput) String

func (s CreateInvitationsOutput) String() string

String returns the string representation

type CreateInvitationsRequest

type CreateInvitationsRequest struct {
	*aws.Request
	Input *CreateInvitationsInput
	Copy  func(*CreateInvitationsInput) CreateInvitationsRequest
}

CreateInvitationsRequest is the request type for the CreateInvitations API operation.

func (CreateInvitationsRequest) Send

Send marshals and sends the CreateInvitations API request.

type CreateInvitationsResponse

type CreateInvitationsResponse struct {
	*CreateInvitationsOutput
	// contains filtered or unexported fields
}

CreateInvitationsResponse is the response type for the CreateInvitations API operation.

func (*CreateInvitationsResponse) SDKResponseMetdata

func (r *CreateInvitationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateInvitations request.

type CreateMemberInput

type CreateMemberInput struct {

	// Specifies details for an account to associate with an Amazon Macie master
	// 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 account to associate with an Amazon Macie master account.

func (CreateMemberInput) MarshalFields

func (s CreateMemberInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateMemberInput) String

func (s CreateMemberInput) String() string

String returns the string representation

func (*CreateMemberInput) Validate

func (s *CreateMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateMemberOutput

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 master account.

func (CreateMemberOutput) MarshalFields

func (s CreateMemberOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateMemberOutput) String

func (s CreateMemberOutput) String() string

String returns the string representation

type CreateMemberRequest

type CreateMemberRequest struct {
	*aws.Request
	Input *CreateMemberInput
	Copy  func(*CreateMemberInput) CreateMemberRequest
}

CreateMemberRequest is the request type for the CreateMember API operation.

func (CreateMemberRequest) Send

Send marshals and sends the CreateMember API request.

type CreateMemberResponse

type CreateMemberResponse struct {
	*CreateMemberOutput
	// contains filtered or unexported fields
}

CreateMemberResponse is the response type for the CreateMember API operation.

func (*CreateMemberResponse) SDKResponseMetdata

func (r *CreateMemberResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateMember request.

type CreateSampleFindingsInput

type CreateSampleFindingsInput struct {
	FindingTypes []FindingType `locationName:"findingTypes" type:"list"`
	// contains filtered or unexported fields
}

Specifies the types of findings to include in a set of sample findings that Amazon Macie creates.

func (CreateSampleFindingsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateSampleFindingsInput) String

func (s CreateSampleFindingsInput) String() string

String returns the string representation

type CreateSampleFindingsOutput

type CreateSampleFindingsOutput struct {
	// contains filtered or unexported fields
}

func (CreateSampleFindingsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateSampleFindingsOutput) String

String returns the string representation

type CreateSampleFindingsRequest

type CreateSampleFindingsRequest struct {
	*aws.Request
	Input *CreateSampleFindingsInput
	Copy  func(*CreateSampleFindingsInput) CreateSampleFindingsRequest
}

CreateSampleFindingsRequest is the request type for the CreateSampleFindings API operation.

func (CreateSampleFindingsRequest) Send

Send marshals and sends the CreateSampleFindings API request.

type CreateSampleFindingsResponse

type CreateSampleFindingsResponse struct {
	*CreateSampleFindingsOutput
	// contains filtered or unexported fields
}

CreateSampleFindingsResponse is the response type for the CreateSampleFindings API operation.

func (*CreateSampleFindingsResponse) SDKResponseMetdata

func (r *CreateSampleFindingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateSampleFindings request.

type CriterionAdditionalProperties

type CriterionAdditionalProperties 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"`
	// contains filtered or unexported fields
}

Specifies the operator to use in a property-based condition that filters the results of a query for findings.

func (CriterionAdditionalProperties) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CriterionAdditionalProperties) String

String returns the string representation

type Currency

type Currency string

The type of currency that data for a usage metric is reported in. Possible values are:

const (
	CurrencyUsd Currency = "USD"
)

Enum values for Currency

func (Currency) MarshalValue

func (enum Currency) MarshalValue() (string, error)

func (Currency) MarshalValueBuf

func (enum Currency) MarshalValueBuf(b []byte) ([]byte, error)

type CustomDataIdentifierSummary

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 (CustomDataIdentifierSummary) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CustomDataIdentifierSummary) String

String returns the string representation

type CustomDataIdentifiers

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 the number of occurrences of the data that produced a sensitive data finding, and the custom data identifiers that detected the data for the finding.

func (CustomDataIdentifiers) MarshalFields

func (s CustomDataIdentifiers) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CustomDataIdentifiers) String

func (s CustomDataIdentifiers) String() string

String returns the string representation

type CustomDetection

type CustomDetection struct {
	Arn *string `locationName:"arn" type:"string"`

	Count *int64 `locationName:"count" type:"long"`

	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Provides information about a custom data identifier that produced a sensitive data finding, and the number of occurrences of the data that it detected for the finding.

func (CustomDetection) MarshalFields

func (s CustomDetection) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CustomDetection) String

func (s CustomDetection) String() string

String returns the string representation

type DailySchedule

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 (DailySchedule) MarshalFields

func (s DailySchedule) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DailySchedule) String

func (s DailySchedule) String() string

String returns the string representation

type DayOfWeek

type DayOfWeek string
const (
	DayOfWeekSunday    DayOfWeek = "SUNDAY"
	DayOfWeekMonday    DayOfWeek = "MONDAY"
	DayOfWeekTuesday   DayOfWeek = "TUESDAY"
	DayOfWeekWednesday DayOfWeek = "WEDNESDAY"
	DayOfWeekThursday  DayOfWeek = "THURSDAY"
	DayOfWeekFriday    DayOfWeek = "FRIDAY"
	DayOfWeekSaturday  DayOfWeek = "SATURDAY"
)

Enum values for DayOfWeek

func (DayOfWeek) MarshalValue

func (enum DayOfWeek) MarshalValue() (string, error)

func (DayOfWeek) MarshalValueBuf

func (enum DayOfWeek) MarshalValueBuf(b []byte) ([]byte, error)

type DeclineInvitationsInput

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 (DeclineInvitationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeclineInvitationsInput) String

func (s DeclineInvitationsInput) String() string

String returns the string representation

func (*DeclineInvitationsInput) Validate

func (s *DeclineInvitationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeclineInvitationsOutput

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 (DeclineInvitationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeclineInvitationsOutput) String

func (s DeclineInvitationsOutput) String() string

String returns the string representation

type DeclineInvitationsRequest

type DeclineInvitationsRequest struct {
	*aws.Request
	Input *DeclineInvitationsInput
	Copy  func(*DeclineInvitationsInput) DeclineInvitationsRequest
}

DeclineInvitationsRequest is the request type for the DeclineInvitations API operation.

func (DeclineInvitationsRequest) Send

Send marshals and sends the DeclineInvitations API request.

type DeclineInvitationsResponse

type DeclineInvitationsResponse struct {
	*DeclineInvitationsOutput
	// contains filtered or unexported fields
}

DeclineInvitationsResponse is the response type for the DeclineInvitations API operation.

func (*DeclineInvitationsResponse) SDKResponseMetdata

func (r *DeclineInvitationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeclineInvitations request.

type DefaultDetection

type DefaultDetection struct {
	Count *int64 `locationName:"count" type:"long"`

	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

Provides information about sensitive data that was detected by managed data identifiers and produced a sensitive data finding.

func (DefaultDetection) MarshalFields

func (s DefaultDetection) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DefaultDetection) String

func (s DefaultDetection) String() string

String returns the string representation

type DeleteCustomDataIdentifierInput

type DeleteCustomDataIdentifierInput struct {

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCustomDataIdentifierInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteCustomDataIdentifierInput) String

String returns the string representation

func (*DeleteCustomDataIdentifierInput) Validate

func (s *DeleteCustomDataIdentifierInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCustomDataIdentifierOutput

type DeleteCustomDataIdentifierOutput struct {
	// contains filtered or unexported fields
}

func (DeleteCustomDataIdentifierOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteCustomDataIdentifierOutput) String

String returns the string representation

type DeleteCustomDataIdentifierRequest

type DeleteCustomDataIdentifierRequest struct {
	*aws.Request
	Input *DeleteCustomDataIdentifierInput
	Copy  func(*DeleteCustomDataIdentifierInput) DeleteCustomDataIdentifierRequest
}

DeleteCustomDataIdentifierRequest is the request type for the DeleteCustomDataIdentifier API operation.

func (DeleteCustomDataIdentifierRequest) Send

Send marshals and sends the DeleteCustomDataIdentifier API request.

type DeleteCustomDataIdentifierResponse

type DeleteCustomDataIdentifierResponse struct {
	*DeleteCustomDataIdentifierOutput
	// contains filtered or unexported fields
}

DeleteCustomDataIdentifierResponse is the response type for the DeleteCustomDataIdentifier API operation.

func (*DeleteCustomDataIdentifierResponse) SDKResponseMetdata

func (r *DeleteCustomDataIdentifierResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteCustomDataIdentifier request.

type DeleteFindingsFilterInput

type DeleteFindingsFilterInput struct {

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFindingsFilterInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteFindingsFilterInput) String

func (s DeleteFindingsFilterInput) String() string

String returns the string representation

func (*DeleteFindingsFilterInput) Validate

func (s *DeleteFindingsFilterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteFindingsFilterOutput

type DeleteFindingsFilterOutput struct {
	// contains filtered or unexported fields
}

func (DeleteFindingsFilterOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteFindingsFilterOutput) String

String returns the string representation

type DeleteFindingsFilterRequest

type DeleteFindingsFilterRequest struct {
	*aws.Request
	Input *DeleteFindingsFilterInput
	Copy  func(*DeleteFindingsFilterInput) DeleteFindingsFilterRequest
}

DeleteFindingsFilterRequest is the request type for the DeleteFindingsFilter API operation.

func (DeleteFindingsFilterRequest) Send

Send marshals and sends the DeleteFindingsFilter API request.

type DeleteFindingsFilterResponse

type DeleteFindingsFilterResponse struct {
	*DeleteFindingsFilterOutput
	// contains filtered or unexported fields
}

DeleteFindingsFilterResponse is the response type for the DeleteFindingsFilter API operation.

func (*DeleteFindingsFilterResponse) SDKResponseMetdata

func (r *DeleteFindingsFilterResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteFindingsFilter request.

type DeleteInvitationsInput

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 (DeleteInvitationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteInvitationsInput) String

func (s DeleteInvitationsInput) String() string

String returns the string representation

func (*DeleteInvitationsInput) Validate

func (s *DeleteInvitationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteInvitationsOutput

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 (DeleteInvitationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteInvitationsOutput) String

func (s DeleteInvitationsOutput) String() string

String returns the string representation

type DeleteInvitationsRequest

type DeleteInvitationsRequest struct {
	*aws.Request
	Input *DeleteInvitationsInput
	Copy  func(*DeleteInvitationsInput) DeleteInvitationsRequest
}

DeleteInvitationsRequest is the request type for the DeleteInvitations API operation.

func (DeleteInvitationsRequest) Send

Send marshals and sends the DeleteInvitations API request.

type DeleteInvitationsResponse

type DeleteInvitationsResponse struct {
	*DeleteInvitationsOutput
	// contains filtered or unexported fields
}

DeleteInvitationsResponse is the response type for the DeleteInvitations API operation.

func (*DeleteInvitationsResponse) SDKResponseMetdata

func (r *DeleteInvitationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteInvitations request.

type DeleteMemberInput

type DeleteMemberInput struct {

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMemberInput) MarshalFields

func (s DeleteMemberInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteMemberInput) String

func (s DeleteMemberInput) String() string

String returns the string representation

func (*DeleteMemberInput) Validate

func (s *DeleteMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteMemberOutput

type DeleteMemberOutput struct {
	// contains filtered or unexported fields
}

func (DeleteMemberOutput) MarshalFields

func (s DeleteMemberOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteMemberOutput) String

func (s DeleteMemberOutput) String() string

String returns the string representation

type DeleteMemberRequest

type DeleteMemberRequest struct {
	*aws.Request
	Input *DeleteMemberInput
	Copy  func(*DeleteMemberInput) DeleteMemberRequest
}

DeleteMemberRequest is the request type for the DeleteMember API operation.

func (DeleteMemberRequest) Send

Send marshals and sends the DeleteMember API request.

type DeleteMemberResponse

type DeleteMemberResponse struct {
	*DeleteMemberOutput
	// contains filtered or unexported fields
}

DeleteMemberResponse is the response type for the DeleteMember API operation.

func (*DeleteMemberResponse) SDKResponseMetdata

func (r *DeleteMemberResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteMember request.

type DescribeBucketsInput

type DescribeBucketsInput struct {

	// Specifies, as a map, one or more attribute-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 information about S3 buckets.

func (DescribeBucketsInput) MarshalFields

func (s DescribeBucketsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBucketsInput) String

func (s DescribeBucketsInput) String() string

String returns the string representation

type DescribeBucketsOutput

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.

func (DescribeBucketsOutput) MarshalFields

func (s DescribeBucketsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBucketsOutput) String

func (s DescribeBucketsOutput) String() string

String returns the string representation

type DescribeBucketsPaginator added in v0.24.0

type DescribeBucketsPaginator struct {
	aws.Pager
}

DescribeBucketsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeBucketsPaginator added in v0.24.0

func NewDescribeBucketsPaginator(req DescribeBucketsRequest) DescribeBucketsPaginator

NewDescribeBucketsRequestPaginator returns a paginator for DescribeBuckets. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.DescribeBucketsRequest(input)
p := macie2.NewDescribeBucketsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeBucketsPaginator) CurrentPage added in v0.24.0

type DescribeBucketsRequest

type DescribeBucketsRequest struct {
	*aws.Request
	Input *DescribeBucketsInput
	Copy  func(*DescribeBucketsInput) DescribeBucketsRequest
}

DescribeBucketsRequest is the request type for the DescribeBuckets API operation.

func (DescribeBucketsRequest) Send

Send marshals and sends the DescribeBuckets API request.

type DescribeBucketsResponse

type DescribeBucketsResponse struct {
	*DescribeBucketsOutput
	// contains filtered or unexported fields
}

DescribeBucketsResponse is the response type for the DescribeBuckets API operation.

func (*DescribeBucketsResponse) SDKResponseMetdata

func (r *DescribeBucketsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeBuckets request.

type DescribeClassificationJobInput

type DescribeClassificationJobInput struct {

	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeClassificationJobInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeClassificationJobInput) String

String returns the string representation

func (*DescribeClassificationJobInput) Validate

func (s *DescribeClassificationJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeClassificationJobOutput

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 current status of a classification job. Possible values are:
	JobStatus JobStatus `locationName:"jobStatus" type:"string" enum:"true"`

	// The schedule for running a classification job. Valid values are:
	JobType JobType `locationName:"jobType" type:"string" enum:"true"`

	LastRunTime *time.Time `locationName:"lastRunTime" type:"timestamp" timestampFormat:"iso8601"`

	Name *string `locationName:"name" type:"string"`

	// Specifies which S3 buckets contain the objects that a classification job
	// analyzes, and the scope of that analysis.
	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"`
	// contains filtered or unexported fields
}

Provides information about a classification job, including the current configuration settings and status of the job.

func (DescribeClassificationJobOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeClassificationJobOutput) String

String returns the string representation

type DescribeClassificationJobRequest

type DescribeClassificationJobRequest struct {
	*aws.Request
	Input *DescribeClassificationJobInput
	Copy  func(*DescribeClassificationJobInput) DescribeClassificationJobRequest
}

DescribeClassificationJobRequest is the request type for the DescribeClassificationJob API operation.

func (DescribeClassificationJobRequest) Send

Send marshals and sends the DescribeClassificationJob API request.

type DescribeClassificationJobResponse

type DescribeClassificationJobResponse struct {
	*DescribeClassificationJobOutput
	// contains filtered or unexported fields
}

DescribeClassificationJobResponse is the response type for the DescribeClassificationJob API operation.

func (*DescribeClassificationJobResponse) SDKResponseMetdata

func (r *DescribeClassificationJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeClassificationJob request.

type DescribeOrganizationConfigurationInput

type DescribeOrganizationConfigurationInput struct {
	// contains filtered or unexported fields
}

func (DescribeOrganizationConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeOrganizationConfigurationInput) String

String returns the string representation

type DescribeOrganizationConfigurationOutput

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 AWS organization.

func (DescribeOrganizationConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeOrganizationConfigurationOutput) String

String returns the string representation

type DescribeOrganizationConfigurationRequest

DescribeOrganizationConfigurationRequest is the request type for the DescribeOrganizationConfiguration API operation.

func (DescribeOrganizationConfigurationRequest) Send

Send marshals and sends the DescribeOrganizationConfiguration API request.

type DescribeOrganizationConfigurationResponse

type DescribeOrganizationConfigurationResponse struct {
	*DescribeOrganizationConfigurationOutput
	// contains filtered or unexported fields
}

DescribeOrganizationConfigurationResponse is the response type for the DescribeOrganizationConfiguration API operation.

func (*DescribeOrganizationConfigurationResponse) SDKResponseMetdata

func (r *DescribeOrganizationConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeOrganizationConfiguration request.

type DisableMacieInput

type DisableMacieInput struct {
	// contains filtered or unexported fields
}

func (DisableMacieInput) MarshalFields

func (s DisableMacieInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableMacieInput) String

func (s DisableMacieInput) String() string

String returns the string representation

type DisableMacieOutput

type DisableMacieOutput struct {
	// contains filtered or unexported fields
}

func (DisableMacieOutput) MarshalFields

func (s DisableMacieOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableMacieOutput) String

func (s DisableMacieOutput) String() string

String returns the string representation

type DisableMacieRequest

type DisableMacieRequest struct {
	*aws.Request
	Input *DisableMacieInput
	Copy  func(*DisableMacieInput) DisableMacieRequest
}

DisableMacieRequest is the request type for the DisableMacie API operation.

func (DisableMacieRequest) Send

Send marshals and sends the DisableMacie API request.

type DisableMacieResponse

type DisableMacieResponse struct {
	*DisableMacieOutput
	// contains filtered or unexported fields
}

DisableMacieResponse is the response type for the DisableMacie API operation.

func (*DisableMacieResponse) SDKResponseMetdata

func (r *DisableMacieResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisableMacie request.

type DisableOrganizationAdminAccountInput

type DisableOrganizationAdminAccountInput struct {

	// AdminAccountId is a required field
	AdminAccountId *string `location:"querystring" locationName:"adminAccountId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisableOrganizationAdminAccountInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableOrganizationAdminAccountInput) String

String returns the string representation

func (*DisableOrganizationAdminAccountInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DisableOrganizationAdminAccountOutput

type DisableOrganizationAdminAccountOutput struct {
	// contains filtered or unexported fields
}

func (DisableOrganizationAdminAccountOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableOrganizationAdminAccountOutput) String

String returns the string representation

type DisableOrganizationAdminAccountRequest

type DisableOrganizationAdminAccountRequest struct {
	*aws.Request
	Input *DisableOrganizationAdminAccountInput
	Copy  func(*DisableOrganizationAdminAccountInput) DisableOrganizationAdminAccountRequest
}

DisableOrganizationAdminAccountRequest is the request type for the DisableOrganizationAdminAccount API operation.

func (DisableOrganizationAdminAccountRequest) Send

Send marshals and sends the DisableOrganizationAdminAccount API request.

type DisableOrganizationAdminAccountResponse

type DisableOrganizationAdminAccountResponse struct {
	*DisableOrganizationAdminAccountOutput
	// contains filtered or unexported fields
}

DisableOrganizationAdminAccountResponse is the response type for the DisableOrganizationAdminAccount API operation.

func (*DisableOrganizationAdminAccountResponse) SDKResponseMetdata

func (r *DisableOrganizationAdminAccountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisableOrganizationAdminAccount request.

type DisassociateFromMasterAccountInput

type DisassociateFromMasterAccountInput struct {
	// contains filtered or unexported fields
}

func (DisassociateFromMasterAccountInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateFromMasterAccountInput) String

String returns the string representation

type DisassociateFromMasterAccountOutput

type DisassociateFromMasterAccountOutput struct {
	// contains filtered or unexported fields
}

func (DisassociateFromMasterAccountOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateFromMasterAccountOutput) String

String returns the string representation

type DisassociateFromMasterAccountRequest

type DisassociateFromMasterAccountRequest struct {
	*aws.Request
	Input *DisassociateFromMasterAccountInput
	Copy  func(*DisassociateFromMasterAccountInput) DisassociateFromMasterAccountRequest
}

DisassociateFromMasterAccountRequest is the request type for the DisassociateFromMasterAccount API operation.

func (DisassociateFromMasterAccountRequest) Send

Send marshals and sends the DisassociateFromMasterAccount API request.

type DisassociateFromMasterAccountResponse

type DisassociateFromMasterAccountResponse struct {
	*DisassociateFromMasterAccountOutput
	// contains filtered or unexported fields
}

DisassociateFromMasterAccountResponse is the response type for the DisassociateFromMasterAccount API operation.

func (*DisassociateFromMasterAccountResponse) SDKResponseMetdata

func (r *DisassociateFromMasterAccountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateFromMasterAccount request.

type DisassociateMemberInput

type DisassociateMemberInput struct {

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateMemberInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateMemberInput) String

func (s DisassociateMemberInput) String() string

String returns the string representation

func (*DisassociateMemberInput) Validate

func (s *DisassociateMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateMemberOutput

type DisassociateMemberOutput struct {
	// contains filtered or unexported fields
}

func (DisassociateMemberOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateMemberOutput) String

func (s DisassociateMemberOutput) String() string

String returns the string representation

type DisassociateMemberRequest

type DisassociateMemberRequest struct {
	*aws.Request
	Input *DisassociateMemberInput
	Copy  func(*DisassociateMemberInput) DisassociateMemberRequest
}

DisassociateMemberRequest is the request type for the DisassociateMember API operation.

func (DisassociateMemberRequest) Send

Send marshals and sends the DisassociateMember API request.

type DisassociateMemberResponse

type DisassociateMemberResponse struct {
	*DisassociateMemberOutput
	// contains filtered or unexported fields
}

DisassociateMemberResponse is the response type for the DisassociateMember API operation.

func (*DisassociateMemberResponse) SDKResponseMetdata

func (r *DisassociateMemberResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateMember request.

type DomainDetails

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 (DomainDetails) MarshalFields

func (s DomainDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DomainDetails) String

func (s DomainDetails) String() string

String returns the string representation

type EffectivePermission

type EffectivePermission string
const (
	EffectivePermissionPublic    EffectivePermission = "PUBLIC"
	EffectivePermissionNotPublic EffectivePermission = "NOT_PUBLIC"
)

Enum values for EffectivePermission

func (EffectivePermission) MarshalValue

func (enum EffectivePermission) MarshalValue() (string, error)

func (EffectivePermission) MarshalValueBuf

func (enum EffectivePermission) MarshalValueBuf(b []byte) ([]byte, error)

type EnableMacieInput

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 AWS Security Hub and
	// Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values
	// are:
	FindingPublishingFrequency FindingPublishingFrequency `locationName:"findingPublishingFrequency" type:"string" enum:"true"`

	// The status of an Amazon Macie account. Valid values are:
	Status MacieStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Enables Amazon Macie and specifies the configuration settings for an Amazon Macie account.

func (EnableMacieInput) MarshalFields

func (s EnableMacieInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableMacieInput) String

func (s EnableMacieInput) String() string

String returns the string representation

type EnableMacieOutput

type EnableMacieOutput struct {
	// contains filtered or unexported fields
}

func (EnableMacieOutput) MarshalFields

func (s EnableMacieOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableMacieOutput) String

func (s EnableMacieOutput) String() string

String returns the string representation

type EnableMacieRequest

type EnableMacieRequest struct {
	*aws.Request
	Input *EnableMacieInput
	Copy  func(*EnableMacieInput) EnableMacieRequest
}

EnableMacieRequest is the request type for the EnableMacie API operation.

func (EnableMacieRequest) Send

Send marshals and sends the EnableMacie API request.

type EnableMacieResponse

type EnableMacieResponse struct {
	*EnableMacieOutput
	// contains filtered or unexported fields
}

EnableMacieResponse is the response type for the EnableMacie API operation.

func (*EnableMacieResponse) SDKResponseMetdata

func (r *EnableMacieResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the EnableMacie request.

type EnableOrganizationAdminAccountInput

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 a delegated administrator of Amazon Macie for an AWS organization. To submit this request, you must be a user of the master account for the AWS organization.

func (EnableOrganizationAdminAccountInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableOrganizationAdminAccountInput) String

String returns the string representation

func (*EnableOrganizationAdminAccountInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type EnableOrganizationAdminAccountOutput

type EnableOrganizationAdminAccountOutput struct {
	// contains filtered or unexported fields
}

func (EnableOrganizationAdminAccountOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableOrganizationAdminAccountOutput) String

String returns the string representation

type EnableOrganizationAdminAccountRequest

type EnableOrganizationAdminAccountRequest struct {
	*aws.Request
	Input *EnableOrganizationAdminAccountInput
	Copy  func(*EnableOrganizationAdminAccountInput) EnableOrganizationAdminAccountRequest
}

EnableOrganizationAdminAccountRequest is the request type for the EnableOrganizationAdminAccount API operation.

func (EnableOrganizationAdminAccountRequest) Send

Send marshals and sends the EnableOrganizationAdminAccount API request.

type EnableOrganizationAdminAccountResponse

type EnableOrganizationAdminAccountResponse struct {
	*EnableOrganizationAdminAccountOutput
	// contains filtered or unexported fields
}

EnableOrganizationAdminAccountResponse is the response type for the EnableOrganizationAdminAccount API operation.

func (*EnableOrganizationAdminAccountResponse) SDKResponseMetdata

func (r *EnableOrganizationAdminAccountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the EnableOrganizationAdminAccount request.

type EncryptionType

type EncryptionType string

The type of server-side encryption that's used to encrypt objects in the S3 bucket. Valid values are:

const (
	EncryptionTypeNone    EncryptionType = "NONE"
	EncryptionTypeAes256  EncryptionType = "AES256"
	EncryptionTypeAwsKms  EncryptionType = "aws:kms"
	EncryptionTypeUnknown EncryptionType = "UNKNOWN"
)

Enum values for EncryptionType

func (EncryptionType) MarshalValue

func (enum EncryptionType) MarshalValue() (string, error)

func (EncryptionType) MarshalValueBuf

func (enum EncryptionType) MarshalValueBuf(b []byte) ([]byte, error)

type ErrorCode

type ErrorCode string

The source of an error, issue, or delay. Possible values are:

const (
	ErrorCodeClientError   ErrorCode = "ClientError"
	ErrorCodeInternalError ErrorCode = "InternalError"
)

Enum values for ErrorCode

func (ErrorCode) MarshalValue

func (enum ErrorCode) MarshalValue() (string, error)

func (ErrorCode) MarshalValueBuf

func (enum ErrorCode) MarshalValueBuf(b []byte) ([]byte, error)

type FederatedUser

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 AWS Security Token Service (AWS STS) API.

func (FederatedUser) MarshalFields

func (s FederatedUser) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FederatedUser) String

func (s FederatedUser) String() string

String returns the string representation

type Finding

type Finding struct {
	AccountId *string `locationName:"accountId" type:"string"`

	Archived *bool `locationName:"archived" type:"boolean"`

	// The category of the finding. Valid values are:
	Category FindingCategory `locationName:"category" type:"string" enum:"true"`

	// Provides information about a sensitive data finding, including the classification
	// job that produced 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 numeric score and textual representation of a severity value.
	Severity *Severity `locationName:"severity" type:"structure"`

	Title *string `locationName:"title" type:"string"`

	// The type of finding. Valid values are:
	Type FindingType `locationName:"type" type:"string" enum:"true"`

	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

Provides information about a finding.

func (Finding) MarshalFields

func (s Finding) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Finding) String

func (s Finding) String() string

String returns the string representation

type FindingAction

type FindingAction struct {

	// The type of action that occurred for the resource and produced the policy
	// finding:
	ActionType FindingActionType `locationName:"actionType" type:"string" enum:"true"`

	// 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 (FindingAction) MarshalFields

func (s FindingAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FindingAction) String

func (s FindingAction) String() string

String returns the string representation

type FindingActionType

type FindingActionType string

The type of action that occurred for the resource and produced the policy finding:

const (
	FindingActionTypeAwsApiCall FindingActionType = "AWS_API_CALL"
)

Enum values for FindingActionType

func (FindingActionType) MarshalValue

func (enum FindingActionType) MarshalValue() (string, error)

func (FindingActionType) MarshalValueBuf

func (enum FindingActionType) MarshalValueBuf(b []byte) ([]byte, error)

type FindingActor

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 (FindingActor) MarshalFields

func (s FindingActor) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FindingActor) String

func (s FindingActor) String() string

String returns the string representation

type FindingCategory

type FindingCategory string

The category of the finding. Valid values are:

const (
	FindingCategoryClassification FindingCategory = "CLASSIFICATION"
	FindingCategoryPolicy         FindingCategory = "POLICY"
)

Enum values for FindingCategory

func (FindingCategory) MarshalValue

func (enum FindingCategory) MarshalValue() (string, error)

func (FindingCategory) MarshalValueBuf

func (enum FindingCategory) MarshalValueBuf(b []byte) ([]byte, error)

type FindingCriteria

type FindingCriteria struct {

	// Specifies a condition that defines a property, operator, and value to use
	// to filter the results of a query for findings.
	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 (FindingCriteria) MarshalFields

func (s FindingCriteria) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FindingCriteria) String

func (s FindingCriteria) String() string

String returns the string representation

type FindingPublishingFrequency

type FindingPublishingFrequency string

The frequency with which Amazon Macie publishes updates to policy findings for an account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values are:

const (
	FindingPublishingFrequencyFifteenMinutes FindingPublishingFrequency = "FIFTEEN_MINUTES"
	FindingPublishingFrequencyOneHour        FindingPublishingFrequency = "ONE_HOUR"
	FindingPublishingFrequencySixHours       FindingPublishingFrequency = "SIX_HOURS"
)

Enum values for FindingPublishingFrequency

func (FindingPublishingFrequency) MarshalValue

func (enum FindingPublishingFrequency) MarshalValue() (string, error)

func (FindingPublishingFrequency) MarshalValueBuf

func (enum FindingPublishingFrequency) MarshalValueBuf(b []byte) ([]byte, error)

type FindingStatisticsSortAttributeName

type FindingStatisticsSortAttributeName string

The grouping to sort the results by. Valid values are:

const (
	FindingStatisticsSortAttributeNameGroupKey FindingStatisticsSortAttributeName = "groupKey"
	FindingStatisticsSortAttributeNameCount    FindingStatisticsSortAttributeName = "count"
)

Enum values for FindingStatisticsSortAttributeName

func (FindingStatisticsSortAttributeName) MarshalValue

func (enum FindingStatisticsSortAttributeName) MarshalValue() (string, error)

func (FindingStatisticsSortAttributeName) MarshalValueBuf

func (enum FindingStatisticsSortAttributeName) MarshalValueBuf(b []byte) ([]byte, error)

type FindingStatisticsSortCriteria

type FindingStatisticsSortCriteria struct {

	// The grouping to sort the results by. Valid values are:
	AttributeName FindingStatisticsSortAttributeName `locationName:"attributeName" type:"string" enum:"true"`

	OrderBy OrderBy `locationName:"orderBy" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Specifies criteria for sorting the results of a query that retrieves aggregated statistical data about findings.

func (FindingStatisticsSortCriteria) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FindingStatisticsSortCriteria) String

String returns the string representation

type FindingType

type FindingType string

The type of finding. Valid values are:

const (
	FindingTypeSensitiveDataS3objectMultiple             FindingType = "SensitiveData:S3Object/Multiple"
	FindingTypeSensitiveDataS3objectFinancial            FindingType = "SensitiveData:S3Object/Financial"
	FindingTypeSensitiveDataS3objectPersonal             FindingType = "SensitiveData:S3Object/Personal"
	FindingTypeSensitiveDataS3objectCredentials          FindingType = "SensitiveData:S3Object/Credentials"
	FindingTypeSensitiveDataS3objectCustomIdentifier     FindingType = "SensitiveData:S3Object/CustomIdentifier"
	FindingTypePolicyIamuserS3bucketPublic               FindingType = "Policy:IAMUser/S3BucketPublic"
	FindingTypePolicyIamuserS3bucketSharedExternally     FindingType = "Policy:IAMUser/S3BucketSharedExternally"
	FindingTypePolicyIamuserS3bucketReplicatedExternally FindingType = "Policy:IAMUser/S3BucketReplicatedExternally"
	FindingTypePolicyIamuserS3bucketEncryptionDisabled   FindingType = "Policy:IAMUser/S3BucketEncryptionDisabled"
	FindingTypePolicyIamuserS3blockPublicAccessDisabled  FindingType = "Policy:IAMUser/S3BlockPublicAccessDisabled"
)

Enum values for FindingType

func (FindingType) MarshalValue

func (enum FindingType) MarshalValue() (string, error)

func (FindingType) MarshalValueBuf

func (enum FindingType) MarshalValueBuf(b []byte) ([]byte, error)

type FindingsFilterAction

type FindingsFilterAction string

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:

const (
	FindingsFilterActionArchive FindingsFilterAction = "ARCHIVE"
	FindingsFilterActionNoop    FindingsFilterAction = "NOOP"
)

Enum values for FindingsFilterAction

func (FindingsFilterAction) MarshalValue

func (enum FindingsFilterAction) MarshalValue() (string, error)

func (FindingsFilterAction) MarshalValueBuf

func (enum FindingsFilterAction) MarshalValueBuf(b []byte) ([]byte, error)

type FindingsFilterListItem

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 FindingsFilterAction `locationName:"action" type:"string" enum:"true"`

	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 (FindingsFilterListItem) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FindingsFilterListItem) String

func (s FindingsFilterListItem) String() string

String returns the string representation

type GetBucketStatisticsInput

type GetBucketStatisticsInput struct {
	AccountId *string `locationName:"accountId" type:"string"`
	// contains filtered or unexported fields
}

Specifies an account that's associated with the S3 buckets to retrieve aggregated statistical data for.

func (GetBucketStatisticsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBucketStatisticsInput) String

func (s GetBucketStatisticsInput) String() string

String returns the string representation

type GetBucketStatisticsOutput

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 or don't encrypt objects by default.
	BucketCountByEncryptionType *BucketCountByEncryptionType `locationName:"bucketCountByEncryptionType" type:"structure"`

	// Provides information about the number of S3 buckets that are shared with
	// other AWS accounts.
	BucketCountBySharedAccessType *BucketCountBySharedAccessType `locationName:"bucketCountBySharedAccessType" type:"structure"`

	ClassifiableObjectCount *int64 `locationName:"classifiableObjectCount" 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"`
	// 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 an account.

func (GetBucketStatisticsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBucketStatisticsOutput) String

func (s GetBucketStatisticsOutput) String() string

String returns the string representation

type GetBucketStatisticsRequest

type GetBucketStatisticsRequest struct {
	*aws.Request
	Input *GetBucketStatisticsInput
	Copy  func(*GetBucketStatisticsInput) GetBucketStatisticsRequest
}

GetBucketStatisticsRequest is the request type for the GetBucketStatistics API operation.

func (GetBucketStatisticsRequest) Send

Send marshals and sends the GetBucketStatistics API request.

type GetBucketStatisticsResponse

type GetBucketStatisticsResponse struct {
	*GetBucketStatisticsOutput
	// contains filtered or unexported fields
}

GetBucketStatisticsResponse is the response type for the GetBucketStatistics API operation.

func (*GetBucketStatisticsResponse) SDKResponseMetdata

func (r *GetBucketStatisticsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetBucketStatistics request.

type GetClassificationExportConfigurationInput

type GetClassificationExportConfigurationInput struct {
	// contains filtered or unexported fields
}

func (GetClassificationExportConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetClassificationExportConfigurationInput) String

String returns the string representation

type GetClassificationExportConfigurationOutput

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 (GetClassificationExportConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetClassificationExportConfigurationOutput) String

String returns the string representation

type GetClassificationExportConfigurationRequest

GetClassificationExportConfigurationRequest is the request type for the GetClassificationExportConfiguration API operation.

func (GetClassificationExportConfigurationRequest) Send

Send marshals and sends the GetClassificationExportConfiguration API request.

type GetClassificationExportConfigurationResponse

type GetClassificationExportConfigurationResponse struct {
	*GetClassificationExportConfigurationOutput
	// contains filtered or unexported fields
}

GetClassificationExportConfigurationResponse is the response type for the GetClassificationExportConfiguration API operation.

func (*GetClassificationExportConfigurationResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the GetClassificationExportConfiguration request.

type GetCustomDataIdentifierInput

type GetCustomDataIdentifierInput struct {

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetCustomDataIdentifierInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCustomDataIdentifierInput) String

String returns the string representation

func (*GetCustomDataIdentifierInput) Validate

func (s *GetCustomDataIdentifierInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCustomDataIdentifierOutput

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"`

	// 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 custom data identifier.

func (GetCustomDataIdentifierOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCustomDataIdentifierOutput) String

String returns the string representation

type GetCustomDataIdentifierRequest

type GetCustomDataIdentifierRequest struct {
	*aws.Request
	Input *GetCustomDataIdentifierInput
	Copy  func(*GetCustomDataIdentifierInput) GetCustomDataIdentifierRequest
}

GetCustomDataIdentifierRequest is the request type for the GetCustomDataIdentifier API operation.

func (GetCustomDataIdentifierRequest) Send

Send marshals and sends the GetCustomDataIdentifier API request.

type GetCustomDataIdentifierResponse

type GetCustomDataIdentifierResponse struct {
	*GetCustomDataIdentifierOutput
	// contains filtered or unexported fields
}

GetCustomDataIdentifierResponse is the response type for the GetCustomDataIdentifier API operation.

func (*GetCustomDataIdentifierResponse) SDKResponseMetdata

func (r *GetCustomDataIdentifierResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetCustomDataIdentifier request.

type GetFindingStatisticsInput

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 GroupBy `locationName:"groupBy" type:"string" required:"true" enum:"true"`

	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 (GetFindingStatisticsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingStatisticsInput) String

func (s GetFindingStatisticsInput) String() string

String returns the string representation

func (*GetFindingStatisticsInput) Validate

func (s *GetFindingStatisticsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFindingStatisticsOutput

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 (GetFindingStatisticsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingStatisticsOutput) String

String returns the string representation

type GetFindingStatisticsRequest

type GetFindingStatisticsRequest struct {
	*aws.Request
	Input *GetFindingStatisticsInput
	Copy  func(*GetFindingStatisticsInput) GetFindingStatisticsRequest
}

GetFindingStatisticsRequest is the request type for the GetFindingStatistics API operation.

func (GetFindingStatisticsRequest) Send

Send marshals and sends the GetFindingStatistics API request.

type GetFindingStatisticsResponse

type GetFindingStatisticsResponse struct {
	*GetFindingStatisticsOutput
	// contains filtered or unexported fields
}

GetFindingStatisticsResponse is the response type for the GetFindingStatistics API operation.

func (*GetFindingStatisticsResponse) SDKResponseMetdata

func (r *GetFindingStatisticsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetFindingStatistics request.

type GetFindingsFilterInput

type GetFindingsFilterInput struct {

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetFindingsFilterInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingsFilterInput) String

func (s GetFindingsFilterInput) String() string

String returns the string representation

func (*GetFindingsFilterInput) Validate

func (s *GetFindingsFilterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFindingsFilterOutput

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 FindingsFilterAction `locationName:"action" type:"string" enum:"true"`

	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 (GetFindingsFilterOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingsFilterOutput) String

func (s GetFindingsFilterOutput) String() string

String returns the string representation

type GetFindingsFilterRequest

type GetFindingsFilterRequest struct {
	*aws.Request
	Input *GetFindingsFilterInput
	Copy  func(*GetFindingsFilterInput) GetFindingsFilterRequest
}

GetFindingsFilterRequest is the request type for the GetFindingsFilter API operation.

func (GetFindingsFilterRequest) Send

Send marshals and sends the GetFindingsFilter API request.

type GetFindingsFilterResponse

type GetFindingsFilterResponse struct {
	*GetFindingsFilterOutput
	// contains filtered or unexported fields
}

GetFindingsFilterResponse is the response type for the GetFindingsFilter API operation.

func (*GetFindingsFilterResponse) SDKResponseMetdata

func (r *GetFindingsFilterResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetFindingsFilter request.

type GetFindingsInput

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 information about
	// findings.
	SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"`
	// contains filtered or unexported fields
}

Specifies one or more findings to retrieve information about.

func (GetFindingsInput) MarshalFields

func (s GetFindingsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingsInput) String

func (s GetFindingsInput) String() string

String returns the string representation

func (*GetFindingsInput) Validate

func (s *GetFindingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFindingsOutput

type GetFindingsOutput struct {
	Findings []Finding `locationName:"findings" type:"list"`
	// contains filtered or unexported fields
}

Provides the results of a request for information about one or more findings.

func (GetFindingsOutput) MarshalFields

func (s GetFindingsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingsOutput) String

func (s GetFindingsOutput) String() string

String returns the string representation

type GetFindingsRequest

type GetFindingsRequest struct {
	*aws.Request
	Input *GetFindingsInput
	Copy  func(*GetFindingsInput) GetFindingsRequest
}

GetFindingsRequest is the request type for the GetFindings API operation.

func (GetFindingsRequest) Send

Send marshals and sends the GetFindings API request.

type GetFindingsResponse

type GetFindingsResponse struct {
	*GetFindingsOutput
	// contains filtered or unexported fields
}

GetFindingsResponse is the response type for the GetFindings API operation.

func (*GetFindingsResponse) SDKResponseMetdata

func (r *GetFindingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetFindings request.

type GetInvitationsCountInput

type GetInvitationsCountInput struct {
	// contains filtered or unexported fields
}

func (GetInvitationsCountInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetInvitationsCountInput) String

func (s GetInvitationsCountInput) String() string

String returns the string representation

type GetInvitationsCountOutput

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 (GetInvitationsCountOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetInvitationsCountOutput) String

func (s GetInvitationsCountOutput) String() string

String returns the string representation

type GetInvitationsCountRequest

type GetInvitationsCountRequest struct {
	*aws.Request
	Input *GetInvitationsCountInput
	Copy  func(*GetInvitationsCountInput) GetInvitationsCountRequest
}

GetInvitationsCountRequest is the request type for the GetInvitationsCount API operation.

func (GetInvitationsCountRequest) Send

Send marshals and sends the GetInvitationsCount API request.

type GetInvitationsCountResponse

type GetInvitationsCountResponse struct {
	*GetInvitationsCountOutput
	// contains filtered or unexported fields
}

GetInvitationsCountResponse is the response type for the GetInvitationsCount API operation.

func (*GetInvitationsCountResponse) SDKResponseMetdata

func (r *GetInvitationsCountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInvitationsCount request.

type GetMacieSessionInput

type GetMacieSessionInput struct {
	// contains filtered or unexported fields
}

func (GetMacieSessionInput) MarshalFields

func (s GetMacieSessionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMacieSessionInput) String

func (s GetMacieSessionInput) String() string

String returns the string representation

type GetMacieSessionOutput

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 AWS Security Hub and
	// Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values
	// are:
	FindingPublishingFrequency FindingPublishingFrequency `locationName:"findingPublishingFrequency" type:"string" enum:"true"`

	ServiceRole *string `locationName:"serviceRole" type:"string"`

	// The status of an Amazon Macie account. Valid values are:
	Status MacieStatus `locationName:"status" type:"string" enum:"true"`

	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 (GetMacieSessionOutput) MarshalFields

func (s GetMacieSessionOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMacieSessionOutput) String

func (s GetMacieSessionOutput) String() string

String returns the string representation

type GetMacieSessionRequest

type GetMacieSessionRequest struct {
	*aws.Request
	Input *GetMacieSessionInput
	Copy  func(*GetMacieSessionInput) GetMacieSessionRequest
}

GetMacieSessionRequest is the request type for the GetMacieSession API operation.

func (GetMacieSessionRequest) Send

Send marshals and sends the GetMacieSession API request.

type GetMacieSessionResponse

type GetMacieSessionResponse struct {
	*GetMacieSessionOutput
	// contains filtered or unexported fields
}

GetMacieSessionResponse is the response type for the GetMacieSession API operation.

func (*GetMacieSessionResponse) SDKResponseMetdata

func (r *GetMacieSessionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetMacieSession request.

type GetMasterAccountInput

type GetMasterAccountInput struct {
	// contains filtered or unexported fields
}

func (GetMasterAccountInput) MarshalFields

func (s GetMasterAccountInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMasterAccountInput) String

func (s GetMasterAccountInput) String() string

String returns the string representation

type GetMasterAccountOutput

type GetMasterAccountOutput struct {

	// Provides information about an Amazon Macie membership invitation that was
	// received by an account.
	Master *Invitation `locationName:"master" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about the Amazon Macie master account for an account. If the accounts are associated by a Macie membership invitation, the response also provides information about that invitation.

func (GetMasterAccountOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMasterAccountOutput) String

func (s GetMasterAccountOutput) String() string

String returns the string representation

type GetMasterAccountRequest

type GetMasterAccountRequest struct {
	*aws.Request
	Input *GetMasterAccountInput
	Copy  func(*GetMasterAccountInput) GetMasterAccountRequest
}

GetMasterAccountRequest is the request type for the GetMasterAccount API operation.

func (GetMasterAccountRequest) Send

Send marshals and sends the GetMasterAccount API request.

type GetMasterAccountResponse

type GetMasterAccountResponse struct {
	*GetMasterAccountOutput
	// contains filtered or unexported fields
}

GetMasterAccountResponse is the response type for the GetMasterAccount API operation.

func (*GetMasterAccountResponse) SDKResponseMetdata

func (r *GetMasterAccountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetMasterAccount request.

type GetMemberInput

type GetMemberInput struct {

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMemberInput) MarshalFields

func (s GetMemberInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMemberInput) String

func (s GetMemberInput) String() string

String returns the string representation

func (*GetMemberInput) Validate

func (s *GetMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetMemberOutput

type GetMemberOutput struct {
	AccountId *string `locationName:"accountId" 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 master account (inviter account). Possible values are:
	RelationshipStatus RelationshipStatus `locationName:"relationshipStatus" type:"string" enum:"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"`

	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 master account.

func (GetMemberOutput) MarshalFields

func (s GetMemberOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMemberOutput) String

func (s GetMemberOutput) String() string

String returns the string representation

type GetMemberRequest

type GetMemberRequest struct {
	*aws.Request
	Input *GetMemberInput
	Copy  func(*GetMemberInput) GetMemberRequest
}

GetMemberRequest is the request type for the GetMember API operation.

func (GetMemberRequest) Send

Send marshals and sends the GetMember API request.

type GetMemberResponse

type GetMemberResponse struct {
	*GetMemberOutput
	// contains filtered or unexported fields
}

GetMemberResponse is the response type for the GetMember API operation.

func (*GetMemberResponse) SDKResponseMetdata

func (r *GetMemberResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetMember request.

type GetUsageStatisticsInput

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 account quotas
	// and usage data.
	SortBy *UsageStatisticsSortBy `locationName:"sortBy" type:"structure"`
	// 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 accounts.

func (GetUsageStatisticsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetUsageStatisticsInput) String

func (s GetUsageStatisticsInput) String() string

String returns the string representation

type GetUsageStatisticsOutput

type GetUsageStatisticsOutput struct {
	NextToken *string `locationName:"nextToken" type:"string"`

	Records []UsageRecord `locationName:"records" type:"list"`
	// contains filtered or unexported fields
}

Provides the results of a query that retrieved quotas and aggregated usage data for one or more accounts.

func (GetUsageStatisticsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetUsageStatisticsOutput) String

func (s GetUsageStatisticsOutput) String() string

String returns the string representation

type GetUsageStatisticsPaginator added in v0.24.0

type GetUsageStatisticsPaginator struct {
	aws.Pager
}

GetUsageStatisticsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetUsageStatisticsPaginator added in v0.24.0

func NewGetUsageStatisticsPaginator(req GetUsageStatisticsRequest) GetUsageStatisticsPaginator

NewGetUsageStatisticsRequestPaginator returns a paginator for GetUsageStatistics. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetUsageStatisticsRequest(input)
p := macie2.NewGetUsageStatisticsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetUsageStatisticsPaginator) CurrentPage added in v0.24.0

type GetUsageStatisticsRequest

type GetUsageStatisticsRequest struct {
	*aws.Request
	Input *GetUsageStatisticsInput
	Copy  func(*GetUsageStatisticsInput) GetUsageStatisticsRequest
}

GetUsageStatisticsRequest is the request type for the GetUsageStatistics API operation.

func (GetUsageStatisticsRequest) Send

Send marshals and sends the GetUsageStatistics API request.

type GetUsageStatisticsResponse

type GetUsageStatisticsResponse struct {
	*GetUsageStatisticsOutput
	// contains filtered or unexported fields
}

GetUsageStatisticsResponse is the response type for the GetUsageStatistics API operation.

func (*GetUsageStatisticsResponse) SDKResponseMetdata

func (r *GetUsageStatisticsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetUsageStatistics request.

type GetUsageTotalsInput

type GetUsageTotalsInput struct {
	// contains filtered or unexported fields
}

func (GetUsageTotalsInput) MarshalFields

func (s GetUsageTotalsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetUsageTotalsInput) String

func (s GetUsageTotalsInput) String() string

String returns the string representation

type GetUsageTotalsOutput

type GetUsageTotalsOutput struct {
	UsageTotals []UsageTotal `locationName:"usageTotals" type:"list"`
	// contains filtered or unexported fields
}

Provides the results of a query that retrieved aggregated usage data for an account during the past 30 days.

func (GetUsageTotalsOutput) MarshalFields

func (s GetUsageTotalsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetUsageTotalsOutput) String

func (s GetUsageTotalsOutput) String() string

String returns the string representation

type GetUsageTotalsRequest

type GetUsageTotalsRequest struct {
	*aws.Request
	Input *GetUsageTotalsInput
	Copy  func(*GetUsageTotalsInput) GetUsageTotalsRequest
}

GetUsageTotalsRequest is the request type for the GetUsageTotals API operation.

func (GetUsageTotalsRequest) Send

Send marshals and sends the GetUsageTotals API request.

type GetUsageTotalsResponse

type GetUsageTotalsResponse struct {
	*GetUsageTotalsOutput
	// contains filtered or unexported fields
}

GetUsageTotalsResponse is the response type for the GetUsageTotals API operation.

func (*GetUsageTotalsResponse) SDKResponseMetdata

func (r *GetUsageTotalsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetUsageTotals request.

type GroupBy

type GroupBy string
const (
	GroupByResourcesAffectedS3bucketName GroupBy = "resourcesAffected.s3Bucket.name"
	GroupByType                          GroupBy = "type"
	GroupByClassificationDetailsJobId    GroupBy = "classificationDetails.jobId"
	GroupBySeverityDescription           GroupBy = "severity.description"
)

Enum values for GroupBy

func (GroupBy) MarshalValue

func (enum GroupBy) MarshalValue() (string, error)

func (GroupBy) MarshalValueBuf

func (enum GroupBy) MarshalValueBuf(b []byte) ([]byte, error)

type GroupCount

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 (GroupCount) MarshalFields

func (s GroupCount) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GroupCount) String

func (s GroupCount) String() string

String returns the string representation

type IamUser

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 AWS Identity and Access Management (IAM) user who performed an action on an affected resource.

func (IamUser) MarshalFields

func (s IamUser) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IamUser) String

func (s IamUser) String() string

String returns the string representation

type Invitation

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 master account (inviter account). Possible values are:
	RelationshipStatus RelationshipStatus `locationName:"relationshipStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Provides information about an Amazon Macie membership invitation that was received by an account.

func (Invitation) MarshalFields

func (s Invitation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Invitation) String

func (s Invitation) String() string

String returns the string representation

type IpAddressDetails

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 (IpAddressDetails) MarshalFields

func (s IpAddressDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IpAddressDetails) String

func (s IpAddressDetails) String() string

String returns the string representation

type IpCity

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 (IpCity) MarshalFields

func (s IpCity) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IpCity) String

func (s IpCity) String() string

String returns the string representation

type IpCountry

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 (IpCountry) MarshalFields

func (s IpCountry) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IpCountry) String

func (s IpCountry) String() string

String returns the string representation

type IpGeoLocation

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 (IpGeoLocation) MarshalFields

func (s IpGeoLocation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IpGeoLocation) String

func (s IpGeoLocation) String() string

String returns the string representation

type IpOwner

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 (IpOwner) MarshalFields

func (s IpOwner) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IpOwner) String

func (s IpOwner) String() string

String returns the string representation

type JobComparator

type JobComparator string

The operator to use in a condition. Valid values are:

const (
	JobComparatorEq       JobComparator = "EQ"
	JobComparatorGt       JobComparator = "GT"
	JobComparatorGte      JobComparator = "GTE"
	JobComparatorLt       JobComparator = "LT"
	JobComparatorLte      JobComparator = "LTE"
	JobComparatorNe       JobComparator = "NE"
	JobComparatorContains JobComparator = "CONTAINS"
)

Enum values for JobComparator

func (JobComparator) MarshalValue

func (enum JobComparator) MarshalValue() (string, error)

func (JobComparator) MarshalValueBuf

func (enum JobComparator) MarshalValueBuf(b []byte) ([]byte, error)

type JobScheduleFrequency

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 (JobScheduleFrequency) MarshalFields

func (s JobScheduleFrequency) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobScheduleFrequency) String

func (s JobScheduleFrequency) String() string

String returns the string representation

type JobScopeTerm

type JobScopeTerm struct {

	// Specifies a property-based condition that determines whether an object is
	// included or excluded from a classification job.
	SimpleScopeTerm *SimpleScopeTerm `locationName:"simpleScopeTerm" type:"structure"`

	// Specifies a tag-based condition that determines whether an 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 objects from a classification job.

func (JobScopeTerm) MarshalFields

func (s JobScopeTerm) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobScopeTerm) String

func (s JobScopeTerm) String() string

String returns the string representation

type JobScopingBlock

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 objects from a classification job.

func (JobScopingBlock) MarshalFields

func (s JobScopingBlock) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobScopingBlock) String

func (s JobScopingBlock) String() string

String returns the string representation

type JobStatus

type JobStatus string

The current status of a classification job. Possible values are:

const (
	JobStatusRunning   JobStatus = "RUNNING"
	JobStatusPaused    JobStatus = "PAUSED"
	JobStatusCancelled JobStatus = "CANCELLED"
	JobStatusComplete  JobStatus = "COMPLETE"
	JobStatusIdle      JobStatus = "IDLE"
)

Enum values for JobStatus

func (JobStatus) MarshalValue

func (enum JobStatus) MarshalValue() (string, error)

func (JobStatus) MarshalValueBuf

func (enum JobStatus) MarshalValueBuf(b []byte) ([]byte, error)

type JobSummary

type JobSummary struct {
	BucketDefinitions []S3BucketDefinitionForJob `locationName:"bucketDefinitions" type:"list"`

	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	JobId *string `locationName:"jobId" type:"string"`

	// The current status of a classification job. Possible values are:
	JobStatus JobStatus `locationName:"jobStatus" type:"string" enum:"true"`

	// The schedule for running a classification job. Valid values are:
	JobType JobType `locationName:"jobType" type:"string" enum:"true"`

	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Provides information about a classification job, including the current status of the job.

func (JobSummary) MarshalFields

func (s JobSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobSummary) String

func (s JobSummary) String() string

String returns the string representation

type JobType

type JobType string

The schedule for running a classification job. Valid values are:

const (
	JobTypeOneTime   JobType = "ONE_TIME"
	JobTypeScheduled JobType = "SCHEDULED"
)

Enum values for JobType

func (JobType) MarshalValue

func (enum JobType) MarshalValue() (string, error)

func (JobType) MarshalValueBuf

func (enum JobType) MarshalValueBuf(b []byte) ([]byte, error)

type KeyValuePair

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 (KeyValuePair) MarshalFields

func (s KeyValuePair) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (KeyValuePair) String

func (s KeyValuePair) String() string

String returns the string representation

type ListClassificationJobsInput

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 (ListClassificationJobsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListClassificationJobsInput) String

String returns the string representation

type ListClassificationJobsOutput

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 (ListClassificationJobsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListClassificationJobsOutput) String

String returns the string representation

type ListClassificationJobsPaginator added in v0.24.0

type ListClassificationJobsPaginator struct {
	aws.Pager
}

ListClassificationJobsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListClassificationJobsPaginator added in v0.24.0

func NewListClassificationJobsPaginator(req ListClassificationJobsRequest) ListClassificationJobsPaginator

NewListClassificationJobsRequestPaginator returns a paginator for ListClassificationJobs. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListClassificationJobsRequest(input)
p := macie2.NewListClassificationJobsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListClassificationJobsPaginator) CurrentPage added in v0.24.0

type ListClassificationJobsRequest

type ListClassificationJobsRequest struct {
	*aws.Request
	Input *ListClassificationJobsInput
	Copy  func(*ListClassificationJobsInput) ListClassificationJobsRequest
}

ListClassificationJobsRequest is the request type for the ListClassificationJobs API operation.

func (ListClassificationJobsRequest) Send

Send marshals and sends the ListClassificationJobs API request.

type ListClassificationJobsResponse

type ListClassificationJobsResponse struct {
	*ListClassificationJobsOutput
	// contains filtered or unexported fields
}

ListClassificationJobsResponse is the response type for the ListClassificationJobs API operation.

func (*ListClassificationJobsResponse) SDKResponseMetdata

func (r *ListClassificationJobsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListClassificationJobs request.

type ListCustomDataIdentifiersInput

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 (ListCustomDataIdentifiersInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListCustomDataIdentifiersInput) String

String returns the string representation

type ListCustomDataIdentifiersOutput

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 (ListCustomDataIdentifiersOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListCustomDataIdentifiersOutput) String

String returns the string representation

type ListCustomDataIdentifiersPaginator added in v0.24.0

type ListCustomDataIdentifiersPaginator struct {
	aws.Pager
}

ListCustomDataIdentifiersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListCustomDataIdentifiersPaginator added in v0.24.0

func NewListCustomDataIdentifiersPaginator(req ListCustomDataIdentifiersRequest) ListCustomDataIdentifiersPaginator

NewListCustomDataIdentifiersRequestPaginator returns a paginator for ListCustomDataIdentifiers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListCustomDataIdentifiersRequest(input)
p := macie2.NewListCustomDataIdentifiersRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListCustomDataIdentifiersPaginator) CurrentPage added in v0.24.0

type ListCustomDataIdentifiersRequest

type ListCustomDataIdentifiersRequest struct {
	*aws.Request
	Input *ListCustomDataIdentifiersInput
	Copy  func(*ListCustomDataIdentifiersInput) ListCustomDataIdentifiersRequest
}

ListCustomDataIdentifiersRequest is the request type for the ListCustomDataIdentifiers API operation.

func (ListCustomDataIdentifiersRequest) Send

Send marshals and sends the ListCustomDataIdentifiers API request.

type ListCustomDataIdentifiersResponse

type ListCustomDataIdentifiersResponse struct {
	*ListCustomDataIdentifiersOutput
	// contains filtered or unexported fields
}

ListCustomDataIdentifiersResponse is the response type for the ListCustomDataIdentifiers API operation.

func (*ListCustomDataIdentifiersResponse) SDKResponseMetdata

func (r *ListCustomDataIdentifiersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListCustomDataIdentifiers request.

type ListFindingsFiltersInput

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 (ListFindingsFiltersInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListFindingsFiltersInput) String

func (s ListFindingsFiltersInput) String() string

String returns the string representation

func (*ListFindingsFiltersInput) Validate

func (s *ListFindingsFiltersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFindingsFiltersOutput

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 (ListFindingsFiltersOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListFindingsFiltersOutput) String

func (s ListFindingsFiltersOutput) String() string

String returns the string representation

type ListFindingsFiltersPaginator added in v0.24.0

type ListFindingsFiltersPaginator struct {
	aws.Pager
}

ListFindingsFiltersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListFindingsFiltersPaginator added in v0.24.0

func NewListFindingsFiltersPaginator(req ListFindingsFiltersRequest) ListFindingsFiltersPaginator

NewListFindingsFiltersRequestPaginator returns a paginator for ListFindingsFilters. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListFindingsFiltersRequest(input)
p := macie2.NewListFindingsFiltersRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListFindingsFiltersPaginator) CurrentPage added in v0.24.0

type ListFindingsFiltersRequest

type ListFindingsFiltersRequest struct {
	*aws.Request
	Input *ListFindingsFiltersInput
	Copy  func(*ListFindingsFiltersInput) ListFindingsFiltersRequest
}

ListFindingsFiltersRequest is the request type for the ListFindingsFilters API operation.

func (ListFindingsFiltersRequest) Send

Send marshals and sends the ListFindingsFilters API request.

type ListFindingsFiltersResponse

type ListFindingsFiltersResponse struct {
	*ListFindingsFiltersOutput
	// contains filtered or unexported fields
}

ListFindingsFiltersResponse is the response type for the ListFindingsFilters API operation.

func (*ListFindingsFiltersResponse) SDKResponseMetdata

func (r *ListFindingsFiltersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListFindingsFilters request.

type ListFindingsInput

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 information about
	// 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 (ListFindingsInput) MarshalFields

func (s ListFindingsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListFindingsInput) String

func (s ListFindingsInput) String() string

String returns the string representation

type ListFindingsOutput

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 (ListFindingsOutput) MarshalFields

func (s ListFindingsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListFindingsOutput) String

func (s ListFindingsOutput) String() string

String returns the string representation

type ListFindingsPaginator added in v0.24.0

type ListFindingsPaginator struct {
	aws.Pager
}

ListFindingsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListFindingsPaginator added in v0.24.0

func NewListFindingsPaginator(req ListFindingsRequest) ListFindingsPaginator

NewListFindingsRequestPaginator returns a paginator for ListFindings. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListFindingsRequest(input)
p := macie2.NewListFindingsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListFindingsPaginator) CurrentPage added in v0.24.0

func (p *ListFindingsPaginator) CurrentPage() *ListFindingsOutput

type ListFindingsRequest

type ListFindingsRequest struct {
	*aws.Request
	Input *ListFindingsInput
	Copy  func(*ListFindingsInput) ListFindingsRequest
}

ListFindingsRequest is the request type for the ListFindings API operation.

func (ListFindingsRequest) Send

Send marshals and sends the ListFindings API request.

type ListFindingsResponse

type ListFindingsResponse struct {
	*ListFindingsOutput
	// contains filtered or unexported fields
}

ListFindingsResponse is the response type for the ListFindings API operation.

func (*ListFindingsResponse) SDKResponseMetdata

func (r *ListFindingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListFindings request.

type ListInvitationsInput

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 (ListInvitationsInput) MarshalFields

func (s ListInvitationsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListInvitationsInput) String

func (s ListInvitationsInput) String() string

String returns the string representation

func (*ListInvitationsInput) Validate

func (s *ListInvitationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListInvitationsOutput

type ListInvitationsOutput struct {
	Invitations []Invitation `locationName:"invitations" type:"list"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Provides information about all the Amazon Macie membership invitations that were received by an account.

func (ListInvitationsOutput) MarshalFields

func (s ListInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListInvitationsOutput) String

func (s ListInvitationsOutput) String() string

String returns the string representation

type ListInvitationsPaginator added in v0.24.0

type ListInvitationsPaginator struct {
	aws.Pager
}

ListInvitationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListInvitationsPaginator added in v0.24.0

func NewListInvitationsPaginator(req ListInvitationsRequest) ListInvitationsPaginator

NewListInvitationsRequestPaginator returns a paginator for ListInvitations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListInvitationsRequest(input)
p := macie2.NewListInvitationsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListInvitationsPaginator) CurrentPage added in v0.24.0

type ListInvitationsRequest

type ListInvitationsRequest struct {
	*aws.Request
	Input *ListInvitationsInput
	Copy  func(*ListInvitationsInput) ListInvitationsRequest
}

ListInvitationsRequest is the request type for the ListInvitations API operation.

func (ListInvitationsRequest) Send

Send marshals and sends the ListInvitations API request.

type ListInvitationsResponse

type ListInvitationsResponse struct {
	*ListInvitationsOutput
	// contains filtered or unexported fields
}

ListInvitationsResponse is the response type for the ListInvitations API operation.

func (*ListInvitationsResponse) SDKResponseMetdata

func (r *ListInvitationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListInvitations request.

type ListJobsFilterCriteria

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 (ListJobsFilterCriteria) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobsFilterCriteria) String

func (s ListJobsFilterCriteria) String() string

String returns the string representation

type ListJobsFilterKey

type ListJobsFilterKey string

The property to use to filter the results. Valid values are:

const (
	ListJobsFilterKeyJobType   ListJobsFilterKey = "jobType"
	ListJobsFilterKeyJobStatus ListJobsFilterKey = "jobStatus"
	ListJobsFilterKeyCreatedAt ListJobsFilterKey = "createdAt"
	ListJobsFilterKeyName      ListJobsFilterKey = "name"
)

Enum values for ListJobsFilterKey

func (ListJobsFilterKey) MarshalValue

func (enum ListJobsFilterKey) MarshalValue() (string, error)

func (ListJobsFilterKey) MarshalValueBuf

func (enum ListJobsFilterKey) MarshalValueBuf(b []byte) ([]byte, error)

type ListJobsFilterTerm

type ListJobsFilterTerm struct {

	// The operator to use in a condition. Valid values are:
	Comparator JobComparator `locationName:"comparator" type:"string" enum:"true"`

	// The property to use to filter the results. Valid values are:
	Key ListJobsFilterKey `locationName:"key" type:"string" enum:"true"`

	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 (ListJobsFilterTerm) MarshalFields

func (s ListJobsFilterTerm) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobsFilterTerm) String

func (s ListJobsFilterTerm) String() string

String returns the string representation

type ListJobsSortAttributeName

type ListJobsSortAttributeName string

The property to sort the results by. Valid values are:

const (
	ListJobsSortAttributeNameCreatedAt ListJobsSortAttributeName = "createdAt"
	ListJobsSortAttributeNameJobStatus ListJobsSortAttributeName = "jobStatus"
	ListJobsSortAttributeNameName      ListJobsSortAttributeName = "name"
	ListJobsSortAttributeNameJobType   ListJobsSortAttributeName = "jobType"
)

Enum values for ListJobsSortAttributeName

func (ListJobsSortAttributeName) MarshalValue

func (enum ListJobsSortAttributeName) MarshalValue() (string, error)

func (ListJobsSortAttributeName) MarshalValueBuf

func (enum ListJobsSortAttributeName) MarshalValueBuf(b []byte) ([]byte, error)

type ListJobsSortCriteria

type ListJobsSortCriteria struct {

	// The property to sort the results by. Valid values are:
	AttributeName ListJobsSortAttributeName `locationName:"attributeName" type:"string" enum:"true"`

	OrderBy OrderBy `locationName:"orderBy" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Specifies criteria for sorting the results of a request for information about classification jobs.

func (ListJobsSortCriteria) MarshalFields

func (s ListJobsSortCriteria) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobsSortCriteria) String

func (s ListJobsSortCriteria) String() string

String returns the string representation

type ListMembersInput

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 (ListMembersInput) MarshalFields

func (s ListMembersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListMembersInput) String

func (s ListMembersInput) String() string

String returns the string representation

func (*ListMembersInput) Validate

func (s *ListMembersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListMembersOutput

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 master account.

func (ListMembersOutput) MarshalFields

func (s ListMembersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListMembersOutput) String

func (s ListMembersOutput) String() string

String returns the string representation

type ListMembersPaginator added in v0.24.0

type ListMembersPaginator struct {
	aws.Pager
}

ListMembersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListMembersPaginator added in v0.24.0

func NewListMembersPaginator(req ListMembersRequest) ListMembersPaginator

NewListMembersRequestPaginator returns a paginator for ListMembers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListMembersRequest(input)
p := macie2.NewListMembersRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListMembersPaginator) CurrentPage added in v0.24.0

func (p *ListMembersPaginator) CurrentPage() *ListMembersOutput

type ListMembersRequest

type ListMembersRequest struct {
	*aws.Request
	Input *ListMembersInput
	Copy  func(*ListMembersInput) ListMembersRequest
}

ListMembersRequest is the request type for the ListMembers API operation.

func (ListMembersRequest) Send

Send marshals and sends the ListMembers API request.

type ListMembersResponse

type ListMembersResponse struct {
	*ListMembersOutput
	// contains filtered or unexported fields
}

ListMembersResponse is the response type for the ListMembers API operation.

func (*ListMembersResponse) SDKResponseMetdata

func (r *ListMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListMembers request.

type ListOrganizationAdminAccountsInput

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 (ListOrganizationAdminAccountsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListOrganizationAdminAccountsInput) String

String returns the string representation

func (*ListOrganizationAdminAccountsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListOrganizationAdminAccountsOutput

type ListOrganizationAdminAccountsOutput struct {
	AdminAccounts []AdminAccount `locationName:"adminAccounts" type:"list"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Provides information about the accounts that are designated as delegated administrators of Amazon Macie for an AWS organization.

func (ListOrganizationAdminAccountsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListOrganizationAdminAccountsOutput) String

String returns the string representation

type ListOrganizationAdminAccountsPaginator added in v0.24.0

type ListOrganizationAdminAccountsPaginator struct {
	aws.Pager
}

ListOrganizationAdminAccountsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListOrganizationAdminAccountsPaginator added in v0.24.0

func NewListOrganizationAdminAccountsPaginator(req ListOrganizationAdminAccountsRequest) ListOrganizationAdminAccountsPaginator

NewListOrganizationAdminAccountsRequestPaginator returns a paginator for ListOrganizationAdminAccounts. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListOrganizationAdminAccountsRequest(input)
p := macie2.NewListOrganizationAdminAccountsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListOrganizationAdminAccountsPaginator) CurrentPage added in v0.24.0

type ListOrganizationAdminAccountsRequest

type ListOrganizationAdminAccountsRequest struct {
	*aws.Request
	Input *ListOrganizationAdminAccountsInput
	Copy  func(*ListOrganizationAdminAccountsInput) ListOrganizationAdminAccountsRequest
}

ListOrganizationAdminAccountsRequest is the request type for the ListOrganizationAdminAccounts API operation.

func (ListOrganizationAdminAccountsRequest) Send

Send marshals and sends the ListOrganizationAdminAccounts API request.

type ListOrganizationAdminAccountsResponse

type ListOrganizationAdminAccountsResponse struct {
	*ListOrganizationAdminAccountsOutput
	// contains filtered or unexported fields
}

ListOrganizationAdminAccountsResponse is the response type for the ListOrganizationAdminAccounts API operation.

func (*ListOrganizationAdminAccountsResponse) SDKResponseMetdata

func (r *ListOrganizationAdminAccountsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListOrganizationAdminAccounts request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

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 (ListTagsForResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type MacieStatus

type MacieStatus string

The status of an Amazon Macie account. Valid values are:

const (
	MacieStatusPaused  MacieStatus = "PAUSED"
	MacieStatusEnabled MacieStatus = "ENABLED"
)

Enum values for MacieStatus

func (MacieStatus) MarshalValue

func (enum MacieStatus) MarshalValue() (string, error)

func (MacieStatus) MarshalValueBuf

func (enum MacieStatus) MarshalValueBuf(b []byte) ([]byte, error)

type Member

type Member struct {
	AccountId *string `locationName:"accountId" 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 master account (inviter account). Possible values are:
	RelationshipStatus RelationshipStatus `locationName:"relationshipStatus" type:"string" enum:"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"`

	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 master account.

func (Member) MarshalFields

func (s Member) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Member) String

func (s Member) String() string

String returns the string representation

type MonthlySchedule

type MonthlySchedule struct {
	DayOfMonth *int64 `locationName:"dayOfMonth" type:"integer"`
	// contains filtered or unexported fields
}

Specifies a monthly recurrence pattern for running a classification job.

func (MonthlySchedule) MarshalFields

func (s MonthlySchedule) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MonthlySchedule) String

func (s MonthlySchedule) String() string

String returns the string representation

type ObjectCountByEncryptionType

type ObjectCountByEncryptionType struct {
	CustomerManaged *int64 `locationName:"customerManaged" type:"long"`

	KmsManaged *int64 `locationName:"kmsManaged" type:"long"`

	S3Managed *int64 `locationName:"s3Managed" type:"long"`

	Unencrypted *int64 `locationName:"unencrypted" type:"long"`
	// contains filtered or unexported fields
}

The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted.

func (ObjectCountByEncryptionType) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ObjectCountByEncryptionType) String

String returns the string representation

type OrderBy

type OrderBy string
const (
	OrderByAsc  OrderBy = "ASC"
	OrderByDesc OrderBy = "DESC"
)

Enum values for OrderBy

func (OrderBy) MarshalValue

func (enum OrderBy) MarshalValue() (string, error)

func (OrderBy) MarshalValueBuf

func (enum OrderBy) MarshalValueBuf(b []byte) ([]byte, error)

type PolicyDetails

type PolicyDetails struct {

	// Provides information about an action that occurred for a resource and produced
	// a policy finding.
	Action *FindingAction `locationName:"action" type:"structure"`

	// Provides information about an entity that performed an action that produced
	// a policy finding for a resource.
	Actor *FindingActor `locationName:"actor" type:"structure"`
	// contains filtered or unexported fields
}

Provides the details of a policy finding.

func (PolicyDetails) MarshalFields

func (s PolicyDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PolicyDetails) String

func (s PolicyDetails) String() string

String returns the string representation

type PutClassificationExportConfigurationInput

type PutClassificationExportConfigurationInput 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 is a required field
	Configuration *ClassificationExportConfiguration `locationName:"configuration" type:"structure" required:"true"`
	// 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 (PutClassificationExportConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutClassificationExportConfigurationInput) String

String returns the string representation

func (*PutClassificationExportConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type PutClassificationExportConfigurationOutput

type PutClassificationExportConfigurationOutput 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 updated settings for storing data classification results.

func (PutClassificationExportConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutClassificationExportConfigurationOutput) String

String returns the string representation

type PutClassificationExportConfigurationRequest

PutClassificationExportConfigurationRequest is the request type for the PutClassificationExportConfiguration API operation.

func (PutClassificationExportConfigurationRequest) Send

Send marshals and sends the PutClassificationExportConfiguration API request.

type PutClassificationExportConfigurationResponse

type PutClassificationExportConfigurationResponse struct {
	*PutClassificationExportConfigurationOutput
	// contains filtered or unexported fields
}

PutClassificationExportConfigurationResponse is the response type for the PutClassificationExportConfiguration API operation.

func (*PutClassificationExportConfigurationResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the PutClassificationExportConfiguration request.

type RelationshipStatus

type RelationshipStatus string

The current status of the relationship between an account and an associated Amazon Macie master account (inviter account). Possible values are:

const (
	RelationshipStatusEnabled                     RelationshipStatus = "Enabled"
	RelationshipStatusPaused                      RelationshipStatus = "Paused"
	RelationshipStatusInvited                     RelationshipStatus = "Invited"
	RelationshipStatusCreated                     RelationshipStatus = "Created"
	RelationshipStatusRemoved                     RelationshipStatus = "Removed"
	RelationshipStatusResigned                    RelationshipStatus = "Resigned"
	RelationshipStatusEmailVerificationInProgress RelationshipStatus = "EmailVerificationInProgress"
	RelationshipStatusEmailVerificationFailed     RelationshipStatus = "EmailVerificationFailed"
	RelationshipStatusRegionDisabled              RelationshipStatus = "RegionDisabled"
	RelationshipStatusAccountSuspended            RelationshipStatus = "AccountSuspended"
)

Enum values for RelationshipStatus

func (RelationshipStatus) MarshalValue

func (enum RelationshipStatus) MarshalValue() (string, error)

func (RelationshipStatus) MarshalValueBuf

func (enum RelationshipStatus) MarshalValueBuf(b []byte) ([]byte, error)

type ReplicationDetails

type ReplicationDetails struct {
	Replicated *bool `locationName:"replicated" type:"boolean"`

	ReplicatedExternally *bool `locationName:"replicatedExternally" type:"boolean"`

	ReplicationAccounts []string `locationName:"replicationAccounts" type:"list"`
	// contains filtered or unexported fields
}

Provides information about settings that define whether one or more objects in an S3 bucket are replicated to S3 buckets for other AWS accounts and, if so, which accounts.

func (ReplicationDetails) MarshalFields

func (s ReplicationDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ReplicationDetails) String

func (s ReplicationDetails) String() string

String returns the string representation

type ResourcesAffected

type ResourcesAffected struct {

	// Provides information about an S3 bucket that a finding applies to.
	S3Bucket *S3Bucket `locationName:"s3Bucket" type:"structure"`

	// Provides information about an S3 object that a finding applies to.
	S3Object *S3Object `locationName:"s3Object" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about the resources that a finding applies to.

func (ResourcesAffected) MarshalFields

func (s ResourcesAffected) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ResourcesAffected) String

func (s ResourcesAffected) String() string

String returns the string representation

type S3Bucket

type S3Bucket struct {
	Arn *string `locationName:"arn" type:"string"`

	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// Provides information about the server-side encryption settings for an S3
	// bucket or object.
	DefaultServerSideEncryption *ServerSideEncryption `locationName:"defaultServerSideEncryption" type:"structure"`

	Name *string `locationName:"name" type:"string"`

	// Provides information about the user who owns an S3 bucket.
	Owner *S3BucketOwner `locationName:"owner" type:"structure"`

	// Provides information about permissions settings that determine whether an
	// S3 bucket is publicly accessible.
	PublicAccess *BucketPublicAccess `locationName:"publicAccess" type:"structure"`

	// 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.
	Tags []KeyValuePair `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Provides information about an S3 bucket that a finding applies to.

func (S3Bucket) MarshalFields

func (s S3Bucket) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3Bucket) String

func (s S3Bucket) String() string

String returns the string representation

type S3BucketDefinitionForJob

type S3BucketDefinitionForJob struct {
	AccountId *string `locationName:"accountId" type:"string"`

	Buckets []string `locationName:"buckets" type:"list"`
	// contains filtered or unexported fields
}

Specifies which S3 buckets contain the objects that a classification job analyzes.

func (S3BucketDefinitionForJob) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3BucketDefinitionForJob) String

func (s S3BucketDefinitionForJob) String() string

String returns the string representation

type S3BucketOwner

type S3BucketOwner struct {
	DisplayName *string `locationName:"displayName" type:"string"`

	Id *string `locationName:"id" type:"string"`
	// contains filtered or unexported fields
}

Provides information about the user who owns an S3 bucket.

func (S3BucketOwner) MarshalFields

func (s S3BucketOwner) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3BucketOwner) String

func (s S3BucketOwner) String() string

String returns the string representation

type S3Destination

type S3Destination struct {

	// BucketName is a required field
	BucketName *string `locationName:"bucketName" type:"string" required:"true"`

	KeyPrefix *string `locationName:"keyPrefix" type:"string"`

	// KmsKeyArn is a required field
	KmsKeyArn *string `locationName:"kmsKeyArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies an S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.

func (S3Destination) MarshalFields

func (s S3Destination) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3Destination) String

func (s S3Destination) String() string

String returns the string representation

func (*S3Destination) Validate

func (s *S3Destination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3JobDefinition

type S3JobDefinition struct {
	BucketDefinitions []S3BucketDefinitionForJob `locationName:"bucketDefinitions" type:"list"`

	// Specifies one or more property- and tag-based conditions that refine the
	// scope of a classification job. These conditions define criteria that determine
	// which objects a job analyzes.
	Scoping *Scoping `locationName:"scoping" type:"structure"`
	// contains filtered or unexported fields
}

Specifies which S3 buckets contain the objects that a classification job analyzes, and the scope of that analysis.

func (S3JobDefinition) MarshalFields

func (s S3JobDefinition) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3JobDefinition) String

func (s S3JobDefinition) String() string

String returns the string representation

type S3Object

type S3Object struct {
	BucketArn *string `locationName:"bucketArn" type:"string"`

	ETag *string `locationName:"eTag" type:"string"`

	Extension *string `locationName:"extension" type:"string"`

	Key *string `locationName:"key" type:"string"`

	LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601"`

	Path *string `locationName:"path" type:"string"`

	PublicAccess *bool `locationName:"publicAccess" type:"boolean"`

	// Provides information about the server-side encryption settings for an S3
	// bucket or object.
	ServerSideEncryption *ServerSideEncryption `locationName:"serverSideEncryption" type:"structure"`

	Size *int64 `locationName:"size" type:"long"`

	// The storage class of the S3 bucket or object. Possible values are:
	StorageClass StorageClass `locationName:"storageClass" type:"string" enum:"true"`

	// 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.
	Tags []KeyValuePair `locationName:"tags" type:"list"`

	VersionId *string `locationName:"versionId" type:"string"`
	// contains filtered or unexported fields
}

Provides information about an S3 object that a finding applies to.

func (S3Object) MarshalFields

func (s S3Object) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3Object) String

func (s S3Object) String() string

String returns the string representation

type ScopeFilterKey

type ScopeFilterKey string

The property to use in a condition that determines which objects are analyzed by a classification job. Valid values are:

const (
	ScopeFilterKeyBucketCreationDate     ScopeFilterKey = "BUCKET_CREATION_DATE"
	ScopeFilterKeyObjectExtension        ScopeFilterKey = "OBJECT_EXTENSION"
	ScopeFilterKeyObjectLastModifiedDate ScopeFilterKey = "OBJECT_LAST_MODIFIED_DATE"
	ScopeFilterKeyObjectSize             ScopeFilterKey = "OBJECT_SIZE"
	ScopeFilterKeyTag                    ScopeFilterKey = "TAG"
)

Enum values for ScopeFilterKey

func (ScopeFilterKey) MarshalValue

func (enum ScopeFilterKey) MarshalValue() (string, error)

func (ScopeFilterKey) MarshalValueBuf

func (enum ScopeFilterKey) MarshalValueBuf(b []byte) ([]byte, error)

type Scoping

type Scoping struct {

	// Specifies one or more property- and tag-based conditions that define criteria
	// for including or excluding objects from a classification job.
	Excludes *JobScopingBlock `locationName:"excludes" type:"structure"`

	// Specifies one or more property- and tag-based conditions that define criteria
	// for including or excluding objects from a classification job.
	Includes *JobScopingBlock `locationName:"includes" type:"structure"`
	// contains filtered or unexported fields
}

Specifies one or more property- and tag-based conditions that refine the scope of a classification job. These conditions define criteria that determine which objects a job analyzes.

func (Scoping) MarshalFields

func (s Scoping) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Scoping) String

func (s Scoping) String() string

String returns the string representation

type SensitiveDataItem

type SensitiveDataItem struct {

	// The category of sensitive data that was detected and produced the finding.
	// Possible values are:
	Category SensitiveDataItemCategory `locationName:"category" type:"string" enum:"true"`

	// Provides information about sensitive data that was detected by managed data
	// identifiers and produced a sensitive data finding, and the number of occurrences
	// of each type of sensitive data that was detected.
	Detections []DefaultDetection `locationName:"detections" type:"list"`

	TotalCount *int64 `locationName:"totalCount" type:"long"`
	// contains filtered or unexported fields
}

Provides information about the category, type, and number of occurrences of sensitive data that produced a finding.

func (SensitiveDataItem) MarshalFields

func (s SensitiveDataItem) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SensitiveDataItem) String

func (s SensitiveDataItem) String() string

String returns the string representation

type SensitiveDataItemCategory

type SensitiveDataItemCategory string

The category of sensitive data that was detected and produced the finding. Possible values are:

const (
	SensitiveDataItemCategoryFinancialInformation SensitiveDataItemCategory = "FINANCIAL_INFORMATION"
	SensitiveDataItemCategoryPersonalInformation  SensitiveDataItemCategory = "PERSONAL_INFORMATION"
	SensitiveDataItemCategoryCredentials          SensitiveDataItemCategory = "CREDENTIALS"
	SensitiveDataItemCategoryCustomIdentifier     SensitiveDataItemCategory = "CUSTOM_IDENTIFIER"
)

Enum values for SensitiveDataItemCategory

func (SensitiveDataItemCategory) MarshalValue

func (enum SensitiveDataItemCategory) MarshalValue() (string, error)

func (SensitiveDataItemCategory) MarshalValueBuf

func (enum SensitiveDataItemCategory) MarshalValueBuf(b []byte) ([]byte, error)

type ServerSideEncryption

type ServerSideEncryption struct {

	// The type of server-side encryption that's used to encrypt objects in the
	// S3 bucket. Valid values are:
	EncryptionType EncryptionType `locationName:"encryptionType" type:"string" enum:"true"`

	KmsMasterKeyId *string `locationName:"kmsMasterKeyId" type:"string"`
	// contains filtered or unexported fields
}

Provides information about the server-side encryption settings for an S3 bucket or object.

func (ServerSideEncryption) MarshalFields

func (s ServerSideEncryption) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ServerSideEncryption) String

func (s ServerSideEncryption) String() string

String returns the string representation

type ServiceLimit

type ServiceLimit struct {
	IsServiceLimited *bool `locationName:"isServiceLimited" type:"boolean"`

	Unit Unit `locationName:"unit" type:"string" enum:"true"`

	Value *int64 `locationName:"value" type:"long"`
	// contains filtered or unexported fields
}

Specifies a current quota for an account.

func (ServiceLimit) MarshalFields

func (s ServiceLimit) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ServiceLimit) String

func (s ServiceLimit) String() string

String returns the string representation

type SessionContext

type SessionContext struct {

	// Provides information about the context in which temporary security credentials
	// were issued to an entity.
	Attributes *SessionContextAttributes `locationName:"attributes" type:"structure"`

	// Provides information about the source and type of temporary security credentials
	// that were issued to an entity.
	SessionIssuer *SessionIssuer `locationName:"sessionIssuer" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about a session that was created for an entity that performed an action by using temporary security credentials.

func (SessionContext) MarshalFields

func (s SessionContext) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SessionContext) String

func (s SessionContext) String() string

String returns the string representation

type SessionContextAttributes

type SessionContextAttributes struct {
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"iso8601"`

	MfaAuthenticated *bool `locationName:"mfaAuthenticated" type:"boolean"`
	// contains filtered or unexported fields
}

Provides information about the context in which temporary security credentials were issued to an entity.

func (SessionContextAttributes) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SessionContextAttributes) String

func (s SessionContextAttributes) String() string

String returns the string representation

type SessionIssuer

type SessionIssuer struct {
	AccountId *string `locationName:"accountId" type:"string"`

	Arn *string `locationName:"arn" type:"string"`

	PrincipalId *string `locationName:"principalId" type:"string"`

	Type *string `locationName:"type" type:"string"`

	UserName *string `locationName:"userName" type:"string"`
	// contains filtered or unexported fields
}

Provides information about the source and type of temporary security credentials that were issued to an entity.

func (SessionIssuer) MarshalFields

func (s SessionIssuer) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SessionIssuer) String

func (s SessionIssuer) String() string

String returns the string representation

type Severity

type Severity struct {

	// The textual representation of the finding's severity. Possible values are:
	Description SeverityDescription `locationName:"description" type:"string" enum:"true"`

	Score *int64 `locationName:"score" type:"long"`
	// contains filtered or unexported fields
}

Provides the numeric score and textual representation of a severity value.

func (Severity) MarshalFields

func (s Severity) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Severity) String

func (s Severity) String() string

String returns the string representation

type SeverityDescription

type SeverityDescription string

The textual representation of the finding's severity. Possible values are:

const (
	SeverityDescriptionLow    SeverityDescription = "Low"
	SeverityDescriptionMedium SeverityDescription = "Medium"
	SeverityDescriptionHigh   SeverityDescription = "High"
)

Enum values for SeverityDescription

func (SeverityDescription) MarshalValue

func (enum SeverityDescription) MarshalValue() (string, error)

func (SeverityDescription) MarshalValueBuf

func (enum SeverityDescription) MarshalValueBuf(b []byte) ([]byte, error)

type SharedAccess

type SharedAccess string
const (
	SharedAccessExternal  SharedAccess = "EXTERNAL"
	SharedAccessInternal  SharedAccess = "INTERNAL"
	SharedAccessNotShared SharedAccess = "NOT_SHARED"
)

Enum values for SharedAccess

func (SharedAccess) MarshalValue

func (enum SharedAccess) MarshalValue() (string, error)

func (SharedAccess) MarshalValueBuf

func (enum SharedAccess) MarshalValueBuf(b []byte) ([]byte, error)

type SimpleScopeTerm

type SimpleScopeTerm struct {

	// The operator to use in a condition. Valid values are:
	Comparator JobComparator `locationName:"comparator" type:"string" enum:"true"`

	// The property to use in a condition that determines which objects are analyzed
	// by a classification job. Valid values are:
	Key ScopeFilterKey `locationName:"key" type:"string" enum:"true"`

	Values []string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Specifies a property-based condition that determines whether an object is included or excluded from a classification job.

func (SimpleScopeTerm) MarshalFields

func (s SimpleScopeTerm) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SimpleScopeTerm) String

func (s SimpleScopeTerm) String() string

String returns the string representation

type SortCriteria

type SortCriteria struct {
	AttributeName *string `locationName:"attributeName" type:"string"`

	OrderBy OrderBy `locationName:"orderBy" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Specifies criteria for sorting the results of a request for information about findings.

func (SortCriteria) MarshalFields

func (s SortCriteria) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SortCriteria) String

func (s SortCriteria) String() string

String returns the string representation

type Statistics

type Statistics struct {
	ApproximateNumberOfObjectsToProcess *float64 `locationName:"approximateNumberOfObjectsToProcess" type:"double"`

	NumberOfRuns *float64 `locationName:"numberOfRuns" type:"double"`
	// contains filtered or unexported fields
}

Provides processing statistics for a classification job.

func (Statistics) MarshalFields

func (s Statistics) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Statistics) String

func (s Statistics) String() string

String returns the string representation

type StorageClass

type StorageClass string

The storage class of the S3 bucket or object. Possible values are:

const (
	StorageClassStandard           StorageClass = "STANDARD"
	StorageClassReducedRedundancy  StorageClass = "REDUCED_REDUNDANCY"
	StorageClassStandardIa         StorageClass = "STANDARD_IA"
	StorageClassIntelligentTiering StorageClass = "INTELLIGENT_TIERING"
	StorageClassDeepArchive        StorageClass = "DEEP_ARCHIVE"
	StorageClassOnezoneIa          StorageClass = "ONEZONE_IA"
	StorageClassGlacier            StorageClass = "GLACIER"
)

Enum values for StorageClass

func (StorageClass) MarshalValue

func (enum StorageClass) MarshalValue() (string, error)

func (StorageClass) MarshalValueBuf

func (enum StorageClass) MarshalValueBuf(b []byte) ([]byte, error)

type TagResourceInput

type TagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" 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 is a required field
	Tags map[string]string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

Specifies the tags (keys and values) to associate with a classification job, custom data identifier, findings filter, or member account.

func (TagResourceInput) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

The request succeeded. The specified tags were added to the resource.

func (TagResourceOutput) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type TagScopeTerm

type TagScopeTerm struct {

	// The operator to use in a condition. Valid values are:
	Comparator JobComparator `locationName:"comparator" type:"string" enum:"true"`

	Key *string `locationName:"key" type:"string"`

	TagValues []TagValuePair `locationName:"tagValues" type:"list"`

	// The type of object to apply a tag-based condition to. Valid values are:
	Target TagTarget `locationName:"target" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Specifies a tag-based condition that determines whether an object is included or excluded from a classification job.

func (TagScopeTerm) MarshalFields

func (s TagScopeTerm) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagScopeTerm) String

func (s TagScopeTerm) String() string

String returns the string representation

type TagTarget

type TagTarget string

The type of object to apply a tag-based condition to. Valid values are:

const (
	TagTargetS3Object TagTarget = "S3_OBJECT"
)

Enum values for TagTarget

func (TagTarget) MarshalValue

func (enum TagTarget) MarshalValue() (string, error)

func (TagTarget) MarshalValueBuf

func (enum TagTarget) MarshalValueBuf(b []byte) ([]byte, error)

type TagValuePair

type TagValuePair struct {
	Key *string `locationName:"key" type:"string"`

	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Specifies a tag key and value, as a pair, to use in a tag-based condition for a classification job.

func (TagValuePair) MarshalFields

func (s TagValuePair) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagValuePair) String

func (s TagValuePair) String() string

String returns the string representation

type TestCustomDataIdentifierInput

type TestCustomDataIdentifierInput struct {
	IgnoreWords []string `locationName:"ignoreWords" type:"list"`

	Keywords []string `locationName:"keywords" type:"list"`

	MaximumMatchDistance *int64 `locationName:"maximumMatchDistance" type:"integer"`

	// Regex is a required field
	Regex *string `locationName:"regex" type:"string" required:"true"`

	// SampleText is a required field
	SampleText *string `locationName:"sampleText" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies the detection criteria of a custom data identifier to test.

func (TestCustomDataIdentifierInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TestCustomDataIdentifierInput) String

String returns the string representation

func (*TestCustomDataIdentifierInput) Validate

func (s *TestCustomDataIdentifierInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TestCustomDataIdentifierOutput

type TestCustomDataIdentifierOutput struct {
	MatchCount *int64 `locationName:"matchCount" type:"integer"`
	// contains filtered or unexported fields
}

Provides test results for a custom data identifier.

func (TestCustomDataIdentifierOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TestCustomDataIdentifierOutput) String

String returns the string representation

type TestCustomDataIdentifierRequest

type TestCustomDataIdentifierRequest struct {
	*aws.Request
	Input *TestCustomDataIdentifierInput
	Copy  func(*TestCustomDataIdentifierInput) TestCustomDataIdentifierRequest
}

TestCustomDataIdentifierRequest is the request type for the TestCustomDataIdentifier API operation.

func (TestCustomDataIdentifierRequest) Send

Send marshals and sends the TestCustomDataIdentifier API request.

type TestCustomDataIdentifierResponse

type TestCustomDataIdentifierResponse struct {
	*TestCustomDataIdentifierOutput
	// contains filtered or unexported fields
}

TestCustomDataIdentifierResponse is the response type for the TestCustomDataIdentifier API operation.

func (*TestCustomDataIdentifierResponse) SDKResponseMetdata

func (r *TestCustomDataIdentifierResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TestCustomDataIdentifier request.

type UnarchiveFindingsInput

type UnarchiveFindingsInput struct {

	// FindingIds is a required field
	FindingIds []string `locationName:"findingIds" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Specifies one or more findings to reactivate (unarchive).

func (UnarchiveFindingsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UnarchiveFindingsInput) String

func (s UnarchiveFindingsInput) String() string

String returns the string representation

func (*UnarchiveFindingsInput) Validate

func (s *UnarchiveFindingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UnarchiveFindingsOutput

type UnarchiveFindingsOutput struct {
	// contains filtered or unexported fields
}

func (UnarchiveFindingsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UnarchiveFindingsOutput) String

func (s UnarchiveFindingsOutput) String() string

String returns the string representation

type UnarchiveFindingsRequest

type UnarchiveFindingsRequest struct {
	*aws.Request
	Input *UnarchiveFindingsInput
	Copy  func(*UnarchiveFindingsInput) UnarchiveFindingsRequest
}

UnarchiveFindingsRequest is the request type for the UnarchiveFindings API operation.

func (UnarchiveFindingsRequest) Send

Send marshals and sends the UnarchiveFindings API request.

type UnarchiveFindingsResponse

type UnarchiveFindingsResponse struct {
	*UnarchiveFindingsOutput
	// contains filtered or unexported fields
}

UnarchiveFindingsResponse is the response type for the UnarchiveFindings API operation.

func (*UnarchiveFindingsResponse) SDKResponseMetdata

func (r *UnarchiveFindingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UnarchiveFindings request.

type Unit

type Unit string
const (
	UnitTerabytes Unit = "TERABYTES"
)

Enum values for Unit

func (Unit) MarshalValue

func (enum Unit) MarshalValue() (string, error)

func (Unit) MarshalValueBuf

func (enum Unit) MarshalValueBuf(b []byte) ([]byte, error)

type UnprocessedAccount

type UnprocessedAccount struct {
	AccountId *string `locationName:"accountId" type:"string"`

	// The source of an error, issue, or delay. Possible values are:
	ErrorCode ErrorCode `locationName:"errorCode" type:"string" enum:"true"`

	ErrorMessage *string `locationName:"errorMessage" type:"string"`
	// contains filtered or unexported fields
}

Provides information about an account-related request that hasn't been processed.

func (UnprocessedAccount) MarshalFields

func (s UnprocessedAccount) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UnprocessedAccount) String

func (s UnprocessedAccount) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

The request succeeded. The specified tags were removed from the resource.

func (UntagResourceOutput) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateClassificationJobInput

type UpdateClassificationJobInput struct {

	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`

	// The current status of a classification job. Possible values are:
	//
	// JobStatus is a required field
	JobStatus JobStatus `locationName:"jobStatus" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Cancels a classification job.

func (UpdateClassificationJobInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateClassificationJobInput) String

String returns the string representation

func (*UpdateClassificationJobInput) Validate

func (s *UpdateClassificationJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateClassificationJobOutput

type UpdateClassificationJobOutput struct {
	// contains filtered or unexported fields
}

func (UpdateClassificationJobOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateClassificationJobOutput) String

String returns the string representation

type UpdateClassificationJobRequest

type UpdateClassificationJobRequest struct {
	*aws.Request
	Input *UpdateClassificationJobInput
	Copy  func(*UpdateClassificationJobInput) UpdateClassificationJobRequest
}

UpdateClassificationJobRequest is the request type for the UpdateClassificationJob API operation.

func (UpdateClassificationJobRequest) Send

Send marshals and sends the UpdateClassificationJob API request.

type UpdateClassificationJobResponse

type UpdateClassificationJobResponse struct {
	*UpdateClassificationJobOutput
	// contains filtered or unexported fields
}

UpdateClassificationJobResponse is the response type for the UpdateClassificationJob API operation.

func (*UpdateClassificationJobResponse) SDKResponseMetdata

func (r *UpdateClassificationJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateClassificationJob request.

type UpdateFindingsFilterInput

type UpdateFindingsFilterInput 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 FindingsFilterAction `locationName:"action" type:"string" enum:"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 *FindingCriteria `locationName:"findingCriteria" type:"structure"`

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`

	Name *string `locationName:"name" type:"string"`

	Position *int64 `locationName:"position" type:"integer"`
	// contains filtered or unexported fields
}

Specifies the criteria and other settings for a findings filter.

func (UpdateFindingsFilterInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFindingsFilterInput) String

func (s UpdateFindingsFilterInput) String() string

String returns the string representation

func (*UpdateFindingsFilterInput) Validate

func (s *UpdateFindingsFilterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateFindingsFilterOutput

type UpdateFindingsFilterOutput 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 updated in response to a request.

func (UpdateFindingsFilterOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFindingsFilterOutput) String

String returns the string representation

type UpdateFindingsFilterRequest

type UpdateFindingsFilterRequest struct {
	*aws.Request
	Input *UpdateFindingsFilterInput
	Copy  func(*UpdateFindingsFilterInput) UpdateFindingsFilterRequest
}

UpdateFindingsFilterRequest is the request type for the UpdateFindingsFilter API operation.

func (UpdateFindingsFilterRequest) Send

Send marshals and sends the UpdateFindingsFilter API request.

type UpdateFindingsFilterResponse

type UpdateFindingsFilterResponse struct {
	*UpdateFindingsFilterOutput
	// contains filtered or unexported fields
}

UpdateFindingsFilterResponse is the response type for the UpdateFindingsFilter API operation.

func (*UpdateFindingsFilterResponse) SDKResponseMetdata

func (r *UpdateFindingsFilterResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateFindingsFilter request.

type UpdateMacieSessionInput

type UpdateMacieSessionInput struct {

	// The frequency with which Amazon Macie publishes updates to policy findings
	// for an account. This includes publishing updates to AWS Security Hub and
	// Amazon EventBridge (formerly called Amazon CloudWatch Events). Valid values
	// are:
	FindingPublishingFrequency FindingPublishingFrequency `locationName:"findingPublishingFrequency" type:"string" enum:"true"`

	// The status of an Amazon Macie account. Valid values are:
	Status MacieStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Changes the status or configuration settings for an Amazon Macie account.

func (UpdateMacieSessionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateMacieSessionInput) String

func (s UpdateMacieSessionInput) String() string

String returns the string representation

type UpdateMacieSessionOutput

type UpdateMacieSessionOutput struct {
	// contains filtered or unexported fields
}

func (UpdateMacieSessionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateMacieSessionOutput) String

func (s UpdateMacieSessionOutput) String() string

String returns the string representation

type UpdateMacieSessionRequest

type UpdateMacieSessionRequest struct {
	*aws.Request
	Input *UpdateMacieSessionInput
	Copy  func(*UpdateMacieSessionInput) UpdateMacieSessionRequest
}

UpdateMacieSessionRequest is the request type for the UpdateMacieSession API operation.

func (UpdateMacieSessionRequest) Send

Send marshals and sends the UpdateMacieSession API request.

type UpdateMacieSessionResponse

type UpdateMacieSessionResponse struct {
	*UpdateMacieSessionOutput
	// contains filtered or unexported fields
}

UpdateMacieSessionResponse is the response type for the UpdateMacieSession API operation.

func (*UpdateMacieSessionResponse) SDKResponseMetdata

func (r *UpdateMacieSessionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateMacieSession request.

type UpdateMemberSessionInput

type UpdateMemberSessionInput struct {

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`

	// The status of an Amazon Macie account. Valid values are:
	//
	// Status is a required field
	Status MacieStatus `locationName:"status" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Suspends (pauses) or re-enables an Amazon Macie member account.

func (UpdateMemberSessionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateMemberSessionInput) String

func (s UpdateMemberSessionInput) String() string

String returns the string representation

func (*UpdateMemberSessionInput) Validate

func (s *UpdateMemberSessionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateMemberSessionOutput

type UpdateMemberSessionOutput struct {
	// contains filtered or unexported fields
}

func (UpdateMemberSessionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateMemberSessionOutput) String

func (s UpdateMemberSessionOutput) String() string

String returns the string representation

type UpdateMemberSessionRequest

type UpdateMemberSessionRequest struct {
	*aws.Request
	Input *UpdateMemberSessionInput
	Copy  func(*UpdateMemberSessionInput) UpdateMemberSessionRequest
}

UpdateMemberSessionRequest is the request type for the UpdateMemberSession API operation.

func (UpdateMemberSessionRequest) Send

Send marshals and sends the UpdateMemberSession API request.

type UpdateMemberSessionResponse

type UpdateMemberSessionResponse struct {
	*UpdateMemberSessionOutput
	// contains filtered or unexported fields
}

UpdateMemberSessionResponse is the response type for the UpdateMemberSession API operation.

func (*UpdateMemberSessionResponse) SDKResponseMetdata

func (r *UpdateMemberSessionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateMemberSession request.

type UpdateOrganizationConfigurationInput

type UpdateOrganizationConfigurationInput struct {

	// AutoEnable is a required field
	AutoEnable *bool `locationName:"autoEnable" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Specifies whether Amazon Macie is enabled automatically for accounts that are added to an AWS organization.

func (UpdateOrganizationConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateOrganizationConfigurationInput) String

String returns the string representation

func (*UpdateOrganizationConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateOrganizationConfigurationOutput

type UpdateOrganizationConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (UpdateOrganizationConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateOrganizationConfigurationOutput) String

String returns the string representation

type UpdateOrganizationConfigurationRequest

type UpdateOrganizationConfigurationRequest struct {
	*aws.Request
	Input *UpdateOrganizationConfigurationInput
	Copy  func(*UpdateOrganizationConfigurationInput) UpdateOrganizationConfigurationRequest
}

UpdateOrganizationConfigurationRequest is the request type for the UpdateOrganizationConfiguration API operation.

func (UpdateOrganizationConfigurationRequest) Send

Send marshals and sends the UpdateOrganizationConfiguration API request.

type UpdateOrganizationConfigurationResponse

type UpdateOrganizationConfigurationResponse struct {
	*UpdateOrganizationConfigurationOutput
	// contains filtered or unexported fields
}

UpdateOrganizationConfigurationResponse is the response type for the UpdateOrganizationConfiguration API operation.

func (*UpdateOrganizationConfigurationResponse) SDKResponseMetdata

func (r *UpdateOrganizationConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateOrganizationConfiguration request.

type UsageByAccount

type UsageByAccount struct {

	// The type of currency that data for a usage metric is reported in. Possible
	// values are:
	Currency Currency `locationName:"currency" type:"string" enum:"true"`

	EstimatedCost *string `locationName:"estimatedCost" type:"string"`

	// Specifies a current quota for an account.
	ServiceLimit *ServiceLimit `locationName:"serviceLimit" type:"structure"`

	// The name of a usage metric for an account. Possible values are:
	Type UsageType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Provides data for a specific usage metric and the corresponding quota for an account. The value for the metric is an aggregated value that reports usage during the past 30 days.

func (UsageByAccount) MarshalFields

func (s UsageByAccount) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UsageByAccount) String

func (s UsageByAccount) String() string

String returns the string representation

type UsageRecord

type UsageRecord struct {
	AccountId *string `locationName:"accountId" type:"string"`

	FreeTrialStartDate *time.Time `locationName:"freeTrialStartDate" type:"timestamp" timestampFormat:"iso8601"`

	Usage []UsageByAccount `locationName:"usage" type:"list"`
	// contains filtered or unexported fields
}

Provides quota and aggregated usage data for an account.

func (UsageRecord) MarshalFields

func (s UsageRecord) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UsageRecord) String

func (s UsageRecord) String() string

String returns the string representation

type UsageStatisticsFilter

type UsageStatisticsFilter struct {

	// The field to use to filter the results of a query for account quotas and
	// usage data:
	Key UsageStatisticsFilterKey `locationName:"key" type:"string" enum:"true"`

	Values []string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Specifies criteria for filtering the results of a query for account quotas and usage data.

func (UsageStatisticsFilter) MarshalFields

func (s UsageStatisticsFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UsageStatisticsFilter) String

func (s UsageStatisticsFilter) String() string

String returns the string representation

type UsageStatisticsFilterKey

type UsageStatisticsFilterKey string

The field to use to filter the results of a query for account quotas and usage data:

const (
	UsageStatisticsFilterKeyAccountId UsageStatisticsFilterKey = "accountId"
)

Enum values for UsageStatisticsFilterKey

func (UsageStatisticsFilterKey) MarshalValue

func (enum UsageStatisticsFilterKey) MarshalValue() (string, error)

func (UsageStatisticsFilterKey) MarshalValueBuf

func (enum UsageStatisticsFilterKey) MarshalValueBuf(b []byte) ([]byte, error)

type UsageStatisticsSortBy

type UsageStatisticsSortBy struct {

	// The field to use to sort the results of a query for account quotas and usage
	// data. Valid values are:
	Key UsageStatisticsSortKey `locationName:"key" type:"string" enum:"true"`

	OrderBy OrderBy `locationName:"orderBy" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Specifies criteria for sorting the results of a query for account quotas and usage data.

func (UsageStatisticsSortBy) MarshalFields

func (s UsageStatisticsSortBy) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UsageStatisticsSortBy) String

func (s UsageStatisticsSortBy) String() string

String returns the string representation

type UsageStatisticsSortKey

type UsageStatisticsSortKey string

The field to use to sort the results of a query for account quotas and usage data. Valid values are:

const (
	UsageStatisticsSortKeyAccountId UsageStatisticsSortKey = "accountId"
	UsageStatisticsSortKeyTotal     UsageStatisticsSortKey = "total"
)

Enum values for UsageStatisticsSortKey

func (UsageStatisticsSortKey) MarshalValue

func (enum UsageStatisticsSortKey) MarshalValue() (string, error)

func (UsageStatisticsSortKey) MarshalValueBuf

func (enum UsageStatisticsSortKey) MarshalValueBuf(b []byte) ([]byte, error)

type UsageTotal

type UsageTotal struct {

	// The type of currency that data for a usage metric is reported in. Possible
	// values are:
	Currency Currency `locationName:"currency" type:"string" enum:"true"`

	EstimatedCost *string `locationName:"estimatedCost" type:"string"`

	// The name of a usage metric for an account. Possible values are:
	Type UsageType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Provides aggregated data for a usage metric. The value for the metric reports usage data for an account during the past 30 days.

func (UsageTotal) MarshalFields

func (s UsageTotal) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UsageTotal) String

func (s UsageTotal) String() string

String returns the string representation

type UsageType

type UsageType string

The name of a usage metric for an account. Possible values are:

const (
	UsageTypeDataInventoryEvaluation UsageType = "DATA_INVENTORY_EVALUATION"
	UsageTypeSensitiveDataDiscovery  UsageType = "SENSITIVE_DATA_DISCOVERY"
)

Enum values for UsageType

func (UsageType) MarshalValue

func (enum UsageType) MarshalValue() (string, error)

func (UsageType) MarshalValueBuf

func (enum UsageType) MarshalValueBuf(b []byte) ([]byte, error)

type UserIdentity

type UserIdentity struct {

	// 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 AWS Security Token Service (AWS STS)
	// API.
	AssumedRole *AssumedRole `locationName:"assumedRole" type:"structure"`

	// Provides information about an AWS account and entity that performed an action
	// on an affected resource. The action was performed using the credentials for
	// an AWS account other than your own account.
	AwsAccount *AwsAccount `locationName:"awsAccount" type:"structure"`

	// Provides information about an AWS service that performed an action on an
	// affected resource.
	AwsService *AwsService `locationName:"awsService" type:"structure"`

	// 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 AWS Security Token Service
	// (AWS STS) API.
	FederatedUser *FederatedUser `locationName:"federatedUser" type:"structure"`

	// Provides information about an AWS Identity and Access Management (IAM) user
	// who performed an action on an affected resource.
	IamUser *IamUser `locationName:"iamUser" type:"structure"`

	// Provides information about an AWS account and entity that performed an action
	// on an affected resource. The action was performed using the credentials for
	// your AWS account.
	Root *UserIdentityRoot `locationName:"root" type:"structure"`

	// The type of entity that performed the action on the affected resource. Possible
	// values are:
	Type UserIdentityType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Provides information about the type and other characteristics of an entity that performed an action on an affected resource.

func (UserIdentity) MarshalFields

func (s UserIdentity) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UserIdentity) String

func (s UserIdentity) String() string

String returns the string representation

type UserIdentityRoot

type UserIdentityRoot struct {
	AccountId *string `locationName:"accountId" type:"string"`

	Arn *string `locationName:"arn" type:"string"`

	PrincipalId *string `locationName:"principalId" type:"string"`
	// contains filtered or unexported fields
}

Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for your AWS account.

func (UserIdentityRoot) MarshalFields

func (s UserIdentityRoot) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UserIdentityRoot) String

func (s UserIdentityRoot) String() string

String returns the string representation

type UserIdentityType

type UserIdentityType string

The type of entity that performed the action on the affected resource. Possible values are:

const (
	UserIdentityTypeAssumedRole   UserIdentityType = "AssumedRole"
	UserIdentityTypeIamuser       UserIdentityType = "IAMUser"
	UserIdentityTypeFederatedUser UserIdentityType = "FederatedUser"
	UserIdentityTypeRoot          UserIdentityType = "Root"
	UserIdentityTypeAwsaccount    UserIdentityType = "AWSAccount"
	UserIdentityTypeAwsservice    UserIdentityType = "AWSService"
)

Enum values for UserIdentityType

func (UserIdentityType) MarshalValue

func (enum UserIdentityType) MarshalValue() (string, error)

func (UserIdentityType) MarshalValueBuf

func (enum UserIdentityType) MarshalValueBuf(b []byte) ([]byte, error)

type WeeklySchedule

type WeeklySchedule struct {
	DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Specifies a weekly recurrence pattern for running a classification job.

func (WeeklySchedule) MarshalFields

func (s WeeklySchedule) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (WeeklySchedule) String

func (s WeeklySchedule) String() string

String returns the string representation

Source Files

Directories

Path Synopsis
Package macie2iface provides an interface to enable mocking the Amazon Macie 2 service client for testing your code.
Package macie2iface provides an interface to enable mocking the Amazon Macie 2 service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL