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

Description

Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.

Synopsis

Creating a Request

data CreateApplication Source #

See: newCreateApplication smart constructor.

Constructors

CreateApplication' 

Fields

  • description :: Maybe Text

    The description of the application.

  • tags :: Maybe (HashMap Text Text)

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

  • name :: Text

    The name of the application. The name must be unique in the region in which you are creating the application.

  • 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 CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Read CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Show CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Generic CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Associated Types

type Rep CreateApplication :: Type -> Type #

NFData CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Methods

rnf :: CreateApplication -> () #

Hashable CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

ToJSON CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

AWSRequest CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Associated Types

type AWSResponse CreateApplication #

ToHeaders CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

ToPath CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

ToQuery CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

type Rep CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

type Rep CreateApplication = D1 ('MetaData "CreateApplication" "Amazonka.ServiceCatalogAppRegistry.CreateApplication" "libZSservicesZSamazonka-servicecatalog-appregistryZSamazonka-servicecatalog-appregistry" 'False) (C1 ('MetaCons "CreateApplication'" '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 "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateApplication Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

newCreateApplication Source #

Create a value of CreateApplication 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:CreateApplication', createApplication_description - The description of the application.

$sel:tags:CreateApplication', createApplication_tags - Key-value pairs you can use to associate with the application.

$sel:name:CreateApplication', createApplication_name - The name of the application. The name must be unique in the region in which you are creating the application.

$sel:clientToken:CreateApplication', createApplication_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

createApplication_description :: Lens' CreateApplication (Maybe Text) Source #

The description of the application.

createApplication_tags :: Lens' CreateApplication (Maybe (HashMap Text Text)) Source #

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

createApplication_name :: Lens' CreateApplication Text Source #

The name of the application. The name must be unique in the region in which you are creating the application.

createApplication_clientToken :: Lens' CreateApplication 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 CreateApplicationResponse Source #

See: newCreateApplicationResponse smart constructor.

Constructors

CreateApplicationResponse' 

Fields

Instances

Instances details
Eq CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Read CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Show CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Generic CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

Associated Types

type Rep CreateApplicationResponse :: Type -> Type #

NFData CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

type Rep CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.CreateApplication

type Rep CreateApplicationResponse = D1 ('MetaData "CreateApplicationResponse" "Amazonka.ServiceCatalogAppRegistry.CreateApplication" "libZSservicesZSamazonka-servicecatalog-appregistryZSamazonka-servicecatalog-appregistry" 'False) (C1 ('MetaCons "CreateApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "application") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Application)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateApplicationResponse Source #

Create a value of CreateApplicationResponse 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:CreateApplicationResponse', createApplicationResponse_application - Information about the application.

$sel:httpStatus:CreateApplicationResponse', createApplicationResponse_httpStatus - The response's http status code.

Response Lenses