macie2

package
v1.38.4 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 10 Imported by: 32

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 foryou. 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 contact 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 Macie2 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 (
	// AdminStatusEnabled is a AdminStatus enum value
	AdminStatusEnabled = "ENABLED"

	// AdminStatusDisablingInProgress is a AdminStatus enum value
	AdminStatusDisablingInProgress = "DISABLING_IN_PROGRESS"
)

The current status of an account as the delegated Amazon Macie administrator account for an AWS organization. Possible values are:

View Source
const (
	// DayOfWeekSunday is a DayOfWeek enum value
	DayOfWeekSunday = "SUNDAY"

	// DayOfWeekMonday is a DayOfWeek enum value
	DayOfWeekMonday = "MONDAY"

	// DayOfWeekTuesday is a DayOfWeek enum value
	DayOfWeekTuesday = "TUESDAY"

	// DayOfWeekWednesday is a DayOfWeek enum value
	DayOfWeekWednesday = "WEDNESDAY"

	// DayOfWeekThursday is a DayOfWeek enum value
	DayOfWeekThursday = "THURSDAY"

	// DayOfWeekFriday is a DayOfWeek enum value
	DayOfWeekFriday = "FRIDAY"

	// DayOfWeekSaturday is a DayOfWeek enum value
	DayOfWeekSaturday = "SATURDAY"
)
View Source
const (
	// EffectivePermissionPublic is a EffectivePermission enum value
	EffectivePermissionPublic = "PUBLIC"

	// EffectivePermissionNotPublic is a EffectivePermission enum value
	EffectivePermissionNotPublic = "NOT_PUBLIC"

	// EffectivePermissionUnknown is a EffectivePermission enum value
	EffectivePermissionUnknown = "UNKNOWN"
)
View Source
const (
	// EncryptionTypeNone is a EncryptionType enum value
	EncryptionTypeNone = "NONE"

	// EncryptionTypeAes256 is a EncryptionType enum value
	EncryptionTypeAes256 = "AES256"

	// EncryptionTypeAwsKms is a EncryptionType enum value
	EncryptionTypeAwsKms = "aws:kms"

	// EncryptionTypeUnknown is a EncryptionType enum value
	EncryptionTypeUnknown = "UNKNOWN"
)

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

View Source
const (
	// ErrorCodeClientError is a ErrorCode enum value
	ErrorCodeClientError = "ClientError"

	// ErrorCodeInternalError is a ErrorCode enum value
	ErrorCodeInternalError = "InternalError"
)

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

View Source
const (
	// FindingCategoryClassification is a FindingCategory enum value
	FindingCategoryClassification = "CLASSIFICATION"

	// FindingCategoryPolicy is a FindingCategory enum value
	FindingCategoryPolicy = "POLICY"
)

The category of the finding. Valid values are:

View Source
const (
	// FindingPublishingFrequencyFifteenMinutes is a FindingPublishingFrequency enum value
	FindingPublishingFrequencyFifteenMinutes = "FIFTEEN_MINUTES"

	// FindingPublishingFrequencyOneHour is a FindingPublishingFrequency enum value
	FindingPublishingFrequencyOneHour = "ONE_HOUR"

	// FindingPublishingFrequencySixHours is a FindingPublishingFrequency enum value
	FindingPublishingFrequencySixHours = "SIX_HOURS"
)

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). For more information, see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) in the Amazon Macie User Guide. Valid values are:

View Source
const (
	// FindingStatisticsSortAttributeNameGroupKey is a FindingStatisticsSortAttributeName enum value
	FindingStatisticsSortAttributeNameGroupKey = "groupKey"

	// FindingStatisticsSortAttributeNameCount is a FindingStatisticsSortAttributeName enum value
	FindingStatisticsSortAttributeNameCount = "count"
)

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

View Source
const (
	// FindingTypeSensitiveDataS3objectMultiple is a FindingType enum value
	FindingTypeSensitiveDataS3objectMultiple = "SensitiveData:S3Object/Multiple"

	// FindingTypeSensitiveDataS3objectFinancial is a FindingType enum value
	FindingTypeSensitiveDataS3objectFinancial = "SensitiveData:S3Object/Financial"

	// FindingTypeSensitiveDataS3objectPersonal is a FindingType enum value
	FindingTypeSensitiveDataS3objectPersonal = "SensitiveData:S3Object/Personal"

	// FindingTypeSensitiveDataS3objectCredentials is a FindingType enum value
	FindingTypeSensitiveDataS3objectCredentials = "SensitiveData:S3Object/Credentials"

	// FindingTypeSensitiveDataS3objectCustomIdentifier is a FindingType enum value
	FindingTypeSensitiveDataS3objectCustomIdentifier = "SensitiveData:S3Object/CustomIdentifier"

	// FindingTypePolicyIamuserS3bucketPublic is a FindingType enum value
	FindingTypePolicyIamuserS3bucketPublic = "Policy:IAMUser/S3BucketPublic"

	// FindingTypePolicyIamuserS3bucketSharedExternally is a FindingType enum value
	FindingTypePolicyIamuserS3bucketSharedExternally = "Policy:IAMUser/S3BucketSharedExternally"

	// FindingTypePolicyIamuserS3bucketReplicatedExternally is a FindingType enum value
	FindingTypePolicyIamuserS3bucketReplicatedExternally = "Policy:IAMUser/S3BucketReplicatedExternally"

	// FindingTypePolicyIamuserS3bucketEncryptionDisabled is a FindingType enum value
	FindingTypePolicyIamuserS3bucketEncryptionDisabled = "Policy:IAMUser/S3BucketEncryptionDisabled"

	// FindingTypePolicyIamuserS3blockPublicAccessDisabled is a FindingType enum value
	FindingTypePolicyIamuserS3blockPublicAccessDisabled = "Policy:IAMUser/S3BlockPublicAccessDisabled"
)

The type of finding. For details about each type, see Types of Amazon Macie findings (https://docs.aws.amazon.com/macie/latest/user/findings-types.html) in the Amazon Macie User Guide. Valid values are:

View Source
const (
	// FindingsFilterActionArchive is a FindingsFilterAction enum value
	FindingsFilterActionArchive = "ARCHIVE"

	// FindingsFilterActionNoop is a FindingsFilterAction enum value
	FindingsFilterActionNoop = "NOOP"
)

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:

View Source
const (
	// GroupByResourcesAffectedS3bucketName is a GroupBy enum value
	GroupByResourcesAffectedS3bucketName = "resourcesAffected.s3Bucket.name"

	// GroupByType is a GroupBy enum value
	GroupByType = "type"

	// GroupByClassificationDetailsJobId is a GroupBy enum value
	GroupByClassificationDetailsJobId = "classificationDetails.jobId"

	// GroupBySeverityDescription is a GroupBy enum value
	GroupBySeverityDescription = "severity.description"
)
View Source
const (
	// IsDefinedInJobTrue is a IsDefinedInJob enum value
	IsDefinedInJobTrue = "TRUE"

	// IsDefinedInJobFalse is a IsDefinedInJob enum value
	IsDefinedInJobFalse = "FALSE"

	// IsDefinedInJobUnknown is a IsDefinedInJob enum value
	IsDefinedInJobUnknown = "UNKNOWN"
)
View Source
const (
	// IsMonitoredByJobTrue is a IsMonitoredByJob enum value
	IsMonitoredByJobTrue = "TRUE"

	// IsMonitoredByJobFalse is a IsMonitoredByJob enum value
	IsMonitoredByJobFalse = "FALSE"

	// IsMonitoredByJobUnknown is a IsMonitoredByJob enum value
	IsMonitoredByJobUnknown = "UNKNOWN"
)
View Source
const (
	// JobComparatorEq is a JobComparator enum value
	JobComparatorEq = "EQ"

	// JobComparatorGt is a JobComparator enum value
	JobComparatorGt = "GT"

	// JobComparatorGte is a JobComparator enum value
	JobComparatorGte = "GTE"

	// JobComparatorLt is a JobComparator enum value
	JobComparatorLt = "LT"

	// JobComparatorLte is a JobComparator enum value
	JobComparatorLte = "LTE"

	// JobComparatorNe is a JobComparator enum value
	JobComparatorNe = "NE"

	// JobComparatorContains is a JobComparator enum value
	JobComparatorContains = "CONTAINS"

	// JobComparatorStartsWith is a JobComparator enum value
	JobComparatorStartsWith = "STARTS_WITH"
)

The operator to use in a condition. Valid values are:

View Source
const (
	// JobStatusRunning is a JobStatus enum value
	JobStatusRunning = "RUNNING"

	// JobStatusPaused is a JobStatus enum value
	JobStatusPaused = "PAUSED"

	// JobStatusCancelled is a JobStatus enum value
	JobStatusCancelled = "CANCELLED"

	// JobStatusComplete is a JobStatus enum value
	JobStatusComplete = "COMPLETE"

	// JobStatusIdle is a JobStatus enum value
	JobStatusIdle = "IDLE"

	// JobStatusUserPaused is a JobStatus enum value
	JobStatusUserPaused = "USER_PAUSED"
)

The status of a classification job. Possible values are:

View Source
const (
	// JobTypeOneTime is a JobType enum value
	JobTypeOneTime = "ONE_TIME"

	// JobTypeScheduled is a JobType enum value
	JobTypeScheduled = "SCHEDULED"
)

The schedule for running a classification job. Valid values are:

View Source
const (
	// LastRunErrorStatusCodeNone is a LastRunErrorStatusCode enum value
	LastRunErrorStatusCodeNone = "NONE"

	// LastRunErrorStatusCodeError is a LastRunErrorStatusCode enum value
	LastRunErrorStatusCodeError = "ERROR"
)

Specifies whether any account- or bucket-level access errors occurred during the run of a one-time classification job or the most recent run of a recurring classification job. Possible values are:

View Source
const (
	// ListJobsFilterKeyJobType is a ListJobsFilterKey enum value
	ListJobsFilterKeyJobType = "jobType"

	// ListJobsFilterKeyJobStatus is a ListJobsFilterKey enum value
	ListJobsFilterKeyJobStatus = "jobStatus"

	// ListJobsFilterKeyCreatedAt is a ListJobsFilterKey enum value
	ListJobsFilterKeyCreatedAt = "createdAt"

	// ListJobsFilterKeyName is a ListJobsFilterKey enum value
	ListJobsFilterKeyName = "name"
)

The property to use to filter the results. Valid values are:

View Source
const (
	// ListJobsSortAttributeNameCreatedAt is a ListJobsSortAttributeName enum value
	ListJobsSortAttributeNameCreatedAt = "createdAt"

	// ListJobsSortAttributeNameJobStatus is a ListJobsSortAttributeName enum value
	ListJobsSortAttributeNameJobStatus = "jobStatus"

	// ListJobsSortAttributeNameName is a ListJobsSortAttributeName enum value
	ListJobsSortAttributeNameName = "name"

	// ListJobsSortAttributeNameJobType is a ListJobsSortAttributeName enum value
	ListJobsSortAttributeNameJobType = "jobType"
)

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

View Source
const (
	// MacieStatusPaused is a MacieStatus enum value
	MacieStatusPaused = "PAUSED"

	// MacieStatusEnabled is a MacieStatus enum value
	MacieStatusEnabled = "ENABLED"
)

The status of an Amazon Macie account. Valid values are:

View Source
const (
	// OrderByAsc is a OrderBy enum value
	OrderByAsc = "ASC"

	// OrderByDesc is a OrderBy enum value
	OrderByDesc = "DESC"
)
View Source
const (
	// RelationshipStatusEnabled is a RelationshipStatus enum value
	RelationshipStatusEnabled = "Enabled"

	// RelationshipStatusPaused is a RelationshipStatus enum value
	RelationshipStatusPaused = "Paused"

	// RelationshipStatusInvited is a RelationshipStatus enum value
	RelationshipStatusInvited = "Invited"

	// RelationshipStatusCreated is a RelationshipStatus enum value
	RelationshipStatusCreated = "Created"

	// RelationshipStatusRemoved is a RelationshipStatus enum value
	RelationshipStatusRemoved = "Removed"

	// RelationshipStatusResigned is a RelationshipStatus enum value
	RelationshipStatusResigned = "Resigned"

	// RelationshipStatusEmailVerificationInProgress is a RelationshipStatus enum value
	RelationshipStatusEmailVerificationInProgress = "EmailVerificationInProgress"

	// RelationshipStatusEmailVerificationFailed is a RelationshipStatus enum value
	RelationshipStatusEmailVerificationFailed = "EmailVerificationFailed"

	// RelationshipStatusRegionDisabled is a RelationshipStatus enum value
	RelationshipStatusRegionDisabled = "RegionDisabled"

	// RelationshipStatusAccountSuspended is a RelationshipStatus enum value
	RelationshipStatusAccountSuspended = "AccountSuspended"
)

The current status of the relationship between an account and an associated Amazon Macie administrator account (inviter account). Possible values are:

View Source
const (
	// ScopeFilterKeyBucketCreationDate is a ScopeFilterKey enum value
	ScopeFilterKeyBucketCreationDate = "BUCKET_CREATION_DATE"

	// ScopeFilterKeyObjectExtension is a ScopeFilterKey enum value
	ScopeFilterKeyObjectExtension = "OBJECT_EXTENSION"

	// ScopeFilterKeyObjectLastModifiedDate is a ScopeFilterKey enum value
	ScopeFilterKeyObjectLastModifiedDate = "OBJECT_LAST_MODIFIED_DATE"

	// ScopeFilterKeyObjectSize is a ScopeFilterKey enum value
	ScopeFilterKeyObjectSize = "OBJECT_SIZE"

	// ScopeFilterKeyTag is a ScopeFilterKey enum value
	ScopeFilterKeyTag = "TAG"

	// ScopeFilterKeyObjectKey is a ScopeFilterKey enum value
	ScopeFilterKeyObjectKey = "OBJECT_KEY"
)

The property to use in a condition that determines which objects are analyzed by a classification job. Valid values are:

View Source
const (
	// SensitiveDataItemCategoryFinancialInformation is a SensitiveDataItemCategory enum value
	SensitiveDataItemCategoryFinancialInformation = "FINANCIAL_INFORMATION"

	// SensitiveDataItemCategoryPersonalInformation is a SensitiveDataItemCategory enum value
	SensitiveDataItemCategoryPersonalInformation = "PERSONAL_INFORMATION"

	// SensitiveDataItemCategoryCredentials is a SensitiveDataItemCategory enum value
	SensitiveDataItemCategoryCredentials = "CREDENTIALS"

	// SensitiveDataItemCategoryCustomIdentifier is a SensitiveDataItemCategory enum value
	SensitiveDataItemCategoryCustomIdentifier = "CUSTOM_IDENTIFIER"
)

The category of sensitive data that was detected and produced the finding. Possible values are:

View Source
const (
	// SeverityDescriptionLow is a SeverityDescription enum value
	SeverityDescriptionLow = "Low"

	// SeverityDescriptionMedium is a SeverityDescription enum value
	SeverityDescriptionMedium = "Medium"

	// SeverityDescriptionHigh is a SeverityDescription enum value
	SeverityDescriptionHigh = "High"
)

The qualitative representation of the finding's severity. Possible values are:

View Source
const (
	// SharedAccessExternal is a SharedAccess enum value
	SharedAccessExternal = "EXTERNAL"

	// SharedAccessInternal is a SharedAccess enum value
	SharedAccessInternal = "INTERNAL"

	// SharedAccessNotShared is a SharedAccess enum value
	SharedAccessNotShared = "NOT_SHARED"

	// SharedAccessUnknown is a SharedAccess enum value
	SharedAccessUnknown = "UNKNOWN"
)
View Source
const (
	// StorageClassStandard is a StorageClass enum value
	StorageClassStandard = "STANDARD"

	// StorageClassReducedRedundancy is a StorageClass enum value
	StorageClassReducedRedundancy = "REDUCED_REDUNDANCY"

	// StorageClassStandardIa is a StorageClass enum value
	StorageClassStandardIa = "STANDARD_IA"

	// StorageClassIntelligentTiering is a StorageClass enum value
	StorageClassIntelligentTiering = "INTELLIGENT_TIERING"

	// StorageClassDeepArchive is a StorageClass enum value
	StorageClassDeepArchive = "DEEP_ARCHIVE"

	// StorageClassOnezoneIa is a StorageClass enum value
	StorageClassOnezoneIa = "ONEZONE_IA"

	// StorageClassGlacier is a StorageClass enum value
	StorageClassGlacier = "GLACIER"
)

The storage class of the S3 object. Possible values are:

View Source
const (
	// TimeRangeMonthToDate is a TimeRange enum value
	TimeRangeMonthToDate = "MONTH_TO_DATE"

	// TimeRangePast30Days is a TimeRange enum value
	TimeRangePast30Days = "PAST_30_DAYS"
)

An inclusive time period that Amazon Macie usage data applies to. Possible values are:

View Source
const (
	// TypeNone is a Type enum value
	TypeNone = "NONE"

	// TypeAes256 is a Type enum value
	TypeAes256 = "AES256"

	// TypeAwsKms is a Type enum value
	TypeAwsKms = "aws:kms"
)
View Source
const (
	// UsageStatisticsFilterComparatorGt is a UsageStatisticsFilterComparator enum value
	UsageStatisticsFilterComparatorGt = "GT"

	// UsageStatisticsFilterComparatorGte is a UsageStatisticsFilterComparator enum value
	UsageStatisticsFilterComparatorGte = "GTE"

	// UsageStatisticsFilterComparatorLt is a UsageStatisticsFilterComparator enum value
	UsageStatisticsFilterComparatorLt = "LT"

	// UsageStatisticsFilterComparatorLte is a UsageStatisticsFilterComparator enum value
	UsageStatisticsFilterComparatorLte = "LTE"

	// UsageStatisticsFilterComparatorEq is a UsageStatisticsFilterComparator enum value
	UsageStatisticsFilterComparatorEq = "EQ"

	// UsageStatisticsFilterComparatorNe is a UsageStatisticsFilterComparator enum value
	UsageStatisticsFilterComparatorNe = "NE"

	// UsageStatisticsFilterComparatorContains is a UsageStatisticsFilterComparator enum value
	UsageStatisticsFilterComparatorContains = "CONTAINS"
)

The operator to use in a condition that filters the results of a query for Amazon Macie account quotas and usage data. Valid values are:

View Source
const (
	// UsageStatisticsFilterKeyAccountId is a UsageStatisticsFilterKey enum value
	UsageStatisticsFilterKeyAccountId = "accountId"

	// UsageStatisticsFilterKeyServiceLimit is a UsageStatisticsFilterKey enum value
	UsageStatisticsFilterKeyServiceLimit = "serviceLimit"

	// UsageStatisticsFilterKeyFreeTrialStartDate is a UsageStatisticsFilterKey enum value
	UsageStatisticsFilterKeyFreeTrialStartDate = "freeTrialStartDate"

	// UsageStatisticsFilterKeyTotal is a UsageStatisticsFilterKey enum value
	UsageStatisticsFilterKeyTotal = "total"
)

The field to use in a condition that filters the results of a query for Amazon Macie account quotas and usage data. Valid values are:

View Source
const (
	// UsageStatisticsSortKeyAccountId is a UsageStatisticsSortKey enum value
	UsageStatisticsSortKeyAccountId = "accountId"

	// UsageStatisticsSortKeyTotal is a UsageStatisticsSortKey enum value
	UsageStatisticsSortKeyTotal = "total"

	// UsageStatisticsSortKeyServiceLimitValue is a UsageStatisticsSortKey enum value
	UsageStatisticsSortKeyServiceLimitValue = "serviceLimitValue"

	// UsageStatisticsSortKeyFreeTrialStartDate is a UsageStatisticsSortKey enum value
	UsageStatisticsSortKeyFreeTrialStartDate = "freeTrialStartDate"
)

The field to use to sort the results of a query for Amazon Macie account quotas and usage data. Valid values are:

View Source
const (
	// UsageTypeDataInventoryEvaluation is a UsageType enum value
	UsageTypeDataInventoryEvaluation = "DATA_INVENTORY_EVALUATION"

	// UsageTypeSensitiveDataDiscovery is a UsageType enum value
	UsageTypeSensitiveDataDiscovery = "SENSITIVE_DATA_DISCOVERY"
)

The name of an Amazon Macie usage metric for an account. Possible values are:

View Source
const (
	// UserIdentityTypeAssumedRole is a UserIdentityType enum value
	UserIdentityTypeAssumedRole = "AssumedRole"

	// UserIdentityTypeIamuser is a UserIdentityType enum value
	UserIdentityTypeIamuser = "IAMUser"

	// UserIdentityTypeFederatedUser is a UserIdentityType enum value
	UserIdentityTypeFederatedUser = "FederatedUser"

	// UserIdentityTypeRoot is a UserIdentityType enum value
	UserIdentityTypeRoot = "Root"

	// UserIdentityTypeAwsaccount is a UserIdentityType enum value
	UserIdentityTypeAwsaccount = "AWSAccount"

	// UserIdentityTypeAwsservice is a UserIdentityType enum value
	UserIdentityTypeAwsservice = "AWSService"
)

The type of entity that performed the action on the affected resource. Possible values are:

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"
)
View Source
const (
	ServiceName = "Macie2" // Name of service.
	EndpointsID = "macie2" // ID to lookup a service endpoint with.
	ServiceID   = "Macie2" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// CurrencyUsd is a Currency enum value
	CurrencyUsd = "USD"
)

The type of currency that the data for an Amazon Macie usage metric is reported in. Possible values are:

View Source
const (
	// FindingActionTypeAwsApiCall is a FindingActionType enum value
	FindingActionTypeAwsApiCall = "AWS_API_CALL"
)

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

View Source
const (
	// TagTargetS3Object is a TagTarget enum value
	TagTargetS3Object = "S3_OBJECT"
)

The type of object to apply a tag-based condition to. Valid values are:

View Source
const (
	// UnitTerabytes is a Unit enum value
	UnitTerabytes = "TERABYTES"
)

Variables

This section is empty.

Functions

func AdminStatus_Values added in v1.34.3

func AdminStatus_Values() []string

AdminStatus_Values returns all elements of the AdminStatus enum

func Currency_Values added in v1.34.3

func Currency_Values() []string

Currency_Values returns all elements of the Currency enum

func DayOfWeek_Values added in v1.34.3

func DayOfWeek_Values() []string

DayOfWeek_Values returns all elements of the DayOfWeek enum

func EffectivePermission_Values added in v1.34.3

func EffectivePermission_Values() []string

EffectivePermission_Values returns all elements of the EffectivePermission enum

func EncryptionType_Values added in v1.34.3

func EncryptionType_Values() []string

EncryptionType_Values returns all elements of the EncryptionType enum

func ErrorCode_Values added in v1.34.3

func ErrorCode_Values() []string

ErrorCode_Values returns all elements of the ErrorCode enum

func FindingActionType_Values added in v1.34.3

func FindingActionType_Values() []string

FindingActionType_Values returns all elements of the FindingActionType enum

func FindingCategory_Values added in v1.34.3

func FindingCategory_Values() []string

FindingCategory_Values returns all elements of the FindingCategory enum

func FindingPublishingFrequency_Values added in v1.34.3

func FindingPublishingFrequency_Values() []string

FindingPublishingFrequency_Values returns all elements of the FindingPublishingFrequency enum

func FindingStatisticsSortAttributeName_Values added in v1.34.3

func FindingStatisticsSortAttributeName_Values() []string

FindingStatisticsSortAttributeName_Values returns all elements of the FindingStatisticsSortAttributeName enum

func FindingType_Values added in v1.34.3

func FindingType_Values() []string

FindingType_Values returns all elements of the FindingType enum

func FindingsFilterAction_Values added in v1.34.3

func FindingsFilterAction_Values() []string

FindingsFilterAction_Values returns all elements of the FindingsFilterAction enum

func GroupBy_Values added in v1.34.3

func GroupBy_Values() []string

GroupBy_Values returns all elements of the GroupBy enum

func IsDefinedInJob_Values added in v1.35.33

func IsDefinedInJob_Values() []string

IsDefinedInJob_Values returns all elements of the IsDefinedInJob enum

func IsMonitoredByJob_Values added in v1.35.33

func IsMonitoredByJob_Values() []string

IsMonitoredByJob_Values returns all elements of the IsMonitoredByJob enum

func JobComparator_Values added in v1.34.3

func JobComparator_Values() []string

JobComparator_Values returns all elements of the JobComparator enum

func JobStatus_Values added in v1.34.3

func JobStatus_Values() []string

JobStatus_Values returns all elements of the JobStatus enum

func JobType_Values added in v1.34.3

func JobType_Values() []string

JobType_Values returns all elements of the JobType enum

func LastRunErrorStatusCode_Values added in v1.35.30

func LastRunErrorStatusCode_Values() []string

LastRunErrorStatusCode_Values returns all elements of the LastRunErrorStatusCode enum

func ListJobsFilterKey_Values added in v1.34.3

func ListJobsFilterKey_Values() []string

ListJobsFilterKey_Values returns all elements of the ListJobsFilterKey enum

func ListJobsSortAttributeName_Values added in v1.34.3

func ListJobsSortAttributeName_Values() []string

ListJobsSortAttributeName_Values returns all elements of the ListJobsSortAttributeName enum

func MacieStatus_Values added in v1.34.3

func MacieStatus_Values() []string

MacieStatus_Values returns all elements of the MacieStatus enum

func OrderBy_Values added in v1.34.3

func OrderBy_Values() []string

OrderBy_Values returns all elements of the OrderBy enum

func RelationshipStatus_Values added in v1.34.3

func RelationshipStatus_Values() []string

RelationshipStatus_Values returns all elements of the RelationshipStatus enum

func ScopeFilterKey_Values added in v1.34.3

func ScopeFilterKey_Values() []string

ScopeFilterKey_Values returns all elements of the ScopeFilterKey enum

func SensitiveDataItemCategory_Values added in v1.34.3

func SensitiveDataItemCategory_Values() []string

SensitiveDataItemCategory_Values returns all elements of the SensitiveDataItemCategory enum

func SeverityDescription_Values added in v1.34.3

func SeverityDescription_Values() []string

SeverityDescription_Values returns all elements of the SeverityDescription enum

func SharedAccess_Values added in v1.34.3

func SharedAccess_Values() []string

SharedAccess_Values returns all elements of the SharedAccess enum

func StorageClass_Values added in v1.34.3

func StorageClass_Values() []string

StorageClass_Values returns all elements of the StorageClass enum

func TagTarget_Values added in v1.34.3

func TagTarget_Values() []string

TagTarget_Values returns all elements of the TagTarget enum

func TimeRange_Values added in v1.37.7

func TimeRange_Values() []string

TimeRange_Values returns all elements of the TimeRange enum

func Type_Values added in v1.37.7

func Type_Values() []string

Type_Values returns all elements of the Type enum

func Unit_Values added in v1.34.3

func Unit_Values() []string

Unit_Values returns all elements of the Unit enum

func UsageStatisticsFilterComparator_Values added in v1.34.3

func UsageStatisticsFilterComparator_Values() []string

UsageStatisticsFilterComparator_Values returns all elements of the UsageStatisticsFilterComparator enum

func UsageStatisticsFilterKey_Values added in v1.34.3

func UsageStatisticsFilterKey_Values() []string

UsageStatisticsFilterKey_Values returns all elements of the UsageStatisticsFilterKey enum

func UsageStatisticsSortKey_Values added in v1.34.3

func UsageStatisticsSortKey_Values() []string

UsageStatisticsSortKey_Values returns all elements of the UsageStatisticsSortKey enum

func UsageType_Values added in v1.34.3

func UsageType_Values() []string

UsageType_Values returns all elements of the UsageType enum

func UserIdentityType_Values added in v1.34.3

func UserIdentityType_Values() []string

UserIdentityType_Values returns all elements of the UserIdentityType enum

Types

type AcceptInvitationInput

