Struct aws_sdk_sagemaker::client::fluent_builders::DescribeWorkforce
source · [−]pub struct DescribeWorkforce { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeWorkforce.
Lists private workforce information, including workforce name, Amazon Resource Name (ARN), and, if applicable, allowed IP address ranges (CIDRs). Allowable IP address ranges are the IP addresses that workers can use to access tasks.
This operation applies only to private workforces.
Implementations
sourceimpl DescribeWorkforce
impl DescribeWorkforce
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeWorkforce, AwsResponseRetryClassifier>, SdkError<DescribeWorkforceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeWorkforce, AwsResponseRetryClassifier>, SdkError<DescribeWorkforceError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeWorkforceOutput, SdkError<DescribeWorkforceError>>
pub async fn send(
self
) -> Result<DescribeWorkforceOutput, SdkError<DescribeWorkforceError>>
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 workforce_name(self, input: impl Into<String>) -> Self
pub fn workforce_name(self, input: impl Into<String>) -> Self
The name of the private workforce whose access you want to restrict. WorkforceName is automatically set to default when a workforce is created and cannot be modified.
sourcepub fn set_workforce_name(self, input: Option<String>) -> Self
pub fn set_workforce_name(self, input: Option<String>) -> Self
The name of the private workforce whose access you want to restrict. WorkforceName is automatically set to default when a workforce is created and cannot be modified.
Trait Implementations
sourceimpl Clone for DescribeWorkforce
impl Clone for DescribeWorkforce
sourcefn clone(&self) -> DescribeWorkforce
fn clone(&self) -> DescribeWorkforce
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more