amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSM.DescribeDocument

Description

Describes the specified Amazon Web Services Systems Manager document (SSM document).

Synopsis

Creating a Request

data DescribeDocument Source #

See: newDescribeDocument smart constructor.

Constructors

DescribeDocument' 

Fields

  • documentVersion :: Maybe Text

    The document version for which you want information. Can be a specific version or the default version.

  • versionName :: Maybe Text

    An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.

  • name :: Text

    The name of the SSM document.

Instances

Instances details
ToJSON DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

ToHeaders DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

ToPath DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

ToQuery DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

AWSRequest DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Associated Types

type AWSResponse DescribeDocument #

Generic DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Associated Types

type Rep DescribeDocument :: Type -> Type #

Read DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Show DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

NFData DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Methods

rnf :: DescribeDocument -> () #

Eq DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Hashable DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

type AWSResponse DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

type Rep DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

type Rep DescribeDocument = D1 ('MetaData "DescribeDocument" "Amazonka.SSM.DescribeDocument" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "DescribeDocument'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "versionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDescribeDocument Source #

Create a value of DescribeDocument 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:

DescribeDocument, describeDocument_documentVersion - The document version for which you want information. Can be a specific version or the default version.

DescribeDocument, describeDocument_versionName - An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.

DescribeDocument, describeDocument_name - The name of the SSM document.

Request Lenses

describeDocument_documentVersion :: Lens' DescribeDocument (Maybe Text) Source #

The document version for which you want information. Can be a specific version or the default version.

describeDocument_versionName :: Lens' DescribeDocument (Maybe Text) Source #

An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.

describeDocument_name :: Lens' DescribeDocument Text Source #

The name of the SSM document.

Destructuring the Response

data DescribeDocumentResponse Source #

See: newDescribeDocumentResponse smart constructor.

Constructors

DescribeDocumentResponse' 

Fields

Instances

Instances details
Generic DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Associated Types

type Rep DescribeDocumentResponse :: Type -> Type #

Read DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Show DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

NFData DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Eq DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

type Rep DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

type Rep DescribeDocumentResponse = D1 ('MetaData "DescribeDocumentResponse" "Amazonka.SSM.DescribeDocument" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "DescribeDocumentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeDocumentResponse Source #

Create a value of DescribeDocumentResponse 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:document:DescribeDocumentResponse', describeDocumentResponse_document - Information about the SSM document.

$sel:httpStatus:DescribeDocumentResponse', describeDocumentResponse_httpStatus - The response's http status code.

Response Lenses