/*
* 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 worklink-2018-09-25.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.WorkLink.Model;
using Amazon.WorkLink.Model.Internal.MarshallTransformations;
using Amazon.WorkLink.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.WorkLink
{
///
/// Implementation for accessing WorkLink
///
/// Amazon WorkLink is a cloud-based service that provides secure access to internal websites
/// and web apps from iOS and Android phones. In a single step, your users, such as employees,
/// can access internal websites as efficiently as they access any other public website.
/// They enter a URL in their web browser, or choose a link to an internal website in
/// an email. Amazon WorkLink authenticates the user's access and securely renders authorized
/// internal web content in a secure rendering service in the AWS cloud. Amazon WorkLink
/// doesn't download or store any internal web content on mobile devices.
///
public partial class AmazonWorkLinkClient : AmazonServiceClient, IAmazonWorkLink
{
private static IServiceMetadata serviceMetadata = new AmazonWorkLinkMetadata();
#region Constructors
///
/// Constructs AmazonWorkLinkClient 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 AmazonWorkLinkClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonWorkLinkConfig()) { }
///
/// Constructs AmazonWorkLinkClient 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 AmazonWorkLinkClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonWorkLinkConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonWorkLinkClient 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 AmazonWorkLinkClient Configuration Object
public AmazonWorkLinkClient(AmazonWorkLinkConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonWorkLinkClient with AWS Credentials
///
/// AWS Credentials
public AmazonWorkLinkClient(AWSCredentials credentials)
: this(credentials, new AmazonWorkLinkConfig())
{
}
///
/// Constructs AmazonWorkLinkClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonWorkLinkClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonWorkLinkConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonWorkLinkClient with AWS Credentials and an
/// AmazonWorkLinkClient Configuration object.
///
/// AWS Credentials
/// The AmazonWorkLinkClient Configuration Object
public AmazonWorkLinkClient(AWSCredentials credentials, AmazonWorkLinkConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonWorkLinkClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonWorkLinkClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonWorkLinkConfig())
{
}
///
/// Constructs AmazonWorkLinkClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonWorkLinkClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonWorkLinkConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonWorkLinkClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonWorkLinkClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonWorkLinkClient Configuration Object
public AmazonWorkLinkClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonWorkLinkConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonWorkLinkClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonWorkLinkClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonWorkLinkConfig())
{
}
///
/// Constructs AmazonWorkLinkClient 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 AmazonWorkLinkClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonWorkLinkConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonWorkLinkClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonWorkLinkClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonWorkLinkClient Configuration Object
public AmazonWorkLinkClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonWorkLinkConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IWorkLinkPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IWorkLinkPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new WorkLinkPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#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 AmazonWorkLinkEndpointResolver());
}
///
/// 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 AssociateDomain
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual AssociateDomainResponse AssociateDomain(AssociateDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Specifies a domain to be associated to Amazon WorkLink.
///
/// Container for the necessary parameters to execute the AssociateDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateDomain service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for AssociateDomain Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task AssociateDomainAsync(AssociateDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateWebsiteAuthorizationProvider
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual AssociateWebsiteAuthorizationProviderResponse AssociateWebsiteAuthorizationProvider(AssociateWebsiteAuthorizationProviderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateWebsiteAuthorizationProviderRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateWebsiteAuthorizationProviderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates a website authorization provider with a specified fleet. This is used to
/// authorize users against associated websites in the company network.
///
/// Container for the necessary parameters to execute the AssociateWebsiteAuthorizationProvider service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateWebsiteAuthorizationProvider service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for AssociateWebsiteAuthorizationProvider Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task AssociateWebsiteAuthorizationProviderAsync(AssociateWebsiteAuthorizationProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateWebsiteAuthorizationProviderRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateWebsiteAuthorizationProviderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateWebsiteCertificateAuthority
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual AssociateWebsiteCertificateAuthorityResponse AssociateWebsiteCertificateAuthority(AssociateWebsiteCertificateAuthorityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateWebsiteCertificateAuthorityRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateWebsiteCertificateAuthorityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates
/// used by associated websites within the company network.
///
/// Container for the necessary parameters to execute the AssociateWebsiteCertificateAuthority service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateWebsiteCertificateAuthority service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for AssociateWebsiteCertificateAuthority Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task AssociateWebsiteCertificateAuthorityAsync(AssociateWebsiteCertificateAuthorityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateWebsiteCertificateAuthorityRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateWebsiteCertificateAuthorityResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFleet
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual CreateFleetResponse CreateFleet(CreateFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a fleet. A fleet consists of resources and the configuration that delivers
/// associated websites to authorized users who download and set up the Amazon WorkLink
/// app.
///
/// Container for the necessary parameters to execute the CreateFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFleet service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for CreateFleet Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task CreateFleetAsync(CreateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFleet
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DeleteFleetResponse DeleteFleet(DeleteFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a fleet. Prevents users from accessing previously associated websites.
///
/// Container for the necessary parameters to execute the DeleteFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFleet service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DeleteFleet Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DeleteFleetAsync(DeleteFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAuditStreamConfiguration
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DescribeAuditStreamConfigurationResponse DescribeAuditStreamConfiguration(DescribeAuditStreamConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditStreamConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditStreamConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the configuration for delivering audit streams to the customer account.
///
/// Container for the necessary parameters to execute the DescribeAuditStreamConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAuditStreamConfiguration service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DescribeAuditStreamConfiguration Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DescribeAuditStreamConfigurationAsync(DescribeAuditStreamConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditStreamConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditStreamConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeCompanyNetworkConfiguration
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DescribeCompanyNetworkConfigurationResponse DescribeCompanyNetworkConfiguration(DescribeCompanyNetworkConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCompanyNetworkConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCompanyNetworkConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the networking configuration to access the internal websites associated
/// with the specified fleet.
///
/// Container for the necessary parameters to execute the DescribeCompanyNetworkConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCompanyNetworkConfiguration service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DescribeCompanyNetworkConfiguration Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DescribeCompanyNetworkConfigurationAsync(DescribeCompanyNetworkConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCompanyNetworkConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCompanyNetworkConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDevice
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DescribeDeviceResponse DescribeDevice(DescribeDeviceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDeviceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about a user's device.
///
/// Container for the necessary parameters to execute the DescribeDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDevice service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DescribeDevice Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DescribeDeviceAsync(DescribeDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDeviceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDevicePolicyConfiguration
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DescribeDevicePolicyConfigurationResponse DescribeDevicePolicyConfiguration(DescribeDevicePolicyConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDevicePolicyConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDevicePolicyConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the device policy configuration for the specified fleet.
///
/// Container for the necessary parameters to execute the DescribeDevicePolicyConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDevicePolicyConfiguration service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DescribeDevicePolicyConfiguration Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DescribeDevicePolicyConfigurationAsync(DescribeDevicePolicyConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDevicePolicyConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDevicePolicyConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDomain
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DescribeDomainResponse DescribeDomain(DescribeDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the domain.
///
/// Container for the necessary parameters to execute the DescribeDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomain service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DescribeDomain Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DescribeDomainAsync(DescribeDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeFleetMetadata
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DescribeFleetMetadataResponse DescribeFleetMetadata(DescribeFleetMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFleetMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFleetMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides basic information for the specified fleet, excluding identity provider, networking,
/// and device configuration details.
///
/// Container for the necessary parameters to execute the DescribeFleetMetadata service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFleetMetadata service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DescribeFleetMetadata Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DescribeFleetMetadataAsync(DescribeFleetMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFleetMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFleetMetadataResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeIdentityProviderConfiguration
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DescribeIdentityProviderConfigurationResponse DescribeIdentityProviderConfiguration(DescribeIdentityProviderConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeIdentityProviderConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeIdentityProviderConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the identity provider configuration of the specified fleet.
///
/// Container for the necessary parameters to execute the DescribeIdentityProviderConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeIdentityProviderConfiguration service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DescribeIdentityProviderConfiguration Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DescribeIdentityProviderConfigurationAsync(DescribeIdentityProviderConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeIdentityProviderConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeIdentityProviderConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeWebsiteCertificateAuthority
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DescribeWebsiteCertificateAuthorityResponse DescribeWebsiteCertificateAuthority(DescribeWebsiteCertificateAuthorityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWebsiteCertificateAuthorityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWebsiteCertificateAuthorityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the certificate authority.
///
/// Container for the necessary parameters to execute the DescribeWebsiteCertificateAuthority service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeWebsiteCertificateAuthority service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DescribeWebsiteCertificateAuthority Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DescribeWebsiteCertificateAuthorityAsync(DescribeWebsiteCertificateAuthorityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWebsiteCertificateAuthorityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWebsiteCertificateAuthorityResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateDomain
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DisassociateDomainResponse DisassociateDomain(DisassociateDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates a domain from Amazon WorkLink. End users lose the ability to access
/// the domain with Amazon WorkLink.
///
/// Container for the necessary parameters to execute the DisassociateDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateDomain service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DisassociateDomain Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DisassociateDomainAsync(DisassociateDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateWebsiteAuthorizationProvider
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DisassociateWebsiteAuthorizationProviderResponse DisassociateWebsiteAuthorizationProvider(DisassociateWebsiteAuthorizationProviderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateWebsiteAuthorizationProviderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateWebsiteAuthorizationProviderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates a website authorization provider from a specified fleet. After the disassociation,
/// users can't load any associated websites that require this authorization provider.
///
/// Container for the necessary parameters to execute the DisassociateWebsiteAuthorizationProvider service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateWebsiteAuthorizationProvider service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DisassociateWebsiteAuthorizationProvider Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DisassociateWebsiteAuthorizationProviderAsync(DisassociateWebsiteAuthorizationProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateWebsiteAuthorizationProviderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateWebsiteAuthorizationProviderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateWebsiteCertificateAuthority
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual DisassociateWebsiteCertificateAuthorityResponse DisassociateWebsiteCertificateAuthority(DisassociateWebsiteCertificateAuthorityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateWebsiteCertificateAuthorityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateWebsiteCertificateAuthorityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes a certificate authority (CA).
///
/// Container for the necessary parameters to execute the DisassociateWebsiteCertificateAuthority service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateWebsiteCertificateAuthority service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for DisassociateWebsiteCertificateAuthority Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task DisassociateWebsiteCertificateAuthorityAsync(DisassociateWebsiteCertificateAuthorityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateWebsiteCertificateAuthorityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateWebsiteCertificateAuthorityResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDevices
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual ListDevicesResponse ListDevices(ListDevicesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of devices registered with the specified fleet.
///
/// Container for the necessary parameters to execute the ListDevices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDevices service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for ListDevices Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task ListDevicesAsync(ListDevicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDomains
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual ListDomainsResponse ListDomains(ListDomainsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of domains associated to a specified fleet.
///
/// Container for the necessary parameters to execute the ListDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDomains service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for ListDomains Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task ListDomainsAsync(ListDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFleets
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual ListFleetsResponse ListFleets(ListFleetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFleetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFleetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of fleets for the current account and Region.
///
/// Container for the necessary parameters to execute the ListFleets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFleets service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for ListFleets Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task ListFleetsAsync(ListFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFleetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFleetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of tags for the specified resource.
///
/// 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 WorkLink.
///
/// The request is not valid.
///
/// REST API Reference for ListTagsForResource Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
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 ListWebsiteAuthorizationProviders
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual ListWebsiteAuthorizationProvidersResponse ListWebsiteAuthorizationProviders(ListWebsiteAuthorizationProvidersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebsiteAuthorizationProvidersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebsiteAuthorizationProvidersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of website authorization providers associated with a specified fleet.
///
/// Container for the necessary parameters to execute the ListWebsiteAuthorizationProviders service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWebsiteAuthorizationProviders service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for ListWebsiteAuthorizationProviders Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task ListWebsiteAuthorizationProvidersAsync(ListWebsiteAuthorizationProvidersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebsiteAuthorizationProvidersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebsiteAuthorizationProvidersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListWebsiteCertificateAuthorities
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual ListWebsiteCertificateAuthoritiesResponse ListWebsiteCertificateAuthorities(ListWebsiteCertificateAuthoritiesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebsiteCertificateAuthoritiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebsiteCertificateAuthoritiesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of certificate authorities added for the current account and Region.
///
/// Container for the necessary parameters to execute the ListWebsiteCertificateAuthorities service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWebsiteCertificateAuthorities service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for ListWebsiteCertificateAuthorities Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task ListWebsiteCertificateAuthoritiesAsync(ListWebsiteCertificateAuthoritiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWebsiteCertificateAuthoritiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWebsiteCertificateAuthoritiesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RestoreDomainAccess
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual RestoreDomainAccessResponse RestoreDomainAccess(RestoreDomainAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RestoreDomainAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = RestoreDomainAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Moves a domain to ACTIVE status if it was in the INACTIVE status.
///
/// Container for the necessary parameters to execute the RestoreDomainAccess service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RestoreDomainAccess service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for RestoreDomainAccess Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task RestoreDomainAccessAsync(RestoreDomainAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RestoreDomainAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = RestoreDomainAccessResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RevokeDomainAccess
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual RevokeDomainAccessResponse RevokeDomainAccess(RevokeDomainAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokeDomainAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokeDomainAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Moves a domain to INACTIVE status if it was in the ACTIVE status.
///
/// Container for the necessary parameters to execute the RevokeDomainAccess service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RevokeDomainAccess service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for RevokeDomainAccess Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task RevokeDomainAccessAsync(RevokeDomainAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokeDomainAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokeDomainAccessResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SignOutUser
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual SignOutUserResponse SignOutUser(SignOutUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SignOutUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = SignOutUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Signs the user out from all of their devices. The user can sign in again if they have
/// valid credentials.
///
/// Container for the necessary parameters to execute the SignOutUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SignOutUser service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for SignOutUser Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task SignOutUserAsync(SignOutUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SignOutUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = SignOutUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds or overwrites one or more tags for the specified resource, such as a fleet. Each
/// tag consists of a key and an optional value. If a resource already has a tag with
/// the same key, this operation updates its value.
///
/// 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 WorkLink.
///
/// The request is not valid.
///
/// REST API Reference for TagResource Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
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
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes one or more tags from the specified resource.
///
/// 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 WorkLink.
///
/// The request is not valid.
///
/// REST API Reference for UntagResource Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
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 UpdateAuditStreamConfiguration
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual UpdateAuditStreamConfigurationResponse UpdateAuditStreamConfiguration(UpdateAuditStreamConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAuditStreamConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAuditStreamConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the audit stream configuration for the fleet.
///
/// Container for the necessary parameters to execute the UpdateAuditStreamConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateAuditStreamConfiguration service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for UpdateAuditStreamConfiguration Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task UpdateAuditStreamConfigurationAsync(UpdateAuditStreamConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAuditStreamConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAuditStreamConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateCompanyNetworkConfiguration
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual UpdateCompanyNetworkConfigurationResponse UpdateCompanyNetworkConfiguration(UpdateCompanyNetworkConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCompanyNetworkConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCompanyNetworkConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the company network configuration for the fleet.
///
/// Container for the necessary parameters to execute the UpdateCompanyNetworkConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateCompanyNetworkConfiguration service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for UpdateCompanyNetworkConfiguration Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task UpdateCompanyNetworkConfigurationAsync(UpdateCompanyNetworkConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCompanyNetworkConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCompanyNetworkConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDevicePolicyConfiguration
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual UpdateDevicePolicyConfigurationResponse UpdateDevicePolicyConfiguration(UpdateDevicePolicyConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDevicePolicyConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDevicePolicyConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the device policy configuration for the fleet.
///
/// Container for the necessary parameters to execute the UpdateDevicePolicyConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDevicePolicyConfiguration service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for UpdateDevicePolicyConfiguration Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task UpdateDevicePolicyConfigurationAsync(UpdateDevicePolicyConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDevicePolicyConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDevicePolicyConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDomainMetadata
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual UpdateDomainMetadataResponse UpdateDomainMetadata(UpdateDomainMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates domain metadata, such as DisplayName.
///
/// Container for the necessary parameters to execute the UpdateDomainMetadata service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDomainMetadata service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for UpdateDomainMetadata Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task UpdateDomainMetadataAsync(UpdateDomainMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainMetadataResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFleetMetadata
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual UpdateFleetMetadataResponse UpdateFleetMetadata(UpdateFleetMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFleetMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFleetMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates fleet metadata, such as DisplayName.
///
/// Container for the necessary parameters to execute the UpdateFleetMetadata service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFleetMetadata service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for UpdateFleetMetadata Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task UpdateFleetMetadataAsync(UpdateFleetMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFleetMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFleetMetadataResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateIdentityProviderConfiguration
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
internal virtual UpdateIdentityProviderConfigurationResponse UpdateIdentityProviderConfiguration(UpdateIdentityProviderConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIdentityProviderConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIdentityProviderConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the identity provider configuration for the fleet.
///
/// Container for the necessary parameters to execute the UpdateIdentityProviderConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateIdentityProviderConfiguration service method, as returned by WorkLink.
///
/// The service is temporarily unavailable.
///
///
/// The request is not valid.
///
///
/// The requested resource was not found.
///
///
/// The number of requests exceeds the limit.
///
///
/// You are not authorized to perform this action.
///
/// REST API Reference for UpdateIdentityProviderConfiguration Operation
[Obsolete("Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
public virtual Task UpdateIdentityProviderConfigurationAsync(UpdateIdentityProviderConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIdentityProviderConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIdentityProviderConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}