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 |
Associates an attribute group with an application to augment the application's metadata with the group's attributes. This feature enables applications to be described with user-defined details that are machine-readable, such as third-party integrations.
Synopsis
- data AssociateAttributeGroup = AssociateAttributeGroup' {}
- newAssociateAttributeGroup :: Text -> Text -> AssociateAttributeGroup
- associateAttributeGroup_application :: Lens' AssociateAttributeGroup Text
- associateAttributeGroup_attributeGroup :: Lens' AssociateAttributeGroup Text
- data AssociateAttributeGroupResponse = AssociateAttributeGroupResponse' {}
- newAssociateAttributeGroupResponse :: Int -> AssociateAttributeGroupResponse
- associateAttributeGroupResponse_applicationArn :: Lens' AssociateAttributeGroupResponse (Maybe Text)
- associateAttributeGroupResponse_attributeGroupArn :: Lens' AssociateAttributeGroupResponse (Maybe Text)
- associateAttributeGroupResponse_httpStatus :: Lens' AssociateAttributeGroupResponse Int
Creating a Request
data AssociateAttributeGroup Source #
See: newAssociateAttributeGroup
smart constructor.
AssociateAttributeGroup' | |
|
Instances
newAssociateAttributeGroup Source #
:: Text | |
-> Text | |
-> AssociateAttributeGroup |
Create a value of AssociateAttributeGroup
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:application:AssociateAttributeGroup'
, associateAttributeGroup_application
- The name or ID of the application.
$sel:attributeGroup:AssociateAttributeGroup'
, associateAttributeGroup_attributeGroup
- The name or ID of the attribute group that holds the attributes to
describe the application.
Request Lenses
associateAttributeGroup_application :: Lens' AssociateAttributeGroup Text Source #
The name or ID of the application.
associateAttributeGroup_attributeGroup :: Lens' AssociateAttributeGroup Text Source #
The name or ID of the attribute group that holds the attributes to describe the application.
Destructuring the Response
data AssociateAttributeGroupResponse Source #
See: newAssociateAttributeGroupResponse
smart constructor.
AssociateAttributeGroupResponse' | |
|
Instances
newAssociateAttributeGroupResponse Source #
Create a value of AssociateAttributeGroupResponse
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:applicationArn:AssociateAttributeGroupResponse'
, associateAttributeGroupResponse_applicationArn
- The Amazon resource name (ARN) of the application that was augmented
with attributes.
$sel:attributeGroupArn:AssociateAttributeGroupResponse'
, associateAttributeGroupResponse_attributeGroupArn
- The Amazon resource name (ARN) of the attribute group that contains the
application's new attributes.
$sel:httpStatus:AssociateAttributeGroupResponse'
, associateAttributeGroupResponse_httpStatus
- The response's http status code.
Response Lenses
associateAttributeGroupResponse_applicationArn :: Lens' AssociateAttributeGroupResponse (Maybe Text) Source #
The Amazon resource name (ARN) of the application that was augmented with attributes.
associateAttributeGroupResponse_attributeGroupArn :: Lens' AssociateAttributeGroupResponse (Maybe Text) Source #
The Amazon resource name (ARN) of the attribute group that contains the application's new attributes.
associateAttributeGroupResponse_httpStatus :: Lens' AssociateAttributeGroupResponse Int Source #
The response's http status code.