libZSservicesZSamazonka-smsZSamazonka-sms
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.SMS.CreateApp

Description

Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.

Synopsis

Creating a Request

data CreateApp Source #

See: newCreateApp smart constructor.

Constructors

CreateApp' 

Fields

Instances

Instances details
Eq CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Read CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Show CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Generic CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Associated Types

type Rep CreateApp :: Type -> Type #

NFData CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Methods

rnf :: CreateApp -> () #

Hashable CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

ToJSON CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

AWSRequest CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Associated Types

type AWSResponse CreateApp #

ToHeaders CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Methods

toHeaders :: CreateApp -> [Header] #

ToPath CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

ToQuery CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

type Rep CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

type AWSResponse CreateApp Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

newCreateApp :: CreateApp Source #

Create a value of CreateApp 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:clientToken:CreateApp', createApp_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.

$sel:roleName:CreateApp', createApp_roleName - The name of the service role in the customer's account to be used by AWS SMS.

$sel:name:CreateApp', createApp_name - The name of the new application.

$sel:description:CreateApp', createApp_description - The description of the new application

$sel:serverGroups:CreateApp', createApp_serverGroups - The server groups to include in the application.

$sel:tags:CreateApp', createApp_tags - The tags to be associated with the application.

Request Lenses

createApp_clientToken :: Lens' CreateApp (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.

createApp_roleName :: Lens' CreateApp (Maybe Text) Source #

The name of the service role in the customer's account to be used by AWS SMS.

createApp_name :: Lens' CreateApp (Maybe Text) Source #

The name of the new application.

createApp_description :: Lens' CreateApp (Maybe Text) Source #

The description of the new application

createApp_serverGroups :: Lens' CreateApp (Maybe [ServerGroup]) Source #

The server groups to include in the application.

createApp_tags :: Lens' CreateApp (Maybe [Tag]) Source #

The tags to be associated with the application.

Destructuring the Response

data CreateAppResponse Source #

See: newCreateAppResponse smart constructor.

Constructors

CreateAppResponse' 

Fields

Instances

Instances details
Eq CreateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Read CreateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Show CreateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Generic CreateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Associated Types

type Rep CreateAppResponse :: Type -> Type #

NFData CreateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

Methods

rnf :: CreateAppResponse -> () #

type Rep CreateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.CreateApp

type Rep CreateAppResponse = D1 ('MetaData "CreateAppResponse" "Amazonka.SMS.CreateApp" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "CreateAppResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppSummary)) :*: S1 ('MetaSel ('Just "serverGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServerGroup]))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateAppResponse Source #

Create a value of CreateAppResponse 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:appSummary:CreateAppResponse', createAppResponse_appSummary - A summary description of the application.

$sel:serverGroups:CreateApp', createAppResponse_serverGroups - The server groups included in the application.

$sel:tags:CreateApp', createAppResponse_tags - The tags associated with the application.

$sel:httpStatus:CreateAppResponse', createAppResponse_httpStatus - The response's http status code.

Response Lenses

createAppResponse_appSummary :: Lens' CreateAppResponse (Maybe AppSummary) Source #

A summary description of the application.

createAppResponse_serverGroups :: Lens' CreateAppResponse (Maybe [ServerGroup]) Source #

The server groups included in the application.

createAppResponse_tags :: Lens' CreateAppResponse (Maybe [Tag]) Source #

The tags associated with the application.

createAppResponse_httpStatus :: Lens' CreateAppResponse Int Source #

The response's http status code.