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 |
Removes a canary from a group. You must run this operation in the Region where the canary exists.
Synopsis
- data DisassociateResource = DisassociateResource' {}
- newDisassociateResource :: Text -> Text -> DisassociateResource
- disassociateResource_groupIdentifier :: Lens' DisassociateResource Text
- disassociateResource_resourceArn :: Lens' DisassociateResource Text
- data DisassociateResourceResponse = DisassociateResourceResponse' {
- httpStatus :: Int
- newDisassociateResourceResponse :: Int -> DisassociateResourceResponse
- disassociateResourceResponse_httpStatus :: Lens' DisassociateResourceResponse Int
Creating a Request
data DisassociateResource Source #
See: newDisassociateResource
smart constructor.
DisassociateResource' | |
|
Instances
newDisassociateResource Source #
:: Text | |
-> Text | |
-> DisassociateResource |
Create a value of DisassociateResource
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:groupIdentifier:DisassociateResource'
, disassociateResource_groupIdentifier
- Specifies the group. You can specify the group name, the ARN, or the
group ID as the GroupIdentifier
.
$sel:resourceArn:DisassociateResource'
, disassociateResource_resourceArn
- The ARN of the canary that you want to remove from the specified group.
Request Lenses
disassociateResource_groupIdentifier :: Lens' DisassociateResource Text Source #
Specifies the group. You can specify the group name, the ARN, or the
group ID as the GroupIdentifier
.
disassociateResource_resourceArn :: Lens' DisassociateResource Text Source #
The ARN of the canary that you want to remove from the specified group.
Destructuring the Response
data DisassociateResourceResponse Source #
See: newDisassociateResourceResponse
smart constructor.
DisassociateResourceResponse' | |
|
Instances
newDisassociateResourceResponse Source #
Create a value of DisassociateResourceResponse
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:DisassociateResourceResponse'
, disassociateResourceResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateResourceResponse_httpStatus :: Lens' DisassociateResourceResponse Int Source #
The response's http status code.