libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.CreateProvisioningTemplateVersion

Description

Creates a new version of a fleet provisioning template.

Requires permission to access the CreateProvisioningTemplateVersion action.

Synopsis

Creating a Request

data CreateProvisioningTemplateVersion Source #

See: newCreateProvisioningTemplateVersion smart constructor.

Constructors

CreateProvisioningTemplateVersion' 

Fields

Instances

Instances details
Eq CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

Read CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

Show CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

Generic CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

Associated Types

type Rep CreateProvisioningTemplateVersion :: Type -> Type #

NFData CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

Hashable CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

ToJSON CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

AWSRequest CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

ToHeaders CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

ToPath CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

ToQuery CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

type Rep CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

type Rep CreateProvisioningTemplateVersion = D1 ('MetaData "CreateProvisioningTemplateVersion" "Amazonka.IoT.CreateProvisioningTemplateVersion" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateProvisioningTemplateVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "setAsDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateProvisioningTemplateVersion Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

newCreateProvisioningTemplateVersion Source #

Create a value of CreateProvisioningTemplateVersion 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:setAsDefault:CreateProvisioningTemplateVersion', createProvisioningTemplateVersion_setAsDefault - Sets a fleet provision template version as the default version.

$sel:templateName:CreateProvisioningTemplateVersion', createProvisioningTemplateVersion_templateName - The name of the fleet provisioning template.

$sel:templateBody:CreateProvisioningTemplateVersion', createProvisioningTemplateVersion_templateBody - The JSON formatted contents of the fleet provisioning template.

Request Lenses

createProvisioningTemplateVersion_setAsDefault :: Lens' CreateProvisioningTemplateVersion (Maybe Bool) Source #

Sets a fleet provision template version as the default version.

createProvisioningTemplateVersion_templateBody :: Lens' CreateProvisioningTemplateVersion Text Source #

The JSON formatted contents of the fleet provisioning template.

Destructuring the Response

data CreateProvisioningTemplateVersionResponse Source #

Constructors

CreateProvisioningTemplateVersionResponse' 

Fields

Instances

Instances details
Eq CreateProvisioningTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

Read CreateProvisioningTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

Show CreateProvisioningTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

Generic CreateProvisioningTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

NFData CreateProvisioningTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

type Rep CreateProvisioningTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateProvisioningTemplateVersion

type Rep CreateProvisioningTemplateVersionResponse = D1 ('MetaData "CreateProvisioningTemplateVersionResponse" "Amazonka.IoT.CreateProvisioningTemplateVersion" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateProvisioningTemplateVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "templateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isDefaultVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

Response Lenses

createProvisioningTemplateVersionResponse_isDefaultVersion :: Lens' CreateProvisioningTemplateVersionResponse (Maybe Bool) Source #

True if the fleet provisioning template version is the default version, otherwise false.