type AcceptInvitationInput struct {
	AdministratorAccountId *string `locationName:"administratorAccountId" type:"string"`

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

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

Specifies an Amazon Macie membership invitation to accept. In the request, you have to specify the ID for the AWS account that sent the invitation. Otherwise, a validation error occurs. To specify this ID, we recommend that you use the administratorAccountId property instead of the masterAccount property. The masterAccount property has been deprecated and is retained only for backward compatibility.

func (AcceptInvitationInput) GoString

func (s AcceptInvitationInput) GoString() string

GoString returns the string representation

func (*AcceptInvitationInput) SetAdministratorAccountId added in v1.37.10

func (s *AcceptInvitationInput) SetAdministratorAccountId(v string) *AcceptInvitationInput

SetAdministratorAccountId sets the AdministratorAccountId field's value.

func (*AcceptInvitationInput) SetInvitationId

func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput

SetInvitationId sets the InvitationId field's value.

func (*AcceptInvitationInput) SetMasterAccount

func (s *AcceptInvitationInput) SetMasterAccount(v string) *AcceptInvitationInput

SetMasterAccount sets the MasterAccount field's value.

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) GoString

func (s AcceptInvitationOutput) GoString() string

GoString returns the string representation

func (AcceptInvitationOutput) String

func (s AcceptInvitationOutput) String() string

String returns the string representation

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) GoString

func (s AccessControlList) GoString() string

GoString returns the string representation

func (*AccessControlList) SetAllowsPublicReadAccess

func (s *AccessControlList) SetAllowsPublicReadAccess(v bool) *AccessControlList

SetAllowsPublicReadAccess sets the AllowsPublicReadAccess field's value.

func (*AccessControlList) SetAllowsPublicWriteAccess

func (s *AccessControlList) SetAllowsPublicWriteAccess(v bool) *AccessControlList

SetAllowsPublicWriteAccess sets the AllowsPublicWriteAccess field's value.

func (AccessControlList) String

func (s AccessControlList) String() string

String returns the string representation

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

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

Provides information about an error that occurred due to insufficient access to a specified resource.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) 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 administrator account.

func (AccountDetail) GoString

func (s AccountDetail) GoString() string

GoString returns the string representation

func (*AccountDetail) SetAccountId

func (s *AccountDetail) SetAccountId(v string) *AccountDetail

SetAccountId sets the AccountId field's value.

func (*AccountDetail) SetEmail

func (s *AccountDetail) SetEmail(v string) *AccountDetail

SetEmail sets the Email field's value.

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

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

func (AccountLevelPermissions) GoString

func (s AccountLevelPermissions) GoString() string

GoString returns the string representation

func (*AccountLevelPermissions) SetBlockPublicAccess

SetBlockPublicAccess sets the BlockPublicAccess field's value.

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 the delegated Amazon Macie administrator
	// account for an AWS organization. Possible values are:
	Status *string `locationName:"status" type:"string" enum:"AdminStatus"`
	// contains filtered or unexported fields
}

Provides information about the delegated Amazon Macie administrator account for an AWS organization.

func (AdminAccount) GoString

func (s AdminAccount) GoString() string

GoString returns the string representation

func (*AdminAccount) SetAccountId

func (s *AdminAccount) SetAccountId(v string) *AdminAccount

SetAccountId sets the AccountId field's value.

func (*AdminAccount) SetStatus

func (s *AdminAccount) SetStatus(v string) *AdminAccount

SetStatus sets the Status field's value.

func (AdminAccount) String

func (s AdminAccount) String() string

String returns the string representation

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) GoString

func (s ApiCallDetails) GoString() string

GoString returns the string representation

func (*ApiCallDetails) SetApi

func (s *ApiCallDetails) SetApi(v string) *ApiCallDetails

SetApi sets the Api field's value.

func (*ApiCallDetails) SetApiServiceName

func (s *ApiCallDetails) SetApiServiceName(v string) *ApiCallDetails

SetApiServiceName sets the ApiServiceName field's value.

func (*ApiCallDetails) SetFirstSeen

func (s *ApiCallDetails) SetFirstSeen(v time.Time) *ApiCallDetails

SetFirstSeen sets the FirstSeen field's value.

func (*ApiCallDetails) SetLastSeen

func (s *ApiCallDetails) SetLastSeen(v time.Time) *ApiCallDetails

SetLastSeen sets the LastSeen field's value.

func (ApiCallDetails) String

func (s ApiCallDetails) String() string

String returns the string representation

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) GoString

func (s AssumedRole) GoString() string

GoString returns the string representation

func (*AssumedRole) SetAccessKeyId

func (s *AssumedRole) SetAccessKeyId(v string) *AssumedRole

SetAccessKeyId sets the AccessKeyId field's value.

func (*AssumedRole) SetAccountId

func (s *AssumedRole) SetAccountId(v string) *AssumedRole

SetAccountId sets the AccountId field's value.

func (*AssumedRole) SetArn

func (s *AssumedRole) SetArn(v string) *AssumedRole

SetArn sets the Arn field's value.

func (*AssumedRole) SetPrincipalId

func (s *AssumedRole) SetPrincipalId(v string) *AssumedRole

SetPrincipalId sets the PrincipalId field's value.

func (*AssumedRole) SetSessionContext

func (s *AssumedRole) SetSessionContext(v *SessionContext) *AssumedRole

SetSessionContext sets the SessionContext field's value.

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) GoString

func (s AwsAccount) GoString() string

GoString returns the string representation

func (*AwsAccount) SetAccountId

func (s *AwsAccount) SetAccountId(v string) *AwsAccount

SetAccountId sets the AccountId field's value.

func (*AwsAccount) SetPrincipalId

func (s *AwsAccount) SetPrincipalId(v string) *AwsAccount

SetPrincipalId sets the PrincipalId field's value.

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) GoString

func (s AwsService) GoString() string

GoString returns the string representation

func (*AwsService) SetInvokedBy

func (s *AwsService) SetInvokedBy(v string) *AwsService

SetInvokedBy sets the InvokedBy field's value.

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) GoString

GoString returns the string representation

func (*BatchGetCustomDataIdentifierSummary) SetArn

SetArn sets the Arn field's value.

func (*BatchGetCustomDataIdentifierSummary) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*BatchGetCustomDataIdentifierSummary) SetDeleted

SetDeleted sets the Deleted field's value.

func (*BatchGetCustomDataIdentifierSummary) SetDescription

SetDescription sets the Description field's value.

func (*BatchGetCustomDataIdentifierSummary) SetId

SetId sets the Id field's value.

func (*BatchGetCustomDataIdentifierSummary) SetName

SetName sets the Name field's value.

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) GoString

GoString returns the string representation

func (*BatchGetCustomDataIdentifiersInput) SetIds

SetIds sets the Ids field's value.

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) GoString

GoString returns the string representation

func (*BatchGetCustomDataIdentifiersOutput) SetCustomDataIdentifiers

SetCustomDataIdentifiers sets the CustomDataIdentifiers field's value.

func (*BatchGetCustomDataIdentifiersOutput) SetNotFoundIdentifierIds

SetNotFoundIdentifierIds sets the NotFoundIdentifierIds field's value.

func (BatchGetCustomDataIdentifiersOutput) String

String returns the string representation

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 Blocking public access to your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) in the Amazon Simple Storage Service User Guide.

func (BlockPublicAccess) GoString

func (s BlockPublicAccess) GoString() string

GoString returns the string representation

func (*BlockPublicAccess) SetBlockPublicAcls

func (s *BlockPublicAccess) SetBlockPublicAcls(v bool) *BlockPublicAccess

SetBlockPublicAcls sets the BlockPublicAcls field's value.

func (*BlockPublicAccess) SetBlockPublicPolicy

func (s *BlockPublicAccess) SetBlockPublicPolicy(v bool) *BlockPublicAccess

SetBlockPublicPolicy sets the BlockPublicPolicy field's value.

func (*BlockPublicAccess) SetIgnorePublicAcls

func (s *BlockPublicAccess) SetIgnorePublicAcls(v bool) *BlockPublicAccess

SetIgnorePublicAcls sets the IgnorePublicAcls field's value.

func (*BlockPublicAccess) SetRestrictPublicBuckets

func (s *BlockPublicAccess) SetRestrictPublicBuckets(v bool) *BlockPublicAccess

SetRestrictPublicBuckets sets the RestrictPublicBuckets field's value.

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

	Unknown *int64 `locationName:"unknown" type:"long"`
	// contains filtered or unexported fields
}

Provides information about the number of S3 buckets that are publicly accessible based on a combination of permissions settings for each bucket.

func (BucketCountByEffectivePermission) GoString

GoString returns the string representation

func (*BucketCountByEffectivePermission) SetPubliclyAccessible

SetPubliclyAccessible sets the PubliclyAccessible field's value.

func (*BucketCountByEffectivePermission) SetPubliclyReadable

SetPubliclyReadable sets the PubliclyReadable field's value.

func (*BucketCountByEffectivePermission) SetPubliclyWritable

SetPubliclyWritable sets the PubliclyWritable field's value.

func (*BucketCountByEffectivePermission) SetUnknown added in v1.35.8

SetUnknown sets the Unknown field's value.

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 by default or don't encrypt new objects by default.

func (BucketCountByEncryptionType) GoString

func (s BucketCountByEncryptionType) GoString() string

GoString returns the string representation

func (*BucketCountByEncryptionType) SetKmsManaged

SetKmsManaged sets the KmsManaged field's value.

func (*BucketCountByEncryptionType) SetS3Managed

SetS3Managed sets the S3Managed field's value.

func (*BucketCountByEncryptionType) SetUnencrypted

SetUnencrypted sets the Unencrypted field's value.

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

	Unknown *int64 `locationName:"unknown" type:"long"`
	// contains filtered or unexported fields
}

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

func (BucketCountBySharedAccessType) GoString

GoString returns the string representation

func (*BucketCountBySharedAccessType) SetExternal

SetExternal sets the External field's value.

func (*BucketCountBySharedAccessType) SetInternal

SetInternal sets the Internal field's value.

func (*BucketCountBySharedAccessType) SetNotShared

SetNotShared sets the NotShared field's value.

func (*BucketCountBySharedAccessType) SetUnknown added in v1.35.8

SetUnknown sets the Unknown field's value.

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

func (BucketCriteriaAdditionalProperties) GoString

GoString returns the string representation

func (*BucketCriteriaAdditionalProperties) SetEq

SetEq sets the Eq field's value.

func (*BucketCriteriaAdditionalProperties) SetGt

SetGt sets the Gt field's value.

func (*BucketCriteriaAdditionalProperties) SetGte

SetGte sets the Gte field's value.

func (*BucketCriteriaAdditionalProperties) SetLt

SetLt sets the Lt field's value.

func (*BucketCriteriaAdditionalProperties) SetLte

SetLte sets the Lte field's value.

func (*BucketCriteriaAdditionalProperties) SetNeq

SetNeq sets the Neq field's value.

func (*BucketCriteriaAdditionalProperties) SetPrefix

SetPrefix sets the Prefix field's value.

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

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

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

func (BucketLevelPermissions) GoString

func (s BucketLevelPermissions) GoString() string

GoString returns the string representation

func (*BucketLevelPermissions) SetAccessControlList

SetAccessControlList sets the AccessControlList field's value.

func (*BucketLevelPermissions) SetBlockPublicAccess

SetBlockPublicAccess sets the BlockPublicAccess field's value.

func (*BucketLevelPermissions) SetBucketPolicy

SetBucketPolicy sets the BucketPolicy field's value.

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

	ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"`

	// Specifies whether any one-time or recurring classification jobs are configured
	// to analyze data in an S3 bucket, and, if so, the details of the job that
	// ran most recently.
	JobDetails *JobDetails `locationName:"jobDetails" type:"structure"`

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

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

	// Provides information about the number of objects that are in an S3 bucket
	// and use certain types of server-side encryption, use client-side encryption,
	// or aren't encrypted.
	ObjectCountByEncryptionType *ObjectCountByEncryptionType `locationName:"objectCountByEncryptionType" type:"structure"`

	// Provides information about the permissions settings that determine whether
	// an S3 bucket is publicly accessible.
	PublicAccess *BucketPublicAccess `locationName:"publicAccess" type:"structure"`

	Region *string `locationName:"region" type:"string"`

	// Provides information about settings that define whether one or more objects
	// in an S3 bucket are replicated to S3 buckets for other AWS accounts and,
	// if so, which accounts.
	ReplicationDetails *ReplicationDetails `locationName:"replicationDetails" type:"structure"`

	// Provides information about the default server-side encryption settings for
	// an S3 bucket. For detailed information about these settings, see Setting
	// default server-side encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html)
	// in the Amazon Simple Storage Service User Guide.
	ServerSideEncryption *BucketServerSideEncryption `locationName:"serverSideEncryption" type:"structure"`

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

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

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

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

	// Provides information about the total storage size (in bytes) or number of
	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
	// object, this data is for a specific bucket. In a GetBucketStatisticsResponse
	// object, this data is aggregated for all the buckets in the query results.
	// If versioning is enabled for a bucket, total storage size values are based
	// on the size of the latest version of each applicable object in the bucket.
	UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"`

	// Provides information about the total storage size (in bytes) or number of
	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
	// object, this data is for a specific bucket. In a GetBucketStatisticsResponse
	// object, this data is aggregated for all the buckets in the query results.
	// If versioning is enabled for a bucket, total storage size values are based
	// on the size of the latest version of each applicable object in the bucket.
	UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"`

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

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

func (BucketMetadata) GoString

func (s BucketMetadata) GoString() string

GoString returns the string representation

func (*BucketMetadata) SetAccountId

func (s *BucketMetadata) SetAccountId(v string) *BucketMetadata

SetAccountId sets the AccountId field's value.

func (*BucketMetadata) SetBucketArn

func (s *BucketMetadata) SetBucketArn(v string) *BucketMetadata

SetBucketArn sets the BucketArn field's value.

func (*BucketMetadata) SetBucketCreatedAt

func (s *BucketMetadata) SetBucketCreatedAt(v time.Time) *BucketMetadata

SetBucketCreatedAt sets the BucketCreatedAt field's value.

func (*BucketMetadata) SetBucketName

func (s *BucketMetadata) SetBucketName(v string) *BucketMetadata

SetBucketName sets the BucketName field's value.

func (*BucketMetadata) SetClassifiableObjectCount

func (s *BucketMetadata) SetClassifiableObjectCount(v int64) *BucketMetadata

SetClassifiableObjectCount sets the ClassifiableObjectCount field's value.

func (*BucketMetadata) SetClassifiableSizeInBytes added in v1.34.16

func (s *BucketMetadata) SetClassifiableSizeInBytes(v int64) *BucketMetadata

SetClassifiableSizeInBytes sets the ClassifiableSizeInBytes field's value.

func (*BucketMetadata) SetJobDetails added in v1.35.33

func (s *BucketMetadata) SetJobDetails(v *JobDetails) *BucketMetadata

SetJobDetails sets the JobDetails field's value.

func (*BucketMetadata) SetLastUpdated

func (s *BucketMetadata) SetLastUpdated(v time.Time) *BucketMetadata

SetLastUpdated sets the LastUpdated field's value.

func (*BucketMetadata) SetObjectCount

func (s *BucketMetadata) SetObjectCount(v int64) *BucketMetadata

SetObjectCount sets the ObjectCount field's value.

func (*BucketMetadata) SetObjectCountByEncryptionType

func (s *BucketMetadata) SetObjectCountByEncryptionType(v *ObjectCountByEncryptionType) *BucketMetadata

SetObjectCountByEncryptionType sets the ObjectCountByEncryptionType field's value.

func (*BucketMetadata) SetPublicAccess

func (s *BucketMetadata) SetPublicAccess(v *BucketPublicAccess) *BucketMetadata

SetPublicAccess sets the PublicAccess field's value.

func (*BucketMetadata) SetRegion

func (s *BucketMetadata) SetRegion(v string) *BucketMetadata

SetRegion sets the Region field's value.

func (*BucketMetadata) SetReplicationDetails

func (s *BucketMetadata) SetReplicationDetails(v *ReplicationDetails) *BucketMetadata

SetReplicationDetails sets the ReplicationDetails field's value.

func (*BucketMetadata) SetServerSideEncryption added in v1.37.7

func (s *BucketMetadata) SetServerSideEncryption(v *BucketServerSideEncryption) *BucketMetadata

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*BucketMetadata) SetSharedAccess

func (s *BucketMetadata) SetSharedAccess(v string) *BucketMetadata

SetSharedAccess sets the SharedAccess field's value.

func (*BucketMetadata) SetSizeInBytes

func (s *BucketMetadata) SetSizeInBytes(v int64) *BucketMetadata

SetSizeInBytes sets the SizeInBytes field's value.

func (*BucketMetadata) SetSizeInBytesCompressed

func (s *BucketMetadata) SetSizeInBytesCompressed(v int64) *BucketMetadata

SetSizeInBytesCompressed sets the SizeInBytesCompressed field's value.

func (*BucketMetadata) SetTags

func (s *BucketMetadata) SetTags(v []*KeyValuePair) *BucketMetadata

SetTags sets the Tags field's value.

func (*BucketMetadata) SetUnclassifiableObjectCount added in v1.34.16

func (s *BucketMetadata) SetUnclassifiableObjectCount(v *ObjectLevelStatistics) *BucketMetadata

SetUnclassifiableObjectCount sets the UnclassifiableObjectCount field's value.

func (*BucketMetadata) SetUnclassifiableObjectSizeInBytes added in v1.34.16

func (s *BucketMetadata) SetUnclassifiableObjectSizeInBytes(v *ObjectLevelStatistics) *BucketMetadata

SetUnclassifiableObjectSizeInBytes sets the UnclassifiableObjectSizeInBytes field's value.

func (*BucketMetadata) SetVersioning

func (s *BucketMetadata) SetVersioning(v bool) *BucketMetadata

SetVersioning sets the Versioning field's value.

func (BucketMetadata) String

func (s BucketMetadata) String() string

String returns the string representation

type BucketPermissionConfiguration

type BucketPermissionConfiguration struct {

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

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

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

func (BucketPermissionConfiguration) GoString

GoString returns the string representation

func (*BucketPermissionConfiguration) SetAccountLevelPermissions

SetAccountLevelPermissions sets the AccountLevelPermissions field's value.

func (*BucketPermissionConfiguration) SetBucketLevelPermissions

SetBucketLevelPermissions sets the BucketLevelPermissions field's value.

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) GoString

func (s BucketPolicy) GoString() string

GoString returns the string representation

func (*BucketPolicy) SetAllowsPublicReadAccess

func (s *BucketPolicy) SetAllowsPublicReadAccess(v bool) *BucketPolicy

SetAllowsPublicReadAccess sets the AllowsPublicReadAccess field's value.

func (*BucketPolicy) SetAllowsPublicWriteAccess

func (s *BucketPolicy) SetAllowsPublicWriteAccess(v bool) *BucketPolicy

SetAllowsPublicWriteAccess sets the AllowsPublicWriteAccess field's value.

func (BucketPolicy) String

func (s BucketPolicy) String() string

String returns the string representation

type BucketPublicAccess

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

	// Provides information about the account-level and bucket-level permissions
	// settings for an S3 bucket.
	PermissionConfiguration *BucketPermissionConfiguration `locationName:"permissionConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about the permissions settings that determine whether an S3 bucket is publicly accessible.

func (BucketPublicAccess) GoString

func (s BucketPublicAccess) GoString() string

GoString returns the string representation

func (*BucketPublicAccess) SetEffectivePermission

func (s *BucketPublicAccess) SetEffectivePermission(v string) *BucketPublicAccess

SetEffectivePermission sets the EffectivePermission field's value.

func (*BucketPublicAccess) SetPermissionConfiguration

func (s *BucketPublicAccess) SetPermissionConfiguration(v *BucketPermissionConfiguration) *BucketPublicAccess

SetPermissionConfiguration sets the PermissionConfiguration field's value.

func (BucketPublicAccess) String

func (s BucketPublicAccess) String() string

String returns the string representation

type BucketServerSideEncryption added in v1.37.7

type BucketServerSideEncryption struct {
	KmsMasterKeyId *string `locationName:"kmsMasterKeyId" type:"string"`

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

Provides information about the default server-side encryption settings for an S3 bucket. For detailed information about these settings, see Setting default server-side encryption behavior for Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html) in the Amazon Simple Storage Service User Guide.

func (BucketServerSideEncryption) GoString added in v1.37.7

func (s BucketServerSideEncryption) GoString() string

GoString returns the string representation

func (*BucketServerSideEncryption) SetKmsMasterKeyId added in v1.37.7

SetKmsMasterKeyId sets the KmsMasterKeyId field's value.

func (*BucketServerSideEncryption) SetType added in v1.37.7

SetType sets the Type field's value.

func (BucketServerSideEncryption) String added in v1.37.7

String returns the string representation

type BucketSortCriteria

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

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

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

func (BucketSortCriteria) GoString

func (s BucketSortCriteria) GoString() string

GoString returns the string representation

func (*BucketSortCriteria) SetAttributeName

func (s *BucketSortCriteria) SetAttributeName(v string) *BucketSortCriteria

SetAttributeName sets the AttributeName field's value.

func (*BucketSortCriteria) SetOrderBy

func (s *BucketSortCriteria) SetOrderBy(v string) *BucketSortCriteria

SetOrderBy sets the OrderBy field's value.

func (BucketSortCriteria) String

func (s BucketSortCriteria) String() string

String returns the string representation

type Cell added in v1.35.8

type Cell struct {
	CellReference *string `locationName:"cellReference" type:"string"`

	Column *int64 `locationName:"column" type:"long"`

	ColumnName *string `locationName:"columnName" type:"string"`

	Row *int64 `locationName:"row" type:"long"`
	// contains filtered or unexported fields
}

Specifies the location of an occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file.

func (Cell) GoString added in v1.35.8

func (s Cell) GoString() string

GoString returns the string representation

func (*Cell) SetCellReference added in v1.35.8

func (s *Cell) SetCellReference(v string) *Cell

SetCellReference sets the CellReference field's value.

func (*Cell) SetColumn added in v1.35.8

func (s *Cell) SetColumn(v int64) *Cell

SetColumn sets the Column field's value.

func (*Cell) SetColumnName added in v1.35.8

func (s *Cell) SetColumnName(v string) *Cell

SetColumnName sets the ColumnName field's value.

func (*Cell) SetRow added in v1.35.8

func (s *Cell) SetRow(v int64) *Cell

SetRow sets the Row field's value.

func (Cell) String added in v1.35.8

func (s Cell) 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 the details of a sensitive data finding, including the types, number
	// of occurrences, and locations of the sensitive data that was detected.
	Result *ClassificationResult `locationName:"result" type:"structure"`
	// contains filtered or unexported fields
}

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

func (ClassificationDetails) GoString

func (s ClassificationDetails) GoString() string

GoString returns the string representation

func (*ClassificationDetails) SetDetailedResultsLocation

func (s *ClassificationDetails) SetDetailedResultsLocation(v string) *ClassificationDetails

SetDetailedResultsLocation sets the DetailedResultsLocation field's value.

func (*ClassificationDetails) SetJobArn

SetJobArn sets the JobArn field's value.

func (*ClassificationDetails) SetJobId

SetJobId sets the JobId field's value.

func (*ClassificationDetails) SetResult

SetResult sets the Result field's value.

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) GoString

GoString returns the string representation

func (*ClassificationExportConfiguration) SetS3Destination

SetS3Destination sets the S3Destination field's value.

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 {
	AdditionalOccurrences *bool `locationName:"additionalOccurrences" type:"boolean"`

	// Provides information about custom data identifiers that produced a sensitive
	// data finding, and the number of occurrences of the data that they detected
	// for the finding.
	CustomDataIdentifiers *CustomDataIdentifiers `locationName:"customDataIdentifiers" type:"structure"`

	MimeType *string `locationName:"mimeType" type:"string"`

	// Provides information about the category and number of occurrences of sensitive
	// data that produced a finding.
	SensitiveData []*SensitiveDataItem `locationName:"sensitiveData" type:"list"`

	SizeClassified *int64 `locationName:"sizeClassified" type:"long"`

	// Provides information about the status of a sensitive data finding.
	Status *ClassificationResultStatus `locationName:"status" type:"structure"`
	// contains filtered or unexported fields
}

Provides the details of a sensitive data finding, including the types, number of occurrences, and locations of the sensitive data that was detected.

func (ClassificationResult) GoString

func (s ClassificationResult) GoString() string

GoString returns the string representation

func (*ClassificationResult) SetAdditionalOccurrences added in v1.35.8

func (s *ClassificationResult) SetAdditionalOccurrences(v bool) *ClassificationResult

SetAdditionalOccurrences sets the AdditionalOccurrences field's value.

func (*ClassificationResult) SetCustomDataIdentifiers

func (s *ClassificationResult) SetCustomDataIdentifiers(v *CustomDataIdentifiers) *ClassificationResult

SetCustomDataIdentifiers sets the CustomDataIdentifiers field's value.

func (*ClassificationResult) SetMimeType

SetMimeType sets the MimeType field's value.

func (*ClassificationResult) SetSensitiveData

func (s *ClassificationResult) SetSensitiveData(v []*SensitiveDataItem) *ClassificationResult

SetSensitiveData sets the SensitiveData field's value.

func (*ClassificationResult) SetSizeClassified

func (s *ClassificationResult) SetSizeClassified(v int64) *ClassificationResult

SetSizeClassified sets the SizeClassified field's value.

func (*ClassificationResult) SetStatus

SetStatus sets the Status field's value.

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) GoString

func (s ClassificationResultStatus) GoString() string

GoString returns the string representation

func (*ClassificationResultStatus) SetCode

SetCode sets the Code field's value.

func (*ClassificationResultStatus) SetReason

SetReason sets the Reason field's value.

func (ClassificationResultStatus) String

String returns the string representation

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

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

Provides information about an error that occurred due to a versioning conflict for a specified resource.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation

type CreateClassificationJobInput

type CreateClassificationJobInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	CustomDataIdentifierIds []*string `locationName:"customDataIdentifierIds" type:"list"`

	Description *string `locationName:"description" type:"string"`

	InitialRun *bool `locationName:"initialRun" type:"boolean"`

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

	// 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 change any settings for a classification job after you create it. This helps ensure that you have an immutable history of sensitive data findings and discovery results for data privacy and protection audits or investigations.

func (CreateClassificationJobInput) GoString

func (s CreateClassificationJobInput) GoString() string

GoString returns the string representation

func (*CreateClassificationJobInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateClassificationJobInput) SetCustomDataIdentifierIds

func (s *CreateClassificationJobInput) SetCustomDataIdentifierIds(v []*string) *CreateClassificationJobInput

SetCustomDataIdentifierIds sets the CustomDataIdentifierIds field's value.

func (*CreateClassificationJobInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateClassificationJobInput) SetInitialRun

SetInitialRun sets the InitialRun field's value.

func (*CreateClassificationJobInput) SetJobType

SetJobType sets the JobType field's value.

func (*CreateClassificationJobInput) SetName

SetName sets the Name field's value.

func (*CreateClassificationJobInput) SetS3JobDefinition

SetS3JobDefinition sets the S3JobDefinition field's value.

func (*CreateClassificationJobInput) SetSamplingPercentage

SetSamplingPercentage sets the SamplingPercentage field's value.

func (*CreateClassificationJobInput) SetScheduleFrequency

SetScheduleFrequency sets the ScheduleFrequency field's value.

func (*CreateClassificationJobInput) SetTags

SetTags sets the Tags field's value.

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) GoString

GoString returns the string representation

func (*CreateClassificationJobOutput) SetJobArn

SetJobArn sets the JobArn field's value.

func (*CreateClassificationJobOutput) SetJobId

SetJobId sets the JobId field's value.

func (CreateClassificationJobOutput) String

String returns the string representation

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. This helps ensure that you have an immutable history of sensitive data findings and discovery results for data privacy and protection audits or investigations.

func (CreateCustomDataIdentifierInput) GoString

GoString returns the string representation

func (*CreateCustomDataIdentifierInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateCustomDataIdentifierInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateCustomDataIdentifierInput) SetIgnoreWords

SetIgnoreWords sets the IgnoreWords field's value.

func (*CreateCustomDataIdentifierInput) SetKeywords

SetKeywords sets the Keywords field's value.

func (*CreateCustomDataIdentifierInput) SetMaximumMatchDistance

SetMaximumMatchDistance sets the MaximumMatchDistance field's value.

func (*CreateCustomDataIdentifierInput) SetName

SetName sets the Name field's value.

func (*CreateCustomDataIdentifierInput) SetRegex

SetRegex sets the Regex field's value.

func (*CreateCustomDataIdentifierInput) SetTags

SetTags sets the Tags field's value.

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) GoString

GoString returns the string representation

func (*CreateCustomDataIdentifierOutput) SetCustomDataIdentifierId

SetCustomDataIdentifierId sets the CustomDataIdentifierId field's value.

func (CreateCustomDataIdentifierOutput) String

String returns the string representation

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

	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	Description *string `locationName:"description" type:"string"`

	// Specifies, as a map, one or more property-based conditions that filter the
	// results of a query for findings.
	//
	// FindingCriteria is a required field
	FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure" required:"true"`

	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	Position *int64 `locationName:"position" type:"integer"`

	// A string-to-string map of key-value pairs that specifies the tags (keys and
	// values) for a classification job, custom data identifier, findings filter,
	// or member account.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Specifies the criteria and other settings for a new findings filter.

