Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes the specified Amazon Web Services Systems Manager document (SSM document).
Synopsis
- data DescribeDocument = DescribeDocument' {
- versionName :: Maybe Text
- documentVersion :: Maybe Text
- name :: Text
- newDescribeDocument :: Text -> DescribeDocument
- describeDocument_versionName :: Lens' DescribeDocument (Maybe Text)
- describeDocument_documentVersion :: Lens' DescribeDocument (Maybe Text)
- describeDocument_name :: Lens' DescribeDocument Text
- data DescribeDocumentResponse = DescribeDocumentResponse' {}
- newDescribeDocumentResponse :: Int -> DescribeDocumentResponse
- describeDocumentResponse_document :: Lens' DescribeDocumentResponse (Maybe DocumentDescription)
- describeDocumentResponse_httpStatus :: Lens' DescribeDocumentResponse Int
Creating a Request
data DescribeDocument Source #
See: newDescribeDocument
smart constructor.
DescribeDocument' | |
|
Instances
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.
DescribeDocumentResponse' | |
|
Instances
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
describeDocumentResponse_document :: Lens' DescribeDocumentResponse (Maybe DocumentDescription) Source #
Information about the SSM document.
describeDocumentResponse_httpStatus :: Lens' DescribeDocumentResponse Int Source #
The response's http status code.