Struct aws_sdk_licensemanager::client::fluent_builders::ListUsageForLicenseConfiguration
source · [−]pub struct ListUsageForLicenseConfiguration<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to ListUsageForLicenseConfiguration.
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
Implementations
impl<C, M, R> ListUsageForLicenseConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListUsageForLicenseConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListUsageForLicenseConfigurationOutput, SdkError<ListUsageForLicenseConfigurationError>> where
R::Policy: SmithyRetryPolicy<ListUsageForLicenseConfigurationInputOperationOutputAlias, ListUsageForLicenseConfigurationOutput, ListUsageForLicenseConfigurationError, ListUsageForLicenseConfigurationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListUsageForLicenseConfigurationOutput, SdkError<ListUsageForLicenseConfigurationError>> where
R::Policy: SmithyRetryPolicy<ListUsageForLicenseConfigurationInputOperationOutputAlias, ListUsageForLicenseConfigurationOutput, ListUsageForLicenseConfigurationError, ListUsageForLicenseConfigurationInputOperationRetryAlias>,
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 license configuration.
Amazon Resource Name (ARN) of the license configuration.
Maximum number of results to return in a single call.
Maximum number of results to return in a single call.
Token for the next set of results.
Token for the next set of results.
Appends an item to Filters.
To override the contents of this collection use set_filters.
Filters to scope the results. The following filters and logical operators are supported:
-
resourceArn- The ARN of the license configuration resource. Logical operators areEQUALS|NOT_EQUALS. -
resourceType- The resource type (EC2_INSTANCE|EC2_HOST|EC2_AMI|SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators areEQUALS|NOT_EQUALS. -
resourceAccount- The ID of the account that owns the resource. Logical operators areEQUALS|NOT_EQUALS.
Filters to scope the results. The following filters and logical operators are supported:
-
resourceArn- The ARN of the license configuration resource. Logical operators areEQUALS|NOT_EQUALS. -
resourceType- The resource type (EC2_INSTANCE|EC2_HOST|EC2_AMI|SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators areEQUALS|NOT_EQUALS. -
resourceAccount- The ID of the account that owns the resource. Logical operators areEQUALS|NOT_EQUALS.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListUsageForLicenseConfiguration<C, M, R>
impl<C, M, R> Send for ListUsageForLicenseConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListUsageForLicenseConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListUsageForLicenseConfiguration<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListUsageForLicenseConfiguration<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