func (CreateFindingsFilterInput) GoString

func (s CreateFindingsFilterInput) GoString() string

GoString returns the string representation

func (*CreateFindingsFilterInput) SetAction

SetAction sets the Action field's value.

func (*CreateFindingsFilterInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateFindingsFilterInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateFindingsFilterInput) SetFindingCriteria

SetFindingCriteria sets the FindingCriteria field's value.

func (*CreateFindingsFilterInput) SetName

SetName sets the Name field's value.

func (*CreateFindingsFilterInput) SetPosition

SetPosition sets the Position field's value.

func (*CreateFindingsFilterInput) SetTags

SetTags sets the Tags field's value.

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) GoString

func (s CreateFindingsFilterOutput) GoString() string

GoString returns the string representation

func (*CreateFindingsFilterOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateFindingsFilterOutput) SetId

SetId sets the Id field's value.

func (CreateFindingsFilterOutput) String

String returns the string representation

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) GoString

func (s CreateInvitationsInput) GoString() string

GoString returns the string representation

func (*CreateInvitationsInput) SetAccountIds

func (s *CreateInvitationsInput) SetAccountIds(v []*string) *CreateInvitationsInput

SetAccountIds sets the AccountIds field's value.

func (*CreateInvitationsInput) SetDisableEmailNotification

func (s *CreateInvitationsInput) SetDisableEmailNotification(v bool) *CreateInvitationsInput

SetDisableEmailNotification sets the DisableEmailNotification field's value.

func (*CreateInvitationsInput) SetMessage

SetMessage sets the Message field's value.

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) GoString

func (s CreateInvitationsOutput) GoString() string

GoString returns the string representation

func (*CreateInvitationsOutput) SetUnprocessedAccounts

func (s *CreateInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *CreateInvitationsOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (CreateInvitationsOutput) String

func (s CreateInvitationsOutput) String() string

String returns the string representation

type CreateMemberInput

type CreateMemberInput struct {

	// Specifies details for an account to associate with an Amazon Macie administrator
	// account.
	//
	// Account is a required field
	Account *AccountDetail `locationName:"account" type:"structure" required:"true"`

	// A string-to-string map of key-value pairs that specifies the tags (keys and
	// values) for a classification job, custom data identifier, findings filter,
	// or member account.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Specifies an AWS account to associate with an Amazon Macie administrator account.

func (CreateMemberInput) GoString

func (s CreateMemberInput) GoString() string

GoString returns the string representation

func (*CreateMemberInput) SetAccount

SetAccount sets the Account field's value.

func (*CreateMemberInput) SetTags

func (s *CreateMemberInput) SetTags(v map[string]*string) *CreateMemberInput

SetTags sets the Tags field's value.

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

func (CreateMemberOutput) GoString

func (s CreateMemberOutput) GoString() string

GoString returns the string representation

func (*CreateMemberOutput) SetArn

SetArn sets the Arn field's value.

func (CreateMemberOutput) String

func (s CreateMemberOutput) String() string

String returns the string representation

type CreateSampleFindingsInput

type CreateSampleFindingsInput struct {
	FindingTypes []*string `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) GoString

func (s CreateSampleFindingsInput) GoString() string

GoString returns the string representation

func (*CreateSampleFindingsInput) SetFindingTypes

SetFindingTypes sets the FindingTypes field's value.

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) GoString

func (s CreateSampleFindingsOutput) GoString() string

GoString returns the string representation

func (CreateSampleFindingsOutput) String

String returns the string representation

type CriterionAdditionalProperties

type CriterionAdditionalProperties struct {
	Eq []*string `locationName:"eq" type:"list"`

	EqExactMatch []*string `locationName:"eqExactMatch" type:"list"`

	Gt *int64 `locationName:"gt" type:"long"`

	Gte *int64 `locationName:"gte" type:"long"`

	Lt *int64 `locationName:"lt" type:"long"`

	Lte *int64 `locationName:"lte" type:"long"`

	Neq []*string `locationName:"neq" type:"list"`
	// contains filtered or unexported fields
}

Specifies the operator to use in a property-based condition that filters the results of a query for findings. For detailed information and examples of each operator, see Fundamentals of filtering findings (https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html) in the Amazon Macie User Guide.

func (CriterionAdditionalProperties) GoString

GoString returns the string representation

func (*CriterionAdditionalProperties) SetEq

SetEq sets the Eq field's value.

func (*CriterionAdditionalProperties) SetEqExactMatch added in v1.35.19

SetEqExactMatch sets the EqExactMatch field's value.

func (*CriterionAdditionalProperties) SetGt

SetGt sets the Gt field's value.

func (*CriterionAdditionalProperties) SetGte

SetGte sets the Gte field's value.

func (*CriterionAdditionalProperties) SetLt

SetLt sets the Lt field's value.

func (*CriterionAdditionalProperties) SetLte

SetLte sets the Lte field's value.

func (*CriterionAdditionalProperties) SetNeq

SetNeq sets the Neq field's value.

func (CriterionAdditionalProperties) String

String returns the string representation

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) GoString

func (s CustomDataIdentifierSummary) GoString() string

GoString returns the string representation

func (*CustomDataIdentifierSummary) SetArn

SetArn sets the Arn field's value.

func (*CustomDataIdentifierSummary) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*CustomDataIdentifierSummary) SetDescription

SetDescription sets the Description field's value.

func (*CustomDataIdentifierSummary) SetId

SetId sets the Id field's value.

func (*CustomDataIdentifierSummary) SetName

SetName sets the Name field's value.

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

func (CustomDataIdentifiers) GoString

func (s CustomDataIdentifiers) GoString() string

GoString returns the string representation

func (*CustomDataIdentifiers) SetDetections

SetDetections sets the Detections field's value.

func (*CustomDataIdentifiers) SetTotalCount

func (s *CustomDataIdentifiers) SetTotalCount(v int64) *CustomDataIdentifiers

SetTotalCount sets the TotalCount field's value.

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

	// Provides the location of 1-15 occurrences of sensitive data that was detected
	// by managed data identifiers or a custom data identifier and produced a sensitive
	// data finding.
	Occurrences *Occurrences `locationName:"occurrences" type:"structure"`
	// contains filtered or unexported fields
}

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

func (CustomDetection) GoString

func (s CustomDetection) GoString() string

GoString returns the string representation

func (*CustomDetection) SetArn

func (s *CustomDetection) SetArn(v string) *CustomDetection

SetArn sets the Arn field's value.

func (*CustomDetection) SetCount

func (s *CustomDetection) SetCount(v int64) *CustomDetection

SetCount sets the Count field's value.

func (*CustomDetection) SetName

func (s *CustomDetection) SetName(v string) *CustomDetection

SetName sets the Name field's value.

func (*CustomDetection) SetOccurrences added in v1.35.8

func (s *CustomDetection) SetOccurrences(v *Occurrences) *CustomDetection

SetOccurrences sets the Occurrences field's value.

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) GoString

func (s DailySchedule) GoString() string

GoString returns the string representation

func (DailySchedule) String

func (s DailySchedule) String() string

String returns the string representation

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) GoString

func (s DeclineInvitationsInput) GoString() string

GoString returns the string representation

func (*DeclineInvitationsInput) SetAccountIds

func (s *DeclineInvitationsInput) SetAccountIds(v []*string) *DeclineInvitationsInput

SetAccountIds sets the AccountIds field's value.

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) GoString

func (s DeclineInvitationsOutput) GoString() string

GoString returns the string representation

func (*DeclineInvitationsOutput) SetUnprocessedAccounts

func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeclineInvitationsOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DeclineInvitationsOutput) String

func (s DeclineInvitationsOutput) String() string

String returns the string representation

type DefaultDetection

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

	// Provides the location of 1-15 occurrences of sensitive data that was detected
	// by managed data identifiers or a custom data identifier and produced a sensitive
	// data finding.
	Occurrences *Occurrences `locationName:"occurrences" type:"structure"`

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

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

func (DefaultDetection) GoString

func (s DefaultDetection) GoString() string

GoString returns the string representation

func (*DefaultDetection) SetCount

func (s *DefaultDetection) SetCount(v int64) *DefaultDetection

SetCount sets the Count field's value.

func (*DefaultDetection) SetOccurrences added in v1.35.8

func (s *DefaultDetection) SetOccurrences(v *Occurrences) *DefaultDetection

SetOccurrences sets the Occurrences field's value.

func (*DefaultDetection) SetType

func (s *DefaultDetection) SetType(v string) *DefaultDetection

SetType sets the Type field's value.

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) GoString

GoString returns the string representation

func (*DeleteCustomDataIdentifierInput) SetId

SetId sets the Id field's value.

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) GoString

GoString returns the string representation

func (DeleteCustomDataIdentifierOutput) String

String returns the string representation

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) GoString

func (s DeleteFindingsFilterInput) GoString() string

GoString returns the string representation

func (*DeleteFindingsFilterInput) SetId

SetId sets the Id field's value.

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) GoString

func (s DeleteFindingsFilterOutput) GoString() string

GoString returns the string representation

func (DeleteFindingsFilterOutput) String

String returns the string representation

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) GoString

func (s DeleteInvitationsInput) GoString() string

GoString returns the string representation

func (*DeleteInvitationsInput) SetAccountIds

func (s *DeleteInvitationsInput) SetAccountIds(v []*string) *DeleteInvitationsInput

SetAccountIds sets the AccountIds field's value.

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) GoString

func (s DeleteInvitationsOutput) GoString() string

GoString returns the string representation

func (*DeleteInvitationsOutput) SetUnprocessedAccounts

func (s *DeleteInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteInvitationsOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DeleteInvitationsOutput) String

func (s DeleteInvitationsOutput) String() string

String returns the string representation

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) GoString

func (s DeleteMemberInput) GoString() string

GoString returns the string representation

func (*DeleteMemberInput) SetId

SetId sets the Id field's value.

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) GoString

func (s DeleteMemberOutput) GoString() string

GoString returns the string representation

func (DeleteMemberOutput) String

func (s DeleteMemberOutput) String() string

String returns the string representation

type DescribeBucketsInput

type DescribeBucketsInput struct {

	// Specifies, as a map, one or more property-based conditions that filter the
	// results of a query for information about S3 buckets.
	Criteria map[string]*BucketCriteriaAdditionalProperties `locationName:"criteria" type:"map"`

	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies criteria for sorting the results of a query for information about
	// S3 buckets.
	SortCriteria *BucketSortCriteria `locationName:"sortCriteria" type:"structure"`
	// contains filtered or unexported fields
}

Specifies criteria for filtering, sorting, and paginating the results of a query for statistical data and other information about S3 buckets.

func (DescribeBucketsInput) GoString

func (s DescribeBucketsInput) GoString() string

GoString returns the string representation

func (*DescribeBucketsInput) SetCriteria

SetCriteria sets the Criteria field's value.

func (*DescribeBucketsInput) SetMaxResults

func (s *DescribeBucketsInput) SetMaxResults(v int64) *DescribeBucketsInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeBucketsInput) SetNextToken

func (s *DescribeBucketsInput) SetNextToken(v string) *DescribeBucketsInput

SetNextToken sets the NextToken field's value.

func (*DescribeBucketsInput) SetSortCriteria

SetSortCriteria sets the SortCriteria field's value.

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) GoString

func (s DescribeBucketsOutput) GoString() string

GoString returns the string representation

func (*DescribeBucketsOutput) SetBuckets

SetBuckets sets the Buckets field's value.

func (*DescribeBucketsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeBucketsOutput) String

func (s DescribeBucketsOutput) String() string

String returns the string representation

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) GoString

GoString returns the string representation

func (*DescribeClassificationJobInput) SetJobId

SetJobId sets the JobId field's value.

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

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

	// Specifies whether any account- or bucket-level access errors occurred when
	// a classification job ran. For example, the job is configured to analyze data
	// for a member account that was suspended, or the job is configured to analyze
	// an S3 bucket that Amazon Macie isn't allowed to access.
	LastRunErrorStatus *LastRunErrorStatus `locationName:"lastRunErrorStatus" type:"structure"`

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

	// Provides information about when a classification job was paused. For a one-time
	// job, this object also specifies when the job will expire and be cancelled
	// if it isn't resumed. For a recurring job, this object also specifies when
	// the paused job run will expire and be cancelled if it isn't resumed. This
	// object is present only if a job's current status (jobStatus) is USER_PAUSED.
	// The information in this object applies only to a job that was paused while
	// it had a status of RUNNING.
	UserPausedDetails *UserPausedDetails `locationName:"userPausedDetails" type:"structure"`
	// contains filtered or unexported fields
}

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

func (DescribeClassificationJobOutput) GoString

GoString returns the string representation

func (*DescribeClassificationJobOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DescribeClassificationJobOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*DescribeClassificationJobOutput) SetCustomDataIdentifierIds

func (s *DescribeClassificationJobOutput) SetCustomDataIdentifierIds(v []*string) *DescribeClassificationJobOutput

SetCustomDataIdentifierIds sets the CustomDataIdentifierIds field's value.

func (*DescribeClassificationJobOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeClassificationJobOutput) SetInitialRun

SetInitialRun sets the InitialRun field's value.

func (*DescribeClassificationJobOutput) SetJobArn

SetJobArn sets the JobArn field's value.

func (*DescribeClassificationJobOutput) SetJobId

SetJobId sets the JobId field's value.

func (*DescribeClassificationJobOutput) SetJobStatus

SetJobStatus sets the JobStatus field's value.

func (*DescribeClassificationJobOutput) SetJobType

SetJobType sets the JobType field's value.

func (*DescribeClassificationJobOutput) SetLastRunErrorStatus added in v1.35.30

SetLastRunErrorStatus sets the LastRunErrorStatus field's value.

func (*DescribeClassificationJobOutput) SetLastRunTime

SetLastRunTime sets the LastRunTime field's value.

func (*DescribeClassificationJobOutput) SetName

SetName sets the Name field's value.

func (*DescribeClassificationJobOutput) SetS3JobDefinition

SetS3JobDefinition sets the S3JobDefinition field's value.

func (*DescribeClassificationJobOutput) SetSamplingPercentage

SetSamplingPercentage sets the SamplingPercentage field's value.

func (*DescribeClassificationJobOutput) SetScheduleFrequency

SetScheduleFrequency sets the ScheduleFrequency field's value.

func (*DescribeClassificationJobOutput) SetStatistics

SetStatistics sets the Statistics field's value.

func (*DescribeClassificationJobOutput) SetTags

SetTags sets the Tags field's value.

func (*DescribeClassificationJobOutput) SetUserPausedDetails added in v1.35.8

SetUserPausedDetails sets the UserPausedDetails field's value.

func (DescribeClassificationJobOutput) String

String returns the string representation

type DescribeOrganizationConfigurationInput

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

func (DescribeOrganizationConfigurationInput) GoString

GoString returns the string representation

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) GoString

GoString returns the string representation

func (*DescribeOrganizationConfigurationOutput) SetAutoEnable

SetAutoEnable sets the AutoEnable field's value.

func (*DescribeOrganizationConfigurationOutput) SetMaxAccountLimitReached

SetMaxAccountLimitReached sets the MaxAccountLimitReached field's value.

func (DescribeOrganizationConfigurationOutput) String

String returns the string representation

type DisableMacieInput

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

func (DisableMacieInput) GoString

func (s DisableMacieInput) GoString() string

GoString returns the string representation

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) GoString

func (s DisableMacieOutput) GoString() string

GoString returns the string representation

func (DisableMacieOutput) String

func (s DisableMacieOutput) String() string

String returns the string representation

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) GoString

GoString returns the string representation

func (*DisableOrganizationAdminAccountInput) SetAdminAccountId

SetAdminAccountId sets the AdminAccountId field's value.

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) GoString

GoString returns the string representation

func (DisableOrganizationAdminAccountOutput) String

String returns the string representation

type DisassociateFromAdministratorAccountInput added in v1.37.10

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

func (DisassociateFromAdministratorAccountInput) GoString added in v1.37.10

GoString returns the string representation

func (DisassociateFromAdministratorAccountInput) String added in v1.37.10

String returns the string representation

type DisassociateFromAdministratorAccountOutput added in v1.37.10

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

func (DisassociateFromAdministratorAccountOutput) GoString added in v1.37.10

GoString returns the string representation

func (DisassociateFromAdministratorAccountOutput) String added in v1.37.10

String returns the string representation

type DisassociateFromMasterAccountInput

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

func (DisassociateFromMasterAccountInput) GoString

GoString returns the string representation

func (DisassociateFromMasterAccountInput) String

String returns the string representation

type DisassociateFromMasterAccountOutput

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

func (DisassociateFromMasterAccountOutput) GoString

GoString returns the string representation

func (DisassociateFromMasterAccountOutput) String

String returns the string representation

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) GoString

func (s DisassociateMemberInput) GoString() string

GoString returns the string representation

func (*DisassociateMemberInput) SetId

SetId sets the Id field's value.

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) GoString

func (s DisassociateMemberOutput) GoString() string

GoString returns the string representation

func (DisassociateMemberOutput) String

func (s DisassociateMemberOutput) String() string

String returns the string representation

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) GoString

func (s DomainDetails) GoString() string

GoString returns the string representation

func (*DomainDetails) SetDomainName

func (s *DomainDetails) SetDomainName(v string) *DomainDetails

SetDomainName sets the DomainName field's value.

func (DomainDetails) String

func (s DomainDetails) String() string

String returns the string representation

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). For more information,
	// see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html)
	// in the Amazon Macie User Guide. Valid values are:
	FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"`

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

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

func (EnableMacieInput) GoString

func (s EnableMacieInput) GoString() string

GoString returns the string representation

func (*EnableMacieInput) SetClientToken

func (s *EnableMacieInput) SetClientToken(v string) *EnableMacieInput

SetClientToken sets the ClientToken field's value.

func (*EnableMacieInput) SetFindingPublishingFrequency

func (s *EnableMacieInput) SetFindingPublishingFrequency(v string) *EnableMacieInput

SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.

func (*EnableMacieInput) SetStatus

func (s *EnableMacieInput) SetStatus(v string) *EnableMacieInput

SetStatus sets the Status field's value.

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) GoString

func (s EnableMacieOutput) GoString() string

GoString returns the string representation

func (EnableMacieOutput) String

func (s EnableMacieOutput) String() string

String returns the string representation

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

func (EnableOrganizationAdminAccountInput) GoString

GoString returns the string representation

func (*EnableOrganizationAdminAccountInput) SetAdminAccountId

SetAdminAccountId sets the AdminAccountId field's value.

func (*EnableOrganizationAdminAccountInput) SetClientToken

SetClientToken sets the ClientToken field's value.

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) GoString

GoString returns the string representation

func (EnableOrganizationAdminAccountOutput) String

String returns the string representation

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) GoString

func (s FederatedUser) GoString() string

GoString returns the string representation

func (*FederatedUser) SetAccessKeyId

func (s *FederatedUser) SetAccessKeyId(v string) *FederatedUser

SetAccessKeyId sets the AccessKeyId field's value.

func (*FederatedUser) SetAccountId

func (s *FederatedUser) SetAccountId(v string) *FederatedUser

SetAccountId sets the AccountId field's value.

func (*FederatedUser) SetArn

func (s *FederatedUser) SetArn(v string) *FederatedUser

SetArn sets the Arn field's value.

func (*FederatedUser) SetPrincipalId

func (s *FederatedUser) SetPrincipalId(v string) *FederatedUser

SetPrincipalId sets the PrincipalId field's value.

func (*FederatedUser) SetSessionContext

func (s *FederatedUser) SetSessionContext(v *SessionContext) *FederatedUser

SetSessionContext sets the SessionContext field's value.

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 *string `locationName:"category" type:"string" enum:"FindingCategory"`

	// 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 numerical and qualitative representations of a finding's severity.
	Severity *Severity `locationName:"severity" type:"structure"`

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

	// The type of finding. For details about each type, see Types of Amazon Macie
	// findings (https://docs.aws.amazon.com/macie/latest/user/findings-types.html)
	// in the Amazon Macie User Guide. Valid values are:
	Type *string `locationName:"type" type:"string" enum:"FindingType"`

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

Provides the details of a finding.

func (Finding) GoString

func (s Finding) GoString() string

GoString returns the string representation

func (*Finding) SetAccountId

func (s *Finding) SetAccountId(v string) *Finding

SetAccountId sets the AccountId field's value.

func (*Finding) SetArchived

func (s *Finding) SetArchived(v bool) *Finding

SetArchived sets the Archived field's value.

func (*Finding) SetCategory

func (s *Finding) SetCategory(v string) *Finding

SetCategory sets the Category field's value.

func (*Finding) SetClassificationDetails

func (s *Finding) SetClassificationDetails(v *ClassificationDetails) *Finding

SetClassificationDetails sets the ClassificationDetails field's value.

func (*Finding) SetCount

func (s *Finding) SetCount(v int64) *Finding

SetCount sets the Count field's value.

func (*Finding) SetCreatedAt

func (s *Finding) SetCreatedAt(v time.Time) *Finding

SetCreatedAt sets the CreatedAt field's value.

func (*Finding) SetDescription

func (s *Finding) SetDescription(v string) *Finding

SetDescription sets the Description field's value.

func (*Finding) SetId

func (s *Finding) SetId(v string) *Finding

SetId sets the Id field's value.

func (*Finding) SetPartition

func (s *Finding) SetPartition(v string) *Finding

SetPartition sets the Partition field's value.

func (*Finding) SetPolicyDetails

func (s *Finding) SetPolicyDetails(v *PolicyDetails) *Finding

SetPolicyDetails sets the PolicyDetails field's value.

func (*Finding) SetRegion

func (s *Finding) SetRegion(v string) *Finding

SetRegion sets the Region field's value.

func (*Finding) SetResourcesAffected

func (s *Finding) SetResourcesAffected(v *ResourcesAffected) *Finding

SetResourcesAffected sets the ResourcesAffected field's value.

func (*Finding) SetSample

func (s *Finding) SetSample(v bool) *Finding

SetSample sets the Sample field's value.

func (*Finding) SetSchemaVersion

func (s *Finding) SetSchemaVersion(v string) *Finding

SetSchemaVersion sets the SchemaVersion field's value.

func (*Finding) SetSeverity

func (s *Finding) SetSeverity(v *Severity) *Finding

SetSeverity sets the Severity field's value.

func (*Finding) SetTitle

func (s *Finding) SetTitle(v string) *Finding

SetTitle sets the Title field's value.

func (*Finding) SetType

func (s *Finding) SetType(v string) *Finding

SetType sets the Type field's value.

func (*Finding) SetUpdatedAt

func (s *Finding) SetUpdatedAt(v time.Time) *Finding

SetUpdatedAt sets the UpdatedAt field's value.

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 *string `locationName:"actionType" type:"string" enum:"FindingActionType"`

	// Provides information about an API operation that an entity invoked for an
	// affected resource.
	ApiCallDetails *ApiCallDetails `locationName:"apiCallDetails" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about an action that occurred for a resource and produced a policy finding.

func (FindingAction) GoString

func (s FindingAction) GoString() string

GoString returns the string representation

func (*FindingAction) SetActionType

func (s *FindingAction) SetActionType(v string) *FindingAction

SetActionType sets the ActionType field's value.

func (*FindingAction) SetApiCallDetails

func (s *FindingAction) SetApiCallDetails(v *ApiCallDetails) *FindingAction

SetApiCallDetails sets the ApiCallDetails field's value.

func (FindingAction) String

func (s FindingAction) String() string

String returns the string representation

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) GoString

func (s FindingActor) GoString() string

GoString returns the string representation

func (*FindingActor) SetDomainDetails

func (s *FindingActor) SetDomainDetails(v *DomainDetails) *FindingActor

SetDomainDetails sets the DomainDetails field's value.

func (*FindingActor) SetIpAddressDetails

func (s *FindingActor) SetIpAddressDetails(v *IpAddressDetails) *FindingActor

SetIpAddressDetails sets the IpAddressDetails field's value.

func (*FindingActor) SetUserIdentity

func (s *FindingActor) SetUserIdentity(v *UserIdentity) *FindingActor

SetUserIdentity sets the UserIdentity field's value.

func (FindingActor) String

func (s FindingActor) String() string

String returns the string representation

type FindingCriteria

type FindingCriteria struct {

	// Specifies a condition that defines a property, operator, and one or more
	// values to filter the results of a query for findings. The number of values
	// depends on the property and operator specified by the condition. For information
	// about defining filter conditions, see Fundamentals of filtering findings
	// (https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html)
	// in the Amazon Macie User Guide.
	Criterion map[string]*CriterionAdditionalProperties `locationName:"criterion" type:"map"`
	// contains filtered or unexported fields
}

Specifies, as a map, one or more property-based conditions that filter the results of a query for findings.

func (FindingCriteria) GoString

func (s FindingCriteria) GoString() string

GoString returns the string representation

func (*FindingCriteria) SetCriterion

SetCriterion sets the Criterion field's value.

func (FindingCriteria) String

func (s FindingCriteria) String() string

String returns the string representation

type FindingStatisticsSortCriteria

type FindingStatisticsSortCriteria struct {

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

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

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

func (FindingStatisticsSortCriteria) GoString

GoString returns the string representation

func (*FindingStatisticsSortCriteria) SetAttributeName

SetAttributeName sets the AttributeName field's value.

func (*FindingStatisticsSortCriteria) SetOrderBy

SetOrderBy sets the OrderBy field's value.

func (FindingStatisticsSortCriteria) String

String returns the string representation

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

	Arn *string `locationName:"arn" type:"string"`

	Id *string `locationName:"id" type:"string"`

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

	// A string-to-string map of key-value pairs that specifies the tags (keys and
	// values) for a classification job, custom data identifier, findings filter,
	// or member account.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Provides information about a findings filter.

func (FindingsFilterListItem) GoString

func (s FindingsFilterListItem) GoString() string

GoString returns the string representation

func (*FindingsFilterListItem) SetAction added in v1.33.7

SetAction sets the Action field's value.

func (*FindingsFilterListItem) SetArn

SetArn sets the Arn field's value.

func (*FindingsFilterListItem) SetId

SetId sets the Id field's value.

func (*FindingsFilterListItem) SetName

SetName sets the Name field's value.

func (*FindingsFilterListItem) SetTags

SetTags sets the Tags field's value.

func (FindingsFilterListItem) String

func (s FindingsFilterListItem) String() string

String returns the string representation

type GetAdministratorAccountInput added in v1.37.10

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

func (GetAdministratorAccountInput) GoString added in v1.37.10

func (s GetAdministratorAccountInput) GoString() string

GoString returns the string representation

func (GetAdministratorAccountInput) String added in v1.37.10

String returns the string representation

type GetAdministratorAccountOutput added in v1.37.10

type GetAdministratorAccountOutput struct {

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

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

func (GetAdministratorAccountOutput) GoString added in v1.37.10

GoString returns the string representation

func (*GetAdministratorAccountOutput) SetAdministrator added in v1.37.10

SetAdministrator sets the Administrator field's value.

func (GetAdministratorAccountOutput) String added in v1.37.10

String returns the string representation

type GetBucketStatisticsInput

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

Specifies the account that owns the S3 buckets to retrieve aggregated statistical data for.

func (GetBucketStatisticsInput) GoString

func (s GetBucketStatisticsInput) GoString() string

GoString returns the string representation

func (*GetBucketStatisticsInput) SetAccountId

SetAccountId sets the AccountId field's value.

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 by default or don't encrypt new 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"`

	ClassifiableSizeInBytes *int64 `locationName:"classifiableSizeInBytes" type:"long"`

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

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

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

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

	// Provides information about the total storage size (in bytes) or number of
	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
	// object, this data is for a specific bucket. In a GetBucketStatisticsResponse
	// object, this data is aggregated for all the buckets in the query results.
	// If versioning is enabled for a bucket, total storage size values are based
	// on the size of the latest version of each applicable object in the bucket.
	UnclassifiableObjectCount *ObjectLevelStatistics `locationName:"unclassifiableObjectCount" type:"structure"`

	// Provides information about the total storage size (in bytes) or number of
	// objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata
	// object, this data is for a specific bucket. In a GetBucketStatisticsResponse
	// object, this data is aggregated for all the buckets in the query results.
	// If versioning is enabled for a bucket, total storage size values are based
	// on the size of the latest version of each applicable object in the bucket.
	UnclassifiableObjectSizeInBytes *ObjectLevelStatistics `locationName:"unclassifiableObjectSizeInBytes" type:"structure"`
	// contains filtered or unexported fields
}

