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 |
Removes specified S3 resources from being monitored by Amazon Macie Classic. If memberAccountId isn't specified, the action removes specified S3 resources from Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action removes specified S3 resources from Macie Classic for the specified member account.
Synopsis
- data DisassociateS3Resources = DisassociateS3Resources' {}
- newDisassociateS3Resources :: DisassociateS3Resources
- disassociateS3Resources_memberAccountId :: Lens' DisassociateS3Resources (Maybe Text)
- disassociateS3Resources_associatedS3Resources :: Lens' DisassociateS3Resources [S3Resource]
- data DisassociateS3ResourcesResponse = DisassociateS3ResourcesResponse' {}
- newDisassociateS3ResourcesResponse :: Int -> DisassociateS3ResourcesResponse
- disassociateS3ResourcesResponse_failedS3Resources :: Lens' DisassociateS3ResourcesResponse (Maybe [FailedS3Resource])
- disassociateS3ResourcesResponse_httpStatus :: Lens' DisassociateS3ResourcesResponse Int
Creating a Request
data DisassociateS3Resources Source #
See: newDisassociateS3Resources
smart constructor.
DisassociateS3Resources' | |
|
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
- 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
- The S3 resources (buckets or prefixes) that you want to remove from
being monitored and classified by Amazon Macie Classic.
Request Lenses
disassociateS3Resources_memberAccountId :: Lens' DisassociateS3Resources (Maybe Text) Source #
The ID of the Amazon Macie Classic member account whose resources you want to remove from being monitored by Macie Classic.
disassociateS3Resources_associatedS3Resources :: Lens' DisassociateS3Resources [S3Resource] Source #
The S3 resources (buckets or prefixes) that you want to remove from being monitored and classified by Amazon Macie Classic.
Destructuring the Response
data DisassociateS3ResourcesResponse Source #
See: newDisassociateS3ResourcesResponse
smart constructor.
DisassociateS3ResourcesResponse' | |
|
Instances
Eq DisassociateS3ResourcesResponse Source # | |
Read DisassociateS3ResourcesResponse Source # | |
Show DisassociateS3ResourcesResponse Source # | |
Defined in Amazonka.Macie.DisassociateS3Resources | |
Generic DisassociateS3ResourcesResponse Source # | |
NFData DisassociateS3ResourcesResponse Source # | |
Defined in Amazonka.Macie.DisassociateS3Resources rnf :: DisassociateS3ResourcesResponse -> () # | |
type Rep DisassociateS3ResourcesResponse Source # | |
Defined in Amazonka.Macie.DisassociateS3Resources type Rep DisassociateS3ResourcesResponse = D1 ('MetaData "DisassociateS3ResourcesResponse" "Amazonka.Macie.DisassociateS3Resources" "libZSservicesZSamazonka-macieZSamazonka-macie" '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
- 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.
Response Lenses
disassociateS3ResourcesResponse_failedS3Resources :: Lens' DisassociateS3ResourcesResponse (Maybe [FailedS3Resource]) Source #
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.
disassociateS3ResourcesResponse_httpStatus :: Lens' DisassociateS3ResourcesResponse Int Source #
The response's http status code.