libZSservicesZSamazonka-greengrassZSamazonka-greengrass
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.Greengrass.CreateSubscriptionDefinition

Description

Creates a subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time.

Synopsis

Creating a Request

data CreateSubscriptionDefinition Source #

See: newCreateSubscriptionDefinition smart constructor.

Constructors

CreateSubscriptionDefinition' 

Fields

Instances

Instances details
Eq CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

Read CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

Show CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

Generic CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

Associated Types

type Rep CreateSubscriptionDefinition :: Type -> Type #

NFData CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

Hashable CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

ToJSON CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

AWSRequest CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

ToHeaders CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

ToPath CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

ToQuery CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

type Rep CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

type Rep CreateSubscriptionDefinition = D1 ('MetaData "CreateSubscriptionDefinition" "Amazonka.Greengrass.CreateSubscriptionDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateSubscriptionDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "initialVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubscriptionDefinitionVersion))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))
type AWSResponse CreateSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

newCreateSubscriptionDefinition :: CreateSubscriptionDefinition Source #

Create a value of CreateSubscriptionDefinition 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:amznClientToken:CreateSubscriptionDefinition', createSubscriptionDefinition_amznClientToken - A client token used to correlate requests and responses.

$sel:initialVersion:CreateSubscriptionDefinition', createSubscriptionDefinition_initialVersion - Information about the initial version of the subscription definition.

$sel:name:CreateSubscriptionDefinition', createSubscriptionDefinition_name - The name of the subscription definition.

$sel:tags:CreateSubscriptionDefinition', createSubscriptionDefinition_tags - Tag(s) to add to the new resource.

Request Lenses

createSubscriptionDefinition_amznClientToken :: Lens' CreateSubscriptionDefinition (Maybe Text) Source #

A client token used to correlate requests and responses.

createSubscriptionDefinition_initialVersion :: Lens' CreateSubscriptionDefinition (Maybe SubscriptionDefinitionVersion) Source #

Information about the initial version of the subscription definition.

Destructuring the Response

data CreateSubscriptionDefinitionResponse Source #

Constructors

CreateSubscriptionDefinitionResponse' 

Fields

Instances

Instances details
Eq CreateSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

Read CreateSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

Show CreateSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

Generic CreateSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

NFData CreateSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

type Rep CreateSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSubscriptionDefinition

type Rep CreateSubscriptionDefinitionResponse = D1 ('MetaData "CreateSubscriptionDefinitionResponse" "Amazonka.Greengrass.CreateSubscriptionDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateSubscriptionDefinitionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "latestVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateSubscriptionDefinitionResponse Source #

Create a value of CreateSubscriptionDefinitionResponse 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:latestVersionArn:CreateSubscriptionDefinitionResponse', createSubscriptionDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.

$sel:arn:CreateSubscriptionDefinitionResponse', createSubscriptionDefinitionResponse_arn - The ARN of the definition.

$sel:name:CreateSubscriptionDefinition', createSubscriptionDefinitionResponse_name - The name of the definition.

$sel:creationTimestamp:CreateSubscriptionDefinitionResponse', createSubscriptionDefinitionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was created.

$sel:id:CreateSubscriptionDefinitionResponse', createSubscriptionDefinitionResponse_id - The ID of the definition.

$sel:latestVersion:CreateSubscriptionDefinitionResponse', createSubscriptionDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.

$sel:lastUpdatedTimestamp:CreateSubscriptionDefinitionResponse', createSubscriptionDefinitionResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last updated.

$sel:httpStatus:CreateSubscriptionDefinitionResponse', createSubscriptionDefinitionResponse_httpStatus - The response's http status code.

Response Lenses

createSubscriptionDefinitionResponse_creationTimestamp :: Lens' CreateSubscriptionDefinitionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the definition was created.

createSubscriptionDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateSubscriptionDefinitionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the definition was last updated.