Struct aws_sdk_nimble::Client
source · pub struct Client { /* private fields */ }
Expand description
Client for AmazonNimbleStudio
Client for invoking operations on AmazonNimbleStudio. Each operation on AmazonNimbleStudio 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_nimble::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::retry::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_nimble::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_nimble::Client::from_conf(config);
Implementations§
source§impl 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.
source§impl Client
impl Client
sourcepub fn accept_eulas(&self) -> AcceptEulas
pub fn accept_eulas(&self) -> AcceptEulas
Constructs a fluent builder for the AcceptEulas
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
eula_ids(Vec<String>)
/set_eula_ids(Option<Vec<String>>)
:The EULA ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
AcceptEulasOutput
with field(s):eula_acceptances(Option<Vec<EulaAcceptance>>)
:A collection of EULA acceptances.
- On failure, responds with
SdkError<AcceptEulasError>
sourcepub fn create_launch_profile(&self) -> CreateLaunchProfile
pub fn create_launch_profile(&self) -> CreateLaunchProfile
Constructs a fluent builder for the CreateLaunchProfile
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
description(impl Into<String>)
/set_description(Option<String>)
:The description.
ec2_subnet_ids(Vec<String>)
/set_ec2_subnet_ids(Option<Vec<String>>)
:Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
launch_profile_protocol_versions(Vec<String>)
/set_launch_profile_protocol_versions(Option<Vec<String>>)
:The version number of the protocol that is used by the launch profile. The only valid version is “2021-03-31”.
name(impl Into<String>)
/set_name(Option<String>)
:The name for the launch profile.
stream_configuration(StreamConfigurationCreate)
/set_stream_configuration(Option<StreamConfigurationCreate>)
:A configuration for a streaming session.
studio_component_ids(Vec<String>)
/set_studio_component_ids(Option<Vec<String>>)
:Unique identifiers for a collection of studio components that can be used with this launch profile.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:A collection of labels, in the form of key-value pairs, that apply to this resource.
- On success, responds with
CreateLaunchProfileOutput
with field(s):launch_profile(Option<LaunchProfile>)
:The launch profile.
- On failure, responds with
SdkError<CreateLaunchProfileError>
sourcepub fn create_streaming_image(&self) -> CreateStreamingImage
pub fn create_streaming_image(&self) -> CreateStreamingImage
Constructs a fluent builder for the CreateStreamingImage
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
description(impl Into<String>)
/set_description(Option<String>)
:A human-readable description of the streaming image.
ec2_image_id(impl Into<String>)
/set_ec2_image_id(Option<String>)
:The ID of an EC2 machine image with which to create this streaming image.
name(impl Into<String>)
/set_name(Option<String>)
:A friendly name for a streaming image resource.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:A collection of labels, in the form of key-value pairs, that apply to this resource.
- On success, responds with
CreateStreamingImageOutput
with field(s):streaming_image(Option<StreamingImage>)
:The streaming image.
- On failure, responds with
SdkError<CreateStreamingImageError>
sourcepub fn create_streaming_session(&self) -> CreateStreamingSession
pub fn create_streaming_session(&self) -> CreateStreamingSession
Constructs a fluent builder for the CreateStreamingSession
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
ec2_instance_type(StreamingInstanceType)
/set_ec2_instance_type(Option<StreamingInstanceType>)
:The EC2 Instance type used for the streaming session.
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
owned_by(impl Into<String>)
/set_owned_by(Option<String>)
:The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
streaming_image_id(impl Into<String>)
/set_streaming_image_id(Option<String>)
:The ID of the streaming image.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:A collection of labels, in the form of key-value pairs, that apply to this resource.
- On success, responds with
CreateStreamingSessionOutput
with field(s):session(Option<StreamingSession>)
:The session.
- On failure, responds with
SdkError<CreateStreamingSessionError>
sourcepub fn create_streaming_session_stream(&self) -> CreateStreamingSessionStream
pub fn create_streaming_session_stream(&self) -> CreateStreamingSessionStream
Constructs a fluent builder for the CreateStreamingSessionStream
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
expiration_in_seconds(i32)
/set_expiration_in_seconds(Option<i32>)
:The expiration time in seconds.
session_id(impl Into<String>)
/set_session_id(Option<String>)
:The streaming session ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
CreateStreamingSessionStreamOutput
with field(s):stream(Option<StreamingSessionStream>)
:The stream.
- On failure, responds with
SdkError<CreateStreamingSessionStreamError>
sourcepub fn create_studio(&self) -> CreateStudio
pub fn create_studio(&self) -> CreateStudio
Constructs a fluent builder for the CreateStudio
operation.
- The fluent builder is configurable:
admin_role_arn(impl Into<String>)
/set_admin_role_arn(Option<String>)
:The IAM role that studio admins will assume when logging in to the Nimble Studio portal.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
display_name(impl Into<String>)
/set_display_name(Option<String>)
:A friendly name for the studio.
studio_encryption_configuration(StudioEncryptionConfiguration)
/set_studio_encryption_configuration(Option<StudioEncryptionConfiguration>)
:The studio encryption configuration.
studio_name(impl Into<String>)
/set_studio_name(Option<String>)
:The studio name that is used in the URL of the Nimble Studio portal when accessed by Nimble Studio users.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:A collection of labels, in the form of key-value pairs, that apply to this resource.
user_role_arn(impl Into<String>)
/set_user_role_arn(Option<String>)
:The IAM role that studio users will assume when logging in to the Nimble Studio portal.
- On success, responds with
CreateStudioOutput
with field(s):studio(Option<Studio>)
:Information about a studio.
- On failure, responds with
SdkError<CreateStudioError>
sourcepub fn create_studio_component(&self) -> CreateStudioComponent
pub fn create_studio_component(&self) -> CreateStudioComponent
Constructs a fluent builder for the CreateStudioComponent
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
configuration(StudioComponentConfiguration)
/set_configuration(Option<StudioComponentConfiguration>)
:The configuration of the studio component, based on component type.
description(impl Into<String>)
/set_description(Option<String>)
:The description.
ec2_security_group_ids(Vec<String>)
/set_ec2_security_group_ids(Option<Vec<String>>)
:The EC2 security groups that control access to the studio component.
initialization_scripts(Vec<StudioComponentInitializationScript>)
/set_initialization_scripts(Option<Vec<StudioComponentInitializationScript>>)
:Initialization scripts for studio components.
name(impl Into<String>)
/set_name(Option<String>)
:The name for the studio component.
script_parameters(Vec<ScriptParameterKeyValue>)
/set_script_parameters(Option<Vec<ScriptParameterKeyValue>>)
:Parameters for the studio component scripts.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
subtype(StudioComponentSubtype)
/set_subtype(Option<StudioComponentSubtype>)
:The specific subtype of a studio component.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:A collection of labels, in the form of key-value pairs, that apply to this resource.
r#type(StudioComponentType)
/set_type(Option<StudioComponentType>)
:The type of the studio component.
secure_initialization_role_arn(impl Into<String>)
/set_secure_initialization_role_arn(Option<String>)
:An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
runtime_role_arn(impl Into<String>)
/set_runtime_role_arn(Option<String>)
:An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
- On success, responds with
CreateStudioComponentOutput
with field(s):studio_component(Option<StudioComponent>)
:Information about the studio component.
- On failure, responds with
SdkError<CreateStudioComponentError>
sourcepub fn delete_launch_profile(&self) -> DeleteLaunchProfile
pub fn delete_launch_profile(&self) -> DeleteLaunchProfile
Constructs a fluent builder for the DeleteLaunchProfile
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
DeleteLaunchProfileOutput
with field(s):launch_profile(Option<LaunchProfile>)
:The launch profile.
- On failure, responds with
SdkError<DeleteLaunchProfileError>
sourcepub fn delete_launch_profile_member(&self) -> DeleteLaunchProfileMember
pub fn delete_launch_profile_member(&self) -> DeleteLaunchProfileMember
Constructs a fluent builder for the DeleteLaunchProfileMember
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
principal_id(impl Into<String>)
/set_principal_id(Option<String>)
:The principal ID. This currently supports a IAM Identity Center UserId.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
DeleteLaunchProfileMemberOutput
- On failure, responds with
SdkError<DeleteLaunchProfileMemberError>
sourcepub fn delete_streaming_image(&self) -> DeleteStreamingImage
pub fn delete_streaming_image(&self) -> DeleteStreamingImage
Constructs a fluent builder for the DeleteStreamingImage
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
streaming_image_id(impl Into<String>)
/set_streaming_image_id(Option<String>)
:The streaming image ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
DeleteStreamingImageOutput
with field(s):streaming_image(Option<StreamingImage>)
:The streaming image.
- On failure, responds with
SdkError<DeleteStreamingImageError>
sourcepub fn delete_streaming_session(&self) -> DeleteStreamingSession
pub fn delete_streaming_session(&self) -> DeleteStreamingSession
Constructs a fluent builder for the DeleteStreamingSession
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
session_id(impl Into<String>)
/set_session_id(Option<String>)
:The streaming session ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
DeleteStreamingSessionOutput
with field(s):session(Option<StreamingSession>)
:The session.
- On failure, responds with
SdkError<DeleteStreamingSessionError>
sourcepub fn delete_studio(&self) -> DeleteStudio
pub fn delete_studio(&self) -> DeleteStudio
Constructs a fluent builder for the DeleteStudio
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
DeleteStudioOutput
with field(s):studio(Option<Studio>)
:Information about a studio.
- On failure, responds with
SdkError<DeleteStudioError>
sourcepub fn delete_studio_component(&self) -> DeleteStudioComponent
pub fn delete_studio_component(&self) -> DeleteStudioComponent
Constructs a fluent builder for the DeleteStudioComponent
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
studio_component_id(impl Into<String>)
/set_studio_component_id(Option<String>)
:The studio component ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
DeleteStudioComponentOutput
with field(s):studio_component(Option<StudioComponent>)
:Information about the studio component.
- On failure, responds with
SdkError<DeleteStudioComponentError>
sourcepub fn delete_studio_member(&self) -> DeleteStudioMember
pub fn delete_studio_member(&self) -> DeleteStudioMember
Constructs a fluent builder for the DeleteStudioMember
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
principal_id(impl Into<String>)
/set_principal_id(Option<String>)
:The principal ID. This currently supports a IAM Identity Center UserId.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
DeleteStudioMemberOutput
- On failure, responds with
SdkError<DeleteStudioMemberError>
sourcepub fn get_eula(&self) -> GetEula
pub fn get_eula(&self) -> GetEula
Constructs a fluent builder for the GetEula
operation.
- The fluent builder is configurable:
eula_id(impl Into<String>)
/set_eula_id(Option<String>)
:The EULA ID.
- On success, responds with
GetEulaOutput
with field(s):eula(Option<Eula>)
:The EULA.
- On failure, responds with
SdkError<GetEulaError>
sourcepub fn get_launch_profile(&self) -> GetLaunchProfile
pub fn get_launch_profile(&self) -> GetLaunchProfile
Constructs a fluent builder for the GetLaunchProfile
operation.
- The fluent builder is configurable:
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetLaunchProfileOutput
with field(s):launch_profile(Option<LaunchProfile>)
:The launch profile.
- On failure, responds with
SdkError<GetLaunchProfileError>
sourcepub fn get_launch_profile_details(&self) -> GetLaunchProfileDetails
pub fn get_launch_profile_details(&self) -> GetLaunchProfileDetails
Constructs a fluent builder for the GetLaunchProfileDetails
operation.
- The fluent builder is configurable:
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetLaunchProfileDetailsOutput
with field(s):launch_profile(Option<LaunchProfile>)
:The launch profile.
streaming_images(Option<Vec<StreamingImage>>)
:A collection of streaming images.
studio_component_summaries(Option<Vec<StudioComponentSummary>>)
:A collection of studio component summaries.
- On failure, responds with
SdkError<GetLaunchProfileDetailsError>
sourcepub fn get_launch_profile_initialization(
&self
) -> GetLaunchProfileInitialization
pub fn get_launch_profile_initialization(
&self
) -> GetLaunchProfileInitialization
Constructs a fluent builder for the GetLaunchProfileInitialization
operation.
- The fluent builder is configurable:
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
launch_profile_protocol_versions(Vec<String>)
/set_launch_profile_protocol_versions(Option<Vec<String>>)
:The launch profile protocol versions supported by the client.
launch_purpose(impl Into<String>)
/set_launch_purpose(Option<String>)
:The launch purpose.
platform(impl Into<String>)
/set_platform(Option<String>)
:The platform where this Launch Profile will be used, either Windows or Linux.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetLaunchProfileInitializationOutput
with field(s):launch_profile_initialization(Option<LaunchProfileInitialization>)
:The launch profile initialization.
- On failure, responds with
SdkError<GetLaunchProfileInitializationError>
sourcepub fn get_launch_profile_member(&self) -> GetLaunchProfileMember
pub fn get_launch_profile_member(&self) -> GetLaunchProfileMember
Constructs a fluent builder for the GetLaunchProfileMember
operation.
- The fluent builder is configurable:
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
principal_id(impl Into<String>)
/set_principal_id(Option<String>)
:The principal ID. This currently supports a IAM Identity Center UserId.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetLaunchProfileMemberOutput
with field(s):member(Option<LaunchProfileMembership>)
:The member.
- On failure, responds with
SdkError<GetLaunchProfileMemberError>
sourcepub fn get_streaming_image(&self) -> GetStreamingImage
pub fn get_streaming_image(&self) -> GetStreamingImage
Constructs a fluent builder for the GetStreamingImage
operation.
- The fluent builder is configurable:
streaming_image_id(impl Into<String>)
/set_streaming_image_id(Option<String>)
:The streaming image ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetStreamingImageOutput
with field(s):streaming_image(Option<StreamingImage>)
:The streaming image.
- On failure, responds with
SdkError<GetStreamingImageError>
sourcepub fn get_streaming_session(&self) -> GetStreamingSession
pub fn get_streaming_session(&self) -> GetStreamingSession
Constructs a fluent builder for the GetStreamingSession
operation.
- The fluent builder is configurable:
session_id(impl Into<String>)
/set_session_id(Option<String>)
:The streaming session ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetStreamingSessionOutput
with field(s):session(Option<StreamingSession>)
:The session.
- On failure, responds with
SdkError<GetStreamingSessionError>
sourcepub fn get_streaming_session_backup(&self) -> GetStreamingSessionBackup
pub fn get_streaming_session_backup(&self) -> GetStreamingSessionBackup
Constructs a fluent builder for the GetStreamingSessionBackup
operation.
- The fluent builder is configurable:
backup_id(impl Into<String>)
/set_backup_id(Option<String>)
:The ID of the backup.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetStreamingSessionBackupOutput
with field(s):streaming_session_backup(Option<StreamingSessionBackup>)
:Information about the streaming session backup.
- On failure, responds with
SdkError<GetStreamingSessionBackupError>
sourcepub fn get_streaming_session_stream(&self) -> GetStreamingSessionStream
pub fn get_streaming_session_stream(&self) -> GetStreamingSessionStream
Constructs a fluent builder for the GetStreamingSessionStream
operation.
- The fluent builder is configurable:
session_id(impl Into<String>)
/set_session_id(Option<String>)
:The streaming session ID.
stream_id(impl Into<String>)
/set_stream_id(Option<String>)
:The streaming session stream ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetStreamingSessionStreamOutput
with field(s):stream(Option<StreamingSessionStream>)
:The stream.
- On failure, responds with
SdkError<GetStreamingSessionStreamError>
sourcepub fn get_studio(&self) -> GetStudio
pub fn get_studio(&self) -> GetStudio
Constructs a fluent builder for the GetStudio
operation.
- The fluent builder is configurable:
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetStudioOutput
with field(s):studio(Option<Studio>)
:Information about a studio.
- On failure, responds with
SdkError<GetStudioError>
sourcepub fn get_studio_component(&self) -> GetStudioComponent
pub fn get_studio_component(&self) -> GetStudioComponent
Constructs a fluent builder for the GetStudioComponent
operation.
- The fluent builder is configurable:
studio_component_id(impl Into<String>)
/set_studio_component_id(Option<String>)
:The studio component ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetStudioComponentOutput
with field(s):studio_component(Option<StudioComponent>)
:Information about the studio component.
- On failure, responds with
SdkError<GetStudioComponentError>
sourcepub fn get_studio_member(&self) -> GetStudioMember
pub fn get_studio_member(&self) -> GetStudioMember
Constructs a fluent builder for the GetStudioMember
operation.
- The fluent builder is configurable:
principal_id(impl Into<String>)
/set_principal_id(Option<String>)
:The principal ID. This currently supports a IAM Identity Center UserId.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
GetStudioMemberOutput
with field(s):member(Option<StudioMembership>)
:The member.
- On failure, responds with
SdkError<GetStudioMemberError>
sourcepub fn list_eula_acceptances(&self) -> ListEulaAcceptances
pub fn list_eula_acceptances(&self) -> ListEulaAcceptances
Constructs a fluent builder for the ListEulaAcceptances
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
eula_ids(Vec<String>)
/set_eula_ids(Option<Vec<String>>)
:The list of EULA IDs that have been previously accepted.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
ListEulaAcceptancesOutput
with field(s):eula_acceptances(Option<Vec<EulaAcceptance>>)
:A collection of EULA acceptances.
next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
- On failure, responds with
SdkError<ListEulaAcceptancesError>
sourcepub fn list_eulas(&self) -> ListEulas
pub fn list_eulas(&self) -> ListEulas
Constructs a fluent builder for the ListEulas
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
eula_ids(Vec<String>)
/set_eula_ids(Option<Vec<String>>)
:The list of EULA IDs that should be returned
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
- On success, responds with
ListEulasOutput
with field(s):eulas(Option<Vec<Eula>>)
:A collection of EULA resources.
next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
- On failure, responds with
SdkError<ListEulasError>
sourcepub fn list_launch_profile_members(&self) -> ListLaunchProfileMembers
pub fn list_launch_profile_members(&self) -> ListLaunchProfileMembers
Constructs a fluent builder for the ListLaunchProfileMembers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
max_results(i32)
/set_max_results(Option<i32>)
:The max number of results to return in the response.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
ListLaunchProfileMembersOutput
with field(s):members(Option<Vec<LaunchProfileMembership>>)
:A list of members.
next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
- On failure, responds with
SdkError<ListLaunchProfileMembersError>
sourcepub fn list_launch_profiles(&self) -> ListLaunchProfiles
pub fn list_launch_profiles(&self) -> ListLaunchProfiles
Constructs a fluent builder for the ListLaunchProfiles
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The max number of results to return in the response.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
principal_id(impl Into<String>)
/set_principal_id(Option<String>)
:The principal ID. This currently supports a IAM Identity Center UserId.
states(Vec<LaunchProfileState>)
/set_states(Option<Vec<LaunchProfileState>>)
:Filter this request to launch profiles in any of the given states.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
ListLaunchProfilesOutput
with field(s):launch_profiles(Option<Vec<LaunchProfile>>)
:A collection of launch profiles.
next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
- On failure, responds with
SdkError<ListLaunchProfilesError>
sourcepub fn list_streaming_images(&self) -> ListStreamingImages
pub fn list_streaming_images(&self) -> ListStreamingImages
Constructs a fluent builder for the ListStreamingImages
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
owner(impl Into<String>)
/set_owner(Option<String>)
:Filter this request to streaming images with the given owner
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
ListStreamingImagesOutput
with field(s):next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
streaming_images(Option<Vec<StreamingImage>>)
:A collection of streaming images.
- On failure, responds with
SdkError<ListStreamingImagesError>
sourcepub fn list_streaming_session_backups(&self) -> ListStreamingSessionBackups
pub fn list_streaming_session_backups(&self) -> ListStreamingSessionBackups
Constructs a fluent builder for the ListStreamingSessionBackups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
owned_by(impl Into<String>)
/set_owned_by(Option<String>)
:The user ID of the user that owns the streaming session.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
ListStreamingSessionBackupsOutput
with field(s):next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
streaming_session_backups(Option<Vec<StreamingSessionBackup>>)
:Information about the streaming session backups.
- On failure, responds with
SdkError<ListStreamingSessionBackupsError>
sourcepub fn list_streaming_sessions(&self) -> ListStreamingSessions
pub fn list_streaming_sessions(&self) -> ListStreamingSessions
Constructs a fluent builder for the ListStreamingSessions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
created_by(impl Into<String>)
/set_created_by(Option<String>)
:Filters the request to streaming sessions created by the given user.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
owned_by(impl Into<String>)
/set_owned_by(Option<String>)
:Filters the request to streaming session owned by the given user
session_ids(impl Into<String>)
/set_session_ids(Option<String>)
:Filters the request to only the provided session IDs.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
ListStreamingSessionsOutput
with field(s):next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
sessions(Option<Vec<StreamingSession>>)
:A collection of streaming sessions.
- On failure, responds with
SdkError<ListStreamingSessionsError>
sourcepub fn list_studio_components(&self) -> ListStudioComponents
pub fn list_studio_components(&self) -> ListStudioComponents
Constructs a fluent builder for the ListStudioComponents
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The max number of results to return in the response.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
states(Vec<StudioComponentState>)
/set_states(Option<Vec<StudioComponentState>>)
:Filters the request to studio components that are in one of the given states.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
types(Vec<StudioComponentType>)
/set_types(Option<Vec<StudioComponentType>>)
:Filters the request to studio components that are of one of the given types.
- On success, responds with
ListStudioComponentsOutput
with field(s):next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
studio_components(Option<Vec<StudioComponent>>)
:A collection of studio components.
- On failure, responds with
SdkError<ListStudioComponentsError>
sourcepub fn list_studio_members(&self) -> ListStudioMembers
pub fn list_studio_members(&self) -> ListStudioMembers
Constructs a fluent builder for the ListStudioMembers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The max number of results to return in the response.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
ListStudioMembersOutput
with field(s):members(Option<Vec<StudioMembership>>)
:A list of admin members.
next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
- On failure, responds with
SdkError<ListStudioMembersError>
sourcepub fn list_studios(&self) -> ListStudios
pub fn list_studios(&self) -> ListStudios
Constructs a fluent builder for the ListStudios
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
- On success, responds with
ListStudiosOutput
with field(s):next_token(Option<String>)
:The token for the next set of results, or null if there are no more results.
studios(Option<Vec<Studio>>)
:A collection of studios.
- On failure, responds with
SdkError<ListStudiosError>
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource for which you want to list tags.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<HashMap<String, String>>)
:A collection of labels, in the form of key-value pairs, that apply to this resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn put_launch_profile_members(&self) -> PutLaunchProfileMembers
pub fn put_launch_profile_members(&self) -> PutLaunchProfileMembers
Constructs a fluent builder for the PutLaunchProfileMembers
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
identity_store_id(impl Into<String>)
/set_identity_store_id(Option<String>)
:The ID of the identity store.
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
members(Vec<NewLaunchProfileMember>)
/set_members(Option<Vec<NewLaunchProfileMember>>)
:A list of members.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
PutLaunchProfileMembersOutput
- On failure, responds with
SdkError<PutLaunchProfileMembersError>
sourcepub fn put_studio_members(&self) -> PutStudioMembers
pub fn put_studio_members(&self) -> PutStudioMembers
Constructs a fluent builder for the PutStudioMembers
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
identity_store_id(impl Into<String>)
/set_identity_store_id(Option<String>)
:The ID of the identity store.
members(Vec<NewStudioMember>)
/set_members(Option<Vec<NewStudioMember>>)
:A list of members.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
PutStudioMembersOutput
- On failure, responds with
SdkError<PutStudioMembersError>
sourcepub fn start_streaming_session(&self) -> StartStreamingSession
pub fn start_streaming_session(&self) -> StartStreamingSession
Constructs a fluent builder for the StartStreamingSession
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
session_id(impl Into<String>)
/set_session_id(Option<String>)
:The streaming session ID for the
StartStreamingSessionRequest
.studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID for the StartStreamingSessionRequest.
backup_id(impl Into<String>)
/set_backup_id(Option<String>)
:The ID of the backup.
- On success, responds with
StartStreamingSessionOutput
with field(s):session(Option<StreamingSession>)
:A streaming session is a virtual workstation created using a particular launch profile.
- On failure, responds with
SdkError<StartStreamingSessionError>
sourcepub fn start_studio_sso_configuration_repair(
&self
) -> StartStudioSSOConfigurationRepair
pub fn start_studio_sso_configuration_repair(
&self
) -> StartStudioSSOConfigurationRepair
Constructs a fluent builder for the StartStudioSSOConfigurationRepair
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
StartStudioSsoConfigurationRepairOutput
with field(s):studio(Option<Studio>)
:Information about a studio.
- On failure, responds with
SdkError<StartStudioSSOConfigurationRepairError>
sourcepub fn stop_streaming_session(&self) -> StopStreamingSession
pub fn stop_streaming_session(&self) -> StopStreamingSession
Constructs a fluent builder for the StopStreamingSession
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
session_id(impl Into<String>)
/set_session_id(Option<String>)
:The streaming session ID for the
StopStreamingSessionRequest
.studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studioId for the StopStreamingSessionRequest.
volume_retention_mode(VolumeRetentionMode)
/set_volume_retention_mode(Option<VolumeRetentionMode>)
:Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.
- On success, responds with
StopStreamingSessionOutput
with field(s):session(Option<StreamingSession>)
:A streaming session is a virtual workstation created using a particular launch profile.
- On failure, responds with
SdkError<StopStreamingSessionError>
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 Amazon Resource Name (ARN) of the resource you want to add tags to.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:A collection of labels, in the form of key-value pairs, that apply 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>)
:Identifies the Amazon Resource Name(ARN) key from which you are removing tags.
tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
:One or more tag keys. Specify only the tag keys, not the tag values.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_launch_profile(&self) -> UpdateLaunchProfile
pub fn update_launch_profile(&self) -> UpdateLaunchProfile
Constructs a fluent builder for the UpdateLaunchProfile
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
description(impl Into<String>)
/set_description(Option<String>)
:The description.
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
launch_profile_protocol_versions(Vec<String>)
/set_launch_profile_protocol_versions(Option<Vec<String>>)
:The version number of the protocol that is used by the launch profile. The only valid version is “2021-03-31”.
name(impl Into<String>)
/set_name(Option<String>)
:The name for the launch profile.
stream_configuration(StreamConfigurationCreate)
/set_stream_configuration(Option<StreamConfigurationCreate>)
:A configuration for a streaming session.
studio_component_ids(Vec<String>)
/set_studio_component_ids(Option<Vec<String>>)
:Unique identifiers for a collection of studio components that can be used with this launch profile.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
UpdateLaunchProfileOutput
with field(s):launch_profile(Option<LaunchProfile>)
:The launch profile.
- On failure, responds with
SdkError<UpdateLaunchProfileError>
sourcepub fn update_launch_profile_member(&self) -> UpdateLaunchProfileMember
pub fn update_launch_profile_member(&self) -> UpdateLaunchProfileMember
Constructs a fluent builder for the UpdateLaunchProfileMember
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
launch_profile_id(impl Into<String>)
/set_launch_profile_id(Option<String>)
:The ID of the launch profile used to control access from the streaming session.
persona(LaunchProfilePersona)
/set_persona(Option<LaunchProfilePersona>)
:The persona.
principal_id(impl Into<String>)
/set_principal_id(Option<String>)
:The principal ID. This currently supports a IAM Identity Center UserId.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
UpdateLaunchProfileMemberOutput
with field(s):member(Option<LaunchProfileMembership>)
:The updated member.
- On failure, responds with
SdkError<UpdateLaunchProfileMemberError>
sourcepub fn update_streaming_image(&self) -> UpdateStreamingImage
pub fn update_streaming_image(&self) -> UpdateStreamingImage
Constructs a fluent builder for the UpdateStreamingImage
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
description(impl Into<String>)
/set_description(Option<String>)
:The description.
name(impl Into<String>)
/set_name(Option<String>)
:The name for the streaming image.
streaming_image_id(impl Into<String>)
/set_streaming_image_id(Option<String>)
:The streaming image ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
- On success, responds with
UpdateStreamingImageOutput
with field(s):streaming_image(Option<StreamingImage>)
:Represents a streaming image resource.
Streaming images are used by studio users to select which operating system and software they want to use in a Nimble Studio streaming session.
Amazon provides a number of streaming images that include popular 3rd-party software.
You can create your own streaming images using an Amazon EC2 machine image that you create for this purpose. You can also include software that your users require.
- On failure, responds with
SdkError<UpdateStreamingImageError>
sourcepub fn update_studio(&self) -> UpdateStudio
pub fn update_studio(&self) -> UpdateStudio
Constructs a fluent builder for the UpdateStudio
operation.
- The fluent builder is configurable:
admin_role_arn(impl Into<String>)
/set_admin_role_arn(Option<String>)
:The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
display_name(impl Into<String>)
/set_display_name(Option<String>)
:A friendly name for the studio.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
user_role_arn(impl Into<String>)
/set_user_role_arn(Option<String>)
:The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.
- On success, responds with
UpdateStudioOutput
with field(s):studio(Option<Studio>)
:Information about a studio.
- On failure, responds with
SdkError<UpdateStudioError>
sourcepub fn update_studio_component(&self) -> UpdateStudioComponent
pub fn update_studio_component(&self) -> UpdateStudioComponent
Constructs a fluent builder for the UpdateStudioComponent
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
configuration(StudioComponentConfiguration)
/set_configuration(Option<StudioComponentConfiguration>)
:The configuration of the studio component, based on component type.
description(impl Into<String>)
/set_description(Option<String>)
:The description.
ec2_security_group_ids(Vec<String>)
/set_ec2_security_group_ids(Option<Vec<String>>)
:The EC2 security groups that control access to the studio component.
initialization_scripts(Vec<StudioComponentInitializationScript>)
/set_initialization_scripts(Option<Vec<StudioComponentInitializationScript>>)
:Initialization scripts for studio components.
name(impl Into<String>)
/set_name(Option<String>)
:The name for the studio component.
script_parameters(Vec<ScriptParameterKeyValue>)
/set_script_parameters(Option<Vec<ScriptParameterKeyValue>>)
:Parameters for the studio component scripts.
studio_component_id(impl Into<String>)
/set_studio_component_id(Option<String>)
:The studio component ID.
studio_id(impl Into<String>)
/set_studio_id(Option<String>)
:The studio ID.
subtype(StudioComponentSubtype)
/set_subtype(Option<StudioComponentSubtype>)
:The specific subtype of a studio component.
r#type(StudioComponentType)
/set_type(Option<StudioComponentType>)
:The type of the studio component.
secure_initialization_role_arn(impl Into<String>)
/set_secure_initialization_role_arn(Option<String>)
:An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
runtime_role_arn(impl Into<String>)
/set_runtime_role_arn(Option<String>)
:An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
- On success, responds with
UpdateStudioComponentOutput
with field(s):studio_component(Option<StudioComponent>)
:Information about the studio component.
- On failure, responds with
SdkError<UpdateStudioComponentError>
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it.
sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
Panics
- This method will panic if the
conf
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
conf
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it.