Struct aws_sdk_connect::operation::update_view_content::builders::UpdateViewContentFluentBuilder
source · pub struct UpdateViewContentFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateViewContent
.
Updates the view content of the given view identifier in the specified Amazon Connect instance.
It performs content validation if Status
is set to SAVED
and performs full content validation if Status
is PUBLISHED
. Note that the $SAVED
alias' content will always be updated, but the $LATEST
alias' content will only be updated if Status
is PUBLISHED
.
Implementations§
source§impl UpdateViewContentFluentBuilder
impl UpdateViewContentFluentBuilder
sourcepub fn as_input(&self) -> &UpdateViewContentInputBuilder
pub fn as_input(&self) -> &UpdateViewContentInputBuilder
Access the UpdateViewContent as a reference.
sourcepub async fn send(
self
) -> Result<UpdateViewContentOutput, SdkError<UpdateViewContentError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateViewContentOutput, SdkError<UpdateViewContentError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateViewContentOutput, UpdateViewContentError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateViewContentOutput, UpdateViewContentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn view_id(self, input: impl Into<String>) -> Self
pub fn view_id(self, input: impl Into<String>) -> Self
The identifier of the view. Both ViewArn
and ViewId
can be used.
sourcepub fn set_view_id(self, input: Option<String>) -> Self
pub fn set_view_id(self, input: Option<String>) -> Self
The identifier of the view. Both ViewArn
and ViewId
can be used.
sourcepub fn get_view_id(&self) -> &Option<String>
pub fn get_view_id(&self) -> &Option<String>
The identifier of the view. Both ViewArn
and ViewId
can be used.
sourcepub fn status(self, input: ViewStatus) -> Self
pub fn status(self, input: ViewStatus) -> Self
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
sourcepub fn set_status(self, input: Option<ViewStatus>) -> Self
pub fn set_status(self, input: Option<ViewStatus>) -> Self
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
sourcepub fn get_status(&self) -> &Option<ViewStatus>
pub fn get_status(&self) -> &Option<ViewStatus>
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
sourcepub fn content(self, input: ViewInputContent) -> Self
pub fn content(self, input: ViewInputContent) -> Self
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
sourcepub fn set_content(self, input: Option<ViewInputContent>) -> Self
pub fn set_content(self, input: Option<ViewInputContent>) -> Self
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
sourcepub fn get_content(&self) -> &Option<ViewInputContent>
pub fn get_content(&self) -> &Option<ViewInputContent>
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
Trait Implementations§
source§impl Clone for UpdateViewContentFluentBuilder
impl Clone for UpdateViewContentFluentBuilder
source§fn clone(&self) -> UpdateViewContentFluentBuilder
fn clone(&self) -> UpdateViewContentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more