Provides the results of a query that retrieved aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes for an account.

func (GetBucketStatisticsOutput) GoString

func (s GetBucketStatisticsOutput) GoString() string

GoString returns the string representation

func (*GetBucketStatisticsOutput) SetBucketCount

SetBucketCount sets the BucketCount field's value.

func (*GetBucketStatisticsOutput) SetBucketCountByEffectivePermission

func (s *GetBucketStatisticsOutput) SetBucketCountByEffectivePermission(v *BucketCountByEffectivePermission) *GetBucketStatisticsOutput

SetBucketCountByEffectivePermission sets the BucketCountByEffectivePermission field's value.

func (*GetBucketStatisticsOutput) SetBucketCountByEncryptionType

SetBucketCountByEncryptionType sets the BucketCountByEncryptionType field's value.

func (*GetBucketStatisticsOutput) SetBucketCountBySharedAccessType

SetBucketCountBySharedAccessType sets the BucketCountBySharedAccessType field's value.

func (*GetBucketStatisticsOutput) SetClassifiableObjectCount

func (s *GetBucketStatisticsOutput) SetClassifiableObjectCount(v int64) *GetBucketStatisticsOutput

SetClassifiableObjectCount sets the ClassifiableObjectCount field's value.

func (*GetBucketStatisticsOutput) SetClassifiableSizeInBytes added in v1.34.16

func (s *GetBucketStatisticsOutput) SetClassifiableSizeInBytes(v int64) *GetBucketStatisticsOutput

SetClassifiableSizeInBytes sets the ClassifiableSizeInBytes field's value.

func (*GetBucketStatisticsOutput) SetLastUpdated

SetLastUpdated sets the LastUpdated field's value.

func (*GetBucketStatisticsOutput) SetObjectCount

SetObjectCount sets the ObjectCount field's value.

func (*GetBucketStatisticsOutput) SetSizeInBytes

SetSizeInBytes sets the SizeInBytes field's value.

func (*GetBucketStatisticsOutput) SetSizeInBytesCompressed

func (s *GetBucketStatisticsOutput) SetSizeInBytesCompressed(v int64) *GetBucketStatisticsOutput

SetSizeInBytesCompressed sets the SizeInBytesCompressed field's value.

func (*GetBucketStatisticsOutput) SetUnclassifiableObjectCount added in v1.34.16

func (s *GetBucketStatisticsOutput) SetUnclassifiableObjectCount(v *ObjectLevelStatistics) *GetBucketStatisticsOutput

SetUnclassifiableObjectCount sets the UnclassifiableObjectCount field's value.

func (*GetBucketStatisticsOutput) SetUnclassifiableObjectSizeInBytes added in v1.34.16

func (s *GetBucketStatisticsOutput) SetUnclassifiableObjectSizeInBytes(v *ObjectLevelStatistics) *GetBucketStatisticsOutput

SetUnclassifiableObjectSizeInBytes sets the UnclassifiableObjectSizeInBytes field's value.

func (GetBucketStatisticsOutput) String

func (s GetBucketStatisticsOutput) String() string

String returns the string representation

type GetClassificationExportConfigurationInput

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

func (GetClassificationExportConfigurationInput) GoString

GoString returns the string representation

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) GoString

GoString returns the string representation

func (*GetClassificationExportConfigurationOutput) SetConfiguration

SetConfiguration sets the Configuration field's value.

func (GetClassificationExportConfigurationOutput) String

String returns the string representation

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) GoString

func (s GetCustomDataIdentifierInput) GoString() string

GoString returns the string representation

func (*GetCustomDataIdentifierInput) SetId

SetId sets the Id field's value.

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) GoString

GoString returns the string representation

func (*GetCustomDataIdentifierOutput) SetArn

SetArn sets the Arn field's value.

func (*GetCustomDataIdentifierOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*GetCustomDataIdentifierOutput) SetDeleted

SetDeleted sets the Deleted field's value.

func (*GetCustomDataIdentifierOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetCustomDataIdentifierOutput) SetId

SetId sets the Id field's value.

func (*GetCustomDataIdentifierOutput) SetIgnoreWords

SetIgnoreWords sets the IgnoreWords field's value.

func (*GetCustomDataIdentifierOutput) SetKeywords

SetKeywords sets the Keywords field's value.

func (*GetCustomDataIdentifierOutput) SetMaximumMatchDistance

func (s *GetCustomDataIdentifierOutput) SetMaximumMatchDistance(v int64) *GetCustomDataIdentifierOutput

SetMaximumMatchDistance sets the MaximumMatchDistance field's value.

func (*GetCustomDataIdentifierOutput) SetName

SetName sets the Name field's value.

func (*GetCustomDataIdentifierOutput) SetRegex

SetRegex sets the Regex field's value.

func (*GetCustomDataIdentifierOutput) SetTags

SetTags sets the Tags field's value.

func (GetCustomDataIdentifierOutput) String

String returns the string representation

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

	Size *int64 `locationName:"size" type:"integer"`

	// Specifies criteria for sorting the results of a query that retrieves aggregated
	// statistical data about findings.
	SortCriteria *FindingStatisticsSortCriteria `locationName:"sortCriteria" type:"structure"`
	// contains filtered or unexported fields
}

Specifies criteria for filtering, grouping, sorting, and paginating the results of a query that retrieves aggregated statistical data about findings.

func (GetFindingStatisticsInput) GoString

func (s GetFindingStatisticsInput) GoString() string

GoString returns the string representation

func (*GetFindingStatisticsInput) SetFindingCriteria

SetFindingCriteria sets the FindingCriteria field's value.

func (*GetFindingStatisticsInput) SetGroupBy

SetGroupBy sets the GroupBy field's value.

func (*GetFindingStatisticsInput) SetSize

SetSize sets the Size field's value.

func (*GetFindingStatisticsInput) SetSortCriteria

SetSortCriteria sets the SortCriteria field's value.

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) GoString

func (s GetFindingStatisticsOutput) GoString() string

GoString returns the string representation

func (*GetFindingStatisticsOutput) SetCountsByGroup

SetCountsByGroup sets the CountsByGroup field's value.

func (GetFindingStatisticsOutput) String

String returns the string representation

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) GoString

func (s GetFindingsFilterInput) GoString() string

GoString returns the string representation

func (*GetFindingsFilterInput) SetId

SetId sets the Id field's value.

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

	Arn *string `locationName:"arn" type:"string"`

	Description *string `locationName:"description" type:"string"`

	// Specifies, as a map, one or more property-based conditions that filter the
	// results of a query for findings.
	FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"`

	Id *string `locationName:"id" type:"string"`

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

	Position *int64 `locationName:"position" type:"integer"`

	// A string-to-string map of key-value pairs that specifies the tags (keys and
	// values) for a classification job, custom data identifier, findings filter,
	// or member account.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

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

func (GetFindingsFilterOutput) GoString

func (s GetFindingsFilterOutput) GoString() string

GoString returns the string representation

func (*GetFindingsFilterOutput) SetAction

SetAction sets the Action field's value.

func (*GetFindingsFilterOutput) SetArn

SetArn sets the Arn field's value.

func (*GetFindingsFilterOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetFindingsFilterOutput) SetFindingCriteria

SetFindingCriteria sets the FindingCriteria field's value.

func (*GetFindingsFilterOutput) SetId

SetId sets the Id field's value.

func (*GetFindingsFilterOutput) SetName

SetName sets the Name field's value.

func (*GetFindingsFilterOutput) SetPosition

SetPosition sets the Position field's value.

func (*GetFindingsFilterOutput) SetTags

SetTags sets the Tags field's value.

func (GetFindingsFilterOutput) String

func (s GetFindingsFilterOutput) String() string

String returns the string representation

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

Specifies one or more findings to retrieve.

func (GetFindingsInput) GoString

func (s GetFindingsInput) GoString() string

GoString returns the string representation

func (*GetFindingsInput) SetFindingIds

func (s *GetFindingsInput) SetFindingIds(v []*string) *GetFindingsInput

SetFindingIds sets the FindingIds field's value.

func (*GetFindingsInput) SetSortCriteria

func (s *GetFindingsInput) SetSortCriteria(v *SortCriteria) *GetFindingsInput

SetSortCriteria sets the SortCriteria field's value.

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 one or more findings.

func (GetFindingsOutput) GoString

func (s GetFindingsOutput) GoString() string

GoString returns the string representation

func (*GetFindingsOutput) SetFindings

func (s *GetFindingsOutput) SetFindings(v []*Finding) *GetFindingsOutput

SetFindings sets the Findings field's value.

func (GetFindingsOutput) String

func (s GetFindingsOutput) String() string

String returns the string representation

type GetFindingsPublicationConfigurationInput added in v1.38.2

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

func (GetFindingsPublicationConfigurationInput) GoString added in v1.38.2

GoString returns the string representation

func (GetFindingsPublicationConfigurationInput) String added in v1.38.2

String returns the string representation

type GetFindingsPublicationConfigurationOutput added in v1.38.2

type GetFindingsPublicationConfigurationOutput struct {

	// Specifies configuration settings that determine which findings are published
	// to AWS Security Hub automatically. For information about how Macie publishes
	// findings to Security Hub, see Amazon Macie integration with Security Hub
	// (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html)
	// in the Amazon Macie User Guide.
	SecurityHubConfiguration *SecurityHubConfiguration `locationName:"securityHubConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about the current configuration settings for publishing findings to AWS Security Hub automatically.

func (GetFindingsPublicationConfigurationOutput) GoString added in v1.38.2

GoString returns the string representation

func (*GetFindingsPublicationConfigurationOutput) SetSecurityHubConfiguration added in v1.38.2

SetSecurityHubConfiguration sets the SecurityHubConfiguration field's value.

func (GetFindingsPublicationConfigurationOutput) String added in v1.38.2

String returns the string representation

type GetInvitationsCountInput

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

func (GetInvitationsCountInput) GoString

func (s GetInvitationsCountInput) GoString() string

GoString returns the string representation

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) GoString

func (s GetInvitationsCountOutput) GoString() string

GoString returns the string representation

func (*GetInvitationsCountOutput) SetInvitationsCount

func (s *GetInvitationsCountOutput) SetInvitationsCount(v int64) *GetInvitationsCountOutput

SetInvitationsCount sets the InvitationsCount field's value.

func (GetInvitationsCountOutput) String

func (s GetInvitationsCountOutput) String() string

String returns the string representation

type GetMacieSessionInput

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

func (GetMacieSessionInput) GoString

func (s GetMacieSessionInput) GoString() string

GoString returns the string representation

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). For more information,
	// see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html)
	// in the Amazon Macie User Guide. Valid values are:
	FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"`

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

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

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

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

func (GetMacieSessionOutput) GoString

func (s GetMacieSessionOutput) GoString() string

GoString returns the string representation

func (*GetMacieSessionOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*GetMacieSessionOutput) SetFindingPublishingFrequency

func (s *GetMacieSessionOutput) SetFindingPublishingFrequency(v string) *GetMacieSessionOutput

SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.

func (*GetMacieSessionOutput) SetServiceRole

func (s *GetMacieSessionOutput) SetServiceRole(v string) *GetMacieSessionOutput

SetServiceRole sets the ServiceRole field's value.

func (*GetMacieSessionOutput) SetStatus

SetStatus sets the Status field's value.

func (*GetMacieSessionOutput) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (GetMacieSessionOutput) String

func (s GetMacieSessionOutput) String() string

String returns the string representation

type GetMasterAccountInput

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

func (GetMasterAccountInput) GoString

func (s GetMasterAccountInput) GoString() string

GoString returns the string representation

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
}

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

func (GetMasterAccountOutput) GoString

func (s GetMasterAccountOutput) GoString() string

GoString returns the string representation

func (*GetMasterAccountOutput) SetMaster

SetMaster sets the Master field's value.

func (GetMasterAccountOutput) String

func (s GetMasterAccountOutput) String() string

String returns the string representation

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) GoString

func (s GetMemberInput) GoString() string

GoString returns the string representation

func (*GetMemberInput) SetId

func (s *GetMemberInput) SetId(v string) *GetMemberInput

SetId sets the Id field's value.

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

	AdministratorAccountId *string `locationName:"administratorAccountId" type:"string"`

	Arn *string `locationName:"arn" type:"string"`

	Email *string `locationName:"email" type:"string"`

	InvitedAt *time.Time `locationName:"invitedAt" type:"timestamp" timestampFormat:"iso8601"`

	MasterAccountId *string `locationName:"masterAccountId" type:"string"`

	// The current status of the relationship between an account and an associated
	// Amazon Macie administrator account (inviter account). Possible values are:
	RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"`

	// A string-to-string map of key-value pairs that specifies the tags (keys and
	// values) for a classification job, custom data identifier, findings filter,
	// or member account.
	Tags map[string]*string `locationName:"tags" type:"map"`

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

Provides information about an account that's associated with an Amazon Macie administrator account.

func (GetMemberOutput) GoString

func (s GetMemberOutput) GoString() string

GoString returns the string representation

func (*GetMemberOutput) SetAccountId

func (s *GetMemberOutput) SetAccountId(v string) *GetMemberOutput

SetAccountId sets the AccountId field's value.

func (*GetMemberOutput) SetAdministratorAccountId added in v1.37.10

func (s *GetMemberOutput) SetAdministratorAccountId(v string) *GetMemberOutput

SetAdministratorAccountId sets the AdministratorAccountId field's value.

func (*GetMemberOutput) SetArn

func (s *GetMemberOutput) SetArn(v string) *GetMemberOutput

SetArn sets the Arn field's value.

func (*GetMemberOutput) SetEmail

func (s *GetMemberOutput) SetEmail(v string) *GetMemberOutput

SetEmail sets the Email field's value.

func (*GetMemberOutput) SetInvitedAt

func (s *GetMemberOutput) SetInvitedAt(v time.Time) *GetMemberOutput

SetInvitedAt sets the InvitedAt field's value.

func (*GetMemberOutput) SetMasterAccountId

func (s *GetMemberOutput) SetMasterAccountId(v string) *GetMemberOutput

SetMasterAccountId sets the MasterAccountId field's value.

func (*GetMemberOutput) SetRelationshipStatus

func (s *GetMemberOutput) SetRelationshipStatus(v string) *GetMemberOutput

SetRelationshipStatus sets the RelationshipStatus field's value.

func (*GetMemberOutput) SetTags

func (s *GetMemberOutput) SetTags(v map[string]*string) *GetMemberOutput

SetTags sets the Tags field's value.

func (*GetMemberOutput) SetUpdatedAt

func (s *GetMemberOutput) SetUpdatedAt(v time.Time) *GetMemberOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (GetMemberOutput) String

func (s GetMemberOutput) String() string

String returns the string representation

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

	// An inclusive time period that Amazon Macie usage data applies to. Possible
	// values are:
	TimeRange *string `locationName:"timeRange" type:"string" enum:"TimeRange"`
	// contains filtered or unexported fields
}

Specifies criteria for filtering, sorting, and paginating the results of a query for quotas and aggregated usage data for one or more Amazon Macie accounts.

func (GetUsageStatisticsInput) GoString

func (s GetUsageStatisticsInput) GoString() string

GoString returns the string representation

func (*GetUsageStatisticsInput) SetFilterBy

SetFilterBy sets the FilterBy field's value.

func (*GetUsageStatisticsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetUsageStatisticsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetUsageStatisticsInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (*GetUsageStatisticsInput) SetTimeRange added in v1.37.7

SetTimeRange sets the TimeRange field's value.

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

	// An inclusive time period that Amazon Macie usage data applies to. Possible
	// values are:
	TimeRange *string `locationName:"timeRange" type:"string" enum:"TimeRange"`
	// contains filtered or unexported fields
}

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

func (GetUsageStatisticsOutput) GoString

func (s GetUsageStatisticsOutput) GoString() string

GoString returns the string representation

func (*GetUsageStatisticsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetUsageStatisticsOutput) SetRecords

SetRecords sets the Records field's value.

func (*GetUsageStatisticsOutput) SetTimeRange added in v1.37.7

SetTimeRange sets the TimeRange field's value.

func (GetUsageStatisticsOutput) String

func (s GetUsageStatisticsOutput) String() string

String returns the string representation

type GetUsageTotalsInput

type GetUsageTotalsInput struct {
	TimeRange *string `location:"querystring" locationName:"timeRange" type:"string"`
	// contains filtered or unexported fields
}

func (GetUsageTotalsInput) GoString

func (s GetUsageTotalsInput) GoString() string

GoString returns the string representation

func (*GetUsageTotalsInput) SetTimeRange added in v1.37.7

func (s *GetUsageTotalsInput) SetTimeRange(v string) *GetUsageTotalsInput

SetTimeRange sets the TimeRange field's value.

func (GetUsageTotalsInput) String

func (s GetUsageTotalsInput) String() string

String returns the string representation

type GetUsageTotalsOutput

type GetUsageTotalsOutput struct {

	// An inclusive time period that Amazon Macie usage data applies to. Possible
	// values are:
	TimeRange *string `locationName:"timeRange" type:"string" enum:"TimeRange"`

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

Provides the results of a query that retrieved aggregated usage data for an Amazon Macie account.

func (GetUsageTotalsOutput) GoString

func (s GetUsageTotalsOutput) GoString() string

GoString returns the string representation

func (*GetUsageTotalsOutput) SetTimeRange added in v1.37.7

func (s *GetUsageTotalsOutput) SetTimeRange(v string) *GetUsageTotalsOutput

SetTimeRange sets the TimeRange field's value.

func (*GetUsageTotalsOutput) SetUsageTotals

func (s *GetUsageTotalsOutput) SetUsageTotals(v []*UsageTotal) *GetUsageTotalsOutput

SetUsageTotals sets the UsageTotals field's value.

func (GetUsageTotalsOutput) String

func (s GetUsageTotalsOutput) String() string

String returns the string representation

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) GoString

func (s GroupCount) GoString() string

GoString returns the string representation

func (*GroupCount) SetCount

func (s *GroupCount) SetCount(v int64) *GroupCount

SetCount sets the Count field's value.

func (*GroupCount) SetGroupKey

func (s *GroupCount) SetGroupKey(v string) *GroupCount

SetGroupKey sets the GroupKey field's value.

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) GoString

func (s IamUser) GoString() string

GoString returns the string representation

func (*IamUser) SetAccountId

func (s *IamUser) SetAccountId(v string) *IamUser

SetAccountId sets the AccountId field's value.

func (*IamUser) SetArn

func (s *IamUser) SetArn(v string) *IamUser

SetArn sets the Arn field's value.

func (*IamUser) SetPrincipalId

func (s *IamUser) SetPrincipalId(v string) *IamUser

SetPrincipalId sets the PrincipalId field's value.

func (*IamUser) SetUserName

func (s *IamUser) SetUserName(v string) *IamUser

SetUserName sets the UserName field's value.

func (IamUser) String

func (s IamUser) String() string

String returns the string representation

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

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

Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

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

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

func (Invitation) GoString

func (s Invitation) GoString() string

GoString returns the string representation

func (*Invitation) SetAccountId

func (s *Invitation) SetAccountId(v string) *Invitation

SetAccountId sets the AccountId field's value.

func (*Invitation) SetInvitationId

func (s *Invitation) SetInvitationId(v string) *Invitation

SetInvitationId sets the InvitationId field's value.

func (*Invitation) SetInvitedAt

func (s *Invitation) SetInvitedAt(v time.Time) *Invitation

SetInvitedAt sets the InvitedAt field's value.

func (*Invitation) SetRelationshipStatus

func (s *Invitation) SetRelationshipStatus(v string) *Invitation

SetRelationshipStatus sets the RelationshipStatus field's value.

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) GoString

func (s IpAddressDetails) GoString() string

GoString returns the string representation

func (*IpAddressDetails) SetIpAddressV4

func (s *IpAddressDetails) SetIpAddressV4(v string) *IpAddressDetails

SetIpAddressV4 sets the IpAddressV4 field's value.

func (*IpAddressDetails) SetIpCity

func (s *IpAddressDetails) SetIpCity(v *IpCity) *IpAddressDetails

SetIpCity sets the IpCity field's value.

func (*IpAddressDetails) SetIpCountry

func (s *IpAddressDetails) SetIpCountry(v *IpCountry) *IpAddressDetails

SetIpCountry sets the IpCountry field's value.

func (*IpAddressDetails) SetIpGeoLocation

func (s *IpAddressDetails) SetIpGeoLocation(v *IpGeoLocation) *IpAddressDetails

SetIpGeoLocation sets the IpGeoLocation field's value.

func (*IpAddressDetails) SetIpOwner

func (s *IpAddressDetails) SetIpOwner(v *IpOwner) *IpAddressDetails

SetIpOwner sets the IpOwner field's value.

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) GoString

func (s IpCity) GoString() string

GoString returns the string representation

func (*IpCity) SetName

func (s *IpCity) SetName(v string) *IpCity

SetName sets the Name field's value.

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) GoString

func (s IpCountry) GoString() string

GoString returns the string representation

func (*IpCountry) SetCode

func (s *IpCountry) SetCode(v string) *IpCountry

SetCode sets the Code field's value.

func (*IpCountry) SetName

func (s *IpCountry) SetName(v string) *IpCountry

SetName sets the Name field's value.

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) GoString

func (s IpGeoLocation) GoString() string

GoString returns the string representation

func (*IpGeoLocation) SetLat

func (s *IpGeoLocation) SetLat(v float64) *IpGeoLocation

SetLat sets the Lat field's value.

func (*IpGeoLocation) SetLon

func (s *IpGeoLocation) SetLon(v float64) *IpGeoLocation

SetLon sets the Lon field's value.

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) GoString

func (s IpOwner) GoString() string

GoString returns the string representation

func (*IpOwner) SetAsn

func (s *IpOwner) SetAsn(v string) *IpOwner

SetAsn sets the Asn field's value.

func (*IpOwner) SetAsnOrg

func (s *IpOwner) SetAsnOrg(v string) *IpOwner

SetAsnOrg sets the AsnOrg field's value.

func (*IpOwner) SetIsp

func (s *IpOwner) SetIsp(v string) *IpOwner

SetIsp sets the Isp field's value.

func (*IpOwner) SetOrg

func (s *IpOwner) SetOrg(v string) *IpOwner

SetOrg sets the Org field's value.

func (IpOwner) String

func (s IpOwner) String() string

String returns the string representation

type JobDetails added in v1.35.33

type JobDetails struct {
	IsDefinedInJob *string `locationName:"isDefinedInJob" type:"string" enum:"IsDefinedInJob"`

	IsMonitoredByJob *string `locationName:"isMonitoredByJob" type:"string" enum:"IsMonitoredByJob"`

	LastJobId *string `locationName:"lastJobId" type:"string"`

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

Specifies whether any one-time or recurring classification jobs are configured to analyze data in an S3 bucket, and, if so, the details of the job that ran most recently.

func (JobDetails) GoString added in v1.35.33

func (s JobDetails) GoString() string

GoString returns the string representation

func (*JobDetails) SetIsDefinedInJob added in v1.35.33

func (s *JobDetails) SetIsDefinedInJob(v string) *JobDetails

SetIsDefinedInJob sets the IsDefinedInJob field's value.

func (*JobDetails) SetIsMonitoredByJob added in v1.35.33

func (s *JobDetails) SetIsMonitoredByJob(v string) *JobDetails

SetIsMonitoredByJob sets the IsMonitoredByJob field's value.

func (*JobDetails) SetLastJobId added in v1.35.33

func (s *JobDetails) SetLastJobId(v string) *JobDetails

SetLastJobId sets the LastJobId field's value.

func (*JobDetails) SetLastJobRunTime added in v1.35.33

func (s *JobDetails) SetLastJobRunTime(v time.Time) *JobDetails

SetLastJobRunTime sets the LastJobRunTime field's value.

func (JobDetails) String added in v1.35.33

func (s JobDetails) String() string

String returns the string representation

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) GoString

func (s JobScheduleFrequency) GoString() string

GoString returns the string representation

func (*JobScheduleFrequency) SetDailySchedule

func (s *JobScheduleFrequency) SetDailySchedule(v *DailySchedule) *JobScheduleFrequency

SetDailySchedule sets the DailySchedule field's value.

func (*JobScheduleFrequency) SetMonthlySchedule

func (s *JobScheduleFrequency) SetMonthlySchedule(v *MonthlySchedule) *JobScheduleFrequency

SetMonthlySchedule sets the MonthlySchedule field's value.

func (*JobScheduleFrequency) SetWeeklySchedule

func (s *JobScheduleFrequency) SetWeeklySchedule(v *WeeklySchedule) *JobScheduleFrequency

SetWeeklySchedule sets the WeeklySchedule field's value.

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) GoString

func (s JobScopeTerm) GoString() string

GoString returns the string representation

func (*JobScopeTerm) SetSimpleScopeTerm

func (s *JobScopeTerm) SetSimpleScopeTerm(v *SimpleScopeTerm) *JobScopeTerm

SetSimpleScopeTerm sets the SimpleScopeTerm field's value.

func (*JobScopeTerm) SetTagScopeTerm

func (s *JobScopeTerm) SetTagScopeTerm(v *TagScopeTerm) *JobScopeTerm

SetTagScopeTerm sets the TagScopeTerm field's value.

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. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.

func (JobScopingBlock) GoString

func (s JobScopingBlock) GoString() string

GoString returns the string representation

func (*JobScopingBlock) SetAnd

func (s *JobScopingBlock) SetAnd(v []*JobScopeTerm) *JobScopingBlock

SetAnd sets the And field's value.

func (JobScopingBlock) String

func (s JobScopingBlock) String() string

String returns the string representation

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

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

	// Specifies whether any account- or bucket-level access errors occurred when
	// a classification job ran. For example, the job is configured to analyze data
	// for a member account that was suspended, or the job is configured to analyze
	// an S3 bucket that Amazon Macie isn't allowed to access.
	LastRunErrorStatus *LastRunErrorStatus `locationName:"lastRunErrorStatus" type:"structure"`

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

	// Provides information about when a classification job was paused. For a one-time
	// job, this object also specifies when the job will expire and be cancelled
	// if it isn't resumed. For a recurring job, this object also specifies when
	// the paused job run will expire and be cancelled if it isn't resumed. This
	// object is present only if a job's current status (jobStatus) is USER_PAUSED.
	// The information in this object applies only to a job that was paused while
	// it had a status of RUNNING.
	UserPausedDetails *UserPausedDetails `locationName:"userPausedDetails" type:"structure"`
	// contains filtered or unexported fields
}

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

func (JobSummary) GoString

func (s JobSummary) GoString() string

GoString returns the string representation

func (*JobSummary) SetBucketDefinitions

func (s *JobSummary) SetBucketDefinitions(v []*S3BucketDefinitionForJob) *JobSummary

SetBucketDefinitions sets the BucketDefinitions field's value.

