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

Description

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

Synopsis

Creating a Request

data CreateConnectorDefinition Source #

See: newCreateConnectorDefinition smart constructor.

Constructors

CreateConnectorDefinition' 

Fields

Instances

Instances details
Eq CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

Read CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

Show CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

Generic CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

Associated Types

type Rep CreateConnectorDefinition :: Type -> Type #

NFData CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

Hashable CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

ToJSON CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

AWSRequest CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

ToHeaders CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

ToPath CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

ToQuery CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

type Rep CreateConnectorDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

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

Defined in Amazonka.Greengrass.CreateConnectorDefinition

newCreateConnectorDefinition :: CreateConnectorDefinition Source #

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

$sel:initialVersion:CreateConnectorDefinition', createConnectorDefinition_initialVersion - Information about the initial version of the connector definition.

$sel:name:CreateConnectorDefinition', createConnectorDefinition_name - The name of the connector definition.

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

Request Lenses

createConnectorDefinition_amznClientToken :: Lens' CreateConnectorDefinition (Maybe Text) Source #

A client token used to correlate requests and responses.

createConnectorDefinition_initialVersion :: Lens' CreateConnectorDefinition (Maybe ConnectorDefinitionVersion) Source #

Information about the initial version of the connector definition.

Destructuring the Response

data CreateConnectorDefinitionResponse Source #

See: newCreateConnectorDefinitionResponse smart constructor.

Constructors

CreateConnectorDefinitionResponse' 

Fields

Instances

Instances details
Eq CreateConnectorDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

Read CreateConnectorDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

Show CreateConnectorDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

Generic CreateConnectorDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

Associated Types

type Rep CreateConnectorDefinitionResponse :: Type -> Type #

NFData CreateConnectorDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

type Rep CreateConnectorDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateConnectorDefinition

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

newCreateConnectorDefinitionResponse Source #

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

$sel:arn:CreateConnectorDefinitionResponse', createConnectorDefinitionResponse_arn - The ARN of the definition.

$sel:name:CreateConnectorDefinition', createConnectorDefinitionResponse_name - The name of the definition.

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

$sel:id:CreateConnectorDefinitionResponse', createConnectorDefinitionResponse_id - The ID of the definition.

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

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

$sel:httpStatus:CreateConnectorDefinitionResponse', createConnectorDefinitionResponse_httpStatus - The response's http status code.

Response Lenses

createConnectorDefinitionResponse_latestVersionArn :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #

The ARN of the latest version associated with the definition.

createConnectorDefinitionResponse_creationTimestamp :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #

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

createConnectorDefinitionResponse_latestVersion :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #

The ID of the latest version associated with the definition.

createConnectorDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #

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