Struct aws_sdk_licensemanager::client::fluent_builders::CreateLicenseConversionTaskForResource
source · [−]pub struct CreateLicenseConversionTaskForResource<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateLicenseConversionTaskForResource.
Creates a new license conversion task.
Implementations
impl<C, M, R> CreateLicenseConversionTaskForResource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateLicenseConversionTaskForResource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateLicenseConversionTaskForResourceOutput, SdkError<CreateLicenseConversionTaskForResourceError>> where
R::Policy: SmithyRetryPolicy<CreateLicenseConversionTaskForResourceInputOperationOutputAlias, CreateLicenseConversionTaskForResourceOutput, CreateLicenseConversionTaskForResourceError, CreateLicenseConversionTaskForResourceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateLicenseConversionTaskForResourceOutput, SdkError<CreateLicenseConversionTaskForResourceError>> where
R::Policy: SmithyRetryPolicy<CreateLicenseConversionTaskForResourceInputOperationOutputAlias, CreateLicenseConversionTaskForResourceOutput, CreateLicenseConversionTaskForResourceError, CreateLicenseConversionTaskForResourceInputOperationRetryAlias>,
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.
Amazon Resource Name (ARN) of the resource you are converting the license type for.
Amazon Resource Name (ARN) of the resource you are converting the license type for.
Information that identifies the license type you are converting from. For the structure of the source license, see Convert a license type using the AWS CLI in the License Manager User Guide.
Information that identifies the license type you are converting from. For the structure of the source license, see Convert a license type using the AWS CLI in the License Manager User Guide.
Information that identifies the license type you are converting to. For the structure of the destination license, see Convert a license type using the AWS CLI in the License Manager User Guide.
pub fn set_destination_license_context(
self,
input: Option<LicenseConversionContext>
) -> Self
pub fn set_destination_license_context(
self,
input: Option<LicenseConversionContext>
) -> Self
Information that identifies the license type you are converting to. For the structure of the destination license, see Convert a license type using the AWS CLI in the License Manager User Guide.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateLicenseConversionTaskForResource<C, M, R>
impl<C, M, R> Send for CreateLicenseConversionTaskForResource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateLicenseConversionTaskForResource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateLicenseConversionTaskForResource<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateLicenseConversionTaskForResource<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more