Struct aws_sdk_connect::types::View
source · #[non_exhaustive]pub struct View {Show 13 fields
pub id: Option<String>,
pub arn: Option<String>,
pub name: Option<String>,
pub status: Option<ViewStatus>,
pub type: Option<ViewType>,
pub description: Option<String>,
pub version: i32,
pub version_description: Option<String>,
pub content: Option<ViewContent>,
pub tags: Option<HashMap<String, String>>,
pub created_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
pub view_content_sha256: Option<String>,
}
Expand description
A view resource object. Contains metadata and content necessary to render the view.
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.id: Option<String>
The identifier of the view.
arn: Option<String>
The Amazon Resource Name (ARN) of the view.
name: Option<String>
The name of the view.
status: Option<ViewStatus>
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
type: Option<ViewType>
The type of the view - CUSTOMER_MANAGED
.
description: Option<String>
The description of the view.
version: i32
Current version of the view.
version_description: Option<String>
The description of the version.
content: Option<ViewContent>
View content containing all content necessary to render a view except for runtime input data.
The tags associated with the view resource (not specific to view version).
created_time: Option<DateTime>
The timestamp of when the view was created.
last_modified_time: Option<DateTime>
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
view_content_sha256: Option<String>
Indicates the checksum value of the latest published view content.
Implementations§
source§impl View
impl View
sourcepub fn status(&self) -> Option<&ViewStatus>
pub fn status(&self) -> Option<&ViewStatus>
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the view.
sourcepub fn version_description(&self) -> Option<&str>
pub fn version_description(&self) -> Option<&str>
The description of the version.
sourcepub fn content(&self) -> Option<&ViewContent>
pub fn content(&self) -> Option<&ViewContent>
View content containing all content necessary to render a view except for runtime input data.
The tags associated with the view resource (not specific to view version).
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The timestamp of when the view was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
sourcepub fn view_content_sha256(&self) -> Option<&str>
pub fn view_content_sha256(&self) -> Option<&str>
Indicates the checksum value of the latest published view content.