Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Derived from API version 2017-12-19
of the AWS service descriptions, licensed under Apache 2.0.
Amazon Macie Classic
Amazon Macie Classic has been discontinued and is no longer available.
A new Amazon Macie is now available with significant design improvements and additional features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User Guide.
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _InternalException :: AsError a => Fold a ServiceError
- _InvalidInputException :: AsError a => Fold a ServiceError
- _LimitExceededException :: AsError a => Fold a ServiceError
- data AssociateMemberAccount = AssociateMemberAccount' Text
- newAssociateMemberAccount :: Text -> AssociateMemberAccount
- data AssociateMemberAccountResponse = AssociateMemberAccountResponse' {
- newAssociateMemberAccountResponse :: AssociateMemberAccountResponse
- data AssociateS3Resources = AssociateS3Resources' (Maybe Text) [S3ResourceClassification]
- newAssociateS3Resources :: AssociateS3Resources
- data AssociateS3ResourcesResponse = AssociateS3ResourcesResponse' (Maybe [FailedS3Resource]) Int
- newAssociateS3ResourcesResponse :: Int -> AssociateS3ResourcesResponse
- data DisassociateMemberAccount = DisassociateMemberAccount' Text
- newDisassociateMemberAccount :: Text -> DisassociateMemberAccount
- data DisassociateMemberAccountResponse = DisassociateMemberAccountResponse' {
- newDisassociateMemberAccountResponse :: DisassociateMemberAccountResponse
- data DisassociateS3Resources = DisassociateS3Resources' (Maybe Text) [S3Resource]
- newDisassociateS3Resources :: DisassociateS3Resources
- data DisassociateS3ResourcesResponse = DisassociateS3ResourcesResponse' (Maybe [FailedS3Resource]) Int
- newDisassociateS3ResourcesResponse :: Int -> DisassociateS3ResourcesResponse
- data ListMemberAccounts = ListMemberAccounts' (Maybe Int) (Maybe Text)
- newListMemberAccounts :: ListMemberAccounts
- data ListMemberAccountsResponse = ListMemberAccountsResponse' (Maybe [MemberAccount]) (Maybe Text) Int
- newListMemberAccountsResponse :: Int -> ListMemberAccountsResponse
- data ListS3Resources = ListS3Resources' (Maybe Int) (Maybe Text) (Maybe Text)
- newListS3Resources :: ListS3Resources
- data ListS3ResourcesResponse = ListS3ResourcesResponse' (Maybe Text) (Maybe [S3ResourceClassification]) Int
- newListS3ResourcesResponse :: Int -> ListS3ResourcesResponse
- data UpdateS3Resources = UpdateS3Resources' (Maybe Text) [S3ResourceClassificationUpdate]
- newUpdateS3Resources :: UpdateS3Resources
- data UpdateS3ResourcesResponse = UpdateS3ResourcesResponse' (Maybe [FailedS3Resource]) Int
- newUpdateS3ResourcesResponse :: Int -> UpdateS3ResourcesResponse
- newtype S3ContinuousClassificationType where
- newtype S3OneTimeClassificationType where
- data ClassificationType = ClassificationType' S3OneTimeClassificationType S3ContinuousClassificationType
- newClassificationType :: S3OneTimeClassificationType -> S3ContinuousClassificationType -> ClassificationType
- data ClassificationTypeUpdate = ClassificationTypeUpdate' (Maybe S3ContinuousClassificationType) (Maybe S3OneTimeClassificationType)
- newClassificationTypeUpdate :: ClassificationTypeUpdate
- data FailedS3Resource = FailedS3Resource' (Maybe Text) (Maybe Text) (Maybe S3Resource)
- newFailedS3Resource :: FailedS3Resource
- data MemberAccount = MemberAccount' (Maybe Text)
- newMemberAccount :: MemberAccount
- data S3Resource = S3Resource' (Maybe Text) Text
- newS3Resource :: Text -> S3Resource
- data S3ResourceClassification = S3ResourceClassification' (Maybe Text) Text ClassificationType
- newS3ResourceClassification :: Text -> ClassificationType -> S3ResourceClassification
- data S3ResourceClassificationUpdate = S3ResourceClassificationUpdate' (Maybe Text) Text ClassificationTypeUpdate
- newS3ResourceClassificationUpdate :: Text -> ClassificationTypeUpdate -> S3ResourceClassificationUpdate
Service Configuration
defaultService :: Service Source #
API version 2017-12-19
of the Amazon Macie SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by Macie
.
AccessDeniedException
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
(Discontinued) You do not have required permissions to access the requested resource.
InternalException
_InternalException :: AsError a => Fold a ServiceError Source #
(Discontinued) Internal server error.
InvalidInputException
_InvalidInputException :: AsError a => Fold a ServiceError Source #
(Discontinued) The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
LimitExceededException
_LimitExceededException :: AsError a => Fold a ServiceError Source #
(Discontinued) The request was rejected because it attempted to create resources beyond the current Amazon Web Services account quotas. The error code describes the quota exceeded.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
AssociateMemberAccount
data AssociateMemberAccount Source #
See: newAssociateMemberAccount
smart constructor.
Instances
newAssociateMemberAccount Source #
Create a value of AssociateMemberAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memberAccountId:AssociateMemberAccount'
, associateMemberAccount_memberAccountId
- (Discontinued) The ID of the Amazon Web Services account that you want
to associate with Amazon Macie Classic as a member account.
data AssociateMemberAccountResponse Source #
See: newAssociateMemberAccountResponse
smart constructor.
Instances
newAssociateMemberAccountResponse :: AssociateMemberAccountResponse Source #
Create a value of AssociateMemberAccountResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
AssociateS3Resources
data AssociateS3Resources Source #
See: newAssociateS3Resources
smart constructor.
Instances
newAssociateS3Resources :: AssociateS3Resources Source #
Create a value of AssociateS3Resources
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memberAccountId:AssociateS3Resources'
, associateS3Resources_memberAccountId
- (Discontinued) The ID of the Amazon Macie Classic member account whose
resources you want to associate with Macie Classic.
$sel:s3Resources:AssociateS3Resources'
, associateS3Resources_s3Resources
- (Discontinued) The S3 resources that you want to associate with Amazon
Macie Classic for monitoring and data classification.
data AssociateS3ResourcesResponse Source #
See: newAssociateS3ResourcesResponse
smart constructor.
Instances
newAssociateS3ResourcesResponse Source #
Create a value of AssociateS3ResourcesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failedS3Resources:AssociateS3ResourcesResponse'
, associateS3ResourcesResponse_failedS3Resources
- (Discontinued) S3 resources that couldn't be associated with Amazon
Macie Classic. An error code and an error message are provided for each
failed item.
$sel:httpStatus:AssociateS3ResourcesResponse'
, associateS3ResourcesResponse_httpStatus
- The response's http status code.
DisassociateMemberAccount
data DisassociateMemberAccount Source #
See: newDisassociateMemberAccount
smart constructor.
Instances
newDisassociateMemberAccount Source #
Create a value of DisassociateMemberAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memberAccountId:DisassociateMemberAccount'
, disassociateMemberAccount_memberAccountId
- (Discontinued) The ID of the member account that you want to remove from
Amazon Macie Classic.
data DisassociateMemberAccountResponse Source #
See: newDisassociateMemberAccountResponse
smart constructor.
Instances
newDisassociateMemberAccountResponse :: DisassociateMemberAccountResponse Source #
Create a value of DisassociateMemberAccountResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DisassociateS3Resources
data DisassociateS3Resources Source #
See: newDisassociateS3Resources
smart constructor.
Instances
newDisassociateS3Resources :: DisassociateS3Resources Source #
Create a value of DisassociateS3Resources
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memberAccountId:DisassociateS3Resources'
, disassociateS3Resources_memberAccountId
- (Discontinued) The ID of the Amazon Macie Classic member account whose
resources you want to remove from being monitored by Macie Classic.
$sel:associatedS3Resources:DisassociateS3Resources'
, disassociateS3Resources_associatedS3Resources
- (Discontinued) The S3 resources (buckets or prefixes) that you want to
remove from being monitored and classified by Amazon Macie Classic.
data DisassociateS3ResourcesResponse Source #
See: newDisassociateS3ResourcesResponse
smart constructor.
Instances
Generic DisassociateS3ResourcesResponse Source # | |
Read DisassociateS3ResourcesResponse Source # | |
Show DisassociateS3ResourcesResponse Source # | |
Defined in Amazonka.Macie.DisassociateS3Resources | |
NFData DisassociateS3ResourcesResponse Source # | |
Defined in Amazonka.Macie.DisassociateS3Resources rnf :: DisassociateS3ResourcesResponse -> () # | |
Eq DisassociateS3ResourcesResponse Source # | |
type Rep DisassociateS3ResourcesResponse Source # | |
Defined in Amazonka.Macie.DisassociateS3Resources type Rep DisassociateS3ResourcesResponse = D1 ('MetaData "DisassociateS3ResourcesResponse" "Amazonka.Macie.DisassociateS3Resources" "amazonka-macie-2.0-6zQjUC5IKQtkmzh23qe2R" 'False) (C1 ('MetaCons "DisassociateS3ResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedS3Resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedS3Resource])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateS3ResourcesResponse Source #
Create a value of DisassociateS3ResourcesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failedS3Resources:DisassociateS3ResourcesResponse'
, disassociateS3ResourcesResponse_failedS3Resources
- (Discontinued) S3 resources that couldn't be removed from being
monitored and classified by Amazon Macie Classic. An error code and an
error message are provided for each failed item.
$sel:httpStatus:DisassociateS3ResourcesResponse'
, disassociateS3ResourcesResponse_httpStatus
- The response's http status code.
ListMemberAccounts (Paginated)
data ListMemberAccounts Source #
See: newListMemberAccounts
smart constructor.
Instances
newListMemberAccounts :: ListMemberAccounts Source #
Create a value of ListMemberAccounts
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:ListMemberAccounts'
, listMemberAccounts_maxResults
- (Discontinued) Use this parameter to indicate the maximum number of
items that you want in the response. The default value is 250.
ListMemberAccounts
, listMemberAccounts_nextToken
- (Discontinued) Use this parameter when paginating results. Set the value
of this parameter to null on your first call to the ListMemberAccounts
action. Subsequent calls to the action fill nextToken
in the request
with the value of nextToken
from the previous response to continue
listing data.
data ListMemberAccountsResponse Source #
See: newListMemberAccountsResponse
smart constructor.
Instances
newListMemberAccountsResponse Source #
Create a value of ListMemberAccountsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memberAccounts:ListMemberAccountsResponse'
, listMemberAccountsResponse_memberAccounts
- (Discontinued) A list of the Amazon Macie Classic member accounts
returned by the action. The current Macie Classic administrator account
is also included in this list.
ListMemberAccounts
, listMemberAccountsResponse_nextToken
- (Discontinued) When a response is generated, if there is more data to be
listed, this parameter is present in the response and contains the value
to use for the nextToken
parameter in a subsequent pagination request.
If there is no more data to be listed, this parameter is set to null.
$sel:httpStatus:ListMemberAccountsResponse'
, listMemberAccountsResponse_httpStatus
- The response's http status code.
ListS3Resources (Paginated)
data ListS3Resources Source #
See: newListS3Resources
smart constructor.
Instances
newListS3Resources :: ListS3Resources Source #
Create a value of ListS3Resources
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:ListS3Resources'
, listS3Resources_maxResults
- (Discontinued) Use this parameter to indicate the maximum number of
items that you want in the response. The default value is 250.
$sel:memberAccountId:ListS3Resources'
, listS3Resources_memberAccountId
- (Discontinued) The Amazon Macie Classic member account ID whose
associated S3 resources you want to list.
ListS3Resources
, listS3Resources_nextToken
- (Discontinued) Use this parameter when paginating results. Set its value
to null on your first call to the ListS3Resources
action. Subsequent
calls to the action fill nextToken
in the request with the value of
nextToken
from the previous response to continue listing data.
data ListS3ResourcesResponse Source #
See: newListS3ResourcesResponse
smart constructor.
Instances
newListS3ResourcesResponse Source #
Create a value of ListS3ResourcesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListS3Resources
, listS3ResourcesResponse_nextToken
- (Discontinued) When a response is generated, if there is more data to be
listed, this parameter is present in the response and contains the value
to use for the nextToken
parameter in a subsequent pagination request.
If there is no more data to be listed, this parameter is set to null.
$sel:s3Resources:ListS3ResourcesResponse'
, listS3ResourcesResponse_s3Resources
- (Discontinued) A list of the associated S3 resources returned by the
action.
$sel:httpStatus:ListS3ResourcesResponse'
, listS3ResourcesResponse_httpStatus
- The response's http status code.
UpdateS3Resources
data UpdateS3Resources Source #
See: newUpdateS3Resources
smart constructor.
Instances
newUpdateS3Resources :: UpdateS3Resources Source #
Create a value of UpdateS3Resources
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memberAccountId:UpdateS3Resources'
, updateS3Resources_memberAccountId
- (Discontinued) The Amazon Web Services account ID of the Amazon Macie
Classic member account whose S3 resources' classification types you
want to update.
$sel:s3ResourcesUpdate:UpdateS3Resources'
, updateS3Resources_s3ResourcesUpdate
- (Discontinued) The S3 resources whose classification types you want to
update.
data UpdateS3ResourcesResponse Source #
See: newUpdateS3ResourcesResponse
smart constructor.
Instances
newUpdateS3ResourcesResponse Source #
Create a value of UpdateS3ResourcesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failedS3Resources:UpdateS3ResourcesResponse'
, updateS3ResourcesResponse_failedS3Resources
- (Discontinued) The S3 resources whose classification types can't be
updated. An error code and an error message are provided for each failed
item.
$sel:httpStatus:UpdateS3ResourcesResponse'
, updateS3ResourcesResponse_httpStatus
- The response's http status code.
Types
S3ContinuousClassificationType
newtype S3ContinuousClassificationType Source #
Instances
S3OneTimeClassificationType
newtype S3OneTimeClassificationType Source #
pattern S3OneTimeClassificationType_FULL :: S3OneTimeClassificationType | |
pattern S3OneTimeClassificationType_NONE :: S3OneTimeClassificationType |
Instances
ClassificationType
data ClassificationType Source #
(Discontinued) The classification type that Amazon Macie Classic applies to the associated S3 resources.
See: newClassificationType
smart constructor.
Instances
newClassificationType Source #
Create a value of ClassificationType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:oneTime:ClassificationType'
, classificationType_oneTime
- (Discontinued) A one-time classification of all of the existing objects
in a specified S3 bucket.
$sel:continuous:ClassificationType'
, classificationType_continuous
- (Discontinued) A continuous classification of the objects that are added
to a specified S3 bucket. Amazon Macie Classic begins performing
continuous classification after a bucket is successfully associated with
Macie Classic.
ClassificationTypeUpdate
data ClassificationTypeUpdate Source #
(Discontinued) The classification type that Amazon Macie Classic applies
to the associated S3 resources. At least one of the classification types
(oneTime
or continuous
) must be specified.
See: newClassificationTypeUpdate
smart constructor.
ClassificationTypeUpdate' (Maybe S3ContinuousClassificationType) (Maybe S3OneTimeClassificationType) |
Instances
newClassificationTypeUpdate :: ClassificationTypeUpdate Source #
Create a value of ClassificationTypeUpdate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:continuous:ClassificationTypeUpdate'
, classificationTypeUpdate_continuous
- (Discontinued) A continuous classification of the objects that are added
to a specified S3 bucket. Amazon Macie Classic begins performing
continuous classification after a bucket is successfully associated with
Macie Classic.
$sel:oneTime:ClassificationTypeUpdate'
, classificationTypeUpdate_oneTime
- (Discontinued) A one-time classification of all of the existing objects
in a specified S3 bucket.
FailedS3Resource
data FailedS3Resource Source #
(Discontinued) Includes details about the failed S3 resources.
See: newFailedS3Resource
smart constructor.
Instances
newFailedS3Resource :: FailedS3Resource Source #
Create a value of FailedS3Resource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:FailedS3Resource'
, failedS3Resource_errorCode
- (Discontinued) The status code of a failed item.
$sel:errorMessage:FailedS3Resource'
, failedS3Resource_errorMessage
- (Discontinued) The error message of a failed item.
$sel:failedItem:FailedS3Resource'
, failedS3Resource_failedItem
- (Discontinued) The failed S3 resources.
MemberAccount
data MemberAccount Source #
(Discontinued) Contains information about the Amazon Macie Classic member account.
See: newMemberAccount
smart constructor.
Instances
newMemberAccount :: MemberAccount Source #
Create a value of MemberAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:MemberAccount'
, memberAccount_accountId
- (Discontinued) The Amazon Web Services account ID of the Amazon Macie
Classic member account.
S3Resource
data S3Resource Source #
(Discontinued) Contains information about the S3 resource. This data
type is used as a request parameter in the DisassociateS3Resources
action and can be used as a response parameter in the
AssociateS3Resources
and UpdateS3Resources
actions.
See: newS3Resource
smart constructor.
Instances
Create a value of S3Resource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prefix:S3Resource'
, s3Resource_prefix
- (Discontinued) The prefix of the S3 bucket.
$sel:bucketName:S3Resource'
, s3Resource_bucketName
- (Discontinued) The name of the S3 bucket.
S3ResourceClassification
data S3ResourceClassification Source #
(Discontinued) The S3 resources that you want to associate with Amazon
Macie Classic for monitoring and data classification. This data type is
used as a request parameter in the AssociateS3Resources
action and a
response parameter in the ListS3Resources
action.
See: newS3ResourceClassification
smart constructor.
Instances
newS3ResourceClassification Source #
Create a value of S3ResourceClassification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prefix:S3ResourceClassification'
, s3ResourceClassification_prefix
- (Discontinued) The prefix of the S3 bucket that you want to associate
with Amazon Macie Classic.
$sel:bucketName:S3ResourceClassification'
, s3ResourceClassification_bucketName
- (Discontinued) The name of the S3 bucket that you want to associate with
Amazon Macie Classic.
$sel:classificationType:S3ResourceClassification'
, s3ResourceClassification_classificationType
- (Discontinued) The classification type that you want to specify for the
resource associated with Amazon Macie Classic.
S3ResourceClassificationUpdate
data S3ResourceClassificationUpdate Source #
(Discontinued) The S3 resources whose classification types you want to
update. This data type is used as a request parameter in the
UpdateS3Resources
action.
See: newS3ResourceClassificationUpdate
smart constructor.
Instances
newS3ResourceClassificationUpdate Source #
:: Text | |
-> ClassificationTypeUpdate |
|
-> S3ResourceClassificationUpdate |
Create a value of S3ResourceClassificationUpdate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prefix:S3ResourceClassificationUpdate'
, s3ResourceClassificationUpdate_prefix
- (Discontinued) The prefix of the S3 bucket whose classification types
you want to update.
$sel:bucketName:S3ResourceClassificationUpdate'
, s3ResourceClassificationUpdate_bucketName
- (Discontinued) The name of the S3 bucket whose classification types you
want to update.
$sel:classificationTypeUpdate:S3ResourceClassificationUpdate'
, s3ResourceClassificationUpdate_classificationTypeUpdate
- (Discontinued) The classification type that you want to update for the
resource associated with Amazon Macie Classic.