| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSM.DescribeDocument
Description
Describes the specified Amazon Web Services Systems Manager document (SSM document).
Synopsis
- data DescribeDocument = DescribeDocument' {
- documentVersion :: Maybe Text
- versionName :: Maybe Text
- name :: Text
- newDescribeDocument :: Text -> DescribeDocument
- describeDocument_documentVersion :: Lens' DescribeDocument (Maybe Text)
- describeDocument_versionName :: 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.
Constructors
| DescribeDocument' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeDocument |
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
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.