func (*JobSummary) SetCreatedAt

func (s *JobSummary) SetCreatedAt(v time.Time) *JobSummary

SetCreatedAt sets the CreatedAt field's value.

func (*JobSummary) SetJobId

func (s *JobSummary) SetJobId(v string) *JobSummary

SetJobId sets the JobId field's value.

func (*JobSummary) SetJobStatus

func (s *JobSummary) SetJobStatus(v string) *JobSummary

SetJobStatus sets the JobStatus field's value.

func (*JobSummary) SetJobType

func (s *JobSummary) SetJobType(v string) *JobSummary

SetJobType sets the JobType field's value.

func (*JobSummary) SetLastRunErrorStatus added in v1.35.30

func (s *JobSummary) SetLastRunErrorStatus(v *LastRunErrorStatus) *JobSummary

SetLastRunErrorStatus sets the LastRunErrorStatus field's value.

func (*JobSummary) SetName

func (s *JobSummary) SetName(v string) *JobSummary

SetName sets the Name field's value.

func (*JobSummary) SetUserPausedDetails added in v1.35.8

func (s *JobSummary) SetUserPausedDetails(v *UserPausedDetails) *JobSummary

SetUserPausedDetails sets the UserPausedDetails field's value.

func (JobSummary) String

func (s JobSummary) String() string

String returns the string representation

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) GoString

func (s KeyValuePair) GoString() string

GoString returns the string representation

func (*KeyValuePair) SetKey

func (s *KeyValuePair) SetKey(v string) *KeyValuePair

SetKey sets the Key field's value.

func (*KeyValuePair) SetValue

func (s *KeyValuePair) SetValue(v string) *KeyValuePair

SetValue sets the Value field's value.

func (KeyValuePair) String

func (s KeyValuePair) String() string

String returns the string representation

type LastRunErrorStatus added in v1.35.30

type LastRunErrorStatus struct {

	// Specifies whether any account- or bucket-level access errors occurred during
	// the run of a one-time classification job or the most recent run of a recurring
	// classification job. Possible values are:
	Code *string `locationName:"code" type:"string" enum:"LastRunErrorStatusCode"`
	// contains filtered or unexported fields
}

Specifies whether any account- or bucket-level access errors occurred when a classification job ran. For example, the job is configured to analyze data for a member account that was suspended, or the job is configured to analyze an S3 bucket that Amazon Macie isn't allowed to access.

func (LastRunErrorStatus) GoString added in v1.35.30

func (s LastRunErrorStatus) GoString() string

GoString returns the string representation

func (*LastRunErrorStatus) SetCode added in v1.35.30

SetCode sets the Code field's value.

func (LastRunErrorStatus) String added in v1.35.30

func (s LastRunErrorStatus) 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) GoString

func (s ListClassificationJobsInput) GoString() string

GoString returns the string representation

func (*ListClassificationJobsInput) SetFilterCriteria

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListClassificationJobsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListClassificationJobsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListClassificationJobsInput) SetSortCriteria

SetSortCriteria sets the SortCriteria field's value.

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) GoString

func (s ListClassificationJobsOutput) GoString() string

GoString returns the string representation

func (*ListClassificationJobsOutput) SetItems

SetItems sets the Items field's value.

func (*ListClassificationJobsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListClassificationJobsOutput) String

String returns the string representation

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) GoString

GoString returns the string representation

func (*ListCustomDataIdentifiersInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListCustomDataIdentifiersInput) SetNextToken

SetNextToken sets the NextToken field's value.

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) GoString

GoString returns the string representation

func (*ListCustomDataIdentifiersOutput) SetItems

SetItems sets the Items field's value.

func (*ListCustomDataIdentifiersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListCustomDataIdentifiersOutput) String

String returns the string representation

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) GoString

func (s ListFindingsFiltersInput) GoString() string

GoString returns the string representation

func (*ListFindingsFiltersInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListFindingsFiltersInput) SetNextToken

SetNextToken sets the NextToken field's value.

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) GoString

func (s ListFindingsFiltersOutput) GoString() string

GoString returns the string representation

func (*ListFindingsFiltersOutput) SetFindingsFilterListItems

func (s *ListFindingsFiltersOutput) SetFindingsFilterListItems(v []*FindingsFilterListItem) *ListFindingsFiltersOutput

SetFindingsFilterListItems sets the FindingsFilterListItems field's value.

func (*ListFindingsFiltersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListFindingsFiltersOutput) String

func (s ListFindingsFiltersOutput) String() string

String returns the string representation

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 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) GoString

func (s ListFindingsInput) GoString() string

GoString returns the string representation

func (*ListFindingsInput) SetFindingCriteria

func (s *ListFindingsInput) SetFindingCriteria(v *FindingCriteria) *ListFindingsInput

SetFindingCriteria sets the FindingCriteria field's value.

func (*ListFindingsInput) SetMaxResults

func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFindingsInput) SetNextToken

func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput

SetNextToken sets the NextToken field's value.

func (*ListFindingsInput) SetSortCriteria

func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput

SetSortCriteria sets the SortCriteria field's value.

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) GoString

func (s ListFindingsOutput) GoString() string

GoString returns the string representation

func (*ListFindingsOutput) SetFindingIds

func (s *ListFindingsOutput) SetFindingIds(v []*string) *ListFindingsOutput

SetFindingIds sets the FindingIds field's value.

func (*ListFindingsOutput) SetNextToken

func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput

SetNextToken sets the NextToken field's value.

func (ListFindingsOutput) String

func (s ListFindingsOutput) String() string

String returns the string representation

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) GoString

func (s ListInvitationsInput) GoString() string

GoString returns the string representation

func (*ListInvitationsInput) SetMaxResults

func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListInvitationsInput) SetNextToken

func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput

SetNextToken sets the NextToken field's value.

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 the Amazon Macie membership invitations that were received by an account.

func (ListInvitationsOutput) GoString

func (s ListInvitationsOutput) GoString() string

GoString returns the string representation

func (*ListInvitationsOutput) SetInvitations

func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput

SetInvitations sets the Invitations field's value.

func (*ListInvitationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListInvitationsOutput) String

func (s ListInvitationsOutput) String() string

String returns the string representation

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) GoString

func (s ListJobsFilterCriteria) GoString() string

GoString returns the string representation

func (*ListJobsFilterCriteria) SetExcludes

SetExcludes sets the Excludes field's value.

func (*ListJobsFilterCriteria) SetIncludes

SetIncludes sets the Includes field's value.

func (ListJobsFilterCriteria) String

func (s ListJobsFilterCriteria) String() string

String returns the string representation

type ListJobsFilterTerm

type ListJobsFilterTerm struct {

	// The operator to use in a condition. Valid values are:
	Comparator *string `locationName:"comparator" type:"string" enum:"JobComparator"`

	// The property to use to filter the results. Valid values are:
	Key *string `locationName:"key" type:"string" enum:"ListJobsFilterKey"`

	Values []*string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Specifies a condition that filters the results of a request for information about classification jobs. Each condition consists of a property, an operator, and one or more values.

func (ListJobsFilterTerm) GoString

func (s ListJobsFilterTerm) GoString() string

GoString returns the string representation

func (*ListJobsFilterTerm) SetComparator

func (s *ListJobsFilterTerm) SetComparator(v string) *ListJobsFilterTerm

SetComparator sets the Comparator field's value.

func (*ListJobsFilterTerm) SetKey

SetKey sets the Key field's value.

func (*ListJobsFilterTerm) SetValues

func (s *ListJobsFilterTerm) SetValues(v []*string) *ListJobsFilterTerm

SetValues sets the Values field's value.

func (ListJobsFilterTerm) String

func (s ListJobsFilterTerm) String() string

String returns the string representation

type ListJobsSortCriteria

type ListJobsSortCriteria struct {

	// The property to sort the results by. Valid values are:
	AttributeName *string `locationName:"attributeName" type:"string" enum:"ListJobsSortAttributeName"`

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

Specifies criteria for sorting the results of a request for information about classification jobs.

func (ListJobsSortCriteria) GoString

func (s ListJobsSortCriteria) GoString() string

GoString returns the string representation

func (*ListJobsSortCriteria) SetAttributeName

func (s *ListJobsSortCriteria) SetAttributeName(v string) *ListJobsSortCriteria

SetAttributeName sets the AttributeName field's value.

func (*ListJobsSortCriteria) SetOrderBy

SetOrderBy sets the OrderBy field's value.

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) GoString

func (s ListMembersInput) GoString() string

GoString returns the string representation

func (*ListMembersInput) SetMaxResults

func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput

SetMaxResults sets the MaxResults field's value.

func (*ListMembersInput) SetNextToken

func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput

SetNextToken sets the NextToken field's value.

func (*ListMembersInput) SetOnlyAssociated

func (s *ListMembersInput) SetOnlyAssociated(v string) *ListMembersInput

SetOnlyAssociated sets the OnlyAssociated field's value.

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

func (ListMembersOutput) GoString

func (s ListMembersOutput) GoString() string

GoString returns the string representation

func (*ListMembersOutput) SetMembers

func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput

SetMembers sets the Members field's value.

func (*ListMembersOutput) SetNextToken

func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput

SetNextToken sets the NextToken field's value.

func (ListMembersOutput) String

func (s ListMembersOutput) String() string

String returns the string representation

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) GoString

GoString returns the string representation

func (*ListOrganizationAdminAccountsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListOrganizationAdminAccountsInput) SetNextToken

SetNextToken sets the NextToken field's value.

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 delegated Amazon Macie administrator accounts for an AWS organization.

func (ListOrganizationAdminAccountsOutput) GoString

GoString returns the string representation

func (*ListOrganizationAdminAccountsOutput) SetAdminAccounts

SetAdminAccounts sets the AdminAccounts field's value.

func (*ListOrganizationAdminAccountsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListOrganizationAdminAccountsOutput) String

String returns the string representation

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) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

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) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type Macie2

type Macie2 struct {
	*client.Client
}

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

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Macie2

New creates a new instance of the Macie2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a Macie2 client from just a session.
svc := macie2.New(mySession)

// Create a Macie2 client with additional configuration
svc := macie2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Macie2) AcceptInvitation

func (c *Macie2) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error)

AcceptInvitation API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation AcceptInvitation for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) AcceptInvitationRequest

func (c *Macie2) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput)

AcceptInvitationRequest generates a "aws/request.Request" representing the client's request for the AcceptInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AcceptInvitation for more information on using the AcceptInvitation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AcceptInvitationRequest method.
req, resp := client.AcceptInvitationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) AcceptInvitationWithContext

func (c *Macie2) AcceptInvitationWithContext(ctx aws.Context, input *AcceptInvitationInput, opts ...request.Option) (*AcceptInvitationOutput, error)

AcceptInvitationWithContext is the same as AcceptInvitation with the addition of the ability to pass a context and additional request options.

See AcceptInvitation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) BatchGetCustomDataIdentifiers

func (c *Macie2) BatchGetCustomDataIdentifiers(input *BatchGetCustomDataIdentifiersInput) (*BatchGetCustomDataIdentifiersOutput, error)

BatchGetCustomDataIdentifiers API operation for Amazon Macie 2.

Retrieves information about one or more custom data identifiers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation BatchGetCustomDataIdentifiers for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) BatchGetCustomDataIdentifiersRequest

func (c *Macie2) BatchGetCustomDataIdentifiersRequest(input *BatchGetCustomDataIdentifiersInput) (req *request.Request, output *BatchGetCustomDataIdentifiersOutput)

BatchGetCustomDataIdentifiersRequest generates a "aws/request.Request" representing the client's request for the BatchGetCustomDataIdentifiers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetCustomDataIdentifiers for more information on using the BatchGetCustomDataIdentifiers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetCustomDataIdentifiersRequest method.
req, resp := client.BatchGetCustomDataIdentifiersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) BatchGetCustomDataIdentifiersWithContext

func (c *Macie2) BatchGetCustomDataIdentifiersWithContext(ctx aws.Context, input *BatchGetCustomDataIdentifiersInput, opts ...request.Option) (*BatchGetCustomDataIdentifiersOutput, error)

BatchGetCustomDataIdentifiersWithContext is the same as BatchGetCustomDataIdentifiers with the addition of the ability to pass a context and additional request options.

See BatchGetCustomDataIdentifiers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) CreateClassificationJob

func (c *Macie2) CreateClassificationJob(input *CreateClassificationJobInput) (*CreateClassificationJobOutput, error)

CreateClassificationJob API operation for Amazon Macie 2.

Creates and defines the settings for a classification job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation CreateClassificationJob for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) CreateClassificationJobRequest

func (c *Macie2) CreateClassificationJobRequest(input *CreateClassificationJobInput) (req *request.Request, output *CreateClassificationJobOutput)

CreateClassificationJobRequest generates a "aws/request.Request" representing the client's request for the CreateClassificationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateClassificationJob for more information on using the CreateClassificationJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateClassificationJobRequest method.
req, resp := client.CreateClassificationJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) CreateClassificationJobWithContext

func (c *Macie2) CreateClassificationJobWithContext(ctx aws.Context, input *CreateClassificationJobInput, opts ...request.Option) (*CreateClassificationJobOutput, error)

CreateClassificationJobWithContext is the same as CreateClassificationJob with the addition of the ability to pass a context and additional request options.

See CreateClassificationJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) CreateCustomDataIdentifier

func (c *Macie2) CreateCustomDataIdentifier(input *CreateCustomDataIdentifierInput) (*CreateCustomDataIdentifierOutput, error)

CreateCustomDataIdentifier API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation CreateCustomDataIdentifier for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) CreateCustomDataIdentifierRequest

func (c *Macie2) CreateCustomDataIdentifierRequest(input *CreateCustomDataIdentifierInput) (req *request.Request, output *CreateCustomDataIdentifierOutput)

CreateCustomDataIdentifierRequest generates a "aws/request.Request" representing the client's request for the CreateCustomDataIdentifier operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateCustomDataIdentifier for more information on using the CreateCustomDataIdentifier API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateCustomDataIdentifierRequest method.
req, resp := client.CreateCustomDataIdentifierRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) CreateCustomDataIdentifierWithContext

func (c *Macie2) CreateCustomDataIdentifierWithContext(ctx aws.Context, input *CreateCustomDataIdentifierInput, opts ...request.Option) (*CreateCustomDataIdentifierOutput, error)

CreateCustomDataIdentifierWithContext is the same as CreateCustomDataIdentifier with the addition of the ability to pass a context and additional request options.

See CreateCustomDataIdentifier for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) CreateFindingsFilter

func (c *Macie2) CreateFindingsFilter(input *CreateFindingsFilterInput) (*CreateFindingsFilterOutput, error)

CreateFindingsFilter API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation CreateFindingsFilter for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) CreateFindingsFilterRequest

func (c *Macie2) CreateFindingsFilterRequest(input *CreateFindingsFilterInput) (req *request.Request, output *CreateFindingsFilterOutput)

CreateFindingsFilterRequest generates a "aws/request.Request" representing the client's request for the CreateFindingsFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFindingsFilter for more information on using the CreateFindingsFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFindingsFilterRequest method.
req, resp := client.CreateFindingsFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) CreateFindingsFilterWithContext

func (c *Macie2) CreateFindingsFilterWithContext(ctx aws.Context, input *CreateFindingsFilterInput, opts ...request.Option) (*CreateFindingsFilterOutput, error)

CreateFindingsFilterWithContext is the same as CreateFindingsFilter with the addition of the ability to pass a context and additional request options.

See CreateFindingsFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) CreateInvitations

func (c *Macie2) CreateInvitations(input *CreateInvitationsInput) (*CreateInvitationsOutput, error)

CreateInvitations API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation CreateInvitations for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) CreateInvitationsRequest

func (c *Macie2) CreateInvitationsRequest(input *CreateInvitationsInput) (req *request.Request, output *CreateInvitationsOutput)

CreateInvitationsRequest generates a "aws/request.Request" representing the client's request for the CreateInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateInvitations for more information on using the CreateInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateInvitationsRequest method.
req, resp := client.CreateInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) CreateInvitationsWithContext

func (c *Macie2) CreateInvitationsWithContext(ctx aws.Context, input *CreateInvitationsInput, opts ...request.Option) (*CreateInvitationsOutput, error)

CreateInvitationsWithContext is the same as CreateInvitations with the addition of the ability to pass a context and additional request options.

See CreateInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) CreateMember

func (c *Macie2) CreateMember(input *CreateMemberInput) (*CreateMemberOutput, error)

CreateMember API operation for Amazon Macie 2.

Associates an account with an Amazon Macie administrator account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation CreateMember for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) CreateMemberRequest

func (c *Macie2) CreateMemberRequest(input *CreateMemberInput) (req *request.Request, output *CreateMemberOutput)

CreateMemberRequest generates a "aws/request.Request" representing the client's request for the CreateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateMember for more information on using the CreateMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateMemberRequest method.
req, resp := client.CreateMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) CreateMemberWithContext

func (c *Macie2) CreateMemberWithContext(ctx aws.Context, input *CreateMemberInput, opts ...request.Option) (*CreateMemberOutput, error)

CreateMemberWithContext is the same as CreateMember with the addition of the ability to pass a context and additional request options.

See CreateMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) CreateSampleFindings

func (c *Macie2) CreateSampleFindings(input *CreateSampleFindingsInput) (*CreateSampleFindingsOutput, error)

CreateSampleFindings API operation for Amazon Macie 2.

Creates sample findings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation CreateSampleFindings for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) CreateSampleFindingsRequest

func (c *Macie2) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) (req *request.Request, output *CreateSampleFindingsOutput)

CreateSampleFindingsRequest generates a "aws/request.Request" representing the client's request for the CreateSampleFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSampleFindings for more information on using the CreateSampleFindings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSampleFindingsRequest method.
req, resp := client.CreateSampleFindingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) CreateSampleFindingsWithContext

func (c *Macie2) CreateSampleFindingsWithContext(ctx aws.Context, input *CreateSampleFindingsInput, opts ...request.Option) (*CreateSampleFindingsOutput, error)

CreateSampleFindingsWithContext is the same as CreateSampleFindings with the addition of the ability to pass a context and additional request options.

See CreateSampleFindings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DeclineInvitations

func (c *Macie2) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error)

DeclineInvitations API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DeclineInvitations for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DeclineInvitationsRequest

func (c *Macie2) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput)

DeclineInvitationsRequest generates a "aws/request.Request" representing the client's request for the DeclineInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeclineInvitations for more information on using the DeclineInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeclineInvitationsRequest method.
req, resp := client.DeclineInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DeclineInvitationsWithContext

func (c *Macie2) DeclineInvitationsWithContext(ctx aws.Context, input *DeclineInvitationsInput, opts ...request.Option) (*DeclineInvitationsOutput, error)

DeclineInvitationsWithContext is the same as DeclineInvitations with the addition of the ability to pass a context and additional request options.

See DeclineInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DeleteCustomDataIdentifier

func (c *Macie2) DeleteCustomDataIdentifier(input *DeleteCustomDataIdentifierInput) (*DeleteCustomDataIdentifierOutput, error)

DeleteCustomDataIdentifier API operation for Amazon Macie 2.

Soft deletes a custom data identifier.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DeleteCustomDataIdentifier for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DeleteCustomDataIdentifierRequest

func (c *Macie2) DeleteCustomDataIdentifierRequest(input *DeleteCustomDataIdentifierInput) (req *request.Request, output *DeleteCustomDataIdentifierOutput)

DeleteCustomDataIdentifierRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomDataIdentifier operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteCustomDataIdentifier for more information on using the DeleteCustomDataIdentifier API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteCustomDataIdentifierRequest method.
req, resp := client.DeleteCustomDataIdentifierRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DeleteCustomDataIdentifierWithContext

func (c *Macie2) DeleteCustomDataIdentifierWithContext(ctx aws.Context, input *DeleteCustomDataIdentifierInput, opts ...request.Option) (*DeleteCustomDataIdentifierOutput, error)

DeleteCustomDataIdentifierWithContext is the same as DeleteCustomDataIdentifier with the addition of the ability to pass a context and additional request options.

See DeleteCustomDataIdentifier for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DeleteFindingsFilter

func (c *Macie2) DeleteFindingsFilter(input *DeleteFindingsFilterInput) (*DeleteFindingsFilterOutput, error)

DeleteFindingsFilter API operation for Amazon Macie 2.

Deletes a findings filter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DeleteFindingsFilter for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DeleteFindingsFilterRequest

func (c *Macie2) DeleteFindingsFilterRequest(input *DeleteFindingsFilterInput) (req *request.Request, output *DeleteFindingsFilterOutput)

DeleteFindingsFilterRequest generates a "aws/request.Request" representing the client's request for the DeleteFindingsFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFindingsFilter for more information on using the DeleteFindingsFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFindingsFilterRequest method.
req, resp := client.DeleteFindingsFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DeleteFindingsFilterWithContext

func (c *Macie2) DeleteFindingsFilterWithContext(ctx aws.Context, input *DeleteFindingsFilterInput, opts ...request.Option) (*DeleteFindingsFilterOutput, error)

DeleteFindingsFilterWithContext is the same as DeleteFindingsFilter with the addition of the ability to pass a context and additional request options.

See DeleteFindingsFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DeleteInvitations

func (c *Macie2) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error)

DeleteInvitations API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DeleteInvitations for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DeleteInvitationsRequest

func (c *Macie2) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput)

DeleteInvitationsRequest generates a "aws/request.Request" representing the client's request for the DeleteInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteInvitations for more information on using the DeleteInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteInvitationsRequest method.
req, resp := client.DeleteInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DeleteInvitationsWithContext

func (c *Macie2) DeleteInvitationsWithContext(ctx aws.Context, input *DeleteInvitationsInput, opts ...request.Option) (*DeleteInvitationsOutput, error)

DeleteInvitationsWithContext is the same as DeleteInvitations with the addition of the ability to pass a context and additional request options.

See DeleteInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DeleteMember

func (c *Macie2) DeleteMember(input *DeleteMemberInput) (*DeleteMemberOutput, error)

DeleteMember API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DeleteMember for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DeleteMemberRequest

func (c *Macie2) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Request, output *DeleteMemberOutput)

DeleteMemberRequest generates a "aws/request.Request" representing the client's request for the DeleteMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMember for more information on using the DeleteMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMemberRequest method.
req, resp := client.DeleteMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DeleteMemberWithContext

func (c *Macie2) DeleteMemberWithContext(ctx aws.Context, input *DeleteMemberInput, opts ...request.Option) (*DeleteMemberOutput, error)

DeleteMemberWithContext is the same as DeleteMember with the addition of the ability to pass a context and additional request options.

See DeleteMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DescribeBuckets

func (c *Macie2) DescribeBuckets(input *DescribeBucketsInput) (*DescribeBucketsOutput, error)

DescribeBuckets API operation for Amazon Macie 2.

Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DescribeBuckets for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DescribeBucketsPages added in v1.33.7

func (c *Macie2) DescribeBucketsPages(input *DescribeBucketsInput, fn func(*DescribeBucketsOutput, bool) bool) error

DescribeBucketsPages iterates over the pages of a DescribeBuckets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeBuckets method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a DescribeBuckets operation.
pageNum := 0
err := client.DescribeBucketsPages(params,
    func(page *macie2.DescribeBucketsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Macie2) DescribeBucketsPagesWithContext added in v1.33.7

func (c *Macie2) DescribeBucketsPagesWithContext(ctx aws.Context, input *DescribeBucketsInput, fn func(*DescribeBucketsOutput, bool) bool, opts ...request.Option) error

DescribeBucketsPagesWithContext same as DescribeBucketsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DescribeBucketsRequest

func (c *Macie2) DescribeBucketsRequest(input *DescribeBucketsInput) (req *request.Request, output *DescribeBucketsOutput)

DescribeBucketsRequest generates a "aws/request.Request" representing the client's request for the DescribeBuckets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBuckets for more information on using the DescribeBuckets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBucketsRequest method.
req, resp := client.DescribeBucketsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DescribeBucketsWithContext

func (c *Macie2) DescribeBucketsWithContext(ctx aws.Context, input *DescribeBucketsInput, opts ...request.Option) (*DescribeBucketsOutput, error)

DescribeBucketsWithContext is the same as DescribeBuckets with the addition of the ability to pass a context and additional request options.

See DescribeBuckets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DescribeClassificationJob

func (c *Macie2) DescribeClassificationJob(input *DescribeClassificationJobInput) (*DescribeClassificationJobOutput, error)

DescribeClassificationJob API operation for Amazon Macie 2.

Retrieves the status and settings for a classification job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DescribeClassificationJob for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DescribeClassificationJobRequest

func (c *Macie2) DescribeClassificationJobRequest(input *DescribeClassificationJobInput) (req *request.Request, output *DescribeClassificationJobOutput)

DescribeClassificationJobRequest generates a "aws/request.Request" representing the client's request for the DescribeClassificationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeClassificationJob for more information on using the DescribeClassificationJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeClassificationJobRequest method.
req, resp := client.DescribeClassificationJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DescribeClassificationJobWithContext

func (c *Macie2) DescribeClassificationJobWithContext(ctx aws.Context, input *DescribeClassificationJobInput, opts ...request.Option) (*DescribeClassificationJobOutput, error)

DescribeClassificationJobWithContext is the same as DescribeClassificationJob with the addition of the ability to pass a context and additional request options.

See DescribeClassificationJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DescribeOrganizationConfiguration

func (c *Macie2) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error)

DescribeOrganizationConfiguration API operation for Amazon Macie 2.

Retrieves the Amazon Macie configuration settings for an AWS organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DescribeOrganizationConfiguration for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DescribeOrganizationConfigurationRequest

func (c *Macie2) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput)

DescribeOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeOrganizationConfiguration for more information on using the DescribeOrganizationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeOrganizationConfigurationRequest method.
req, resp := client.DescribeOrganizationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DescribeOrganizationConfigurationWithContext

func (c *Macie2) DescribeOrganizationConfigurationWithContext(ctx aws.Context, input *DescribeOrganizationConfigurationInput, opts ...request.Option) (*DescribeOrganizationConfigurationOutput, error)

DescribeOrganizationConfigurationWithContext is the same as DescribeOrganizationConfiguration with the addition of the ability to pass a context and additional request options.

See DescribeOrganizationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DisableMacie

func (c *Macie2) DisableMacie(input *DisableMacieInput) (*DisableMacieOutput, error)

DisableMacie API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DisableMacie for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DisableMacieRequest

func (c *Macie2) DisableMacieRequest(input *DisableMacieInput) (req *request.Request, output *DisableMacieOutput)

DisableMacieRequest generates a "aws/request.Request" representing the client's request for the DisableMacie operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableMacie for more information on using the DisableMacie API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableMacieRequest method.
req, resp := client.DisableMacieRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DisableMacieWithContext

func (c *Macie2) DisableMacieWithContext(ctx aws.Context, input *DisableMacieInput, opts ...request.Option) (*DisableMacieOutput, error)

DisableMacieWithContext is the same as DisableMacie with the addition of the ability to pass a context and additional request options.

See DisableMacie for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DisableOrganizationAdminAccount

func (c *Macie2) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error)

DisableOrganizationAdminAccount API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DisableOrganizationAdminAccount for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DisableOrganizationAdminAccountRequest

func (c *Macie2) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput)

DisableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the client's request for the DisableOrganizationAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableOrganizationAdminAccount for more information on using the DisableOrganizationAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableOrganizationAdminAccountRequest method.
req, resp := client.DisableOrganizationAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DisableOrganizationAdminAccountWithContext

func (c *Macie2) DisableOrganizationAdminAccountWithContext(ctx aws.Context, input *DisableOrganizationAdminAccountInput, opts ...request.Option) (*DisableOrganizationAdminAccountOutput, error)

DisableOrganizationAdminAccountWithContext is the same as DisableOrganizationAdminAccount with the addition of the ability to pass a context and additional request options.

See DisableOrganizationAdminAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DisassociateFromAdministratorAccount added in v1.37.10

func (c *Macie2) DisassociateFromAdministratorAccount(input *DisassociateFromAdministratorAccountInput) (*DisassociateFromAdministratorAccountOutput, error)

