/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the license-manager-2018-08-01.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.LicenseManager.Model;
using Amazon.LicenseManager.Model.Internal.MarshallTransformations;
using Amazon.LicenseManager.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.LicenseManager
{
///
/// Implementation for accessing LicenseManager
///
/// License Manager makes it easier to manage licenses from software vendors across multiple
/// Amazon Web Services accounts and on-premises servers.
///
public partial class AmazonLicenseManagerClient : AmazonServiceClient, IAmazonLicenseManager
{
private static IServiceMetadata serviceMetadata = new AmazonLicenseManagerMetadata();
#region Constructors
///
/// Constructs AmazonLicenseManagerClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonLicenseManagerClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonLicenseManagerConfig()) { }
///
/// Constructs AmazonLicenseManagerClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonLicenseManagerClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonLicenseManagerConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonLicenseManagerClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonLicenseManagerClient Configuration Object
public AmazonLicenseManagerClient(AmazonLicenseManagerConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonLicenseManagerClient with AWS Credentials
///
/// AWS Credentials
public AmazonLicenseManagerClient(AWSCredentials credentials)
: this(credentials, new AmazonLicenseManagerConfig())
{
}
///
/// Constructs AmazonLicenseManagerClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonLicenseManagerClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonLicenseManagerConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonLicenseManagerClient with AWS Credentials and an
/// AmazonLicenseManagerClient Configuration object.
///
/// AWS Credentials
/// The AmazonLicenseManagerClient Configuration Object
public AmazonLicenseManagerClient(AWSCredentials credentials, AmazonLicenseManagerConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonLicenseManagerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonLicenseManagerClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonLicenseManagerConfig())
{
}
///
/// Constructs AmazonLicenseManagerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonLicenseManagerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonLicenseManagerConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonLicenseManagerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonLicenseManagerClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonLicenseManagerClient Configuration Object
public AmazonLicenseManagerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonLicenseManagerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonLicenseManagerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonLicenseManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonLicenseManagerConfig())
{
}
///
/// Constructs AmazonLicenseManagerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonLicenseManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonLicenseManagerConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonLicenseManagerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonLicenseManagerClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonLicenseManagerClient Configuration Object
public AmazonLicenseManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonLicenseManagerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonLicenseManagerEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AcceptGrant
internal virtual AcceptGrantResponse AcceptGrant(AcceptGrantRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AcceptGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = AcceptGrantResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Accepts the specified grant.
///
/// Container for the necessary parameters to execute the AcceptGrant service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AcceptGrant service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for AcceptGrant Operation
public virtual Task AcceptGrantAsync(AcceptGrantRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AcceptGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = AcceptGrantResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CheckInLicense
internal virtual CheckInLicenseResponse CheckInLicense(CheckInLicenseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CheckInLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CheckInLicenseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Checks in the specified license. Check in a license when it is no longer in use.
///
/// Container for the necessary parameters to execute the CheckInLicense service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CheckInLicense service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// There was a conflict processing the request. Try your request again.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CheckInLicense Operation
public virtual Task CheckInLicenseAsync(CheckInLicenseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CheckInLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CheckInLicenseResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CheckoutBorrowLicense
internal virtual CheckoutBorrowLicenseResponse CheckoutBorrowLicense(CheckoutBorrowLicenseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CheckoutBorrowLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CheckoutBorrowLicenseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Checks out the specified license for offline use.
///
/// Container for the necessary parameters to execute the CheckoutBorrowLicense service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CheckoutBorrowLicense service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// The entitlement is not allowed.
///
///
/// One or more parameter values are not valid.
///
///
/// There are no entitlements found for this license, or the entitlement maximum count
/// is reached.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// This is not the correct Region for the resource. Try again.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The digital signature method is unsupported. Try your request again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CheckoutBorrowLicense Operation
public virtual Task CheckoutBorrowLicenseAsync(CheckoutBorrowLicenseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CheckoutBorrowLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CheckoutBorrowLicenseResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CheckoutLicense
internal virtual CheckoutLicenseResponse CheckoutLicense(CheckoutLicenseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CheckoutLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CheckoutLicenseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Checks out the specified license.
///
///
///
/// If the account that created the license is the same that is performing the check out,
/// you must specify the account as the beneficiary.
///
///
///
/// Container for the necessary parameters to execute the CheckoutLicense service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CheckoutLicense service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// There are no entitlements found for this license, or the entitlement maximum count
/// is reached.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// This is not the correct Region for the resource. Try again.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The digital signature method is unsupported. Try your request again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CheckoutLicense Operation
public virtual Task CheckoutLicenseAsync(CheckoutLicenseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CheckoutLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CheckoutLicenseResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateGrant
internal virtual CreateGrantResponse CreateGrant(CreateGrantRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGrantResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a grant for the specified license. A grant shares the use of license entitlements
/// with a specific Amazon Web Services account, an organization, or an organizational
/// unit (OU). For more information, see Granted
/// licenses in License Manager in the License Manager User Guide.
///
/// Container for the necessary parameters to execute the CreateGrant service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateGrant service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CreateGrant Operation
public virtual Task CreateGrantAsync(CreateGrantRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGrantResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateGrantVersion
internal virtual CreateGrantVersionResponse CreateGrantVersion(CreateGrantVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGrantVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGrantVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new version of the specified grant. For more information, see Granted
/// licenses in License Manager in the License Manager User Guide.
///
/// Container for the necessary parameters to execute the CreateGrantVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateGrantVersion service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CreateGrantVersion Operation
public virtual Task CreateGrantVersionAsync(CreateGrantVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateGrantVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateGrantVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateLicense
internal virtual CreateLicenseResponse CreateLicense(CreateLicenseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a license.
///
/// Container for the necessary parameters to execute the CreateLicense service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateLicense service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// This is not the correct Region for the resource. Try again.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CreateLicense Operation
public virtual Task CreateLicenseAsync(CreateLicenseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateLicenseConfiguration
internal virtual CreateLicenseConfigurationResponse CreateLicenseConfiguration(CreateLicenseConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a license configuration.
///
///
///
/// 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), allowed tenancy (shared
/// tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to
/// host (how long a license must be associated with a host), and the number of licenses
/// purchased and used.
///
///
/// Container for the necessary parameters to execute the CreateLicenseConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateLicenseConfiguration service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for CreateLicenseConfiguration Operation
public virtual Task CreateLicenseConfigurationAsync(CreateLicenseConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateLicenseConversionTaskForResource
internal virtual CreateLicenseConversionTaskForResourceResponse CreateLicenseConversionTaskForResource(CreateLicenseConversionTaskForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseConversionTaskForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseConversionTaskForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new license conversion task.
///
/// Container for the necessary parameters to execute the CreateLicenseConversionTaskForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateLicenseConversionTaskForResource service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CreateLicenseConversionTaskForResource Operation
public virtual Task CreateLicenseConversionTaskForResourceAsync(CreateLicenseConversionTaskForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseConversionTaskForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseConversionTaskForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateLicenseManagerReportGenerator
internal virtual CreateLicenseManagerReportGeneratorResponse CreateLicenseManagerReportGenerator(CreateLicenseManagerReportGeneratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseManagerReportGeneratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseManagerReportGeneratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a report generator.
///
/// Container for the necessary parameters to execute the CreateLicenseManagerReportGenerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateLicenseManagerReportGenerator service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CreateLicenseManagerReportGenerator Operation
public virtual Task CreateLicenseManagerReportGeneratorAsync(CreateLicenseManagerReportGeneratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseManagerReportGeneratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseManagerReportGeneratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateLicenseVersion
internal virtual CreateLicenseVersionResponse CreateLicenseVersion(CreateLicenseVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new version of the specified license.
///
/// Container for the necessary parameters to execute the CreateLicenseVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateLicenseVersion service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// There was a conflict processing the request. Try your request again.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// This is not the correct Region for the resource. Try again.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CreateLicenseVersion Operation
public virtual Task CreateLicenseVersionAsync(CreateLicenseVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLicenseVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLicenseVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateToken
internal virtual CreateTokenResponse CreateToken(CreateTokenRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a long-lived token.
///
///
///
/// A refresh token is a JWT token used to get an access token. With an access token,
/// you can call AssumeRoleWithWebIdentity to get role credentials that you can use to
/// call License Manager to manage the specified license.
///
///
/// Container for the necessary parameters to execute the CreateToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateToken service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// This is not the correct Region for the resource. Try again.
///
///
/// Your resource limits have been exceeded.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for CreateToken Operation
public virtual Task CreateTokenAsync(CreateTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteGrant
internal virtual DeleteGrantResponse DeleteGrant(DeleteGrantRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGrantResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified grant.
///
/// Container for the necessary parameters to execute the DeleteGrant service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteGrant service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for DeleteGrant Operation
public virtual Task DeleteGrantAsync(DeleteGrantRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGrantResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteLicense
internal virtual DeleteLicenseResponse DeleteLicense(DeleteLicenseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLicenseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified license.
///
/// Container for the necessary parameters to execute the DeleteLicense service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteLicense service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// There was a conflict processing the request. Try your request again.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// This is not the correct Region for the resource. Try again.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for DeleteLicense Operation
public virtual Task DeleteLicenseAsync(DeleteLicenseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLicenseResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteLicenseConfiguration
internal virtual DeleteLicenseConfigurationResponse DeleteLicenseConfiguration(DeleteLicenseConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLicenseConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified license configuration.
///
///
///
/// You cannot delete a license configuration that is in use.
///
///
/// Container for the necessary parameters to execute the DeleteLicenseConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteLicenseConfiguration service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DeleteLicenseConfiguration Operation
public virtual Task DeleteLicenseConfigurationAsync(DeleteLicenseConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLicenseConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteLicenseManagerReportGenerator
internal virtual DeleteLicenseManagerReportGeneratorResponse DeleteLicenseManagerReportGenerator(DeleteLicenseManagerReportGeneratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLicenseManagerReportGeneratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLicenseManagerReportGeneratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified report generator.
///
///
///
/// This action deletes the report generator, which stops it from generating future reports.
/// The action cannot be reversed. It has no effect on the previous reports from this
/// generator.
///
///
/// Container for the necessary parameters to execute the DeleteLicenseManagerReportGenerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteLicenseManagerReportGenerator service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for DeleteLicenseManagerReportGenerator Operation
public virtual Task DeleteLicenseManagerReportGeneratorAsync(DeleteLicenseManagerReportGeneratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLicenseManagerReportGeneratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLicenseManagerReportGeneratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteToken
internal virtual DeleteTokenResponse DeleteToken(DeleteTokenRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified token. Must be called in the license home Region.
///
/// Container for the necessary parameters to execute the DeleteToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteToken service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// This is not the correct Region for the resource. Try again.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for DeleteToken Operation
public virtual Task DeleteTokenAsync(DeleteTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ExtendLicenseConsumption
internal virtual ExtendLicenseConsumptionResponse ExtendLicenseConsumption(ExtendLicenseConsumptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExtendLicenseConsumptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExtendLicenseConsumptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Extends the expiration date for license consumption.
///
/// Container for the necessary parameters to execute the ExtendLicenseConsumption service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ExtendLicenseConsumption service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ExtendLicenseConsumption Operation
public virtual Task ExtendLicenseConsumptionAsync(ExtendLicenseConsumptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ExtendLicenseConsumptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExtendLicenseConsumptionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetAccessToken
internal virtual GetAccessTokenResponse GetAccessToken(GetAccessTokenRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccessTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccessTokenResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens
/// are valid for one hour.
///
/// Container for the necessary parameters to execute the GetAccessToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAccessToken service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for GetAccessToken Operation
public virtual Task GetAccessTokenAsync(GetAccessTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccessTokenRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccessTokenResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetGrant
internal virtual GetGrantResponse GetGrant(GetGrantRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetGrantResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets detailed information about the specified grant.
///
/// Container for the necessary parameters to execute the GetGrant service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetGrant service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for GetGrant Operation
public virtual Task GetGrantAsync(GetGrantRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetGrantResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetLicense
internal virtual GetLicenseResponse GetLicense(GetLicenseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets detailed information about the specified license.
///
/// Container for the necessary parameters to execute the GetLicense service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLicense service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for GetLicense Operation
public virtual Task GetLicenseAsync(GetLicenseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetLicenseConfiguration
internal virtual GetLicenseConfigurationResponse GetLicenseConfiguration(GetLicenseConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets detailed information about the specified license configuration.
///
/// Container for the necessary parameters to execute the GetLicenseConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLicenseConfiguration service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for GetLicenseConfiguration Operation
public virtual Task GetLicenseConfigurationAsync(GetLicenseConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetLicenseConversionTask
internal virtual GetLicenseConversionTaskResponse GetLicenseConversionTask(GetLicenseConversionTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseConversionTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseConversionTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about the specified license type conversion task.
///
/// Container for the necessary parameters to execute the GetLicenseConversionTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLicenseConversionTask service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for GetLicenseConversionTask Operation
public virtual Task GetLicenseConversionTaskAsync(GetLicenseConversionTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseConversionTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseConversionTaskResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetLicenseManagerReportGenerator
internal virtual GetLicenseManagerReportGeneratorResponse GetLicenseManagerReportGenerator(GetLicenseManagerReportGeneratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseManagerReportGeneratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseManagerReportGeneratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about the specified report generator.
///
/// Container for the necessary parameters to execute the GetLicenseManagerReportGenerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLicenseManagerReportGenerator service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for GetLicenseManagerReportGenerator Operation
public virtual Task GetLicenseManagerReportGeneratorAsync(GetLicenseManagerReportGeneratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseManagerReportGeneratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseManagerReportGeneratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetLicenseUsage
internal virtual GetLicenseUsageResponse GetLicenseUsage(GetLicenseUsageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseUsageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseUsageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets detailed information about the usage of the specified license.
///
/// Container for the necessary parameters to execute the GetLicenseUsage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLicenseUsage service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for GetLicenseUsage Operation
public virtual Task GetLicenseUsageAsync(GetLicenseUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLicenseUsageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLicenseUsageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetServiceSettings
internal virtual GetServiceSettingsResponse GetServiceSettings(GetServiceSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServiceSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServiceSettingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the License Manager settings for the current Region.
///
/// Container for the necessary parameters to execute the GetServiceSettings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetServiceSettings service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for GetServiceSettings Operation
public virtual Task GetServiceSettingsAsync(GetServiceSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServiceSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServiceSettingsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAssociationsForLicenseConfiguration
internal virtual ListAssociationsForLicenseConfigurationResponse ListAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociationsForLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociationsForLicenseConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the resource associations for the specified license configuration.
///
///
///
/// Resource associations need not consume licenses from a license configuration. For
/// example, an AMI or a stopped instance might not consume a license (depending on the
/// license rules).
///
///
/// Container for the necessary parameters to execute the ListAssociationsForLicenseConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAssociationsForLicenseConfiguration service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// The request uses too many filters or too many filter values.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListAssociationsForLicenseConfiguration Operation
public virtual Task ListAssociationsForLicenseConfigurationAsync(ListAssociationsForLicenseConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociationsForLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociationsForLicenseConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDistributedGrants
internal virtual ListDistributedGrantsResponse ListDistributedGrants(ListDistributedGrantsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributedGrantsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributedGrantsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the grants distributed for the specified license.
///
/// Container for the necessary parameters to execute the ListDistributedGrants service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDistributedGrants service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListDistributedGrants Operation
public virtual Task ListDistributedGrantsAsync(ListDistributedGrantsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDistributedGrantsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDistributedGrantsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFailuresForLicenseConfigurationOperations
internal virtual ListFailuresForLicenseConfigurationOperationsResponse ListFailuresForLicenseConfigurationOperations(ListFailuresForLicenseConfigurationOperationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFailuresForLicenseConfigurationOperationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFailuresForLicenseConfigurationOperationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the license configuration operations that failed.
///
/// Container for the necessary parameters to execute the ListFailuresForLicenseConfigurationOperations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFailuresForLicenseConfigurationOperations service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListFailuresForLicenseConfigurationOperations Operation
public virtual Task ListFailuresForLicenseConfigurationOperationsAsync(ListFailuresForLicenseConfigurationOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFailuresForLicenseConfigurationOperationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFailuresForLicenseConfigurationOperationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListLicenseConfigurations
internal virtual ListLicenseConfigurationsResponse ListLicenseConfigurations(ListLicenseConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the license configurations for your account.
///
/// Container for the necessary parameters to execute the ListLicenseConfigurations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListLicenseConfigurations service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// The request uses too many filters or too many filter values.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListLicenseConfigurations Operation
public virtual Task ListLicenseConfigurationsAsync(ListLicenseConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseConfigurationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListLicenseConversionTasks
internal virtual ListLicenseConversionTasksResponse ListLicenseConversionTasks(ListLicenseConversionTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseConversionTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseConversionTasksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the license type conversion tasks for your account.
///
/// Container for the necessary parameters to execute the ListLicenseConversionTasks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListLicenseConversionTasks service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListLicenseConversionTasks Operation
public virtual Task ListLicenseConversionTasksAsync(ListLicenseConversionTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseConversionTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseConversionTasksResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListLicenseManagerReportGenerators
internal virtual ListLicenseManagerReportGeneratorsResponse ListLicenseManagerReportGenerators(ListLicenseManagerReportGeneratorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseManagerReportGeneratorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseManagerReportGeneratorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the report generators for your account.
///
/// Container for the necessary parameters to execute the ListLicenseManagerReportGenerators service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListLicenseManagerReportGenerators service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListLicenseManagerReportGenerators Operation
public virtual Task ListLicenseManagerReportGeneratorsAsync(ListLicenseManagerReportGeneratorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseManagerReportGeneratorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseManagerReportGeneratorsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListLicenses
internal virtual ListLicensesResponse ListLicenses(ListLicensesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicensesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicensesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the licenses for your account.
///
/// Container for the necessary parameters to execute the ListLicenses service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListLicenses service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListLicenses Operation
public virtual Task ListLicensesAsync(ListLicensesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicensesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicensesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListLicenseSpecificationsForResource
internal virtual ListLicenseSpecificationsForResourceResponse ListLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseSpecificationsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseSpecificationsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the license configurations for the specified resource.
///
/// Container for the necessary parameters to execute the ListLicenseSpecificationsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListLicenseSpecificationsForResource service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListLicenseSpecificationsForResource Operation
public virtual Task ListLicenseSpecificationsForResourceAsync(ListLicenseSpecificationsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseSpecificationsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseSpecificationsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListLicenseVersions
internal virtual ListLicenseVersionsResponse ListLicenseVersions(ListLicenseVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all versions of the specified license.
///
/// Container for the necessary parameters to execute the ListLicenseVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListLicenseVersions service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListLicenseVersions Operation
public virtual Task ListLicenseVersionsAsync(ListLicenseVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLicenseVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLicenseVersionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListReceivedGrants
internal virtual ListReceivedGrantsResponse ListReceivedGrants(ListReceivedGrantsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReceivedGrantsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReceivedGrantsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists grants that are received. Received grants are grants created while specifying
/// the recipient as this Amazon Web Services account, your organization, or an organizational
/// unit (OU) to which this member account belongs.
///
/// Container for the necessary parameters to execute the ListReceivedGrants service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListReceivedGrants service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListReceivedGrants Operation
public virtual Task ListReceivedGrantsAsync(ListReceivedGrantsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReceivedGrantsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReceivedGrantsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListReceivedGrantsForOrganization
internal virtual ListReceivedGrantsForOrganizationResponse ListReceivedGrantsForOrganization(ListReceivedGrantsForOrganizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReceivedGrantsForOrganizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReceivedGrantsForOrganizationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the grants received for all accounts in the organization.
///
/// Container for the necessary parameters to execute the ListReceivedGrantsForOrganization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListReceivedGrantsForOrganization service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListReceivedGrantsForOrganization Operation
public virtual Task ListReceivedGrantsForOrganizationAsync(ListReceivedGrantsForOrganizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReceivedGrantsForOrganizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReceivedGrantsForOrganizationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListReceivedLicenses
internal virtual ListReceivedLicensesResponse ListReceivedLicenses(ListReceivedLicensesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReceivedLicensesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReceivedLicensesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists received licenses.
///
/// Container for the necessary parameters to execute the ListReceivedLicenses service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListReceivedLicenses service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListReceivedLicenses Operation
public virtual Task ListReceivedLicensesAsync(ListReceivedLicensesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReceivedLicensesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReceivedLicensesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListReceivedLicensesForOrganization
internal virtual ListReceivedLicensesForOrganizationResponse ListReceivedLicensesForOrganization(ListReceivedLicensesForOrganizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReceivedLicensesForOrganizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReceivedLicensesForOrganizationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the licenses received for all accounts in the organization.
///
/// Container for the necessary parameters to execute the ListReceivedLicensesForOrganization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListReceivedLicensesForOrganization service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListReceivedLicensesForOrganization Operation
public virtual Task ListReceivedLicensesForOrganizationAsync(ListReceivedLicensesForOrganizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReceivedLicensesForOrganizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReceivedLicensesForOrganizationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResourceInventory
internal virtual ListResourceInventoryResponse ListResourceInventory(ListResourceInventoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResourceInventoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResourceInventoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists resources managed using Systems Manager inventory.
///
/// Container for the necessary parameters to execute the ListResourceInventory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResourceInventory service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// A dependency required to run the API is missing.
///
///
/// The request uses too many filters or too many filter values.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListResourceInventory Operation
public virtual Task ListResourceInventoryAsync(ListResourceInventoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResourceInventoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResourceInventoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the tags for the specified license configuration.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTokens
internal virtual ListTokensResponse ListTokens(ListTokensRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTokensRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTokensResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists your tokens.
///
/// Container for the necessary parameters to execute the ListTokens service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTokens service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListTokens Operation
public virtual Task ListTokensAsync(ListTokensRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTokensRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTokensResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListUsageForLicenseConfiguration
internal virtual ListUsageForLicenseConfigurationResponse ListUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsageForLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsageForLicenseConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListUsageForLicenseConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUsageForLicenseConfiguration service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// The request uses too many filters or too many filter values.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListUsageForLicenseConfiguration Operation
public virtual Task ListUsageForLicenseConfigurationAsync(ListUsageForLicenseConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsageForLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsageForLicenseConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RejectGrant
internal virtual RejectGrantResponse RejectGrant(RejectGrantRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RejectGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = RejectGrantResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Rejects the specified grant.
///
/// Container for the necessary parameters to execute the RejectGrant service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RejectGrant service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for RejectGrant Operation
public virtual Task RejectGrantAsync(RejectGrantRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RejectGrantRequestMarshaller.Instance;
options.ResponseUnmarshaller = RejectGrantResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds the specified tags to the specified license configuration.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes the specified tags from the specified license configuration.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateLicenseConfiguration
internal virtual UpdateLicenseConfigurationResponse UpdateLicenseConfiguration(UpdateLicenseConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLicenseConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the attributes of an existing license configuration.
///
/// Container for the necessary parameters to execute the UpdateLicenseConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateLicenseConfiguration service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for UpdateLicenseConfiguration Operation
public virtual Task UpdateLicenseConfigurationAsync(UpdateLicenseConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLicenseConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLicenseConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateLicenseManagerReportGenerator
internal virtual UpdateLicenseManagerReportGeneratorResponse UpdateLicenseManagerReportGenerator(UpdateLicenseManagerReportGeneratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLicenseManagerReportGeneratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLicenseManagerReportGeneratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a report generator.
///
///
///
/// After you make changes to a report generator, it starts generating new reports within
/// 60 minutes of being updated.
///
///
/// Container for the necessary parameters to execute the UpdateLicenseManagerReportGenerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateLicenseManagerReportGenerator service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// Your resource limits have been exceeded.
///
///
/// The resource cannot be found.
///
///
/// The server experienced an internal error. Try again.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for UpdateLicenseManagerReportGenerator Operation
public virtual Task UpdateLicenseManagerReportGeneratorAsync(UpdateLicenseManagerReportGeneratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLicenseManagerReportGeneratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLicenseManagerReportGeneratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateLicenseSpecificationsForResource
internal virtual UpdateLicenseSpecificationsForResourceResponse UpdateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLicenseSpecificationsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLicenseSpecificationsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds or removes the specified license configurations for the specified Amazon Web
/// Services resource.
///
///
///
/// You can update the license specifications of AMIs, instances, and hosts. You cannot
/// update the license specifications for launch templates and CloudFormation templates,
/// as they send license configurations to the operation that creates the resource.
///
///
/// Container for the necessary parameters to execute the UpdateLicenseSpecificationsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateLicenseSpecificationsForResource service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// License Manager cannot allocate a license to a resource because of its state.
///
///
///
/// For example, you cannot allocate a license to an instance in the process of shutting
/// down.
///
///
///
/// You do not have enough licenses available to support a new resource launch.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for UpdateLicenseSpecificationsForResource Operation
public virtual Task UpdateLicenseSpecificationsForResourceAsync(UpdateLicenseSpecificationsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLicenseSpecificationsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLicenseSpecificationsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateServiceSettings
internal virtual UpdateServiceSettingsResponse UpdateServiceSettings(UpdateServiceSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateServiceSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateServiceSettingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates License Manager settings for the current Region.
///
/// Container for the necessary parameters to execute the UpdateServiceSettings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateServiceSettings service method, as returned by LicenseManager.
///
/// Access to resource denied.
///
///
/// The Amazon Web Services user account does not have permission to perform the action.
/// Check the IAM policy associated with this account.
///
///
/// One or more parameter values are not valid.
///
///
/// Too many requests have been submitted. Try again after a brief wait.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for UpdateServiceSettings Operation
public virtual Task UpdateServiceSettingsAsync(UpdateServiceSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateServiceSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateServiceSettingsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}