Struct aws_sdk_sagemaker::operation::get_model_package_group_policy::builders::GetModelPackageGroupPolicyFluentBuilder
source · pub struct GetModelPackageGroupPolicyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetModelPackageGroupPolicy
.
Gets a resource policy that manages access for a model group. For information about resource policies, see Identity-based policies and resource-based policies in the Amazon Web Services Identity and Access Management User Guide..
Implementations§
source§impl GetModelPackageGroupPolicyFluentBuilder
impl GetModelPackageGroupPolicyFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetModelPackageGroupPolicy, AwsResponseRetryClassifier>, SdkError<GetModelPackageGroupPolicyError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetModelPackageGroupPolicy, AwsResponseRetryClassifier>, SdkError<GetModelPackageGroupPolicyError>>
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<GetModelPackageGroupPolicyOutput, SdkError<GetModelPackageGroupPolicyError>>
pub async fn send( self ) -> Result<GetModelPackageGroupPolicyOutput, SdkError<GetModelPackageGroupPolicyError>>
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 model_package_group_name(self, input: impl Into<String>) -> Self
pub fn model_package_group_name(self, input: impl Into<String>) -> Self
The name of the model group for which to get the resource policy.
sourcepub fn set_model_package_group_name(self, input: Option<String>) -> Self
pub fn set_model_package_group_name(self, input: Option<String>) -> Self
The name of the model group for which to get the resource policy.
Trait Implementations§
source§impl Clone for GetModelPackageGroupPolicyFluentBuilder
impl Clone for GetModelPackageGroupPolicyFluentBuilder
source§fn clone(&self) -> GetModelPackageGroupPolicyFluentBuilder
fn clone(&self) -> GetModelPackageGroupPolicyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more