DisassociateFromAdministratorAccount API operation for Amazon Macie 2.

Disassociates a member account from its Amazon Macie administrator account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DisassociateFromAdministratorAccount for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount

func (*Macie2) DisassociateFromAdministratorAccountRequest added in v1.37.10

func (c *Macie2) DisassociateFromAdministratorAccountRequest(input *DisassociateFromAdministratorAccountInput) (req *request.Request, output *DisassociateFromAdministratorAccountOutput)

DisassociateFromAdministratorAccountRequest generates a "aws/request.Request" representing the client's request for the DisassociateFromAdministratorAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateFromAdministratorAccount for more information on using the DisassociateFromAdministratorAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateFromAdministratorAccountRequest method.
req, resp := client.DisassociateFromAdministratorAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount

func (*Macie2) DisassociateFromAdministratorAccountWithContext added in v1.37.10

func (c *Macie2) DisassociateFromAdministratorAccountWithContext(ctx aws.Context, input *DisassociateFromAdministratorAccountInput, opts ...request.Option) (*DisassociateFromAdministratorAccountOutput, error)

DisassociateFromAdministratorAccountWithContext is the same as DisassociateFromAdministratorAccount with the addition of the ability to pass a context and additional request options.

See DisassociateFromAdministratorAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DisassociateFromMasterAccount

func (c *Macie2) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error)

DisassociateFromMasterAccount API operation for Amazon Macie 2.

(Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been replaced by the DisassociateFromAdministratorAccount operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DisassociateFromMasterAccount for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DisassociateFromMasterAccountRequest

func (c *Macie2) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput)

DisassociateFromMasterAccountRequest generates a "aws/request.Request" representing the client's request for the DisassociateFromMasterAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateFromMasterAccount for more information on using the DisassociateFromMasterAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateFromMasterAccountRequest method.
req, resp := client.DisassociateFromMasterAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DisassociateFromMasterAccountWithContext

func (c *Macie2) DisassociateFromMasterAccountWithContext(ctx aws.Context, input *DisassociateFromMasterAccountInput, opts ...request.Option) (*DisassociateFromMasterAccountOutput, error)

DisassociateFromMasterAccountWithContext is the same as DisassociateFromMasterAccount with the addition of the ability to pass a context and additional request options.

See DisassociateFromMasterAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) DisassociateMember

func (c *Macie2) DisassociateMember(input *DisassociateMemberInput) (*DisassociateMemberOutput, error)

DisassociateMember API operation for Amazon Macie 2.

Disassociates an Amazon Macie administrator account from a member account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation DisassociateMember for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) DisassociateMemberRequest

func (c *Macie2) DisassociateMemberRequest(input *DisassociateMemberInput) (req *request.Request, output *DisassociateMemberOutput)

DisassociateMemberRequest generates a "aws/request.Request" representing the client's request for the DisassociateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateMember for more information on using the DisassociateMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateMemberRequest method.
req, resp := client.DisassociateMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) DisassociateMemberWithContext

func (c *Macie2) DisassociateMemberWithContext(ctx aws.Context, input *DisassociateMemberInput, opts ...request.Option) (*DisassociateMemberOutput, error)

DisassociateMemberWithContext is the same as DisassociateMember with the addition of the ability to pass a context and additional request options.

See DisassociateMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) EnableMacie

func (c *Macie2) EnableMacie(input *EnableMacieInput) (*EnableMacieOutput, error)

EnableMacie API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation EnableMacie for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) EnableMacieRequest

func (c *Macie2) EnableMacieRequest(input *EnableMacieInput) (req *request.Request, output *EnableMacieOutput)

EnableMacieRequest generates a "aws/request.Request" representing the client's request for the EnableMacie operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableMacie for more information on using the EnableMacie API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableMacieRequest method.
req, resp := client.EnableMacieRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) EnableMacieWithContext

func (c *Macie2) EnableMacieWithContext(ctx aws.Context, input *EnableMacieInput, opts ...request.Option) (*EnableMacieOutput, error)

EnableMacieWithContext is the same as EnableMacie with the addition of the ability to pass a context and additional request options.

See EnableMacie for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) EnableOrganizationAdminAccount

func (c *Macie2) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error)

EnableOrganizationAdminAccount API operation for Amazon Macie 2.

Designates an account as the delegated Amazon Macie administrator account for an AWS organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation EnableOrganizationAdminAccount for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) EnableOrganizationAdminAccountRequest

func (c *Macie2) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput)

EnableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the client's request for the EnableOrganizationAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableOrganizationAdminAccount for more information on using the EnableOrganizationAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableOrganizationAdminAccountRequest method.
req, resp := client.EnableOrganizationAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) EnableOrganizationAdminAccountWithContext

func (c *Macie2) EnableOrganizationAdminAccountWithContext(ctx aws.Context, input *EnableOrganizationAdminAccountInput, opts ...request.Option) (*EnableOrganizationAdminAccountOutput, error)

EnableOrganizationAdminAccountWithContext is the same as EnableOrganizationAdminAccount with the addition of the ability to pass a context and additional request options.

See EnableOrganizationAdminAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetAdministratorAccount added in v1.37.10

func (c *Macie2) GetAdministratorAccount(input *GetAdministratorAccountInput) (*GetAdministratorAccountOutput, error)

GetAdministratorAccount API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetAdministratorAccount for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount

func (*Macie2) GetAdministratorAccountRequest added in v1.37.10

func (c *Macie2) GetAdministratorAccountRequest(input *GetAdministratorAccountInput) (req *request.Request, output *GetAdministratorAccountOutput)

GetAdministratorAccountRequest generates a "aws/request.Request" representing the client's request for the GetAdministratorAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAdministratorAccount for more information on using the GetAdministratorAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAdministratorAccountRequest method.
req, resp := client.GetAdministratorAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount

func (*Macie2) GetAdministratorAccountWithContext added in v1.37.10

func (c *Macie2) GetAdministratorAccountWithContext(ctx aws.Context, input *GetAdministratorAccountInput, opts ...request.Option) (*GetAdministratorAccountOutput, error)

GetAdministratorAccountWithContext is the same as GetAdministratorAccount with the addition of the ability to pass a context and additional request options.

See GetAdministratorAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetBucketStatistics

func (c *Macie2) GetBucketStatistics(input *GetBucketStatisticsInput) (*GetBucketStatisticsOutput, error)

GetBucketStatistics API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetBucketStatistics for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetBucketStatisticsRequest

func (c *Macie2) GetBucketStatisticsRequest(input *GetBucketStatisticsInput) (req *request.Request, output *GetBucketStatisticsOutput)

GetBucketStatisticsRequest generates a "aws/request.Request" representing the client's request for the GetBucketStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBucketStatistics for more information on using the GetBucketStatistics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBucketStatisticsRequest method.
req, resp := client.GetBucketStatisticsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetBucketStatisticsWithContext

func (c *Macie2) GetBucketStatisticsWithContext(ctx aws.Context, input *GetBucketStatisticsInput, opts ...request.Option) (*GetBucketStatisticsOutput, error)

GetBucketStatisticsWithContext is the same as GetBucketStatistics with the addition of the ability to pass a context and additional request options.

See GetBucketStatistics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetClassificationExportConfiguration

func (c *Macie2) GetClassificationExportConfiguration(input *GetClassificationExportConfigurationInput) (*GetClassificationExportConfigurationOutput, error)

GetClassificationExportConfiguration API operation for Amazon Macie 2.

Retrieves the configuration settings for storing data classification results.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetClassificationExportConfiguration for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetClassificationExportConfigurationRequest

func (c *Macie2) GetClassificationExportConfigurationRequest(input *GetClassificationExportConfigurationInput) (req *request.Request, output *GetClassificationExportConfigurationOutput)

GetClassificationExportConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetClassificationExportConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetClassificationExportConfiguration for more information on using the GetClassificationExportConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetClassificationExportConfigurationRequest method.
req, resp := client.GetClassificationExportConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetClassificationExportConfigurationWithContext

func (c *Macie2) GetClassificationExportConfigurationWithContext(ctx aws.Context, input *GetClassificationExportConfigurationInput, opts ...request.Option) (*GetClassificationExportConfigurationOutput, error)

GetClassificationExportConfigurationWithContext is the same as GetClassificationExportConfiguration with the addition of the ability to pass a context and additional request options.

See GetClassificationExportConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetCustomDataIdentifier

func (c *Macie2) GetCustomDataIdentifier(input *GetCustomDataIdentifierInput) (*GetCustomDataIdentifierOutput, error)

GetCustomDataIdentifier API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetCustomDataIdentifier for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetCustomDataIdentifierRequest

func (c *Macie2) GetCustomDataIdentifierRequest(input *GetCustomDataIdentifierInput) (req *request.Request, output *GetCustomDataIdentifierOutput)

GetCustomDataIdentifierRequest generates a "aws/request.Request" representing the client's request for the GetCustomDataIdentifier operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCustomDataIdentifier for more information on using the GetCustomDataIdentifier API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCustomDataIdentifierRequest method.
req, resp := client.GetCustomDataIdentifierRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetCustomDataIdentifierWithContext

func (c *Macie2) GetCustomDataIdentifierWithContext(ctx aws.Context, input *GetCustomDataIdentifierInput, opts ...request.Option) (*GetCustomDataIdentifierOutput, error)

GetCustomDataIdentifierWithContext is the same as GetCustomDataIdentifier with the addition of the ability to pass a context and additional request options.

See GetCustomDataIdentifier for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetFindingStatistics

func (c *Macie2) GetFindingStatistics(input *GetFindingStatisticsInput) (*GetFindingStatisticsOutput, error)

GetFindingStatistics API operation for Amazon Macie 2.

Retrieves (queries) aggregated statistical data about findings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetFindingStatistics for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetFindingStatisticsRequest

func (c *Macie2) GetFindingStatisticsRequest(input *GetFindingStatisticsInput) (req *request.Request, output *GetFindingStatisticsOutput)

GetFindingStatisticsRequest generates a "aws/request.Request" representing the client's request for the GetFindingStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFindingStatistics for more information on using the GetFindingStatistics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFindingStatisticsRequest method.
req, resp := client.GetFindingStatisticsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetFindingStatisticsWithContext

func (c *Macie2) GetFindingStatisticsWithContext(ctx aws.Context, input *GetFindingStatisticsInput, opts ...request.Option) (*GetFindingStatisticsOutput, error)

GetFindingStatisticsWithContext is the same as GetFindingStatistics with the addition of the ability to pass a context and additional request options.

See GetFindingStatistics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetFindings

func (c *Macie2) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error)

GetFindings API operation for Amazon Macie 2.

Retrieves the details of one or more findings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetFindings for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetFindingsFilter

func (c *Macie2) GetFindingsFilter(input *GetFindingsFilterInput) (*GetFindingsFilterOutput, error)

GetFindingsFilter API operation for Amazon Macie 2.

Retrieves the criteria and other settings for a findings filter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetFindingsFilter for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetFindingsFilterRequest

func (c *Macie2) GetFindingsFilterRequest(input *GetFindingsFilterInput) (req *request.Request, output *GetFindingsFilterOutput)

GetFindingsFilterRequest generates a "aws/request.Request" representing the client's request for the GetFindingsFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFindingsFilter for more information on using the GetFindingsFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFindingsFilterRequest method.
req, resp := client.GetFindingsFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetFindingsFilterWithContext

func (c *Macie2) GetFindingsFilterWithContext(ctx aws.Context, input *GetFindingsFilterInput, opts ...request.Option) (*GetFindingsFilterOutput, error)

GetFindingsFilterWithContext is the same as GetFindingsFilter with the addition of the ability to pass a context and additional request options.

See GetFindingsFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetFindingsPublicationConfiguration added in v1.38.2

func (c *Macie2) GetFindingsPublicationConfiguration(input *GetFindingsPublicationConfigurationInput) (*GetFindingsPublicationConfigurationOutput, error)

GetFindingsPublicationConfiguration API operation for Amazon Macie 2.

Retrieves the configuration settings for publishing findings to AWS Security Hub.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetFindingsPublicationConfiguration for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration

func (*Macie2) GetFindingsPublicationConfigurationRequest added in v1.38.2

func (c *Macie2) GetFindingsPublicationConfigurationRequest(input *GetFindingsPublicationConfigurationInput) (req *request.Request, output *GetFindingsPublicationConfigurationOutput)

GetFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetFindingsPublicationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFindingsPublicationConfiguration for more information on using the GetFindingsPublicationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFindingsPublicationConfigurationRequest method.
req, resp := client.GetFindingsPublicationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration

func (*Macie2) GetFindingsPublicationConfigurationWithContext added in v1.38.2

func (c *Macie2) GetFindingsPublicationConfigurationWithContext(ctx aws.Context, input *GetFindingsPublicationConfigurationInput, opts ...request.Option) (*GetFindingsPublicationConfigurationOutput, error)

GetFindingsPublicationConfigurationWithContext is the same as GetFindingsPublicationConfiguration with the addition of the ability to pass a context and additional request options.

See GetFindingsPublicationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetFindingsRequest

func (c *Macie2) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput)

GetFindingsRequest generates a "aws/request.Request" representing the client's request for the GetFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFindings for more information on using the GetFindings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFindingsRequest method.
req, resp := client.GetFindingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetFindingsWithContext

func (c *Macie2) GetFindingsWithContext(ctx aws.Context, input *GetFindingsInput, opts ...request.Option) (*GetFindingsOutput, error)

GetFindingsWithContext is the same as GetFindings with the addition of the ability to pass a context and additional request options.

See GetFindings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetInvitationsCount

func (c *Macie2) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error)

GetInvitationsCount API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetInvitationsCount for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetInvitationsCountRequest

func (c *Macie2) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput)

GetInvitationsCountRequest generates a "aws/request.Request" representing the client's request for the GetInvitationsCount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetInvitationsCount for more information on using the GetInvitationsCount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetInvitationsCountRequest method.
req, resp := client.GetInvitationsCountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetInvitationsCountWithContext

func (c *Macie2) GetInvitationsCountWithContext(ctx aws.Context, input *GetInvitationsCountInput, opts ...request.Option) (*GetInvitationsCountOutput, error)

GetInvitationsCountWithContext is the same as GetInvitationsCount with the addition of the ability to pass a context and additional request options.

See GetInvitationsCount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetMacieSession

func (c *Macie2) GetMacieSession(input *GetMacieSessionInput) (*GetMacieSessionOutput, error)

GetMacieSession API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetMacieSession for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetMacieSessionRequest

func (c *Macie2) GetMacieSessionRequest(input *GetMacieSessionInput) (req *request.Request, output *GetMacieSessionOutput)

GetMacieSessionRequest generates a "aws/request.Request" representing the client's request for the GetMacieSession operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMacieSession for more information on using the GetMacieSession API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMacieSessionRequest method.
req, resp := client.GetMacieSessionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetMacieSessionWithContext

func (c *Macie2) GetMacieSessionWithContext(ctx aws.Context, input *GetMacieSessionInput, opts ...request.Option) (*GetMacieSessionOutput, error)

GetMacieSessionWithContext is the same as GetMacieSession with the addition of the ability to pass a context and additional request options.

See GetMacieSession for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetMasterAccount

func (c *Macie2) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error)

GetMasterAccount API operation for Amazon Macie 2.

(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetMasterAccount for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetMasterAccountRequest

func (c *Macie2) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput)

GetMasterAccountRequest generates a "aws/request.Request" representing the client's request for the GetMasterAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMasterAccount for more information on using the GetMasterAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMasterAccountRequest method.
req, resp := client.GetMasterAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetMasterAccountWithContext

func (c *Macie2) GetMasterAccountWithContext(ctx aws.Context, input *GetMasterAccountInput, opts ...request.Option) (*GetMasterAccountOutput, error)

GetMasterAccountWithContext is the same as GetMasterAccount with the addition of the ability to pass a context and additional request options.

See GetMasterAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetMember

func (c *Macie2) GetMember(input *GetMemberInput) (*GetMemberOutput, error)

GetMember API operation for Amazon Macie 2.

Retrieves information about an account that's associated with an Amazon Macie administrator account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetMember for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetMemberRequest

func (c *Macie2) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput)

GetMemberRequest generates a "aws/request.Request" representing the client's request for the GetMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMember for more information on using the GetMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMemberRequest method.
req, resp := client.GetMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetMemberWithContext

func (c *Macie2) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, opts ...request.Option) (*GetMemberOutput, error)

GetMemberWithContext is the same as GetMember with the addition of the ability to pass a context and additional request options.

See GetMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetUsageStatistics

func (c *Macie2) GetUsageStatistics(input *GetUsageStatisticsInput) (*GetUsageStatisticsOutput, error)

GetUsageStatistics API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetUsageStatistics for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetUsageStatisticsPages added in v1.33.7

func (c *Macie2) GetUsageStatisticsPages(input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool) error

GetUsageStatisticsPages iterates over the pages of a GetUsageStatistics operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetUsageStatistics method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a GetUsageStatistics operation.
pageNum := 0
err := client.GetUsageStatisticsPages(params,
    func(page *macie2.GetUsageStatisticsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Macie2) GetUsageStatisticsPagesWithContext added in v1.33.7

func (c *Macie2) GetUsageStatisticsPagesWithContext(ctx aws.Context, input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool, opts ...request.Option) error

GetUsageStatisticsPagesWithContext same as GetUsageStatisticsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetUsageStatisticsRequest

func (c *Macie2) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req *request.Request, output *GetUsageStatisticsOutput)

GetUsageStatisticsRequest generates a "aws/request.Request" representing the client's request for the GetUsageStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetUsageStatistics for more information on using the GetUsageStatistics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetUsageStatisticsRequest method.
req, resp := client.GetUsageStatisticsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetUsageStatisticsWithContext

func (c *Macie2) GetUsageStatisticsWithContext(ctx aws.Context, input *GetUsageStatisticsInput, opts ...request.Option) (*GetUsageStatisticsOutput, error)

GetUsageStatisticsWithContext is the same as GetUsageStatistics with the addition of the ability to pass a context and additional request options.

See GetUsageStatistics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) GetUsageTotals

func (c *Macie2) GetUsageTotals(input *GetUsageTotalsInput) (*GetUsageTotalsOutput, error)

GetUsageTotals API operation for Amazon Macie 2.

Retrieves (queries) aggregated usage data for an account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation GetUsageTotals for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) GetUsageTotalsRequest

func (c *Macie2) GetUsageTotalsRequest(input *GetUsageTotalsInput) (req *request.Request, output *GetUsageTotalsOutput)

GetUsageTotalsRequest generates a "aws/request.Request" representing the client's request for the GetUsageTotals operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetUsageTotals for more information on using the GetUsageTotals API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetUsageTotalsRequest method.
req, resp := client.GetUsageTotalsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) GetUsageTotalsWithContext

func (c *Macie2) GetUsageTotalsWithContext(ctx aws.Context, input *GetUsageTotalsInput, opts ...request.Option) (*GetUsageTotalsOutput, error)

GetUsageTotalsWithContext is the same as GetUsageTotals with the addition of the ability to pass a context and additional request options.

See GetUsageTotals for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListClassificationJobs

func (c *Macie2) ListClassificationJobs(input *ListClassificationJobsInput) (*ListClassificationJobsOutput, error)

ListClassificationJobs API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation ListClassificationJobs for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) ListClassificationJobsPages added in v1.33.7

func (c *Macie2) ListClassificationJobsPages(input *ListClassificationJobsInput, fn func(*ListClassificationJobsOutput, bool) bool) error

ListClassificationJobsPages iterates over the pages of a ListClassificationJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListClassificationJobs method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListClassificationJobs operation.
pageNum := 0
err := client.ListClassificationJobsPages(params,
    func(page *macie2.ListClassificationJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Macie2) ListClassificationJobsPagesWithContext added in v1.33.7

func (c *Macie2) ListClassificationJobsPagesWithContext(ctx aws.Context, input *ListClassificationJobsInput, fn func(*ListClassificationJobsOutput, bool) bool, opts ...request.Option) error

ListClassificationJobsPagesWithContext same as ListClassificationJobsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListClassificationJobsRequest

func (c *Macie2) ListClassificationJobsRequest(input *ListClassificationJobsInput) (req *request.Request, output *ListClassificationJobsOutput)

ListClassificationJobsRequest generates a "aws/request.Request" representing the client's request for the ListClassificationJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListClassificationJobs for more information on using the ListClassificationJobs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListClassificationJobsRequest method.
req, resp := client.ListClassificationJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) ListClassificationJobsWithContext

func (c *Macie2) ListClassificationJobsWithContext(ctx aws.Context, input *ListClassificationJobsInput, opts ...request.Option) (*ListClassificationJobsOutput, error)

ListClassificationJobsWithContext is the same as ListClassificationJobs with the addition of the ability to pass a context and additional request options.

See ListClassificationJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListCustomDataIdentifiers

func (c *Macie2) ListCustomDataIdentifiers(input *ListCustomDataIdentifiersInput) (*ListCustomDataIdentifiersOutput, error)

ListCustomDataIdentifiers API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation ListCustomDataIdentifiers for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) ListCustomDataIdentifiersPages added in v1.33.7

func (c *Macie2) ListCustomDataIdentifiersPages(input *ListCustomDataIdentifiersInput, fn func(*ListCustomDataIdentifiersOutput, bool) bool) error

ListCustomDataIdentifiersPages iterates over the pages of a ListCustomDataIdentifiers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCustomDataIdentifiers method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListCustomDataIdentifiers operation.
pageNum := 0
err := client.ListCustomDataIdentifiersPages(params,
    func(page *macie2.ListCustomDataIdentifiersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Macie2) ListCustomDataIdentifiersPagesWithContext added in v1.33.7

func (c *Macie2) ListCustomDataIdentifiersPagesWithContext(ctx aws.Context, input *ListCustomDataIdentifiersInput, fn func(*ListCustomDataIdentifiersOutput, bool) bool, opts ...request.Option) error

ListCustomDataIdentifiersPagesWithContext same as ListCustomDataIdentifiersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListCustomDataIdentifiersRequest

func (c *Macie2) ListCustomDataIdentifiersRequest(input *ListCustomDataIdentifiersInput) (req *request.Request, output *ListCustomDataIdentifiersOutput)

ListCustomDataIdentifiersRequest generates a "aws/request.Request" representing the client's request for the ListCustomDataIdentifiers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCustomDataIdentifiers for more information on using the ListCustomDataIdentifiers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCustomDataIdentifiersRequest method.
req, resp := client.ListCustomDataIdentifiersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) ListCustomDataIdentifiersWithContext

func (c *Macie2) ListCustomDataIdentifiersWithContext(ctx aws.Context, input *ListCustomDataIdentifiersInput, opts ...request.Option) (*ListCustomDataIdentifiersOutput, error)

ListCustomDataIdentifiersWithContext is the same as ListCustomDataIdentifiers with the addition of the ability to pass a context and additional request options.

See ListCustomDataIdentifiers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListFindings

func (c *Macie2) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error)

ListFindings API operation for Amazon Macie 2.

Retrieves a subset of information about one or more findings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation ListFindings for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) ListFindingsFilters

func (c *Macie2) ListFindingsFilters(input *ListFindingsFiltersInput) (*ListFindingsFiltersOutput, error)

ListFindingsFilters API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation ListFindingsFilters for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) ListFindingsFiltersPages added in v1.33.7

func (c *Macie2) ListFindingsFiltersPages(input *ListFindingsFiltersInput, fn func(*ListFindingsFiltersOutput, bool) bool) error

ListFindingsFiltersPages iterates over the pages of a ListFindingsFilters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFindingsFilters method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListFindingsFilters operation.
pageNum := 0
err := client.ListFindingsFiltersPages(params,
    func(page *macie2.ListFindingsFiltersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Macie2) ListFindingsFiltersPagesWithContext added in v1.33.7

func (c *Macie2) ListFindingsFiltersPagesWithContext(ctx aws.Context, input *ListFindingsFiltersInput, fn func(*ListFindingsFiltersOutput, bool) bool, opts ...request.Option) error

ListFindingsFiltersPagesWithContext same as ListFindingsFiltersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListFindingsFiltersRequest

func (c *Macie2) ListFindingsFiltersRequest(input *ListFindingsFiltersInput) (req *request.Request, output *ListFindingsFiltersOutput)

ListFindingsFiltersRequest generates a "aws/request.Request" representing the client's request for the ListFindingsFilters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFindingsFilters for more information on using the ListFindingsFilters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFindingsFiltersRequest method.
req, resp := client.ListFindingsFiltersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) ListFindingsFiltersWithContext

func (c *Macie2) ListFindingsFiltersWithContext(ctx aws.Context, input *ListFindingsFiltersInput, opts ...request.Option) (*ListFindingsFiltersOutput, error)

ListFindingsFiltersWithContext is the same as ListFindingsFilters with the addition of the ability to pass a context and additional request options.

See ListFindingsFilters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListFindingsPages added in v1.33.7

func (c *Macie2) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error

ListFindingsPages iterates over the pages of a ListFindings operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFindings method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListFindings operation.
pageNum := 0
err := client.ListFindingsPages(params,
    func(page *macie2.ListFindingsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Macie2) ListFindingsPagesWithContext added in v1.33.7

func (c *Macie2) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) error

ListFindingsPagesWithContext same as ListFindingsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListFindingsRequest

func (c *Macie2) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput)

ListFindingsRequest generates a "aws/request.Request" representing the client's request for the ListFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFindings for more information on using the ListFindings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFindingsRequest method.
req, resp := client.ListFindingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) ListFindingsWithContext

func (c *Macie2) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error)

ListFindingsWithContext is the same as ListFindings with the addition of the ability to pass a context and additional request options.

See ListFindings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListInvitations

func (c *Macie2) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error)

ListInvitations API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation ListInvitations for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) ListInvitationsPages added in v1.33.7

func (c *Macie2) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error

ListInvitationsPages iterates over the pages of a ListInvitations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListInvitations method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListInvitations operation.
pageNum := 0
err := client.ListInvitationsPages(params,
    func(page *macie2.ListInvitationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Macie2) ListInvitationsPagesWithContext added in v1.33.7

func (c *Macie2) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error

ListInvitationsPagesWithContext same as ListInvitationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListInvitationsRequest

func (c *Macie2) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput)

ListInvitationsRequest generates a "aws/request.Request" representing the client's request for the ListInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListInvitations for more information on using the ListInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListInvitationsRequest method.
req, resp := client.ListInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) ListInvitationsWithContext

func (c *Macie2) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error)

ListInvitationsWithContext is the same as ListInvitations with the addition of the ability to pass a context and additional request options.

See ListInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListMembers

func (c *Macie2) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)

ListMembers API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation ListMembers for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) ListMembersPages added in v1.33.7

func (c *Macie2) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error

ListMembersPages iterates over the pages of a ListMembers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMembers method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListMembers operation.
pageNum := 0
err := client.ListMembersPages(params,
    func(page *macie2.ListMembersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Macie2) ListMembersPagesWithContext added in v1.33.7

func (c *Macie2) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error

ListMembersPagesWithContext same as ListMembersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListMembersRequest

func (c *Macie2) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)

ListMembersRequest generates a "aws/request.Request" representing the client's request for the ListMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMembers for more information on using the ListMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMembersRequest method.
req, resp := client.ListMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) ListMembersWithContext

func (c *Macie2) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)

ListMembersWithContext is the same as ListMembers with the addition of the ability to pass a context and additional request options.

See ListMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListOrganizationAdminAccounts

func (c *Macie2) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error)

ListOrganizationAdminAccounts API operation for Amazon Macie 2.

Retrieves information about the delegated Amazon Macie administrator account for an AWS organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation ListOrganizationAdminAccounts for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) ListOrganizationAdminAccountsPages added in v1.33.7

func (c *Macie2) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error

ListOrganizationAdminAccountsPages iterates over the pages of a ListOrganizationAdminAccounts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListOrganizationAdminAccounts method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation.
pageNum := 0
err := client.ListOrganizationAdminAccountsPages(params,
    func(page *macie2.ListOrganizationAdminAccountsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Macie2) ListOrganizationAdminAccountsPagesWithContext added in v1.33.7

func (c *Macie2) ListOrganizationAdminAccountsPagesWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool, opts ...request.Option) error

