libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.CreateApplication

Description

Creates an application.

Synopsis

Creating a Request

data CreateApplication Source #

Represents the input of a CreateApplication operation.

See: newCreateApplication smart constructor.

Constructors

CreateApplication' 

Fields

  • computePlatform :: Maybe ComputePlatform

    The destination platform type for the deployment (Lambda, Server, or ECS).

  • tags :: Maybe [Tag]

    The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.

  • applicationName :: Text

    The name of the application. This name must be unique with the applicable IAM user or AWS account.

Instances

Instances details
Eq CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Read CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Show CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Generic CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Associated Types

type Rep CreateApplication :: Type -> Type #

NFData CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Methods

rnf :: CreateApplication -> () #

Hashable CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

ToJSON CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

AWSRequest CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Associated Types

type AWSResponse CreateApplication #

ToHeaders CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

ToPath CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

ToQuery CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

type Rep CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

type Rep CreateApplication = D1 ('MetaData "CreateApplication" "Amazonka.CodeDeploy.CreateApplication" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "CreateApplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "computePlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputePlatform)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateApplication Source # 
Instance details

Defined in Amazonka.CodeDeploy.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:computePlatform:CreateApplication', createApplication_computePlatform - The destination platform type for the deployment (Lambda, Server, or ECS).

$sel:tags:CreateApplication', createApplication_tags - The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.

$sel:applicationName:CreateApplication', createApplication_applicationName - The name of the application. This name must be unique with the applicable IAM user or AWS account.

Request Lenses

createApplication_computePlatform :: Lens' CreateApplication (Maybe ComputePlatform) Source #

The destination platform type for the deployment (Lambda, Server, or ECS).

createApplication_tags :: Lens' CreateApplication (Maybe [Tag]) Source #

The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.

createApplication_applicationName :: Lens' CreateApplication Text Source #

The name of the application. This name must be unique with the applicable IAM user or AWS account.

Destructuring the Response

data CreateApplicationResponse Source #

Represents the output of a CreateApplication operation.

See: newCreateApplicationResponse smart constructor.

Constructors

CreateApplicationResponse' 

Fields

Instances

Instances details
Eq CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Read CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Show CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Generic CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

Associated Types

type Rep CreateApplicationResponse :: Type -> Type #

NFData CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

type Rep CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.CreateApplication

type Rep CreateApplicationResponse = D1 ('MetaData "CreateApplicationResponse" "Amazonka.CodeDeploy.CreateApplication" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "CreateApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:applicationId:CreateApplicationResponse', createApplicationResponse_applicationId - A unique application ID.

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

Response Lenses