libZSservicesZSamazonka-servicecatalog-appregistryZSamazonka-servicecatalog-appregistry
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Description

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

Creating a Request

data CreateAttributeGroup Source #

See: newCreateAttributeGroup smart constructor.

Constructors

CreateAttributeGroup' 

Fields

  • description :: Maybe Text

    The description of the attribute group that the user provides.

  • tags :: Maybe (HashMap Text Text)

    Key-value pairs you can use to associate with the attribute group.

  • name :: Text

    The name of the attribute group.

  • attributes :: Text

    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.

  • clientToken :: Text

    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.

Instances

Instances details
Eq CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Read CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Show CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Generic CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Associated Types

type Rep CreateAttributeGroup :: Type -> Type #

NFData CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Methods

rnf :: CreateAttributeGroup -> () #

Hashable CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

ToJSON CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

AWSRequest CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Associated Types

type AWSResponse CreateAttributeGroup #

ToHeaders CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

ToPath CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

ToQuery CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

type Rep CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

type Rep CreateAttributeGroup = D1 ('MetaData "CreateAttributeGroup" "Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup" "libZSservicesZSamazonka-servicecatalog-appregistryZSamazonka-servicecatalog-appregistry" 'False) (C1 ('MetaCons "CreateAttributeGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateAttributeGroup Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

newCreateAttributeGroup Source #

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_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.

Constructors

CreateAttributeGroupResponse' 

Fields

Instances

Instances details
Eq CreateAttributeGroupResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Read CreateAttributeGroupResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Show CreateAttributeGroupResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Generic CreateAttributeGroupResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

Associated Types

type Rep CreateAttributeGroupResponse :: Type -> Type #

NFData CreateAttributeGroupResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateAttributeGroup

type Rep CreateAttributeGroupResponse Source # 
Instance details

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