ListOrganizationAdminAccountsPagesWithContext same as ListOrganizationAdminAccountsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListOrganizationAdminAccountsRequest

func (c *Macie2) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput)

ListOrganizationAdminAccountsRequest generates a "aws/request.Request" representing the client's request for the ListOrganizationAdminAccounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListOrganizationAdminAccounts for more information on using the ListOrganizationAdminAccounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListOrganizationAdminAccountsRequest method.
req, resp := client.ListOrganizationAdminAccountsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) ListOrganizationAdminAccountsWithContext

func (c *Macie2) ListOrganizationAdminAccountsWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, opts ...request.Option) (*ListOrganizationAdminAccountsOutput, error)

ListOrganizationAdminAccountsWithContext is the same as ListOrganizationAdminAccounts with the addition of the ability to pass a context and additional request options.

See ListOrganizationAdminAccounts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) ListTagsForResource

func (c *Macie2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon Macie 2.

Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation ListTagsForResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource

func (*Macie2) ListTagsForResourceRequest

func (c *Macie2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) ListTagsForResourceWithContext

func (c *Macie2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) PutClassificationExportConfiguration

func (c *Macie2) PutClassificationExportConfiguration(input *PutClassificationExportConfigurationInput) (*PutClassificationExportConfigurationOutput, error)

PutClassificationExportConfiguration API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation PutClassificationExportConfiguration for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) PutClassificationExportConfigurationRequest

func (c *Macie2) PutClassificationExportConfigurationRequest(input *PutClassificationExportConfigurationInput) (req *request.Request, output *PutClassificationExportConfigurationOutput)

PutClassificationExportConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutClassificationExportConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutClassificationExportConfiguration for more information on using the PutClassificationExportConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutClassificationExportConfigurationRequest method.
req, resp := client.PutClassificationExportConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) PutClassificationExportConfigurationWithContext

func (c *Macie2) PutClassificationExportConfigurationWithContext(ctx aws.Context, input *PutClassificationExportConfigurationInput, opts ...request.Option) (*PutClassificationExportConfigurationOutput, error)

PutClassificationExportConfigurationWithContext is the same as PutClassificationExportConfiguration with the addition of the ability to pass a context and additional request options.

See PutClassificationExportConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) PutFindingsPublicationConfiguration added in v1.38.2

func (c *Macie2) PutFindingsPublicationConfiguration(input *PutFindingsPublicationConfigurationInput) (*PutFindingsPublicationConfigurationOutput, error)

PutFindingsPublicationConfiguration API operation for Amazon Macie 2.

Updates the configuration settings for publishing findings to AWS Security Hub.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation PutFindingsPublicationConfiguration for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration

func (*Macie2) PutFindingsPublicationConfigurationRequest added in v1.38.2

func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPublicationConfigurationInput) (req *request.Request, output *PutFindingsPublicationConfigurationOutput)

PutFindingsPublicationConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutFindingsPublicationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutFindingsPublicationConfiguration for more information on using the PutFindingsPublicationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutFindingsPublicationConfigurationRequest method.
req, resp := client.PutFindingsPublicationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration

func (*Macie2) PutFindingsPublicationConfigurationWithContext added in v1.38.2

func (c *Macie2) PutFindingsPublicationConfigurationWithContext(ctx aws.Context, input *PutFindingsPublicationConfigurationInput, opts ...request.Option) (*PutFindingsPublicationConfigurationOutput, error)

PutFindingsPublicationConfigurationWithContext is the same as PutFindingsPublicationConfiguration with the addition of the ability to pass a context and additional request options.

See PutFindingsPublicationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) TagResource

func (c *Macie2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon Macie 2.

Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation TagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource

func (*Macie2) TagResourceRequest

func (c *Macie2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) TagResourceWithContext

func (c *Macie2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) TestCustomDataIdentifier

func (c *Macie2) TestCustomDataIdentifier(input *TestCustomDataIdentifierInput) (*TestCustomDataIdentifierOutput, error)

TestCustomDataIdentifier API operation for Amazon Macie 2.

Tests a custom data identifier.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation TestCustomDataIdentifier for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) TestCustomDataIdentifierRequest

func (c *Macie2) TestCustomDataIdentifierRequest(input *TestCustomDataIdentifierInput) (req *request.Request, output *TestCustomDataIdentifierOutput)

TestCustomDataIdentifierRequest generates a "aws/request.Request" representing the client's request for the TestCustomDataIdentifier operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TestCustomDataIdentifier for more information on using the TestCustomDataIdentifier API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TestCustomDataIdentifierRequest method.
req, resp := client.TestCustomDataIdentifierRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) TestCustomDataIdentifierWithContext

func (c *Macie2) TestCustomDataIdentifierWithContext(ctx aws.Context, input *TestCustomDataIdentifierInput, opts ...request.Option) (*TestCustomDataIdentifierOutput, error)

TestCustomDataIdentifierWithContext is the same as TestCustomDataIdentifier with the addition of the ability to pass a context and additional request options.

See TestCustomDataIdentifier for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) UntagResource

func (c *Macie2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon Macie 2.

Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation UntagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource

func (*Macie2) UntagResourceRequest

func (c *Macie2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) UntagResourceWithContext

func (c *Macie2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) UpdateClassificationJob

func (c *Macie2) UpdateClassificationJob(input *UpdateClassificationJobInput) (*UpdateClassificationJobOutput, error)

UpdateClassificationJob API operation for Amazon Macie 2.

Changes the status of a classification job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation UpdateClassificationJob for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) UpdateClassificationJobRequest

func (c *Macie2) UpdateClassificationJobRequest(input *UpdateClassificationJobInput) (req *request.Request, output *UpdateClassificationJobOutput)

UpdateClassificationJobRequest generates a "aws/request.Request" representing the client's request for the UpdateClassificationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateClassificationJob for more information on using the UpdateClassificationJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateClassificationJobRequest method.
req, resp := client.UpdateClassificationJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) UpdateClassificationJobWithContext

func (c *Macie2) UpdateClassificationJobWithContext(ctx aws.Context, input *UpdateClassificationJobInput, opts ...request.Option) (*UpdateClassificationJobOutput, error)

UpdateClassificationJobWithContext is the same as UpdateClassificationJob with the addition of the ability to pass a context and additional request options.

See UpdateClassificationJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) UpdateFindingsFilter

func (c *Macie2) UpdateFindingsFilter(input *UpdateFindingsFilterInput) (*UpdateFindingsFilterOutput, error)

UpdateFindingsFilter API operation for Amazon Macie 2.

Updates the criteria and other settings for a findings filter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation UpdateFindingsFilter for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) UpdateFindingsFilterRequest

func (c *Macie2) UpdateFindingsFilterRequest(input *UpdateFindingsFilterInput) (req *request.Request, output *UpdateFindingsFilterOutput)

UpdateFindingsFilterRequest generates a "aws/request.Request" representing the client's request for the UpdateFindingsFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFindingsFilter for more information on using the UpdateFindingsFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFindingsFilterRequest method.
req, resp := client.UpdateFindingsFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) UpdateFindingsFilterWithContext

func (c *Macie2) UpdateFindingsFilterWithContext(ctx aws.Context, input *UpdateFindingsFilterInput, opts ...request.Option) (*UpdateFindingsFilterOutput, error)

UpdateFindingsFilterWithContext is the same as UpdateFindingsFilter with the addition of the ability to pass a context and additional request options.

See UpdateFindingsFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) UpdateMacieSession

func (c *Macie2) UpdateMacieSession(input *UpdateMacieSessionInput) (*UpdateMacieSessionOutput, error)

UpdateMacieSession API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation UpdateMacieSession for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) UpdateMacieSessionRequest

func (c *Macie2) UpdateMacieSessionRequest(input *UpdateMacieSessionInput) (req *request.Request, output *UpdateMacieSessionOutput)

UpdateMacieSessionRequest generates a "aws/request.Request" representing the client's request for the UpdateMacieSession operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateMacieSession for more information on using the UpdateMacieSession API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateMacieSessionRequest method.
req, resp := client.UpdateMacieSessionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) UpdateMacieSessionWithContext

func (c *Macie2) UpdateMacieSessionWithContext(ctx aws.Context, input *UpdateMacieSessionInput, opts ...request.Option) (*UpdateMacieSessionOutput, error)

UpdateMacieSessionWithContext is the same as UpdateMacieSession with the addition of the ability to pass a context and additional request options.

See UpdateMacieSession for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) UpdateMemberSession

func (c *Macie2) UpdateMemberSession(input *UpdateMemberSessionInput) (*UpdateMemberSessionOutput, error)

UpdateMemberSession API operation for Amazon Macie 2.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation UpdateMemberSession for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) UpdateMemberSessionRequest

func (c *Macie2) UpdateMemberSessionRequest(input *UpdateMemberSessionInput) (req *request.Request, output *UpdateMemberSessionOutput)

UpdateMemberSessionRequest generates a "aws/request.Request" representing the client's request for the UpdateMemberSession operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateMemberSession for more information on using the UpdateMemberSession API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateMemberSessionRequest method.
req, resp := client.UpdateMemberSessionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) UpdateMemberSessionWithContext

func (c *Macie2) UpdateMemberSessionWithContext(ctx aws.Context, input *UpdateMemberSessionInput, opts ...request.Option) (*UpdateMemberSessionOutput, error)

UpdateMemberSessionWithContext is the same as UpdateMemberSession with the addition of the ability to pass a context and additional request options.

See UpdateMemberSession for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Macie2) UpdateOrganizationConfiguration

func (c *Macie2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error)

UpdateOrganizationConfiguration API operation for Amazon Macie 2.

Updates the Amazon Macie configuration settings for an AWS organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Macie 2's API operation UpdateOrganizationConfiguration for usage and error information.

Returned Error Types:

  • ValidationException Provides information about an error that occurred due to a syntax error in a request.

  • InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

  • ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.

  • AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.

  • ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.

  • ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.

  • ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.

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

func (*Macie2) UpdateOrganizationConfigurationRequest

func (c *Macie2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput)

UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateOrganizationConfigurationRequest method.
req, resp := client.UpdateOrganizationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Macie2) UpdateOrganizationConfigurationWithContext

func (c *Macie2) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error)

UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateOrganizationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Member

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

	AdministratorAccountId *string `locationName:"administratorAccountId" type:"string"`

	Arn *string `locationName:"arn" type:"string"`

	Email *string `locationName:"email" type:"string"`

	InvitedAt *time.Time `locationName:"invitedAt" type:"timestamp" timestampFormat:"iso8601"`

	MasterAccountId *string `locationName:"masterAccountId" type:"string"`

	// The current status of the relationship between an account and an associated
	// Amazon Macie administrator account (inviter account). Possible values are:
	RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"`

	// A string-to-string map of key-value pairs that specifies the tags (keys and
	// values) for a classification job, custom data identifier, findings filter,
	// or member account.
	Tags map[string]*string `locationName:"tags" type:"map"`

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

Provides information about an account that's associated with an Amazon Macie administrator account.

func (Member) GoString

func (s Member) GoString() string

GoString returns the string representation

func (*Member) SetAccountId

func (s *Member) SetAccountId(v string) *Member

SetAccountId sets the AccountId field's value.

func (*Member) SetAdministratorAccountId added in v1.37.10

func (s *Member) SetAdministratorAccountId(v string) *Member

SetAdministratorAccountId sets the AdministratorAccountId field's value.

func (*Member) SetArn

func (s *Member) SetArn(v string) *Member

SetArn sets the Arn field's value.

func (*Member) SetEmail

func (s *Member) SetEmail(v string) *Member

SetEmail sets the Email field's value.

func (*Member) SetInvitedAt

func (s *Member) SetInvitedAt(v time.Time) *Member

SetInvitedAt sets the InvitedAt field's value.

func (*Member) SetMasterAccountId

func (s *Member) SetMasterAccountId(v string) *Member

SetMasterAccountId sets the MasterAccountId field's value.

func (*Member) SetRelationshipStatus

func (s *Member) SetRelationshipStatus(v string) *Member

SetRelationshipStatus sets the RelationshipStatus field's value.

func (*Member) SetTags

func (s *Member) SetTags(v map[string]*string) *Member

SetTags sets the Tags field's value.

func (*Member) SetUpdatedAt

func (s *Member) SetUpdatedAt(v time.Time) *Member

SetUpdatedAt sets the UpdatedAt field's value.

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) GoString

func (s MonthlySchedule) GoString() string

GoString returns the string representation

func (*MonthlySchedule) SetDayOfMonth

func (s *MonthlySchedule) SetDayOfMonth(v int64) *MonthlySchedule

SetDayOfMonth sets the DayOfMonth field's value.

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
}

Provides information about the number of objects that are in an S3 bucket and use certain types of server-side encryption, use client-side encryption, or aren't encrypted.

func (ObjectCountByEncryptionType) GoString

func (s ObjectCountByEncryptionType) GoString() string

GoString returns the string representation

func (*ObjectCountByEncryptionType) SetCustomerManaged

SetCustomerManaged sets the CustomerManaged field's value.

func (*ObjectCountByEncryptionType) SetKmsManaged

SetKmsManaged sets the KmsManaged field's value.

func (*ObjectCountByEncryptionType) SetS3Managed

SetS3Managed sets the S3Managed field's value.

func (*ObjectCountByEncryptionType) SetUnencrypted

SetUnencrypted sets the Unencrypted field's value.

func (ObjectCountByEncryptionType) String

String returns the string representation

type ObjectLevelStatistics added in v1.34.16

type ObjectLevelStatistics struct {
	FileType *int64 `locationName:"fileType" type:"long"`

	StorageClass *int64 `locationName:"storageClass" type:"long"`

	Total *int64 `locationName:"total" type:"long"`
	// contains filtered or unexported fields
}

Provides information about the total storage size (in bytes) or number of objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata object, this data is for a specific bucket. In a GetBucketStatisticsResponse object, this data is aggregated for all the buckets in the query results. If versioning is enabled for a bucket, total storage size values are based on the size of the latest version of each applicable object in the bucket.

func (ObjectLevelStatistics) GoString added in v1.34.16

func (s ObjectLevelStatistics) GoString() string

GoString returns the string representation

func (*ObjectLevelStatistics) SetFileType added in v1.34.16

SetFileType sets the FileType field's value.

func (*ObjectLevelStatistics) SetStorageClass added in v1.34.16

func (s *ObjectLevelStatistics) SetStorageClass(v int64) *ObjectLevelStatistics

SetStorageClass sets the StorageClass field's value.

func (*ObjectLevelStatistics) SetTotal added in v1.34.16

SetTotal sets the Total field's value.

func (ObjectLevelStatistics) String added in v1.34.16

func (s ObjectLevelStatistics) String() string

String returns the string representation

type Occurrences added in v1.35.8

type Occurrences struct {

	// Specifies the location of occurrences of sensitive data in a Microsoft Excel
	// workbook, CSV file, or TSV file.
	Cells []*Cell `locationName:"cells" type:"list"`

	// Provides details about the location of occurrences of sensitive data in an
	// Adobe Portable Document Format file, Microsoft Word document, or non-binary
	// text file.
	LineRanges []*Range `locationName:"lineRanges" type:"list"`

	// Provides details about the location of occurrences of sensitive data in an
	// Adobe Portable Document Format file, Microsoft Word document, or non-binary
	// text file.
	OffsetRanges []*Range `locationName:"offsetRanges" type:"list"`

	// Specifies the location of occurrences of sensitive data in an Adobe Portable
	// Document Format file.
	Pages []*Page `locationName:"pages" type:"list"`

	// Specifies the location of occurrences of sensitive data in an Apache Parquet
	// file.
	Records []*Record `locationName:"records" type:"list"`
	// contains filtered or unexported fields
}

Provides the location of 1-15 occurrences of sensitive data that was detected by managed data identifiers or a custom data identifier and produced a sensitive data finding.

func (Occurrences) GoString added in v1.35.8

func (s Occurrences) GoString() string

GoString returns the string representation

func (*Occurrences) SetCells added in v1.35.8

func (s *Occurrences) SetCells(v []*Cell) *Occurrences

SetCells sets the Cells field's value.

func (*Occurrences) SetLineRanges added in v1.35.8

func (s *Occurrences) SetLineRanges(v []*Range) *Occurrences

SetLineRanges sets the LineRanges field's value.

func (*Occurrences) SetOffsetRanges added in v1.35.8

func (s *Occurrences) SetOffsetRanges(v []*Range) *Occurrences

SetOffsetRanges sets the OffsetRanges field's value.

func (*Occurrences) SetPages added in v1.35.8

func (s *Occurrences) SetPages(v []*Page) *Occurrences

SetPages sets the Pages field's value.

func (*Occurrences) SetRecords added in v1.35.8

func (s *Occurrences) SetRecords(v []*Record) *Occurrences

SetRecords sets the Records field's value.

func (Occurrences) String added in v1.35.8

func (s Occurrences) String() string

String returns the string representation

type Page added in v1.35.8

type Page struct {

	// Provides details about the location of an occurrence of sensitive data in
	// an Adobe Portable Document Format file, Microsoft Word document, or non-binary
	// text file.
	LineRange *Range `locationName:"lineRange" type:"structure"`

	// Provides details about the location of an occurrence of sensitive data in
	// an Adobe Portable Document Format file, Microsoft Word document, or non-binary
	// text file.
	OffsetRange *Range `locationName:"offsetRange" type:"structure"`

	PageNumber *int64 `locationName:"pageNumber" type:"long"`
	// contains filtered or unexported fields
}

Specifies the location of an occurrence of sensitive data in an Adobe Portable Document Format file.

func (Page) GoString added in v1.35.8

func (s Page) GoString() string

GoString returns the string representation

func (*Page) SetLineRange added in v1.35.8

func (s *Page) SetLineRange(v *Range) *Page

SetLineRange sets the LineRange field's value.

func (*Page) SetOffsetRange added in v1.35.8

func (s *Page) SetOffsetRange(v *Range) *Page

SetOffsetRange sets the OffsetRange field's value.

func (*Page) SetPageNumber added in v1.35.8

func (s *Page) SetPageNumber(v int64) *Page

SetPageNumber sets the PageNumber field's value.

func (Page) String added in v1.35.8

func (s Page) String() string

String returns the string representation

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) GoString

func (s PolicyDetails) GoString() string

GoString returns the string representation

func (*PolicyDetails) SetAction

func (s *PolicyDetails) SetAction(v *FindingAction) *PolicyDetails

SetAction sets the Action field's value.

func (*PolicyDetails) SetActor

func (s *PolicyDetails) SetActor(v *FindingActor) *PolicyDetails

SetActor sets the Actor field's value.

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) GoString

GoString returns the string representation

func (*PutClassificationExportConfigurationInput) SetConfiguration

SetConfiguration sets the Configuration field's value.

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) GoString

GoString returns the string representation

func (*PutClassificationExportConfigurationOutput) SetConfiguration

SetConfiguration sets the Configuration field's value.

func (PutClassificationExportConfigurationOutput) String

String returns the string representation

type PutFindingsPublicationConfigurationInput added in v1.38.2

type PutFindingsPublicationConfigurationInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// Specifies configuration settings that determine which findings are published
	// to AWS Security Hub automatically. For information about how Macie publishes
	// findings to Security Hub, see Amazon Macie integration with Security Hub
	// (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html)
	// in the Amazon Macie User Guide.
	SecurityHubConfiguration *SecurityHubConfiguration `locationName:"securityHubConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

Specifies configuration settings for publishing findings to AWS Security Hub automatically.

func (PutFindingsPublicationConfigurationInput) GoString added in v1.38.2

GoString returns the string representation

func (*PutFindingsPublicationConfigurationInput) SetClientToken added in v1.38.2

SetClientToken sets the ClientToken field's value.

func (*PutFindingsPublicationConfigurationInput) SetSecurityHubConfiguration added in v1.38.2

SetSecurityHubConfiguration sets the SecurityHubConfiguration field's value.

func (PutFindingsPublicationConfigurationInput) String added in v1.38.2

String returns the string representation

func (*PutFindingsPublicationConfigurationInput) Validate added in v1.38.2

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

type PutFindingsPublicationConfigurationOutput added in v1.38.2

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

func (PutFindingsPublicationConfigurationOutput) GoString added in v1.38.2

GoString returns the string representation

func (PutFindingsPublicationConfigurationOutput) String added in v1.38.2

String returns the string representation

type Range added in v1.35.8

type Range struct {
	End *int64 `locationName:"end" type:"long"`

	Start *int64 `locationName:"start" type:"long"`

	StartColumn *int64 `locationName:"startColumn" type:"long"`
	// contains filtered or unexported fields
}

Provides details about the location of an occurrence of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.

func (Range) GoString added in v1.35.8

func (s Range) GoString() string

GoString returns the string representation

func (*Range) SetEnd added in v1.35.8

func (s *Range) SetEnd(v int64) *Range

SetEnd sets the End field's value.

func (*Range) SetStart added in v1.35.8

func (s *Range) SetStart(v int64) *Range

SetStart sets the Start field's value.

func (*Range) SetStartColumn added in v1.35.8

func (s *Range) SetStartColumn(v int64) *Range

SetStartColumn sets the StartColumn field's value.

func (Range) String added in v1.35.8

func (s Range) String() string

String returns the string representation

type Record added in v1.35.8

type Record struct {
	JsonPath *string `locationName:"jsonPath" type:"string"`

	RecordIndex *int64 `locationName:"recordIndex" type:"long"`
	// contains filtered or unexported fields
}

Specifies the location of an occurrence of sensitive data in an Apache Avro object container or Apache Parquet file.

func (Record) GoString added in v1.35.8

func (s Record) GoString() string

GoString returns the string representation

func (*Record) SetJsonPath added in v1.35.24

func (s *Record) SetJsonPath(v string) *Record

SetJsonPath sets the JsonPath field's value.

func (*Record) SetRecordIndex added in v1.35.8

func (s *Record) SetRecordIndex(v int64) *Record

SetRecordIndex sets the RecordIndex field's value.

func (Record) String added in v1.35.8

func (s Record) String() string

String returns the string representation

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) GoString

func (s ReplicationDetails) GoString() string

GoString returns the string representation

func (*ReplicationDetails) SetReplicated

func (s *ReplicationDetails) SetReplicated(v bool) *ReplicationDetails

SetReplicated sets the Replicated field's value.

func (*ReplicationDetails) SetReplicatedExternally

func (s *ReplicationDetails) SetReplicatedExternally(v bool) *ReplicationDetails

SetReplicatedExternally sets the ReplicatedExternally field's value.

func (*ReplicationDetails) SetReplicationAccounts

func (s *ReplicationDetails) SetReplicationAccounts(v []*string) *ReplicationDetails

SetReplicationAccounts sets the ReplicationAccounts field's value.

func (ReplicationDetails) String

func (s ReplicationDetails) String() string

String returns the string representation

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

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

Provides information about an error that occurred because a specified resource wasn't found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) 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) GoString

func (s ResourcesAffected) GoString() string

GoString returns the string representation

func (*ResourcesAffected) SetS3Bucket

func (s *ResourcesAffected) SetS3Bucket(v *S3Bucket) *ResourcesAffected

SetS3Bucket sets the S3Bucket field's value.

func (*ResourcesAffected) SetS3Object

func (s *ResourcesAffected) SetS3Object(v *S3Object) *ResourcesAffected

SetS3Object sets the S3Object field's value.

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 S3 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 the 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) GoString

func (s S3Bucket) GoString() string

GoString returns the string representation

func (*S3Bucket) SetArn

func (s *S3Bucket) SetArn(v string) *S3Bucket

SetArn sets the Arn field's value.

func (*S3Bucket) SetCreatedAt

func (s *S3Bucket) SetCreatedAt(v time.Time) *S3Bucket

SetCreatedAt sets the CreatedAt field's value.

func (*S3Bucket) SetDefaultServerSideEncryption

func (s *S3Bucket) SetDefaultServerSideEncryption(v *ServerSideEncryption) *S3Bucket

SetDefaultServerSideEncryption sets the DefaultServerSideEncryption field's value.

func (*S3Bucket) SetName

func (s *S3Bucket) SetName(v string) *S3Bucket

SetName sets the Name field's value.

func (*S3Bucket) SetOwner

func (s *S3Bucket) SetOwner(v *S3BucketOwner) *S3Bucket

SetOwner sets the Owner field's value.

func (*S3Bucket) SetPublicAccess

func (s *S3Bucket) SetPublicAccess(v *BucketPublicAccess) *S3Bucket

SetPublicAccess sets the PublicAccess field's value.

func (*S3Bucket) SetTags

func (s *S3Bucket) SetTags(v []*KeyValuePair) *S3Bucket

SetTags sets the Tags field's value.

func (S3Bucket) String

func (s S3Bucket) String() string

String returns the string representation

type S3BucketDefinitionForJob

type S3BucketDefinitionForJob struct {

	// AccountId is a required field
	AccountId *string `locationName:"accountId" type:"string" required:"true"`

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

Specifies which AWS account owns the S3 buckets that a classification job analyzes, and the buckets to analyze for the account.

func (S3BucketDefinitionForJob) GoString

func (s S3BucketDefinitionForJob) GoString() string

GoString returns the string representation

func (*S3BucketDefinitionForJob) SetAccountId

SetAccountId sets the AccountId field's value.

func (*S3BucketDefinitionForJob) SetBuckets

SetBuckets sets the Buckets field's value.

func (S3BucketDefinitionForJob) String

func (s S3BucketDefinitionForJob) String() string

String returns the string representation

func (*S3BucketDefinitionForJob) Validate added in v1.37.1

func (s *S3BucketDefinitionForJob) Validate() error

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

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) GoString

func (s S3BucketOwner) GoString() string

GoString returns the string representation

func (*S3BucketOwner) SetDisplayName

func (s *S3BucketOwner) SetDisplayName(v string) *S3BucketOwner

SetDisplayName sets the DisplayName field's value.

func (*S3BucketOwner) SetId

func (s *S3BucketOwner) SetId(v string) *S3BucketOwner

SetId sets the Id field's value.

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) GoString

func (s S3Destination) GoString() string

GoString returns the string representation

func (*S3Destination) SetBucketName

func (s *S3Destination) SetBucketName(v string) *S3Destination

SetBucketName sets the BucketName field's value.

func (*S3Destination) SetKeyPrefix

func (s *S3Destination) SetKeyPrefix(v string) *S3Destination

SetKeyPrefix sets the KeyPrefix field's value.

func (*S3Destination) SetKmsKeyArn

func (s *S3Destination) SetKmsKeyArn(v string) *S3Destination

SetKmsKeyArn sets the KmsKeyArn field's value.

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. Exclude conditions take precedence over include
	// conditions.
	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) GoString

func (s S3JobDefinition) GoString() string

GoString returns the string representation

func (*S3JobDefinition) SetBucketDefinitions

func (s *S3JobDefinition) SetBucketDefinitions(v []*S3BucketDefinitionForJob) *S3JobDefinition

SetBucketDefinitions sets the BucketDefinitions field's value.

func (*S3JobDefinition) SetScoping

func (s *S3JobDefinition) SetScoping(v *Scoping) *S3JobDefinition

SetScoping sets the Scoping field's value.

func (S3JobDefinition) String

func (s S3JobDefinition) String() string

String returns the string representation

func (*S3JobDefinition) Validate added in v1.37.1

func (s *S3JobDefinition) Validate() error

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

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 S3 object.
	ServerSideEncryption *ServerSideEncryption `locationName:"serverSideEncryption" type:"structure"`

	Size *int64 `locationName:"size" type:"long"`

	// The storage class of the S3 object. Possible values are:
	StorageClass *string `locationName:"storageClass" type:"string" enum:"StorageClass"`

	// 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) GoString

func (s S3Object) GoString() string

GoString returns the string representation

func (*S3Object) SetBucketArn

func (s *S3Object) SetBucketArn(v string) *S3Object

SetBucketArn sets the BucketArn field's value.

func (*S3Object) SetETag

func (s *S3Object) SetETag(v string) *S3Object

SetETag sets the ETag field's value.

func (*S3Object) SetExtension

func (s *S3Object) SetExtension(v string) *S3Object

SetExtension sets the Extension field's value.

func (*S3Object) SetKey

func (s *S3Object) SetKey(v string) *S3Object

SetKey sets the Key field's value.

func (*S3Object) SetLastModified

func (s *S3Object) SetLastModified(v time.Time) *S3Object

SetLastModified sets the LastModified field's value.

func (*S3Object) SetPath

func (s *S3Object) SetPath(v string) *S3Object

SetPath sets the Path field's value.

func (*S3Object) SetPublicAccess

func (s *S3Object) SetPublicAccess(v bool) *S3Object

SetPublicAccess sets the PublicAccess field's value.

func (*S3Object) SetServerSideEncryption

func (s *S3Object) SetServerSideEncryption(v *ServerSideEncryption) *S3Object

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*S3Object) SetSize

func (s *S3Object) SetSize(v int64) *S3Object

SetSize sets the Size field's value.

func (*S3Object) SetStorageClass

func (s *S3Object) SetStorageClass(v string) *S3Object

SetStorageClass sets the StorageClass field's value.

func (*S3Object) SetTags

func (s *S3Object) SetTags(v []*KeyValuePair) *S3Object

SetTags sets the Tags field's value.

func (*S3Object) SetVersionId

func (s *S3Object) SetVersionId(v string) *S3Object

SetVersionId sets the VersionId field's value.

func (S3Object) String

func (s S3Object) String() string

String returns the string representation

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. If you specify
	// more than one condition, Amazon Macie uses an AND operator to join the conditions.
	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. If you specify
	// more than one condition, Amazon Macie uses an AND operator to join the conditions.
	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. Exclude conditions take precedence over include conditions.

func (Scoping) GoString

func (s Scoping) GoString() string

GoString returns the string representation

func (*Scoping) SetExcludes

func (s *Scoping) SetExcludes(v *JobScopingBlock) *Scoping

SetExcludes sets the Excludes field's value.

func (*Scoping) SetIncludes

func (s *Scoping) SetIncludes(v *JobScopingBlock) *Scoping

SetIncludes sets the Includes field's value.

func (Scoping) String

func (s Scoping) String() string

String returns the string representation

type SecurityHubConfiguration added in v1.38.2

type SecurityHubConfiguration struct {

	// PublishClassificationFindings is a required field
	PublishClassificationFindings *bool `locationName:"publishClassificationFindings" type:"boolean" required:"true"`

	// PublishPolicyFindings is a required field
	PublishPolicyFindings *bool `locationName:"publishPolicyFindings" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Specifies configuration settings that determine which findings are published to AWS Security Hub automatically. For information about how Macie publishes findings to Security Hub, see Amazon Macie integration with Security Hub (https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html) in the Amazon Macie User Guide.

