Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype S3ContinuousClassificationType where
- newtype S3OneTimeClassificationType where
- data ClassificationType = ClassificationType' {}
- newClassificationType :: S3OneTimeClassificationType -> S3ContinuousClassificationType -> ClassificationType
- classificationType_oneTime :: Lens' ClassificationType S3OneTimeClassificationType
- classificationType_continuous :: Lens' ClassificationType S3ContinuousClassificationType
- data ClassificationTypeUpdate = ClassificationTypeUpdate' {}
- newClassificationTypeUpdate :: ClassificationTypeUpdate
- classificationTypeUpdate_continuous :: Lens' ClassificationTypeUpdate (Maybe S3ContinuousClassificationType)
- classificationTypeUpdate_oneTime :: Lens' ClassificationTypeUpdate (Maybe S3OneTimeClassificationType)
- data FailedS3Resource = FailedS3Resource' {}
- newFailedS3Resource :: FailedS3Resource
- failedS3Resource_errorCode :: Lens' FailedS3Resource (Maybe Text)
- failedS3Resource_errorMessage :: Lens' FailedS3Resource (Maybe Text)
- failedS3Resource_failedItem :: Lens' FailedS3Resource (Maybe S3Resource)
- data MemberAccount = MemberAccount' {}
- newMemberAccount :: MemberAccount
- memberAccount_accountId :: Lens' MemberAccount (Maybe Text)
- data S3Resource = S3Resource' {
- prefix :: Maybe Text
- bucketName :: Text
- newS3Resource :: Text -> S3Resource
- s3Resource_prefix :: Lens' S3Resource (Maybe Text)
- s3Resource_bucketName :: Lens' S3Resource Text
- data S3ResourceClassification = S3ResourceClassification' {}
- newS3ResourceClassification :: Text -> ClassificationType -> S3ResourceClassification
- s3ResourceClassification_prefix :: Lens' S3ResourceClassification (Maybe Text)
- s3ResourceClassification_bucketName :: Lens' S3ResourceClassification Text
- s3ResourceClassification_classificationType :: Lens' S3ResourceClassification ClassificationType
- data S3ResourceClassificationUpdate = S3ResourceClassificationUpdate' {}
- newS3ResourceClassificationUpdate :: Text -> ClassificationTypeUpdate -> S3ResourceClassificationUpdate
- s3ResourceClassificationUpdate_prefix :: Lens' S3ResourceClassificationUpdate (Maybe Text)
- s3ResourceClassificationUpdate_bucketName :: Lens' S3ResourceClassificationUpdate Text
- s3ResourceClassificationUpdate_classificationTypeUpdate :: Lens' S3ResourceClassificationUpdate ClassificationTypeUpdate
Service Configuration
defaultService :: Service Source #
API version 2017-12-19
of the Amazon Macie SDK configuration.
Errors
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have required permissions to access the requested resource.
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
_InternalException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Internal server error.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was rejected because it attempted to create resources beyond the current AWS account limits. The error code describes the limit exceeded.
S3ContinuousClassificationType
newtype S3ContinuousClassificationType Source #
Instances
S3OneTimeClassificationType
newtype S3OneTimeClassificationType Source #
pattern S3OneTimeClassificationType_FULL :: S3OneTimeClassificationType | |
pattern S3OneTimeClassificationType_NONE :: S3OneTimeClassificationType |
Instances
ClassificationType
data ClassificationType Source #
The classification type that Amazon Macie Classic applies to the associated S3 resources.
See: newClassificationType
smart constructor.
ClassificationType' | |
|
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
- A one-time classification of all of the existing objects in a specified
S3 bucket.
$sel:continuous:ClassificationType'
, classificationType_continuous
- 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.
classificationType_oneTime :: Lens' ClassificationType S3OneTimeClassificationType Source #
A one-time classification of all of the existing objects in a specified S3 bucket.
classificationType_continuous :: Lens' ClassificationType S3ContinuousClassificationType Source #
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 #
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' | |
|
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
- 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
- A one-time classification of all of the existing objects in a specified
S3 bucket.
classificationTypeUpdate_continuous :: Lens' ClassificationTypeUpdate (Maybe S3ContinuousClassificationType) Source #
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_oneTime :: Lens' ClassificationTypeUpdate (Maybe S3OneTimeClassificationType) Source #
A one-time classification of all of the existing objects in a specified S3 bucket.
FailedS3Resource
data FailedS3Resource Source #
Includes details about the failed S3 resources.
See: newFailedS3Resource
smart constructor.
FailedS3Resource' | |
|
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
- The status code of a failed item.
$sel:errorMessage:FailedS3Resource'
, failedS3Resource_errorMessage
- The error message of a failed item.
$sel:failedItem:FailedS3Resource'
, failedS3Resource_failedItem
- The failed S3 resources.
failedS3Resource_errorCode :: Lens' FailedS3Resource (Maybe Text) Source #
The status code of a failed item.
failedS3Resource_errorMessage :: Lens' FailedS3Resource (Maybe Text) Source #
The error message of a failed item.
failedS3Resource_failedItem :: Lens' FailedS3Resource (Maybe S3Resource) Source #
The failed S3 resources.
MemberAccount
data MemberAccount Source #
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
- The AWS account ID of the Amazon Macie Classic member account.
memberAccount_accountId :: Lens' MemberAccount (Maybe Text) Source #
The AWS account ID of the Amazon Macie Classic member account.
S3Resource
data S3Resource Source #
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.
S3Resource' | |
|
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
- The prefix of the S3 bucket.
$sel:bucketName:S3Resource'
, s3Resource_bucketName
- The name of the S3 bucket.
s3Resource_prefix :: Lens' S3Resource (Maybe Text) Source #
The prefix of the S3 bucket.
s3Resource_bucketName :: Lens' S3Resource Text Source #
The name of the S3 bucket.
S3ResourceClassification
data S3ResourceClassification Source #
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.
S3ResourceClassification' | |
|
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
- The prefix of the S3 bucket that you want to associate with Amazon Macie
Classic.
$sel:bucketName:S3ResourceClassification'
, s3ResourceClassification_bucketName
- The name of the S3 bucket that you want to associate with Amazon Macie
Classic.
$sel:classificationType:S3ResourceClassification'
, s3ResourceClassification_classificationType
- The classification type that you want to specify for the resource
associated with Amazon Macie Classic.
s3ResourceClassification_prefix :: Lens' S3ResourceClassification (Maybe Text) Source #
The prefix of the S3 bucket that you want to associate with Amazon Macie Classic.
s3ResourceClassification_bucketName :: Lens' S3ResourceClassification Text Source #
The name of the S3 bucket that you want to associate with Amazon Macie Classic.
s3ResourceClassification_classificationType :: Lens' S3ResourceClassification ClassificationType Source #
The classification type that you want to specify for the resource associated with Amazon Macie Classic.
S3ResourceClassificationUpdate
data S3ResourceClassificationUpdate Source #
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.
S3ResourceClassificationUpdate' | |
|
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
- The prefix of the S3 bucket whose classification types you want to
update.
$sel:bucketName:S3ResourceClassificationUpdate'
, s3ResourceClassificationUpdate_bucketName
- The name of the S3 bucket whose classification types you want to update.
$sel:classificationTypeUpdate:S3ResourceClassificationUpdate'
, s3ResourceClassificationUpdate_classificationTypeUpdate
- The classification type that you want to update for the resource
associated with Amazon Macie Classic.
s3ResourceClassificationUpdate_prefix :: Lens' S3ResourceClassificationUpdate (Maybe Text) Source #
The prefix of the S3 bucket whose classification types you want to update.
s3ResourceClassificationUpdate_bucketName :: Lens' S3ResourceClassificationUpdate Text Source #
The name of the S3 bucket whose classification types you want to update.
s3ResourceClassificationUpdate_classificationTypeUpdate :: Lens' S3ResourceClassificationUpdate ClassificationTypeUpdate Source #
The classification type that you want to update for the resource associated with Amazon Macie Classic.