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

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

  • documentVersion :: Maybe Text

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

  • name :: Text

    The name of the SSM document.

Instances

Instances details
Eq DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Read DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Show DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Generic DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Associated Types

type Rep DescribeDocument :: Type -> Type #

NFData DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Methods

rnf :: DescribeDocument -> () #

Hashable DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

ToJSON DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

AWSRequest DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Associated Types

type AWSResponse 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

type Rep DescribeDocument Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

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

Defined in Amazonka.SSM.DescribeDocument

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:

$sel:versionName: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.

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

$sel:name:DescribeDocument', describeDocument_name - The name of the SSM document.

Request Lenses

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_documentVersion :: Lens' DescribeDocument (Maybe Text) Source #

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

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
Eq DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Read DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Show DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Generic DescribeDocumentResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeDocument

Associated Types

type Rep DescribeDocumentResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-ssmZSamazonka-ssm" '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