libZSservicesZSamazonka-ssmZSamazonka-ssm
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.SSM.UpdateDocumentDefaultVersion

Description

Set the default version of a document.

Synopsis

Creating a Request

data UpdateDocumentDefaultVersion Source #

See: newUpdateDocumentDefaultVersion smart constructor.

Constructors

UpdateDocumentDefaultVersion' 

Fields

  • name :: Text

    The name of a custom document that you want to set as the default version.

  • documentVersion :: Text

    The version of a custom document that you want to set as the default version.

Instances

Instances details
Eq UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

Read UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

Show UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

Generic UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

Associated Types

type Rep UpdateDocumentDefaultVersion :: Type -> Type #

NFData UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

Hashable UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

ToJSON UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

AWSRequest UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

ToHeaders UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

ToPath UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

ToQuery UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

type Rep UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

type Rep UpdateDocumentDefaultVersion = D1 ('MetaData "UpdateDocumentDefaultVersion" "Amazonka.SSM.UpdateDocumentDefaultVersion" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UpdateDocumentDefaultVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "documentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateDocumentDefaultVersion Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

newUpdateDocumentDefaultVersion Source #

Create a value of UpdateDocumentDefaultVersion 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:name:UpdateDocumentDefaultVersion', updateDocumentDefaultVersion_name - The name of a custom document that you want to set as the default version.

$sel:documentVersion:UpdateDocumentDefaultVersion', updateDocumentDefaultVersion_documentVersion - The version of a custom document that you want to set as the default version.

Request Lenses

updateDocumentDefaultVersion_name :: Lens' UpdateDocumentDefaultVersion Text Source #

The name of a custom document that you want to set as the default version.

updateDocumentDefaultVersion_documentVersion :: Lens' UpdateDocumentDefaultVersion Text Source #

The version of a custom document that you want to set as the default version.

Destructuring the Response

data UpdateDocumentDefaultVersionResponse Source #

Constructors

UpdateDocumentDefaultVersionResponse' 

Fields

Instances

Instances details
Eq UpdateDocumentDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

Read UpdateDocumentDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

Show UpdateDocumentDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

Generic UpdateDocumentDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

NFData UpdateDocumentDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

type Rep UpdateDocumentDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateDocumentDefaultVersion

type Rep UpdateDocumentDefaultVersionResponse = D1 ('MetaData "UpdateDocumentDefaultVersionResponse" "Amazonka.SSM.UpdateDocumentDefaultVersion" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UpdateDocumentDefaultVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentDefaultVersionDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateDocumentDefaultVersionResponse Source #

Create a value of UpdateDocumentDefaultVersionResponse 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:description:UpdateDocumentDefaultVersionResponse', updateDocumentDefaultVersionResponse_description - The description of a custom document that you want to set as the default version.

$sel:httpStatus:UpdateDocumentDefaultVersionResponse', updateDocumentDefaultVersionResponse_httpStatus - The response's http status code.

Response Lenses

updateDocumentDefaultVersionResponse_description :: Lens' UpdateDocumentDefaultVersionResponse (Maybe DocumentDefaultVersionDescription) Source #

The description of a custom document that you want to set as the default version.