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 |
Synopsis
- data DocumentDescription = DocumentDescription' {
- status :: Maybe DocumentStatus
- documentType :: Maybe DocumentType
- hash :: Maybe Text
- versionName :: Maybe Text
- schemaVersion :: Maybe Text
- sha1 :: Maybe Text
- reviewStatus :: Maybe ReviewStatus
- attachmentsInformation :: Maybe [AttachmentInformation]
- defaultVersion :: Maybe Text
- targetType :: Maybe Text
- owner :: Maybe Text
- platformTypes :: Maybe [PlatformType]
- createdDate :: Maybe POSIX
- documentFormat :: Maybe DocumentFormat
- pendingReviewVersion :: Maybe Text
- name :: Maybe Text
- hashType :: Maybe DocumentHashType
- parameters :: Maybe [DocumentParameter]
- documentVersion :: Maybe Text
- author :: Maybe Text
- displayName :: Maybe Text
- statusInformation :: Maybe Text
- description :: Maybe Text
- requires :: Maybe (NonEmpty DocumentRequires)
- reviewInformation :: Maybe (NonEmpty ReviewInformation)
- tags :: Maybe [Tag]
- latestVersion :: Maybe Text
- approvedVersion :: Maybe Text
- newDocumentDescription :: DocumentDescription
- documentDescription_status :: Lens' DocumentDescription (Maybe DocumentStatus)
- documentDescription_documentType :: Lens' DocumentDescription (Maybe DocumentType)
- documentDescription_hash :: Lens' DocumentDescription (Maybe Text)
- documentDescription_versionName :: Lens' DocumentDescription (Maybe Text)
- documentDescription_schemaVersion :: Lens' DocumentDescription (Maybe Text)
- documentDescription_sha1 :: Lens' DocumentDescription (Maybe Text)
- documentDescription_reviewStatus :: Lens' DocumentDescription (Maybe ReviewStatus)
- documentDescription_attachmentsInformation :: Lens' DocumentDescription (Maybe [AttachmentInformation])
- documentDescription_defaultVersion :: Lens' DocumentDescription (Maybe Text)
- documentDescription_targetType :: Lens' DocumentDescription (Maybe Text)
- documentDescription_owner :: Lens' DocumentDescription (Maybe Text)
- documentDescription_platformTypes :: Lens' DocumentDescription (Maybe [PlatformType])
- documentDescription_createdDate :: Lens' DocumentDescription (Maybe UTCTime)
- documentDescription_documentFormat :: Lens' DocumentDescription (Maybe DocumentFormat)
- documentDescription_pendingReviewVersion :: Lens' DocumentDescription (Maybe Text)
- documentDescription_name :: Lens' DocumentDescription (Maybe Text)
- documentDescription_hashType :: Lens' DocumentDescription (Maybe DocumentHashType)
- documentDescription_parameters :: Lens' DocumentDescription (Maybe [DocumentParameter])
- documentDescription_documentVersion :: Lens' DocumentDescription (Maybe Text)
- documentDescription_author :: Lens' DocumentDescription (Maybe Text)
- documentDescription_displayName :: Lens' DocumentDescription (Maybe Text)
- documentDescription_statusInformation :: Lens' DocumentDescription (Maybe Text)
- documentDescription_description :: Lens' DocumentDescription (Maybe Text)
- documentDescription_requires :: Lens' DocumentDescription (Maybe (NonEmpty DocumentRequires))
- documentDescription_reviewInformation :: Lens' DocumentDescription (Maybe (NonEmpty ReviewInformation))
- documentDescription_tags :: Lens' DocumentDescription (Maybe [Tag])
- documentDescription_latestVersion :: Lens' DocumentDescription (Maybe Text)
- documentDescription_approvedVersion :: Lens' DocumentDescription (Maybe Text)
Documentation
data DocumentDescription Source #
Describes a Amazon Web Services Systems Manager document (SSM document).
See: newDocumentDescription
smart constructor.
DocumentDescription' | |
|
Instances
newDocumentDescription :: DocumentDescription Source #
Create a value of DocumentDescription
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:status:DocumentDescription'
, documentDescription_status
- The status of the SSM document.
$sel:documentType:DocumentDescription'
, documentDescription_documentType
- The type of document.
$sel:hash:DocumentDescription'
, documentDescription_hash
- The Sha256 or Sha1 hash created by the system when the document was
created.
Sha1 hashes have been deprecated.
$sel:versionName:DocumentDescription'
, documentDescription_versionName
- The version of the artifact associated with the document.
$sel:schemaVersion:DocumentDescription'
, documentDescription_schemaVersion
- The schema version.
$sel:sha1:DocumentDescription'
, documentDescription_sha1
- The SHA1 hash of the document, which you can use for verification.
$sel:reviewStatus:DocumentDescription'
, documentDescription_reviewStatus
- The current status of the review.
$sel:attachmentsInformation:DocumentDescription'
, documentDescription_attachmentsInformation
- Details about the document attachments, including names, locations,
sizes, and so on.
$sel:defaultVersion:DocumentDescription'
, documentDescription_defaultVersion
- The default version.
$sel:targetType:DocumentDescription'
, documentDescription_targetType
- The target type which defines the kinds of resources the document can
run on. For example, /AWS::EC2::Instance
. For a list of valid
resource types, see
Amazon Web Services resource and property types reference
in the CloudFormation User Guide.
$sel:owner:DocumentDescription'
, documentDescription_owner
- The Amazon Web Services user account that created the document.
$sel:platformTypes:DocumentDescription'
, documentDescription_platformTypes
- The list of OS platforms compatible with this SSM document.
$sel:createdDate:DocumentDescription'
, documentDescription_createdDate
- The date when the document was created.
$sel:documentFormat:DocumentDescription'
, documentDescription_documentFormat
- The document format, either JSON or YAML.
$sel:pendingReviewVersion:DocumentDescription'
, documentDescription_pendingReviewVersion
- The version of the document that is currently under review.
$sel:name:DocumentDescription'
, documentDescription_name
- The name of the SSM document.
$sel:hashType:DocumentDescription'
, documentDescription_hashType
- The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
$sel:parameters:DocumentDescription'
, documentDescription_parameters
- A description of the parameters for a document.
$sel:documentVersion:DocumentDescription'
, documentDescription_documentVersion
- The document version.
$sel:author:DocumentDescription'
, documentDescription_author
- The user in your organization who created the document.
$sel:displayName:DocumentDescription'
, documentDescription_displayName
- The friendly name of the SSM document. This value can differ for each
version of the document. If you want to update this value, see
UpdateDocument.
$sel:statusInformation:DocumentDescription'
, documentDescription_statusInformation
- A message returned by Amazon Web Services Systems Manager that explains
the Status
value. For example, a Failed
status might be explained by
the StatusInformation
message, "The specified S3 bucket doesn't
exist. Verify that the URL of the S3 bucket is correct."
$sel:description:DocumentDescription'
, documentDescription_description
- A description of the document.
$sel:requires:DocumentDescription'
, documentDescription_requires
- A list of SSM documents required by a document. For example, an
ApplicationConfiguration
document requires an
ApplicationConfigurationSchema
document.
$sel:reviewInformation:DocumentDescription'
, documentDescription_reviewInformation
- Details about the review of a document.
$sel:tags:DocumentDescription'
, documentDescription_tags
- The tags, or metadata, that have been applied to the document.
$sel:latestVersion:DocumentDescription'
, documentDescription_latestVersion
- The latest version of the document.
$sel:approvedVersion:DocumentDescription'
, documentDescription_approvedVersion
- The version of the document currently approved for use in the
organization.
documentDescription_status :: Lens' DocumentDescription (Maybe DocumentStatus) Source #
The status of the SSM document.
documentDescription_documentType :: Lens' DocumentDescription (Maybe DocumentType) Source #
The type of document.
documentDescription_hash :: Lens' DocumentDescription (Maybe Text) Source #
The Sha256 or Sha1 hash created by the system when the document was created.
Sha1 hashes have been deprecated.
documentDescription_versionName :: Lens' DocumentDescription (Maybe Text) Source #
The version of the artifact associated with the document.
documentDescription_schemaVersion :: Lens' DocumentDescription (Maybe Text) Source #
The schema version.
documentDescription_sha1 :: Lens' DocumentDescription (Maybe Text) Source #
The SHA1 hash of the document, which you can use for verification.
documentDescription_reviewStatus :: Lens' DocumentDescription (Maybe ReviewStatus) Source #
The current status of the review.
documentDescription_attachmentsInformation :: Lens' DocumentDescription (Maybe [AttachmentInformation]) Source #
Details about the document attachments, including names, locations, sizes, and so on.
documentDescription_defaultVersion :: Lens' DocumentDescription (Maybe Text) Source #
The default version.
documentDescription_targetType :: Lens' DocumentDescription (Maybe Text) Source #
The target type which defines the kinds of resources the document can
run on. For example, /AWS::EC2::Instance
. For a list of valid
resource types, see
Amazon Web Services resource and property types reference
in the CloudFormation User Guide.
documentDescription_owner :: Lens' DocumentDescription (Maybe Text) Source #
The Amazon Web Services user account that created the document.
documentDescription_platformTypes :: Lens' DocumentDescription (Maybe [PlatformType]) Source #
The list of OS platforms compatible with this SSM document.
documentDescription_createdDate :: Lens' DocumentDescription (Maybe UTCTime) Source #
The date when the document was created.
documentDescription_documentFormat :: Lens' DocumentDescription (Maybe DocumentFormat) Source #
The document format, either JSON or YAML.
documentDescription_pendingReviewVersion :: Lens' DocumentDescription (Maybe Text) Source #
The version of the document that is currently under review.
documentDescription_name :: Lens' DocumentDescription (Maybe Text) Source #
The name of the SSM document.
documentDescription_hashType :: Lens' DocumentDescription (Maybe DocumentHashType) Source #
The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
documentDescription_parameters :: Lens' DocumentDescription (Maybe [DocumentParameter]) Source #
A description of the parameters for a document.
documentDescription_documentVersion :: Lens' DocumentDescription (Maybe Text) Source #
The document version.
documentDescription_author :: Lens' DocumentDescription (Maybe Text) Source #
The user in your organization who created the document.
documentDescription_displayName :: Lens' DocumentDescription (Maybe Text) Source #
The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.
documentDescription_statusInformation :: Lens' DocumentDescription (Maybe Text) Source #
A message returned by Amazon Web Services Systems Manager that explains
the Status
value. For example, a Failed
status might be explained by
the StatusInformation
message, "The specified S3 bucket doesn't
exist. Verify that the URL of the S3 bucket is correct."
documentDescription_description :: Lens' DocumentDescription (Maybe Text) Source #
A description of the document.
documentDescription_requires :: Lens' DocumentDescription (Maybe (NonEmpty DocumentRequires)) Source #
A list of SSM documents required by a document. For example, an
ApplicationConfiguration
document requires an
ApplicationConfigurationSchema
document.
documentDescription_reviewInformation :: Lens' DocumentDescription (Maybe (NonEmpty ReviewInformation)) Source #
Details about the review of a document.
documentDescription_tags :: Lens' DocumentDescription (Maybe [Tag]) Source #
The tags, or metadata, that have been applied to the document.
documentDescription_latestVersion :: Lens' DocumentDescription (Maybe Text) Source #
The latest version of the document.
documentDescription_approvedVersion :: Lens' DocumentDescription (Maybe Text) Source #
The version of the document currently approved for use in the organization.