Macie2
public struct Macie2
Client object for interacting with AWS Macie2 service.
Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the Macie2 client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)
Parameters
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if the client shall manage its own EventLoopGroup.
-
Accepts an Amazon Macie membership invitation that was received from a specific account.
Declaration
Swift
public func acceptInvitation(_ input: AcceptInvitationRequest) -> EventLoopFuture<AcceptInvitationResponse>
-
Retrieves information about one or more custom data identifiers.
Declaration
Swift
public func batchGetCustomDataIdentifiers(_ input: BatchGetCustomDataIdentifiersRequest) -> EventLoopFuture<BatchGetCustomDataIdentifiersResponse>
-
Creates and defines the settings for a classification job.
Declaration
Swift
public func createClassificationJob(_ input: CreateClassificationJobRequest) -> EventLoopFuture<CreateClassificationJobResponse>
-
Creates and defines the criteria and other settings for a custom data identifier.
Declaration
Swift
public func createCustomDataIdentifier(_ input: CreateCustomDataIdentifierRequest) -> EventLoopFuture<CreateCustomDataIdentifierResponse>
-
Creates and defines the criteria and other settings for a findings filter.
Declaration
Swift
public func createFindingsFilter(_ input: CreateFindingsFilterRequest) -> EventLoopFuture<CreateFindingsFilterResponse>
-
Sends an Amazon Macie membership invitation to one or more accounts.
Declaration
Swift
public func createInvitations(_ input: CreateInvitationsRequest) -> EventLoopFuture<CreateInvitationsResponse>
-
Associates an account with an Amazon Macie master account.
Declaration
Swift
public func createMember(_ input: CreateMemberRequest) -> EventLoopFuture<CreateMemberResponse>
-
Creates sample findings.
Declaration
Swift
public func createSampleFindings(_ input: CreateSampleFindingsRequest) -> EventLoopFuture<CreateSampleFindingsResponse>
-
Declines Amazon Macie membership invitations that were received from specific accounts.
Declaration
Swift
public func declineInvitations(_ input: DeclineInvitationsRequest) -> EventLoopFuture<DeclineInvitationsResponse>
-
Soft deletes a custom data identifier.
Declaration
Swift
public func deleteCustomDataIdentifier(_ input: DeleteCustomDataIdentifierRequest) -> EventLoopFuture<DeleteCustomDataIdentifierResponse>
-
Deletes a findings filter.
Declaration
Swift
public func deleteFindingsFilter(_ input: DeleteFindingsFilterRequest) -> EventLoopFuture<DeleteFindingsFilterResponse>
-
Deletes Amazon Macie membership invitations that were received from specific accounts.
Declaration
Swift
public func deleteInvitations(_ input: DeleteInvitationsRequest) -> EventLoopFuture<DeleteInvitationsResponse>
-
Deletes the association between an Amazon Macie master account and an account.
Declaration
Swift
public func deleteMember(_ input: DeleteMemberRequest) -> EventLoopFuture<DeleteMemberResponse>
-
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
Declaration
Swift
public func describeBuckets(_ input: DescribeBucketsRequest) -> EventLoopFuture<DescribeBucketsResponse>
-
Retrieves information about the status and settings for a classification job.
Declaration
Swift
public func describeClassificationJob(_ input: DescribeClassificationJobRequest) -> EventLoopFuture<DescribeClassificationJobResponse>
-
Retrieves information about the Amazon Macie configuration settings for an AWS organization.
Declaration
Swift
public func describeOrganizationConfiguration(_ input: DescribeOrganizationConfigurationRequest) -> EventLoopFuture<DescribeOrganizationConfigurationResponse>
-
Disables an Amazon Macie account and deletes Macie resources for the account.
Declaration
Swift
public func disableMacie(_ input: DisableMacieRequest) -> EventLoopFuture<DisableMacieResponse>
-
Disables an account as a delegated administrator of Amazon Macie for an AWS organization.
Declaration
Swift
public func disableOrganizationAdminAccount(_ input: DisableOrganizationAdminAccountRequest) -> EventLoopFuture<DisableOrganizationAdminAccountResponse>
-
Disassociates a member account from its Amazon Macie master account.
Declaration
Swift
public func disassociateFromMasterAccount(_ input: DisassociateFromMasterAccountRequest) -> EventLoopFuture<DisassociateFromMasterAccountResponse>
-
Disassociates an Amazon Macie master account from a member account.
Declaration
Swift
public func disassociateMember(_ input: DisassociateMemberRequest) -> EventLoopFuture<DisassociateMemberResponse>
-
Enables Amazon Macie and specifies the configuration settings for a Macie account.
Declaration
Swift
public func enableMacie(_ input: EnableMacieRequest) -> EventLoopFuture<EnableMacieResponse>
-
Enables an account as a delegated administrator of Amazon Macie for an AWS organization.
Declaration
Swift
public func enableOrganizationAdminAccount(_ input: EnableOrganizationAdminAccountRequest) -> EventLoopFuture<EnableOrganizationAdminAccountResponse>
-
Retrieves (queries) aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes.
Declaration
Swift
public func getBucketStatistics(_ input: GetBucketStatisticsRequest) -> EventLoopFuture<GetBucketStatisticsResponse>
-
Retrieves the configuration settings for storing data classification results.
Declaration
Swift
public func getClassificationExportConfiguration(_ input: GetClassificationExportConfigurationRequest) -> EventLoopFuture<GetClassificationExportConfigurationResponse>
-
Retrieves information about the criteria and other settings for a custom data identifier.
Declaration
Swift
public func getCustomDataIdentifier(_ input: GetCustomDataIdentifierRequest) -> EventLoopFuture<GetCustomDataIdentifierResponse>
-
Retrieves (queries) aggregated statistical data about findings.
Declaration
Swift
public func getFindingStatistics(_ input: GetFindingStatisticsRequest) -> EventLoopFuture<GetFindingStatisticsResponse>
-
Retrieves information about one or more findings.
Declaration
Swift
public func getFindings(_ input: GetFindingsRequest) -> EventLoopFuture<GetFindingsResponse>
-
Retrieves information about the criteria and other settings for a findings filter.
Declaration
Swift
public func getFindingsFilter(_ input: GetFindingsFilterRequest) -> EventLoopFuture<GetFindingsFilterResponse>
-
Retrieves the count of Amazon Macie membership invitations that were received by an account.
Declaration
Swift
public func getInvitationsCount(_ input: GetInvitationsCountRequest) -> EventLoopFuture<GetInvitationsCountResponse>
-
Retrieves information about the current status and configuration settings for an Amazon Macie account.
Declaration
Swift
public func getMacieSession(_ input: GetMacieSessionRequest) -> EventLoopFuture<GetMacieSessionResponse>
-
Retrieves information about the Amazon Macie master account for an account.
Declaration
Swift
public func getMasterAccount(_ input: GetMasterAccountRequest) -> EventLoopFuture<GetMasterAccountResponse>
-
Retrieves information about a member account that’s associated with an Amazon Macie master account.
Declaration
Swift
public func getMember(_ input: GetMemberRequest) -> EventLoopFuture<GetMemberResponse>
-
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
Declaration
Swift
public func getUsageStatistics(_ input: GetUsageStatisticsRequest) -> EventLoopFuture<GetUsageStatisticsResponse>
-
Retrieves (queries) aggregated usage data for an account.
Declaration
Swift
public func getUsageTotals(_ input: GetUsageTotalsRequest) -> EventLoopFuture<GetUsageTotalsResponse>
-
Retrieves a subset of information about one or more classification jobs.
Declaration
Swift
public func listClassificationJobs(_ input: ListClassificationJobsRequest) -> EventLoopFuture<ListClassificationJobsResponse>
-
Retrieves a subset of information about all the custom data identifiers for an account.
Declaration
Swift
public func listCustomDataIdentifiers(_ input: ListCustomDataIdentifiersRequest) -> EventLoopFuture<ListCustomDataIdentifiersResponse>
-
Retrieves a subset of information about one or more findings.
Declaration
Swift
public func listFindings(_ input: ListFindingsRequest) -> EventLoopFuture<ListFindingsResponse>
-
Retrieves a subset of information about all the findings filters for an account.
Declaration
Swift
public func listFindingsFilters(_ input: ListFindingsFiltersRequest) -> EventLoopFuture<ListFindingsFiltersResponse>
-
Retrieves information about all the Amazon Macie membership invitations that were received by an account.
Declaration
Swift
public func listInvitations(_ input: ListInvitationsRequest) -> EventLoopFuture<ListInvitationsResponse>
-
Retrieves information about the accounts that are associated with an Amazon Macie master account.
Declaration
Swift
public func listMembers(_ input: ListMembersRequest) -> EventLoopFuture<ListMembersResponse>
-
Retrieves information about the account that’s designated as the delegated administrator of Amazon Macie for an AWS organization.
Declaration
Swift
public func listOrganizationAdminAccounts(_ input: ListOrganizationAdminAccountsRequest) -> EventLoopFuture<ListOrganizationAdminAccountsResponse>
-
Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
Declaration
Swift
public func listTagsForResource(_ input: ListTagsForResourceRequest) -> EventLoopFuture<ListTagsForResourceResponse>
-
Creates or updates the configuration settings for storing data classification results.
Declaration
Swift
public func putClassificationExportConfiguration(_ input: PutClassificationExportConfigurationRequest) -> EventLoopFuture<PutClassificationExportConfigurationResponse>
-
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.
Declaration
Swift
public func tagResource(_ input: TagResourceRequest) -> EventLoopFuture<TagResourceResponse>
-
Tests a custom data identifier.
Declaration
Swift
public func testCustomDataIdentifier(_ input: TestCustomDataIdentifierRequest) -> EventLoopFuture<TestCustomDataIdentifierResponse>
-
Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
Declaration
Swift
public func untagResource(_ input: UntagResourceRequest) -> EventLoopFuture<UntagResourceResponse>
-
Cancels a classification job.
Declaration
Swift
public func updateClassificationJob(_ input: UpdateClassificationJobRequest) -> EventLoopFuture<UpdateClassificationJobResponse>
-
Updates the criteria and other settings for a findings filter.
Declaration
Swift
public func updateFindingsFilter(_ input: UpdateFindingsFilterRequest) -> EventLoopFuture<UpdateFindingsFilterResponse>
-
Suspends or re-enables an Amazon Macie account, or updates the configuration settings for a Macie account.
Declaration
Swift
public func updateMacieSession(_ input: UpdateMacieSessionRequest) -> EventLoopFuture<UpdateMacieSessionResponse>
-
Enables an Amazon Macie master account to suspend or re-enable a member account.
Declaration
Swift
public func updateMemberSession(_ input: UpdateMemberSessionRequest) -> EventLoopFuture<UpdateMemberSessionResponse>
-
Updates Amazon Macie configuration settings for an AWS organization.
Declaration
Swift
public func updateOrganizationConfiguration(_ input: UpdateOrganizationConfigurationRequest) -> EventLoopFuture<UpdateOrganizationConfigurationResponse>
-
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
Declaration
Swift
public func describeBucketsPaginator(_ input: DescribeBucketsRequest, onPage: @escaping (DescribeBucketsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
Declaration
Swift
public func getUsageStatisticsPaginator(_ input: GetUsageStatisticsRequest, onPage: @escaping (GetUsageStatisticsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves a subset of information about one or more classification jobs.
Declaration
Swift
public func listClassificationJobsPaginator(_ input: ListClassificationJobsRequest, onPage: @escaping (ListClassificationJobsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves a subset of information about all the custom data identifiers for an account.
Declaration
Swift
public func listCustomDataIdentifiersPaginator(_ input: ListCustomDataIdentifiersRequest, onPage: @escaping (ListCustomDataIdentifiersResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves a subset of information about one or more findings.
Declaration
Swift
public func listFindingsPaginator(_ input: ListFindingsRequest, onPage: @escaping (ListFindingsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves a subset of information about all the findings filters for an account.
Declaration
Swift
public func listFindingsFiltersPaginator(_ input: ListFindingsFiltersRequest, onPage: @escaping (ListFindingsFiltersResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves information about all the Amazon Macie membership invitations that were received by an account.
Declaration
Swift
public func listInvitationsPaginator(_ input: ListInvitationsRequest, onPage: @escaping (ListInvitationsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves information about the accounts that are associated with an Amazon Macie master account.
Declaration
Swift
public func listMembersPaginator(_ input: ListMembersRequest, onPage: @escaping (ListMembersResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves information about the account that’s designated as the delegated administrator of Amazon Macie for an AWS organization.
Declaration
Swift
public func listOrganizationAdminAccountsPaginator(_ input: ListOrganizationAdminAccountsRequest, onPage: @escaping (ListOrganizationAdminAccountsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct DescribeBucketsRequest : AWSShape
extension Macie2.DescribeBucketsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct GetUsageStatisticsRequest : AWSShape
extension Macie2.GetUsageStatisticsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListClassificationJobsRequest : AWSShape
extension Macie2.ListClassificationJobsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListCustomDataIdentifiersRequest : AWSShape
extension Macie2.ListCustomDataIdentifiersRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListFindingsRequest : AWSShape
extension Macie2.ListFindingsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListFindingsFiltersRequest : AWSShape
extension Macie2.ListFindingsFiltersRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListInvitationsRequest : AWSShape
extension Macie2.ListInvitationsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListMembersRequest : AWSShape
extension Macie2.ListMembersRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListOrganizationAdminAccountsRequest : AWSShape
extension Macie2.ListOrganizationAdminAccountsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum AdminStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum Currency : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum DayOfWeek : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum EffectivePermission : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum EncryptionType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ErrorCode : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum FindingActionType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum FindingCategory : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum FindingPublishingFrequency : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum FindingStatisticsSortAttributeName : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum FindingType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum FindingsFilterAction : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum GroupBy : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum JobComparator : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum JobStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum JobType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ListJobsFilterKey : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ListJobsSortAttributeName : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum MacieStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum OrderBy : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum RelationshipStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ScopeFilterKey : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum SensitiveDataItemCategory : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum SeverityDescription : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum SharedAccess : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum StorageClass : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum TagTarget : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum Unit : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum UsageStatisticsFilterComparator : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum UsageStatisticsFilterKey : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum UsageStatisticsSortKey : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum UsageType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum UserIdentityType : String, CustomStringConvertible, Codable