Struct aws_sdk_iottwinmaker::Client
source · [−]pub struct Client { /* private fields */ }Expand description
Client for AWS IoT TwinMaker
Client for invoking operations on AWS IoT TwinMaker. Each operation on AWS IoT TwinMaker is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_iottwinmaker::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_iottwinmaker::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_iottwinmaker::Client::from_conf(config);Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn batch_put_property_values(&self) -> BatchPutPropertyValues
pub fn batch_put_property_values(&self) -> BatchPutPropertyValues
Constructs a fluent builder for the BatchPutPropertyValues operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the properties to set.
entries(Vec<PropertyValueEntry>)/set_entries(Option<Vec<PropertyValueEntry>>):An object that maps strings to the property value entries to set. Each string in the mapping must be unique to this object.
- On success, responds with
BatchPutPropertyValuesOutputwith field(s):error_entries(Option<Vec<BatchPutPropertyErrorEntry>>):Entries that caused errors in the batch put operation.
- On failure, responds with
SdkError<BatchPutPropertyValuesError>
sourcepub fn create_component_type(&self) -> CreateComponentType
pub fn create_component_type(&self) -> CreateComponentType
Constructs a fluent builder for the CreateComponentType operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the component type.
is_singleton(bool)/set_is_singleton(Option<bool>):A Boolean value that specifies whether an entity can have more than one component of this type.
component_type_id(impl Into<String>)/set_component_type_id(Option<String>):The ID of the component type.
description(impl Into<String>)/set_description(Option<String>):The description of the component type.
property_definitions(HashMap<String, PropertyDefinitionRequest>)/set_property_definitions(Option<HashMap<String, PropertyDefinitionRequest>>):An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
extends_from(Vec<String>)/set_extends_from(Option<Vec<String>>):Specifies the parent component type to extend.
functions(HashMap<String, FunctionRequest>)/set_functions(Option<HashMap<String, FunctionRequest>>):An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Metadata that you can use to manage the component type.
- On success, responds with
CreateComponentTypeOutputwith field(s):arn(Option<String>):The ARN of the component type.
creation_date_time(Option<DateTime>):The date and time when the entity was created.
state(Option<State>):The current state of the component type.
- On failure, responds with
SdkError<CreateComponentTypeError>
sourcepub fn create_entity(&self) -> CreateEntity
pub fn create_entity(&self) -> CreateEntity
Constructs a fluent builder for the CreateEntity operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the entity.
entity_id(impl Into<String>)/set_entity_id(Option<String>):The ID of the entity.
entity_name(impl Into<String>)/set_entity_name(Option<String>):The name of the entity.
description(impl Into<String>)/set_description(Option<String>):The description of the entity.
components(HashMap<String, ComponentRequest>)/set_components(Option<HashMap<String, ComponentRequest>>):An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
parent_entity_id(impl Into<String>)/set_parent_entity_id(Option<String>):The ID of the entity’s parent entity.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Metadata that you can use to manage the entity.
- On success, responds with
CreateEntityOutputwith field(s):entity_id(Option<String>):The ID of the entity.
arn(Option<String>):The ARN of the entity.
creation_date_time(Option<DateTime>):The date and time when the entity was created.
state(Option<State>):The current state of the entity.
- On failure, responds with
SdkError<CreateEntityError>
sourcepub fn create_scene(&self) -> CreateScene
pub fn create_scene(&self) -> CreateScene
Constructs a fluent builder for the CreateScene operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the scene.
scene_id(impl Into<String>)/set_scene_id(Option<String>):The ID of the scene.
content_location(impl Into<String>)/set_content_location(Option<String>):The relative path that specifies the location of the content definition file.
description(impl Into<String>)/set_description(Option<String>):The description for this scene.
capabilities(Vec<String>)/set_capabilities(Option<Vec<String>>):A list of capabilities that the scene uses to render itself.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Metadata that you can use to manage the scene.
- On success, responds with
CreateSceneOutputwith field(s):arn(Option<String>):The ARN of the scene.
creation_date_time(Option<DateTime>):The date and time when the scene was created.
- On failure, responds with
SdkError<CreateSceneError>
sourcepub fn create_workspace(&self) -> CreateWorkspace
pub fn create_workspace(&self) -> CreateWorkspace
Constructs a fluent builder for the CreateWorkspace operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace.
description(impl Into<String>)/set_description(Option<String>):The description of the workspace.
s3_location(impl Into<String>)/set_s3_location(Option<String>):The ARN of the S3 bucket where resources associated with the workspace are stored.
role(impl Into<String>)/set_role(Option<String>):The ARN of the execution role associated with the workspace.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Metadata that you can use to manage the workspace
- On success, responds with
CreateWorkspaceOutputwith field(s):arn(Option<String>):The ARN of the workspace.
creation_date_time(Option<DateTime>):The date and time when the workspace was created.
- On failure, responds with
SdkError<CreateWorkspaceError>
sourcepub fn delete_component_type(&self) -> DeleteComponentType
pub fn delete_component_type(&self) -> DeleteComponentType
Constructs a fluent builder for the DeleteComponentType operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the component type.
component_type_id(impl Into<String>)/set_component_type_id(Option<String>):The ID of the component type to delete.
- On success, responds with
DeleteComponentTypeOutputwith field(s):state(Option<State>):The current state of the component type to be deleted.
- On failure, responds with
SdkError<DeleteComponentTypeError>
sourcepub fn delete_entity(&self) -> DeleteEntity
pub fn delete_entity(&self) -> DeleteEntity
Constructs a fluent builder for the DeleteEntity operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the entity to delete.
entity_id(impl Into<String>)/set_entity_id(Option<String>):The ID of the entity to delete.
is_recursive(bool)/set_is_recursive(Option<bool>):A Boolean value that specifies whether the operation deletes child entities.
- On success, responds with
DeleteEntityOutputwith field(s):state(Option<State>):The current state of the deleted entity.
- On failure, responds with
SdkError<DeleteEntityError>
sourcepub fn delete_scene(&self) -> DeleteScene
pub fn delete_scene(&self) -> DeleteScene
Constructs a fluent builder for the DeleteScene operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace.
scene_id(impl Into<String>)/set_scene_id(Option<String>):The ID of the scene to delete.
- On success, responds with
DeleteSceneOutput - On failure, responds with
SdkError<DeleteSceneError>
sourcepub fn delete_workspace(&self) -> DeleteWorkspace
pub fn delete_workspace(&self) -> DeleteWorkspace
Constructs a fluent builder for the DeleteWorkspace operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace to delete.
- On success, responds with
DeleteWorkspaceOutput - On failure, responds with
SdkError<DeleteWorkspaceError>
sourcepub fn get_component_type(&self) -> GetComponentType
pub fn get_component_type(&self) -> GetComponentType
Constructs a fluent builder for the GetComponentType operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the component type.
component_type_id(impl Into<String>)/set_component_type_id(Option<String>):The ID of the component type.
- On success, responds with
GetComponentTypeOutputwith field(s):workspace_id(Option<String>):The ID of the workspace that contains the component type.
is_singleton(Option<bool>):A Boolean value that specifies whether an entity can have more than one component of this type.
component_type_id(Option<String>):The ID of the component type.
description(Option<String>):The description of the component type.
property_definitions(Option<HashMap<String, PropertyDefinitionResponse>>):An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
extends_from(Option<Vec<String>>):The name of the parent component type that this component type extends.
functions(Option<HashMap<String, FunctionResponse>>):An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
creation_date_time(Option<DateTime>):The date and time when the component type was created.
update_date_time(Option<DateTime>):The date and time when the component was last updated.
arn(Option<String>):The ARN of the component type.
is_abstract(Option<bool>):A Boolean value that specifies whether the component type is abstract.
is_schema_initialized(Option<bool>):A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.
status(Option<Status>):The current status of the component type.
- On failure, responds with
SdkError<GetComponentTypeError>
sourcepub fn get_entity(&self) -> GetEntity
pub fn get_entity(&self) -> GetEntity
Constructs a fluent builder for the GetEntity operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace.
entity_id(impl Into<String>)/set_entity_id(Option<String>):The ID of the entity.
- On success, responds with
GetEntityOutputwith field(s):entity_id(Option<String>):The ID of the entity.
entity_name(Option<String>):The name of the entity.
arn(Option<String>):The ARN of the entity.
status(Option<Status>):The current status of the entity.
workspace_id(Option<String>):The ID of the workspace.
description(Option<String>):The description of the entity.
components(Option<HashMap<String, ComponentResponse>>):An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
parent_entity_id(Option<String>):The ID of the parent entity for this entity.
has_child_entities(Option<bool>):A Boolean value that specifies whether the entity has associated child entities.
creation_date_time(Option<DateTime>):The date and time when the entity was created.
update_date_time(Option<DateTime>):The date and time when the entity was last updated.
- On failure, responds with
SdkError<GetEntityError>
sourcepub fn get_property_value(&self) -> GetPropertyValue
pub fn get_property_value(&self) -> GetPropertyValue
Constructs a fluent builder for the GetPropertyValue operation.
- The fluent builder is configurable:
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component whose property values the operation returns.
component_type_id(impl Into<String>)/set_component_type_id(Option<String>):The ID of the component type whose property values the operation returns.
entity_id(impl Into<String>)/set_entity_id(Option<String>):The ID of the entity whose property values the operation returns.
selected_properties(Vec<String>)/set_selected_properties(Option<Vec<String>>):The properties whose values the operation returns.
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace whose values the operation returns.
- On success, responds with
GetPropertyValueOutputwith field(s):property_values(Option<HashMap<String, PropertyLatestValue>>):An object that maps strings to the properties and latest property values in the response. Each string in the mapping must be unique to this object.
- On failure, responds with
SdkError<GetPropertyValueError>
sourcepub fn get_property_value_history(&self) -> GetPropertyValueHistory
pub fn get_property_value_history(&self) -> GetPropertyValueHistory
Constructs a fluent builder for the GetPropertyValueHistory operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace.
entity_id(impl Into<String>)/set_entity_id(Option<String>):The ID of the entity.
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component.
component_type_id(impl Into<String>)/set_component_type_id(Option<String>):The ID of the component type.
selected_properties(Vec<String>)/set_selected_properties(Option<Vec<String>>):A list of properties whose value histories the request retrieves.
property_filters(Vec<PropertyFilter>)/set_property_filters(Option<Vec<PropertyFilter>>):A list of objects that filter the property value history request.
start_date_time(DateTime)/set_start_date_time(Option<DateTime>):The date and time of the earliest property value to return.
end_date_time(DateTime)/set_end_date_time(Option<DateTime>):The date and time of the latest property value to return.
interpolation(InterpolationParameters)/set_interpolation(Option<InterpolationParameters>):An object that specifies the interpolation type and the interval over which to interpolate data.
next_token(impl Into<String>)/set_next_token(Option<String>):The string that specifies the next page of results.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return.
order_by_time(OrderByTime)/set_order_by_time(Option<OrderByTime>):The time direction to use in the result order.
- On success, responds with
GetPropertyValueHistoryOutputwith field(s):property_values(Option<Vec<PropertyValueHistory>>):An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
next_token(Option<String>):The string that specifies the next page of results.
- On failure, responds with
SdkError<GetPropertyValueHistoryError>
sourcepub fn get_scene(&self) -> GetScene
pub fn get_scene(&self) -> GetScene
Constructs a fluent builder for the GetScene operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the scene.
scene_id(impl Into<String>)/set_scene_id(Option<String>):The ID of the scene.
- On success, responds with
GetSceneOutputwith field(s):workspace_id(Option<String>):The ID of the workspace that contains the scene.
scene_id(Option<String>):The ID of the scene.
content_location(Option<String>):The relative path that specifies the location of the content definition file.
arn(Option<String>):The ARN of the scene.
creation_date_time(Option<DateTime>):The date and time when the scene was created.
update_date_time(Option<DateTime>):The date and time when the scene was last updated.
description(Option<String>):The description of the scene.
capabilities(Option<Vec<String>>):A list of capabilities that the scene uses to render.
- On failure, responds with
SdkError<GetSceneError>
sourcepub fn get_workspace(&self) -> GetWorkspace
pub fn get_workspace(&self) -> GetWorkspace
Constructs a fluent builder for the GetWorkspace operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace.
- On success, responds with
GetWorkspaceOutputwith field(s):workspace_id(Option<String>):The ID of the workspace.
arn(Option<String>):The ARN of the workspace.
description(Option<String>):The description of the workspace.
s3_location(Option<String>):The ARN of the S3 bucket where resources associated with the workspace are stored.
role(Option<String>):The ARN of the execution role associated with the workspace.
creation_date_time(Option<DateTime>):The date and time when the workspace was created.
update_date_time(Option<DateTime>):The date and time when the workspace was last updated.
- On failure, responds with
SdkError<GetWorkspaceError>
sourcepub fn list_component_types(&self) -> ListComponentTypes
pub fn list_component_types(&self) -> ListComponentTypes
Constructs a fluent builder for the ListComponentTypes operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace.
filters(Vec<ListComponentTypesFilter>)/set_filters(Option<Vec<ListComponentTypesFilter>>):A list of objects that filter the request.
next_token(impl Into<String>)/set_next_token(Option<String>):The string that specifies the next page of results.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to display.
- On success, responds with
ListComponentTypesOutputwith field(s):workspace_id(Option<String>):The ID of the workspace.
component_type_summaries(Option<Vec<ComponentTypeSummary>>):A list of objects that contain information about the component types.
next_token(Option<String>):The string that specifies the next page of results.
max_results(Option<i32>):Specifies the maximum number of results to display.
- On failure, responds with
SdkError<ListComponentTypesError>
sourcepub fn list_entities(&self) -> ListEntities
pub fn list_entities(&self) -> ListEntities
Constructs a fluent builder for the ListEntities operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace.
filters(Vec<ListEntitiesFilter>)/set_filters(Option<Vec<ListEntitiesFilter>>):A list of objects that filter the request.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to display.
next_token(impl Into<String>)/set_next_token(Option<String>):The string that specifies the next page of results.
- On success, responds with
ListEntitiesOutputwith field(s):entity_summaries(Option<Vec<EntitySummary>>):A list of objects that contain information about the entities.
next_token(Option<String>):The string that specifies the next page of results.
- On failure, responds with
SdkError<ListEntitiesError>
sourcepub fn list_scenes(&self) -> ListScenes
pub fn list_scenes(&self) -> ListScenes
Constructs a fluent builder for the ListScenes operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the scenes.
max_results(i32)/set_max_results(Option<i32>):Specifies the maximum number of results to display.
next_token(impl Into<String>)/set_next_token(Option<String>):The string that specifies the next page of results.
- On success, responds with
ListScenesOutputwith field(s):scene_summaries(Option<Vec<SceneSummary>>):A list of objects that contain information about the scenes.
next_token(Option<String>):The string that specifies the next page of results.
- On failure, responds with
SdkError<ListScenesError>
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The ARN of the resource.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to display.
next_token(impl Into<String>)/set_next_token(Option<String>):The string that specifies the next page of results.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<HashMap<String, String>>):Metadata that you can use to manage a resource.
next_token(Option<String>):The string that specifies the next page of results.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn list_workspaces(&self) -> ListWorkspaces
pub fn list_workspaces(&self) -> ListWorkspaces
Constructs a fluent builder for the ListWorkspaces operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to display.
next_token(impl Into<String>)/set_next_token(Option<String>):The string that specifies the next page of results.
- On success, responds with
ListWorkspacesOutputwith field(s):workspace_summaries(Option<Vec<WorkspaceSummary>>):A list of objects that contain information about the workspaces.
next_token(Option<String>):The string that specifies the next page of results.
- On failure, responds with
SdkError<ListWorkspacesError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The ARN of the resource.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Metadata to add to this resource.
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The ARN of the resource.
tag_keys(Vec<String>)/set_tag_keys(Option<Vec<String>>):A list of tag key names to remove from the resource. You don’t specify the value. Both the key and its associated value are removed.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_component_type(&self) -> UpdateComponentType
pub fn update_component_type(&self) -> UpdateComponentType
Constructs a fluent builder for the UpdateComponentType operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the component type.
is_singleton(bool)/set_is_singleton(Option<bool>):A Boolean value that specifies whether an entity can have more than one component of this type.
component_type_id(impl Into<String>)/set_component_type_id(Option<String>):The ID of the component type.
description(impl Into<String>)/set_description(Option<String>):The description of the component type.
property_definitions(HashMap<String, PropertyDefinitionRequest>)/set_property_definitions(Option<HashMap<String, PropertyDefinitionRequest>>):An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
extends_from(Vec<String>)/set_extends_from(Option<Vec<String>>):Specifies the component type that this component type extends.
functions(HashMap<String, FunctionRequest>)/set_functions(Option<HashMap<String, FunctionRequest>>):An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
- On success, responds with
UpdateComponentTypeOutputwith field(s):workspace_id(Option<String>):The ID of the workspace that contains the component type.
arn(Option<String>):The ARN of the component type.
component_type_id(Option<String>):The ID of the component type.
state(Option<State>):The current state of the component type.
- On failure, responds with
SdkError<UpdateComponentTypeError>
sourcepub fn update_entity(&self) -> UpdateEntity
pub fn update_entity(&self) -> UpdateEntity
Constructs a fluent builder for the UpdateEntity operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the entity.
entity_id(impl Into<String>)/set_entity_id(Option<String>):The ID of the entity.
entity_name(impl Into<String>)/set_entity_name(Option<String>):The name of the entity.
description(impl Into<String>)/set_description(Option<String>):The description of the entity.
component_updates(HashMap<String, ComponentUpdateRequest>)/set_component_updates(Option<HashMap<String, ComponentUpdateRequest>>):An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.
parent_entity_update(ParentEntityUpdateRequest)/set_parent_entity_update(Option<ParentEntityUpdateRequest>):An object that describes the update request for a parent entity.
- On success, responds with
UpdateEntityOutputwith field(s):update_date_time(Option<DateTime>):The date and time when the entity was last updated.
state(Option<State>):The current state of the entity update.
- On failure, responds with
SdkError<UpdateEntityError>
sourcepub fn update_scene(&self) -> UpdateScene
pub fn update_scene(&self) -> UpdateScene
Constructs a fluent builder for the UpdateScene operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace that contains the scene.
scene_id(impl Into<String>)/set_scene_id(Option<String>):The ID of the scene.
content_location(impl Into<String>)/set_content_location(Option<String>):The relative path that specifies the location of the content definition file.
description(impl Into<String>)/set_description(Option<String>):The description of this scene.
capabilities(Vec<String>)/set_capabilities(Option<Vec<String>>):A list of capabilities that the scene uses to render.
- On success, responds with
UpdateSceneOutputwith field(s):update_date_time(Option<DateTime>):The date and time when the scene was last updated.
- On failure, responds with
SdkError<UpdateSceneError>
sourcepub fn update_workspace(&self) -> UpdateWorkspace
pub fn update_workspace(&self) -> UpdateWorkspace
Constructs a fluent builder for the UpdateWorkspace operation.
- The fluent builder is configurable:
workspace_id(impl Into<String>)/set_workspace_id(Option<String>):The ID of the workspace.
description(impl Into<String>)/set_description(Option<String>):The description of the workspace.
role(impl Into<String>)/set_role(Option<String>):The ARN of the execution role associated with the workspace.
- On success, responds with
UpdateWorkspaceOutputwith field(s):update_date_time(Option<DateTime>):The date and time of the current update.
- On failure, responds with
SdkError<UpdateWorkspaceError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more