Struct aws_sdk_ssm::types::DocumentIdentifier
source · #[non_exhaustive]pub struct DocumentIdentifier {Show 15 fields
pub name: Option<String>,
pub created_date: Option<DateTime>,
pub display_name: Option<String>,
pub owner: Option<String>,
pub version_name: Option<String>,
pub platform_types: Option<Vec<PlatformType>>,
pub document_version: Option<String>,
pub document_type: Option<DocumentType>,
pub schema_version: Option<String>,
pub document_format: Option<DocumentFormat>,
pub target_type: Option<String>,
pub tags: Option<Vec<Tag>>,
pub requires: Option<Vec<DocumentRequires>>,
pub review_status: Option<ReviewStatus>,
pub author: Option<String>,
}
Expand description
Describes the name of a SSM document.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the SSM document.
created_date: Option<DateTime>
The date the SSM document was created.
display_name: Option<String>
An optional field where you can specify a friendly name for the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument
.
owner: Option<String>
The Amazon Web Services user that created the document.
version_name: Option<String>
An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
platform_types: Option<Vec<PlatformType>>
The operating system platform.
document_version: Option<String>
The document version.
document_type: Option<DocumentType>
The document type.
schema_version: Option<String>
The schema version.
document_format: Option<DocumentFormat>
The document format, either JSON or YAML.
target_type: Option<String>
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.
The tags, or metadata, that have been applied to the document.
requires: Option<Vec<DocumentRequires>>
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.
review_status: Option<ReviewStatus>
The current status of a document review.
The user in your organization who created the document.
Implementations§
source§impl DocumentIdentifier
impl DocumentIdentifier
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date the SSM document was created.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
An optional field where you can specify a friendly name for the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument
.
sourcepub fn version_name(&self) -> Option<&str>
pub fn version_name(&self) -> Option<&str>
An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
sourcepub fn platform_types(&self) -> &[PlatformType]
pub fn platform_types(&self) -> &[PlatformType]
The operating system platform.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .platform_types.is_none()
.
sourcepub fn document_version(&self) -> Option<&str>
pub fn document_version(&self) -> Option<&str>
The document version.
sourcepub fn document_type(&self) -> Option<&DocumentType>
pub fn document_type(&self) -> Option<&DocumentType>
The document type.
sourcepub fn schema_version(&self) -> Option<&str>
pub fn schema_version(&self) -> Option<&str>
The schema version.
sourcepub fn document_format(&self) -> Option<&DocumentFormat>
pub fn document_format(&self) -> Option<&DocumentFormat>
The document format, either JSON or YAML.
sourcepub fn target_type(&self) -> Option<&str>
pub fn target_type(&self) -> Option<&str>
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.
The tags, or metadata, that have been applied to the document.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn requires(&self) -> &[DocumentRequires]
pub fn requires(&self) -> &[DocumentRequires]
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .requires.is_none()
.
sourcepub fn review_status(&self) -> Option<&ReviewStatus>
pub fn review_status(&self) -> Option<&ReviewStatus>
The current status of a document review.
The user in your organization who created the document.
source§impl DocumentIdentifier
impl DocumentIdentifier
sourcepub fn builder() -> DocumentIdentifierBuilder
pub fn builder() -> DocumentIdentifierBuilder
Creates a new builder-style object to manufacture DocumentIdentifier
.
Trait Implementations§
source§impl Clone for DocumentIdentifier
impl Clone for DocumentIdentifier
source§fn clone(&self) -> DocumentIdentifier
fn clone(&self) -> DocumentIdentifier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DocumentIdentifier
impl Debug for DocumentIdentifier
source§impl PartialEq for DocumentIdentifier
impl PartialEq for DocumentIdentifier
source§fn eq(&self, other: &DocumentIdentifier) -> bool
fn eq(&self, other: &DocumentIdentifier) -> bool
self
and other
values to be equal, and is used
by ==
.