func (SecurityHubConfiguration) GoString added in v1.38.2

func (s SecurityHubConfiguration) GoString() string

GoString returns the string representation

func (*SecurityHubConfiguration) SetPublishClassificationFindings added in v1.38.2

func (s *SecurityHubConfiguration) SetPublishClassificationFindings(v bool) *SecurityHubConfiguration

SetPublishClassificationFindings sets the PublishClassificationFindings field's value.

func (*SecurityHubConfiguration) SetPublishPolicyFindings added in v1.38.2

func (s *SecurityHubConfiguration) SetPublishPolicyFindings(v bool) *SecurityHubConfiguration

SetPublishPolicyFindings sets the PublishPolicyFindings field's value.

func (SecurityHubConfiguration) String added in v1.38.2

func (s SecurityHubConfiguration) String() string

String returns the string representation

func (*SecurityHubConfiguration) Validate added in v1.38.2

func (s *SecurityHubConfiguration) Validate() error

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

type SensitiveDataItem

type SensitiveDataItem struct {

	// The category of sensitive data that was detected and produced the finding.
	// Possible values are:
	Category *string `locationName:"category" type:"string" enum:"SensitiveDataItemCategory"`

	// 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, types, and occurrences of sensitive data that produced a sensitive data finding.

func (SensitiveDataItem) GoString

func (s SensitiveDataItem) GoString() string

GoString returns the string representation

func (*SensitiveDataItem) SetCategory

func (s *SensitiveDataItem) SetCategory(v string) *SensitiveDataItem

SetCategory sets the Category field's value.

func (*SensitiveDataItem) SetDetections

func (s *SensitiveDataItem) SetDetections(v []*DefaultDetection) *SensitiveDataItem

SetDetections sets the Detections field's value.

func (*SensitiveDataItem) SetTotalCount

func (s *SensitiveDataItem) SetTotalCount(v int64) *SensitiveDataItem

SetTotalCount sets the TotalCount field's value.

func (SensitiveDataItem) String

func (s SensitiveDataItem) String() string

String returns the string representation

type ServerSideEncryption

type ServerSideEncryption struct {

	// The type of server-side encryption that's used to encrypt an S3 object or
	// objects in an S3 bucket. Valid values are:
	EncryptionType *string `locationName:"encryptionType" type:"string" enum:"EncryptionType"`

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

Provides information about the server-side encryption settings for an S3 bucket or S3 object.

func (ServerSideEncryption) GoString

func (s ServerSideEncryption) GoString() string

GoString returns the string representation

func (*ServerSideEncryption) SetEncryptionType

func (s *ServerSideEncryption) SetEncryptionType(v string) *ServerSideEncryption

SetEncryptionType sets the EncryptionType field's value.

func (*ServerSideEncryption) SetKmsMasterKeyId

func (s *ServerSideEncryption) SetKmsMasterKeyId(v string) *ServerSideEncryption

SetKmsMasterKeyId sets the KmsMasterKeyId field's value.

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 *string `locationName:"unit" type:"string" enum:"Unit"`

	Value *int64 `locationName:"value" type:"long"`
	// contains filtered or unexported fields
}

Specifies a current quota for an Amazon Macie account.

func (ServiceLimit) GoString

func (s ServiceLimit) GoString() string

GoString returns the string representation

func (*ServiceLimit) SetIsServiceLimited

func (s *ServiceLimit) SetIsServiceLimited(v bool) *ServiceLimit

SetIsServiceLimited sets the IsServiceLimited field's value.

func (*ServiceLimit) SetUnit

func (s *ServiceLimit) SetUnit(v string) *ServiceLimit

SetUnit sets the Unit field's value.

func (*ServiceLimit) SetValue

func (s *ServiceLimit) SetValue(v int64) *ServiceLimit

SetValue sets the Value field's value.

func (ServiceLimit) String

func (s ServiceLimit) String() string

String returns the string representation

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

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

Provides information about an error that occurred due to one or more service quotas for an account.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) 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) GoString

func (s SessionContext) GoString() string

GoString returns the string representation

func (*SessionContext) SetAttributes

SetAttributes sets the Attributes field's value.

func (*SessionContext) SetSessionIssuer

func (s *SessionContext) SetSessionIssuer(v *SessionIssuer) *SessionContext

SetSessionIssuer sets the SessionIssuer field's value.

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) GoString

func (s SessionContextAttributes) GoString() string

GoString returns the string representation

func (*SessionContextAttributes) SetCreationDate

SetCreationDate sets the CreationDate field's value.

func (*SessionContextAttributes) SetMfaAuthenticated

func (s *SessionContextAttributes) SetMfaAuthenticated(v bool) *SessionContextAttributes

SetMfaAuthenticated sets the MfaAuthenticated field's value.

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) GoString

func (s SessionIssuer) GoString() string

GoString returns the string representation

func (*SessionIssuer) SetAccountId

func (s *SessionIssuer) SetAccountId(v string) *SessionIssuer

SetAccountId sets the AccountId field's value.

func (*SessionIssuer) SetArn

func (s *SessionIssuer) SetArn(v string) *SessionIssuer

SetArn sets the Arn field's value.

func (*SessionIssuer) SetPrincipalId

func (s *SessionIssuer) SetPrincipalId(v string) *SessionIssuer

SetPrincipalId sets the PrincipalId field's value.

func (*SessionIssuer) SetType

func (s *SessionIssuer) SetType(v string) *SessionIssuer

SetType sets the Type field's value.

func (*SessionIssuer) SetUserName

func (s *SessionIssuer) SetUserName(v string) *SessionIssuer

SetUserName sets the UserName field's value.

func (SessionIssuer) String

func (s SessionIssuer) String() string

String returns the string representation

type Severity

type Severity struct {

	// The qualitative representation of the finding's severity. Possible values
	// are:
	Description *string `locationName:"description" type:"string" enum:"SeverityDescription"`

	Score *int64 `locationName:"score" type:"long"`
	// contains filtered or unexported fields
}

Provides the numerical and qualitative representations of a finding's severity.

func (Severity) GoString

func (s Severity) GoString() string

GoString returns the string representation

func (*Severity) SetDescription

func (s *Severity) SetDescription(v string) *Severity

SetDescription sets the Description field's value.

func (*Severity) SetScore

func (s *Severity) SetScore(v int64) *Severity

SetScore sets the Score field's value.

func (Severity) String

func (s Severity) String() string

String returns the string representation

type SimpleScopeTerm

type SimpleScopeTerm struct {

	// The operator to use in a condition. Valid values are:
	Comparator *string `locationName:"comparator" type:"string" enum:"JobComparator"`

	// The property to use in a condition that determines which objects are analyzed
	// by a classification job. Valid values are:
	Key *string `locationName:"key" type:"string" enum:"ScopeFilterKey"`

	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) GoString

func (s SimpleScopeTerm) GoString() string

GoString returns the string representation

func (*SimpleScopeTerm) SetComparator

func (s *SimpleScopeTerm) SetComparator(v string) *SimpleScopeTerm

SetComparator sets the Comparator field's value.

func (*SimpleScopeTerm) SetKey

func (s *SimpleScopeTerm) SetKey(v string) *SimpleScopeTerm

SetKey sets the Key field's value.

func (*SimpleScopeTerm) SetValues

func (s *SimpleScopeTerm) SetValues(v []*string) *SimpleScopeTerm

SetValues sets the Values field's value.

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 *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
	// contains filtered or unexported fields
}

Specifies criteria for sorting the results of a request for findings.

func (SortCriteria) GoString

func (s SortCriteria) GoString() string

GoString returns the string representation

func (*SortCriteria) SetAttributeName

func (s *SortCriteria) SetAttributeName(v string) *SortCriteria

SetAttributeName sets the AttributeName field's value.

func (*SortCriteria) SetOrderBy

func (s *SortCriteria) SetOrderBy(v string) *SortCriteria

SetOrderBy sets the OrderBy field's value.

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) GoString

func (s Statistics) GoString() string

GoString returns the string representation

func (*Statistics) SetApproximateNumberOfObjectsToProcess

func (s *Statistics) SetApproximateNumberOfObjectsToProcess(v float64) *Statistics

SetApproximateNumberOfObjectsToProcess sets the ApproximateNumberOfObjectsToProcess field's value.

func (*Statistics) SetNumberOfRuns

func (s *Statistics) SetNumberOfRuns(v float64) *Statistics

SetNumberOfRuns sets the NumberOfRuns field's value.

func (Statistics) String

func (s Statistics) String() string

String returns the string representation

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) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

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) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagScopeTerm

type TagScopeTerm struct {

	// The operator to use in a condition. Valid values are:
	Comparator *string `locationName:"comparator" type:"string" enum:"JobComparator"`

	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 *string `locationName:"target" type:"string" enum:"TagTarget"`
	// 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) GoString

func (s TagScopeTerm) GoString() string

GoString returns the string representation

func (*TagScopeTerm) SetComparator

func (s *TagScopeTerm) SetComparator(v string) *TagScopeTerm

SetComparator sets the Comparator field's value.

func (*TagScopeTerm) SetKey

func (s *TagScopeTerm) SetKey(v string) *TagScopeTerm

SetKey sets the Key field's value.

func (*TagScopeTerm) SetTagValues

func (s *TagScopeTerm) SetTagValues(v []*TagValuePair) *TagScopeTerm

SetTagValues sets the TagValues field's value.

func (*TagScopeTerm) SetTarget

func (s *TagScopeTerm) SetTarget(v string) *TagScopeTerm

SetTarget sets the Target field's value.

func (TagScopeTerm) String

func (s TagScopeTerm) String() string

String returns the string representation

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 or tag key and value pair to use in a tag-based condition for a classification job.

func (TagValuePair) GoString

func (s TagValuePair) GoString() string

GoString returns the string representation

func (*TagValuePair) SetKey

func (s *TagValuePair) SetKey(v string) *TagValuePair

SetKey sets the Key field's value.

func (*TagValuePair) SetValue

func (s *TagValuePair) SetValue(v string) *TagValuePair

SetValue sets the Value field's value.

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) GoString

GoString returns the string representation

func (*TestCustomDataIdentifierInput) SetIgnoreWords

SetIgnoreWords sets the IgnoreWords field's value.

func (*TestCustomDataIdentifierInput) SetKeywords

SetKeywords sets the Keywords field's value.

func (*TestCustomDataIdentifierInput) SetMaximumMatchDistance

func (s *TestCustomDataIdentifierInput) SetMaximumMatchDistance(v int64) *TestCustomDataIdentifierInput

SetMaximumMatchDistance sets the MaximumMatchDistance field's value.

func (*TestCustomDataIdentifierInput) SetRegex

SetRegex sets the Regex field's value.

func (*TestCustomDataIdentifierInput) SetSampleText

SetSampleText sets the SampleText field's value.

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) GoString

GoString returns the string representation

func (*TestCustomDataIdentifierOutput) SetMatchCount

SetMatchCount sets the MatchCount field's value.

func (TestCustomDataIdentifierOutput) String

String returns the string representation

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

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

Provides information about an error that occurred because too many requests were sent during a certain amount of time.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation

type UnprocessedAccount

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

	// The source of an issue or delay. Possible values are:
	ErrorCode *string `locationName:"errorCode" type:"string" enum:"ErrorCode"`

	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) GoString

func (s UnprocessedAccount) GoString() string

GoString returns the string representation

func (*UnprocessedAccount) SetAccountId

func (s *UnprocessedAccount) SetAccountId(v string) *UnprocessedAccount

SetAccountId sets the AccountId field's value.

func (*UnprocessedAccount) SetErrorCode

func (s *UnprocessedAccount) SetErrorCode(v string) *UnprocessedAccount

SetErrorCode sets the ErrorCode field's value.

func (*UnprocessedAccount) SetErrorMessage

func (s *UnprocessedAccount) SetErrorMessage(v string) *UnprocessedAccount

SetErrorMessage sets the ErrorMessage field's value.

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) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

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) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateClassificationJobInput

type UpdateClassificationJobInput struct {

	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`

	// The status of a classification job. Possible values are:
	//
	// JobStatus is a required field
	JobStatus *string `locationName:"jobStatus" type:"string" required:"true" enum:"JobStatus"`
	// contains filtered or unexported fields
}

Changes the status of a classification job. For more information about pausing, resuming, or cancelling jobs, see Managing and monitoring sensitive data discovery jobs (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-manage.html) in the Amazon Macie User Guide.

func (UpdateClassificationJobInput) GoString

func (s UpdateClassificationJobInput) GoString() string

GoString returns the string representation

func (*UpdateClassificationJobInput) SetJobId

SetJobId sets the JobId field's value.

func (*UpdateClassificationJobInput) SetJobStatus

SetJobStatus sets the JobStatus field's value.

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) GoString

GoString returns the string representation

func (UpdateClassificationJobOutput) String

String returns the string representation

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

	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) GoString

func (s UpdateFindingsFilterInput) GoString() string

GoString returns the string representation

func (*UpdateFindingsFilterInput) SetAction

SetAction sets the Action field's value.

func (*UpdateFindingsFilterInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateFindingsFilterInput) SetFindingCriteria

SetFindingCriteria sets the FindingCriteria field's value.

func (*UpdateFindingsFilterInput) SetId

SetId sets the Id field's value.

func (*UpdateFindingsFilterInput) SetName

SetName sets the Name field's value.

func (*UpdateFindingsFilterInput) SetPosition

SetPosition sets the Position field's value.

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) GoString

func (s UpdateFindingsFilterOutput) GoString() string

GoString returns the string representation

func (*UpdateFindingsFilterOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateFindingsFilterOutput) SetId

SetId sets the Id field's value.

func (UpdateFindingsFilterOutput) String

String returns the string representation

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). For more information,
	// see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html)
	// in the Amazon Macie User Guide. Valid values are:
	FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"`

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

Changes the status or configuration settings for an Amazon Macie account.

func (UpdateMacieSessionInput) GoString

func (s UpdateMacieSessionInput) GoString() string

GoString returns the string representation

func (*UpdateMacieSessionInput) SetFindingPublishingFrequency

func (s *UpdateMacieSessionInput) SetFindingPublishingFrequency(v string) *UpdateMacieSessionInput

SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.

func (*UpdateMacieSessionInput) SetStatus

SetStatus sets the Status field's value.

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) GoString

func (s UpdateMacieSessionOutput) GoString() string

GoString returns the string representation

func (UpdateMacieSessionOutput) String

func (s UpdateMacieSessionOutput) String() string

String returns the string representation

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 *string `locationName:"status" type:"string" required:"true" enum:"MacieStatus"`
	// contains filtered or unexported fields
}

Suspends (pauses) or re-enables an Amazon Macie member account.

func (UpdateMemberSessionInput) GoString

func (s UpdateMemberSessionInput) GoString() string

GoString returns the string representation

func (*UpdateMemberSessionInput) SetId

SetId sets the Id field's value.

func (*UpdateMemberSessionInput) SetStatus

SetStatus sets the Status field's value.

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) GoString

func (s UpdateMemberSessionOutput) GoString() string

GoString returns the string representation

func (UpdateMemberSessionOutput) String

func (s UpdateMemberSessionOutput) String() string

String returns the string representation

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 to enable Amazon Macie automatically for accounts that are added to an AWS organization.

func (UpdateOrganizationConfigurationInput) GoString

GoString returns the string representation

func (*UpdateOrganizationConfigurationInput) SetAutoEnable

SetAutoEnable sets the AutoEnable field's value.

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) GoString

GoString returns the string representation

func (UpdateOrganizationConfigurationOutput) String

String returns the string representation

type UsageByAccount

type UsageByAccount struct {

	// The type of currency that the data for an Amazon Macie usage metric is reported
	// in. Possible values are:
	Currency *string `locationName:"currency" type:"string" enum:"Currency"`

	EstimatedCost *string `locationName:"estimatedCost" type:"string"`

	// Specifies a current quota for an Amazon Macie account.
	ServiceLimit *ServiceLimit `locationName:"serviceLimit" type:"structure"`

	// The name of an Amazon Macie usage metric for an account. Possible values
	// are:
	Type *string `locationName:"type" type:"string" enum:"UsageType"`
	// contains filtered or unexported fields
}

Provides data for a specific usage metric and the corresponding quota for an Amazon Macie account.

func (UsageByAccount) GoString

func (s UsageByAccount) GoString() string

GoString returns the string representation

func (*UsageByAccount) SetCurrency

func (s *UsageByAccount) SetCurrency(v string) *UsageByAccount

SetCurrency sets the Currency field's value.

func (*UsageByAccount) SetEstimatedCost

func (s *UsageByAccount) SetEstimatedCost(v string) *UsageByAccount

SetEstimatedCost sets the EstimatedCost field's value.

func (*UsageByAccount) SetServiceLimit

func (s *UsageByAccount) SetServiceLimit(v *ServiceLimit) *UsageByAccount

SetServiceLimit sets the ServiceLimit field's value.

func (*UsageByAccount) SetType

func (s *UsageByAccount) SetType(v string) *UsageByAccount

SetType sets the Type field's value.

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 Amazon Macie account.

func (UsageRecord) GoString

func (s UsageRecord) GoString() string

GoString returns the string representation

func (*UsageRecord) SetAccountId

func (s *UsageRecord) SetAccountId(v string) *UsageRecord

SetAccountId sets the AccountId field's value.

func (*UsageRecord) SetFreeTrialStartDate

func (s *UsageRecord) SetFreeTrialStartDate(v time.Time) *UsageRecord

SetFreeTrialStartDate sets the FreeTrialStartDate field's value.

func (*UsageRecord) SetUsage

func (s *UsageRecord) SetUsage(v []*UsageByAccount) *UsageRecord

SetUsage sets the Usage field's value.

func (UsageRecord) String

func (s UsageRecord) String() string

String returns the string representation

type UsageStatisticsFilter

type UsageStatisticsFilter struct {

	// The operator to use in a condition that filters the results of a query for
	// Amazon Macie account quotas and usage data. Valid values are:
	Comparator *string `locationName:"comparator" type:"string" enum:"UsageStatisticsFilterComparator"`

	// The field to use in a condition that filters the results of a query for Amazon
	// Macie account quotas and usage data. Valid values are:
	Key *string `locationName:"key" type:"string" enum:"UsageStatisticsFilterKey"`

	Values []*string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Specifies a condition for filtering the results of a query for quota and usage data for one or more Amazon Macie accounts.

func (UsageStatisticsFilter) GoString

func (s UsageStatisticsFilter) GoString() string

GoString returns the string representation

func (*UsageStatisticsFilter) SetComparator added in v1.33.12

func (s *UsageStatisticsFilter) SetComparator(v string) *UsageStatisticsFilter

SetComparator sets the Comparator field's value.

func (*UsageStatisticsFilter) SetKey

SetKey sets the Key field's value.

func (*UsageStatisticsFilter) SetValues

SetValues sets the Values field's value.

func (UsageStatisticsFilter) String

func (s UsageStatisticsFilter) String() string

String returns the string representation

type UsageStatisticsSortBy

type UsageStatisticsSortBy struct {

	// The field to use to sort the results of a query for Amazon Macie account
	// quotas and usage data. Valid values are:
	Key *string `locationName:"key" type:"string" enum:"UsageStatisticsSortKey"`

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

Specifies criteria for sorting the results of a query for Amazon Macie account quotas and usage data.

func (UsageStatisticsSortBy) GoString

func (s UsageStatisticsSortBy) GoString() string

GoString returns the string representation

func (*UsageStatisticsSortBy) SetKey

SetKey sets the Key field's value.

func (*UsageStatisticsSortBy) SetOrderBy

SetOrderBy sets the OrderBy field's value.

func (UsageStatisticsSortBy) String

func (s UsageStatisticsSortBy) String() string

String returns the string representation

type UsageTotal

type UsageTotal struct {

	// The type of currency that the data for an Amazon Macie usage metric is reported
	// in. Possible values are:
	Currency *string `locationName:"currency" type:"string" enum:"Currency"`

	EstimatedCost *string `locationName:"estimatedCost" type:"string"`

	// The name of an Amazon Macie usage metric for an account. Possible values
	// are:
	Type *string `locationName:"type" type:"string" enum:"UsageType"`
	// contains filtered or unexported fields
}

Provides aggregated data for an Amazon Macie usage metric. The value for the metric reports estimated usage data for an account for the preceding 30 days or the current calendar month to date, depending on the time period (timeRange) specified in the request.

func (UsageTotal) GoString

func (s UsageTotal) GoString() string

GoString returns the string representation

func (*UsageTotal) SetCurrency

func (s *UsageTotal) SetCurrency(v string) *UsageTotal

SetCurrency sets the Currency field's value.

func (*UsageTotal) SetEstimatedCost

func (s *UsageTotal) SetEstimatedCost(v string) *UsageTotal

SetEstimatedCost sets the EstimatedCost field's value.

func (*UsageTotal) SetType

func (s *UsageTotal) SetType(v string) *UsageTotal

SetType sets the Type field's value.

func (UsageTotal) String

func (s UsageTotal) String() string

String returns the string representation

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 *string `locationName:"type" type:"string" enum:"UserIdentityType"`
	// 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) GoString

func (s UserIdentity) GoString() string

GoString returns the string representation

func (*UserIdentity) SetAssumedRole

func (s *UserIdentity) SetAssumedRole(v *AssumedRole) *UserIdentity

SetAssumedRole sets the AssumedRole field's value.

func (*UserIdentity) SetAwsAccount

func (s *UserIdentity) SetAwsAccount(v *AwsAccount) *UserIdentity

SetAwsAccount sets the AwsAccount field's value.

func (*UserIdentity) SetAwsService

func (s *UserIdentity) SetAwsService(v *AwsService) *UserIdentity

SetAwsService sets the AwsService field's value.

func (*UserIdentity) SetFederatedUser

func (s *UserIdentity) SetFederatedUser(v *FederatedUser) *UserIdentity

SetFederatedUser sets the FederatedUser field's value.

func (*UserIdentity) SetIamUser

func (s *UserIdentity) SetIamUser(v *IamUser) *UserIdentity

SetIamUser sets the IamUser field's value.

func (*UserIdentity) SetRoot

func (s *UserIdentity) SetRoot(v *UserIdentityRoot) *UserIdentity

SetRoot sets the Root field's value.

func (*UserIdentity) SetType

func (s *UserIdentity) SetType(v string) *UserIdentity

SetType sets the Type field's value.

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) GoString

func (s UserIdentityRoot) GoString() string

GoString returns the string representation

func (*UserIdentityRoot) SetAccountId

func (s *UserIdentityRoot) SetAccountId(v string) *UserIdentityRoot

SetAccountId sets the AccountId field's value.

func (*UserIdentityRoot) SetArn

SetArn sets the Arn field's value.

func (*UserIdentityRoot) SetPrincipalId

func (s *UserIdentityRoot) SetPrincipalId(v string) *UserIdentityRoot

SetPrincipalId sets the PrincipalId field's value.

func (UserIdentityRoot) String

func (s UserIdentityRoot) String() string

String returns the string representation

type UserPausedDetails added in v1.35.8

type UserPausedDetails struct {
	JobExpiresAt *time.Time `locationName:"jobExpiresAt" type:"timestamp" timestampFormat:"iso8601"`

	JobImminentExpirationHealthEventArn *string `locationName:"jobImminentExpirationHealthEventArn" type:"string"`

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

Provides information about when a classification job was paused. For a one-time job, this object also specifies when the job will expire and be cancelled if it isn't resumed. For a recurring job, this object also specifies when the paused job run will expire and be cancelled if it isn't resumed. This object is present only if a job's current status (jobStatus) is USER_PAUSED. The information in this object applies only to a job that was paused while it had a status of RUNNING.

func (UserPausedDetails) GoString added in v1.35.8

func (s UserPausedDetails) GoString() string

GoString returns the string representation

func (*UserPausedDetails) SetJobExpiresAt added in v1.35.8

func (s *UserPausedDetails) SetJobExpiresAt(v time.Time) *UserPausedDetails

SetJobExpiresAt sets the JobExpiresAt field's value.

func (*UserPausedDetails) SetJobImminentExpirationHealthEventArn added in v1.35.8

func (s *UserPausedDetails) SetJobImminentExpirationHealthEventArn(v string) *UserPausedDetails

SetJobImminentExpirationHealthEventArn sets the JobImminentExpirationHealthEventArn field's value.

func (*UserPausedDetails) SetJobPausedAt added in v1.35.8

func (s *UserPausedDetails) SetJobPausedAt(v time.Time) *UserPausedDetails

SetJobPausedAt sets the JobPausedAt field's value.

func (UserPausedDetails) String added in v1.35.8

func (s UserPausedDetails) String() string

String returns the string representation

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

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

Provides information about an error that occurred due to a syntax error in a request.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation

type WeeklySchedule

type WeeklySchedule struct {
	DayOfWeek *string `locationName:"dayOfWeek" type:"string" enum:"DayOfWeek"`
	// contains filtered or unexported fields
}

Specifies a weekly recurrence pattern for running a classification job.

func (WeeklySchedule) GoString

func (s WeeklySchedule) GoString() string

GoString returns the string representation

func (*WeeklySchedule) SetDayOfWeek

func (s *WeeklySchedule) SetDayOfWeek(v string) *WeeklySchedule

SetDayOfWeek sets the DayOfWeek field's value.

func (WeeklySchedule) String

func (s WeeklySchedule) String() string

String returns the string representation

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