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 |
Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools.
Synopsis
- data CreateAttributeGroup = CreateAttributeGroup' {
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- name :: Text
- attributes :: Text
- clientToken :: Text
- newCreateAttributeGroup :: Text -> Text -> Text -> CreateAttributeGroup
- createAttributeGroup_description :: Lens' CreateAttributeGroup (Maybe Text)
- createAttributeGroup_tags :: Lens' CreateAttributeGroup (Maybe (HashMap Text Text))
- createAttributeGroup_name :: Lens' CreateAttributeGroup Text
- createAttributeGroup_attributes :: Lens' CreateAttributeGroup Text
- createAttributeGroup_clientToken :: Lens' CreateAttributeGroup Text
- data CreateAttributeGroupResponse = CreateAttributeGroupResponse' {}
- newCreateAttributeGroupResponse :: Int -> CreateAttributeGroupResponse
- createAttributeGroupResponse_attributeGroup :: Lens' CreateAttributeGroupResponse (Maybe AttributeGroup)
- createAttributeGroupResponse_httpStatus :: Lens' CreateAttributeGroupResponse Int
Creating a Request
data CreateAttributeGroup Source #
See: newCreateAttributeGroup
smart constructor.
CreateAttributeGroup' | |
|
Instances
newCreateAttributeGroup Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateAttributeGroup |
Create a value of CreateAttributeGroup
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:description:CreateAttributeGroup'
, createAttributeGroup_description
- The description of the attribute group that the user provides.
$sel:tags:CreateAttributeGroup'
, createAttributeGroup_tags
- Key-value pairs you can use to associate with the attribute group.
$sel:name:CreateAttributeGroup'
, createAttributeGroup_name
- The name of the attribute group.
$sel:attributes:CreateAttributeGroup'
, createAttributeGroup_attributes
- A JSON string in the form of nested key-value pairs that represent the
attributes in the group and describes an application and its components.
$sel:clientToken:CreateAttributeGroup'
, createAttributeGroup_clientToken
- A unique identifier that you provide to ensure idempotency. If you retry
a request that completed successfully using the same client token and
the same parameters, the retry succeeds without performing any further
actions. If you retry a successful request using the same client token,
but one or more of the parameters are different, the retry fails.
Request Lenses
createAttributeGroup_description :: Lens' CreateAttributeGroup (Maybe Text) Source #
The description of the attribute group that the user provides.
createAttributeGroup_tags :: Lens' CreateAttributeGroup (Maybe (HashMap Text Text)) Source #
Key-value pairs you can use to associate with the attribute group.
createAttributeGroup_name :: Lens' CreateAttributeGroup Text Source #
The name of the attribute group.
createAttributeGroup_attributes :: Lens' CreateAttributeGroup Text Source #
A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.
createAttributeGroup_clientToken :: Lens' CreateAttributeGroup Text Source #
A unique identifier that you provide to ensure idempotency. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails.
Destructuring the Response
data CreateAttributeGroupResponse Source #
See: newCreateAttributeGroupResponse
smart constructor.
CreateAttributeGroupResponse' | |
|
Instances
Eq CreateAttributeGroupResponse Source # | |
Read CreateAttributeGroupResponse Source # | |
Show CreateAttributeGroupResponse Source # | |
Generic CreateAttributeGroupResponse Source # | |
NFData CreateAttributeGroupResponse Source # | |
Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup rnf :: CreateAttributeGroupResponse -> () # | |
type Rep CreateAttributeGroupResponse Source # | |
Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup type Rep CreateAttributeGroupResponse = D1 ('MetaData "CreateAttributeGroupResponse" "Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup" "libZSservicesZSamazonka-servicecatalog-appregistryZSamazonka-servicecatalog-appregistry" 'False) (C1 ('MetaCons "CreateAttributeGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttributeGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateAttributeGroupResponse Source #
Create a value of CreateAttributeGroupResponse
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:attributeGroup:CreateAttributeGroupResponse'
, createAttributeGroupResponse_attributeGroup
- Information about the attribute group.
$sel:httpStatus:CreateAttributeGroupResponse'
, createAttributeGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createAttributeGroupResponse_attributeGroup :: Lens' CreateAttributeGroupResponse (Maybe AttributeGroup) Source #
Information about the attribute group.
createAttributeGroupResponse_httpStatus :: Lens' CreateAttributeGroupResponse Int Source #
The response's http status code.