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 |
Registers a set of tag keys to include in scheduled event notifications for your resources.
To remove tags, use DeregisterInstanceEventNotificationAttributes.
Synopsis
- data RegisterInstanceEventNotificationAttributes = RegisterInstanceEventNotificationAttributes' {}
- newRegisterInstanceEventNotificationAttributes :: RegisterInstanceEventNotificationAttributes
- registerInstanceEventNotificationAttributes_dryRun :: Lens' RegisterInstanceEventNotificationAttributes (Maybe Bool)
- registerInstanceEventNotificationAttributes_instanceTagAttribute :: Lens' RegisterInstanceEventNotificationAttributes (Maybe RegisterInstanceTagAttributeRequest)
- data RegisterInstanceEventNotificationAttributesResponse = RegisterInstanceEventNotificationAttributesResponse' {}
- newRegisterInstanceEventNotificationAttributesResponse :: Int -> RegisterInstanceEventNotificationAttributesResponse
- registerInstanceEventNotificationAttributesResponse_instanceTagAttribute :: Lens' RegisterInstanceEventNotificationAttributesResponse (Maybe InstanceTagNotificationAttribute)
- registerInstanceEventNotificationAttributesResponse_httpStatus :: Lens' RegisterInstanceEventNotificationAttributesResponse Int
Creating a Request
data RegisterInstanceEventNotificationAttributes Source #
See: newRegisterInstanceEventNotificationAttributes
smart constructor.
RegisterInstanceEventNotificationAttributes' | |
|
Instances
newRegisterInstanceEventNotificationAttributes :: RegisterInstanceEventNotificationAttributes Source #
Create a value of RegisterInstanceEventNotificationAttributes
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:dryRun:RegisterInstanceEventNotificationAttributes'
, registerInstanceEventNotificationAttributes_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
RegisterInstanceEventNotificationAttributes
, registerInstanceEventNotificationAttributes_instanceTagAttribute
- Information about the tag keys to register.
Request Lenses
registerInstanceEventNotificationAttributes_dryRun :: Lens' RegisterInstanceEventNotificationAttributes (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
registerInstanceEventNotificationAttributes_instanceTagAttribute :: Lens' RegisterInstanceEventNotificationAttributes (Maybe RegisterInstanceTagAttributeRequest) Source #
Information about the tag keys to register.
Destructuring the Response
data RegisterInstanceEventNotificationAttributesResponse Source #
See: newRegisterInstanceEventNotificationAttributesResponse
smart constructor.
RegisterInstanceEventNotificationAttributesResponse' | |
|
Instances
newRegisterInstanceEventNotificationAttributesResponse Source #
:: Int |
|
-> RegisterInstanceEventNotificationAttributesResponse |
Create a value of RegisterInstanceEventNotificationAttributesResponse
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:
RegisterInstanceEventNotificationAttributes
, registerInstanceEventNotificationAttributesResponse_instanceTagAttribute
- The resulting set of tag keys.
$sel:httpStatus:RegisterInstanceEventNotificationAttributesResponse'
, registerInstanceEventNotificationAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
registerInstanceEventNotificationAttributesResponse_instanceTagAttribute :: Lens' RegisterInstanceEventNotificationAttributesResponse (Maybe InstanceTagNotificationAttribute) Source #
The resulting set of tag keys.
registerInstanceEventNotificationAttributesResponse_httpStatus :: Lens' RegisterInstanceEventNotificationAttributesResponse Int Source #
The response's http status code.