[][src]Struct rusoto_license_manager::LicenseManagerClient

pub struct LicenseManagerClient { /* fields omitted */ }

A client for the AWS License Manager API.

Methods

impl LicenseManagerClient[src]

pub fn new(region: Region) -> LicenseManagerClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> LicenseManagerClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl LicenseManager for LicenseManagerClient[src]

fn create_license_configuration(
    &self,
    input: CreateLicenseConfigurationRequest
) -> RusotoFuture<CreateLicenseConfigurationResponse, CreateLicenseConfigurationError>
[src]

Creates a new license configuration object. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or VCPU), tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host affinity (how long a VM must be associated with a host), the number of licenses purchased and used.

fn delete_license_configuration(
    &self,
    input: DeleteLicenseConfigurationRequest
) -> RusotoFuture<DeleteLicenseConfigurationResponse, DeleteLicenseConfigurationError>
[src]

Deletes an existing license configuration. This action fails if the configuration is in use.

fn get_license_configuration(
    &self,
    input: GetLicenseConfigurationRequest
) -> RusotoFuture<GetLicenseConfigurationResponse, GetLicenseConfigurationError>
[src]

Returns a detailed description of a license configuration.

fn get_service_settings(
    &self
) -> RusotoFuture<GetServiceSettingsResponse, GetServiceSettingsError>
[src]

Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.

fn list_associations_for_license_configuration(
    &self,
    input: ListAssociationsForLicenseConfigurationRequest
) -> RusotoFuture<ListAssociationsForLicenseConfigurationResponse, ListAssociationsForLicenseConfigurationError>
[src]

Lists the resource associations for a license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance may not consume a license (depending on the license rules). Use this operation to find all resources associated with a license configuration.

fn list_license_configurations(
    &self,
    input: ListLicenseConfigurationsRequest
) -> RusotoFuture<ListLicenseConfigurationsResponse, ListLicenseConfigurationsError>
[src]

Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.

fn list_license_specifications_for_resource(
    &self,
    input: ListLicenseSpecificationsForResourceRequest
) -> RusotoFuture<ListLicenseSpecificationsForResourceResponse, ListLicenseSpecificationsForResourceError>
[src]

Returns the license configuration for a resource.

fn list_resource_inventory(
    &self,
    input: ListResourceInventoryRequest
) -> RusotoFuture<ListResourceInventoryResponse, ListResourceInventoryError>
[src]

Returns a detailed list of resources.

fn list_tags_for_resource(
    &self,
    input: ListTagsForResourceRequest
) -> RusotoFuture<ListTagsForResourceResponse, ListTagsForResourceError>
[src]

Lists tags attached to a resource.

fn list_usage_for_license_configuration(
    &self,
    input: ListUsageForLicenseConfigurationRequest
) -> RusotoFuture<ListUsageForLicenseConfigurationResponse, ListUsageForLicenseConfigurationError>
[src]

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.

fn tag_resource(
    &self,
    input: TagResourceRequest
) -> RusotoFuture<TagResourceResponse, TagResourceError>
[src]

Attach one of more tags to any resource.

fn untag_resource(
    &self,
    input: UntagResourceRequest
) -> RusotoFuture<UntagResourceResponse, UntagResourceError>
[src]

Remove tags from a resource.

fn update_license_configuration(
    &self,
    input: UpdateLicenseConfigurationRequest
) -> RusotoFuture<UpdateLicenseConfigurationResponse, UpdateLicenseConfigurationError>
[src]

Modifies the attributes of an existing license configuration object. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (Instances, cores, sockets, VCPUs), tenancy (shared or Dedicated Host), host affinity (how long a VM is associated with a host), the number of licenses purchased and used.

fn update_license_specifications_for_resource(
    &self,
    input: UpdateLicenseSpecificationsForResourceRequest
) -> RusotoFuture<UpdateLicenseSpecificationsForResourceResponse, UpdateLicenseSpecificationsForResourceError>
[src]

Adds or removes license configurations for a specified AWS resource. This operation currently supports updating the license specifications of AMIs, instances, and hosts. Launch templates and AWS CloudFormation templates are not managed from this operation as those resources send the license configurations directly to a resource creation operation, such as RunInstances.

fn update_service_settings(
    &self,
    input: UpdateServiceSettingsRequest
) -> RusotoFuture<UpdateServiceSettingsResponse, UpdateServiceSettingsError>
[src]

Updates License Manager service settings.

impl Clone for LicenseManagerClient[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for LicenseManagerClient

impl Sync for LicenseManagerClient

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self