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

Description

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

Synopsis

Creating a Request

data CreateLoggerDefinition Source #

See: newCreateLoggerDefinition smart constructor.

Constructors

CreateLoggerDefinition' 

Fields

Instances

Instances details
Eq CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Read CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Show CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Generic CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Associated Types

type Rep CreateLoggerDefinition :: Type -> Type #

NFData CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Methods

rnf :: CreateLoggerDefinition -> () #

Hashable CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

ToJSON CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

AWSRequest CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Associated Types

type AWSResponse CreateLoggerDefinition #

ToHeaders CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

ToPath CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

ToQuery CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

type Rep CreateLoggerDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

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

Defined in Amazonka.Greengrass.CreateLoggerDefinition

newCreateLoggerDefinition :: CreateLoggerDefinition Source #

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

$sel:initialVersion:CreateLoggerDefinition', createLoggerDefinition_initialVersion - Information about the initial version of the logger definition.

$sel:name:CreateLoggerDefinition', createLoggerDefinition_name - The name of the logger definition.

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

Request Lenses

createLoggerDefinition_amznClientToken :: Lens' CreateLoggerDefinition (Maybe Text) Source #

A client token used to correlate requests and responses.

createLoggerDefinition_initialVersion :: Lens' CreateLoggerDefinition (Maybe LoggerDefinitionVersion) Source #

Information about the initial version of the logger definition.

Destructuring the Response

data CreateLoggerDefinitionResponse Source #

See: newCreateLoggerDefinitionResponse smart constructor.

Constructors

CreateLoggerDefinitionResponse' 

Fields

Instances

Instances details
Eq CreateLoggerDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Read CreateLoggerDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Show CreateLoggerDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Generic CreateLoggerDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

Associated Types

type Rep CreateLoggerDefinitionResponse :: Type -> Type #

NFData CreateLoggerDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

type Rep CreateLoggerDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateLoggerDefinition

type Rep CreateLoggerDefinitionResponse = D1 ('MetaData "CreateLoggerDefinitionResponse" "Amazonka.Greengrass.CreateLoggerDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateLoggerDefinitionResponse'" '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)))))

newCreateLoggerDefinitionResponse Source #

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

$sel:arn:CreateLoggerDefinitionResponse', createLoggerDefinitionResponse_arn - The ARN of the definition.

$sel:name:CreateLoggerDefinition', createLoggerDefinitionResponse_name - The name of the definition.

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

$sel:id:CreateLoggerDefinitionResponse', createLoggerDefinitionResponse_id - The ID of the definition.

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

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

$sel:httpStatus:CreateLoggerDefinitionResponse', createLoggerDefinitionResponse_httpStatus - The response's http status code.

Response Lenses

createLoggerDefinitionResponse_latestVersionArn :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #

The ARN of the latest version associated with the definition.

createLoggerDefinitionResponse_creationTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #

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

createLoggerDefinitionResponse_latestVersion :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #

The ID of the latest version associated with the definition.

createLoggerDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #

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