#[non_exhaustive]pub struct UpdateStudioSessionMappingInput { /* private fields */ }Implementations§
source§impl UpdateStudioSessionMappingInput
impl UpdateStudioSessionMappingInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateStudioSessionMapping, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateStudioSessionMapping, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateStudioSessionMapping>
Examples found in repository?
src/client.rs (line 6189)
6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateStudioSessionMapping,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateStudioSessionMappingError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateStudioSessionMappingOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateStudioSessionMappingError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateStudioSessionMappingInput.
source§impl UpdateStudioSessionMappingInput
impl UpdateStudioSessionMappingInput
sourcepub fn identity_id(&self) -> Option<&str>
pub fn identity_id(&self) -> Option<&str>
sourcepub fn identity_name(&self) -> Option<&str>
pub fn identity_name(&self) -> Option<&str>
The name of the user or group to update. For more information, see UserName and DisplayName in the Amazon Web Services SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.
sourcepub fn identity_type(&self) -> Option<&IdentityType>
pub fn identity_type(&self) -> Option<&IdentityType>
Specifies whether the identity to update is a user or a group.
sourcepub fn session_policy_arn(&self) -> Option<&str>
pub fn session_policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the session policy to associate with the specified user or group.
Trait Implementations§
source§impl Clone for UpdateStudioSessionMappingInput
impl Clone for UpdateStudioSessionMappingInput
source§fn clone(&self) -> UpdateStudioSessionMappingInput
fn clone(&self) -> UpdateStudioSessionMappingInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more