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 |
Disassociates resources from a Firewall Manager resource set.
Synopsis
- data BatchDisassociateResource = BatchDisassociateResource' {
- resourceSetIdentifier :: Text
- items :: [Text]
- newBatchDisassociateResource :: Text -> BatchDisassociateResource
- batchDisassociateResource_resourceSetIdentifier :: Lens' BatchDisassociateResource Text
- batchDisassociateResource_items :: Lens' BatchDisassociateResource [Text]
- data BatchDisassociateResourceResponse = BatchDisassociateResourceResponse' {}
- newBatchDisassociateResourceResponse :: Int -> Text -> BatchDisassociateResourceResponse
- batchDisassociateResourceResponse_httpStatus :: Lens' BatchDisassociateResourceResponse Int
- batchDisassociateResourceResponse_resourceSetIdentifier :: Lens' BatchDisassociateResourceResponse Text
- batchDisassociateResourceResponse_failedItems :: Lens' BatchDisassociateResourceResponse [FailedItem]
Creating a Request
data BatchDisassociateResource Source #
See: newBatchDisassociateResource
smart constructor.
BatchDisassociateResource' | |
|
Instances
newBatchDisassociateResource Source #
Create a value of BatchDisassociateResource
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:
BatchDisassociateResource
, batchDisassociateResource_resourceSetIdentifier
- A unique identifier for the resource set, used in a TODO to refer to the
resource set.
$sel:items:BatchDisassociateResource'
, batchDisassociateResource_items
- The uniform resource identifiers (URI) of resources that should be
disassociated from the resource set. The URIs must be Amazon Resource
Names (ARNs).
Request Lenses
batchDisassociateResource_resourceSetIdentifier :: Lens' BatchDisassociateResource Text Source #
A unique identifier for the resource set, used in a TODO to refer to the resource set.
batchDisassociateResource_items :: Lens' BatchDisassociateResource [Text] Source #
The uniform resource identifiers (URI) of resources that should be disassociated from the resource set. The URIs must be Amazon Resource Names (ARNs).
Destructuring the Response
data BatchDisassociateResourceResponse Source #
See: newBatchDisassociateResourceResponse
smart constructor.
BatchDisassociateResourceResponse' | |
|
Instances
newBatchDisassociateResourceResponse Source #
Create a value of BatchDisassociateResourceResponse
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:httpStatus:BatchDisassociateResourceResponse'
, batchDisassociateResourceResponse_httpStatus
- The response's http status code.
BatchDisassociateResource
, batchDisassociateResourceResponse_resourceSetIdentifier
- A unique identifier for the resource set, used in a TODO to refer to the
resource set.
$sel:failedItems:BatchDisassociateResourceResponse'
, batchDisassociateResourceResponse_failedItems
- The resources that failed to disassociate from the resource set.
Response Lenses
batchDisassociateResourceResponse_httpStatus :: Lens' BatchDisassociateResourceResponse Int Source #
The response's http status code.
batchDisassociateResourceResponse_resourceSetIdentifier :: Lens' BatchDisassociateResourceResponse Text Source #
A unique identifier for the resource set, used in a TODO to refer to the resource set.
batchDisassociateResourceResponse_failedItems :: Lens' BatchDisassociateResourceResponse [FailedItem] Source #
The resources that failed to disassociate from the resource set.