/*
* 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 sso-admin-2020-07-20.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.SSOAdmin.Model;
using Amazon.SSOAdmin.Model.Internal.MarshallTransformations;
using Amazon.SSOAdmin.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.SSOAdmin
{
///
/// Implementation for accessing SSOAdmin
///
/// AWS IAM Identity Center (successor to AWS Single Sign-On) helps you securely create,
/// or connect, your workforce identities and manage their access centrally across AWS
/// accounts and applications. IAM Identity Center is the recommended approach for workforce
/// authentication and authorization in AWS, for organizations of any size and type.
///
///
///
/// Although AWS Single Sign-On was renamed, the sso
and identitystore
/// API namespaces will continue to retain their original name for backward compatibility
/// purposes. For more information, see IAM
/// Identity Center rename.
///
///
///
/// This reference guide provides information on single sign-on operations which could
/// be used for access management of AWS accounts. For information about IAM Identity
/// Center features, see the IAM
/// Identity Center User Guide.
///
///
///
/// Many operations in the IAM Identity Center APIs rely on identifiers for users and
/// groups, known as principals. For more information about how to work with principals
/// and principal IDs in IAM Identity Center, see the Identity
/// Store API Reference.
///
///
///
/// AWS provides SDKs that consist of libraries and sample code for various programming
/// languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide
/// a convenient way to create programmatic access to IAM Identity Center and other AWS
/// services. For more information about the AWS SDKs, including how to download and install
/// them, see Tools for Amazon Web Services.
///
///
///
public partial class AmazonSSOAdminClient : AmazonServiceClient, IAmazonSSOAdmin
{
private static IServiceMetadata serviceMetadata = new AmazonSSOAdminMetadata();
#region Constructors
///
/// Constructs AmazonSSOAdminClient 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 AmazonSSOAdminClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSSOAdminConfig()) { }
///
/// Constructs AmazonSSOAdminClient 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 AmazonSSOAdminClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSSOAdminConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonSSOAdminClient 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 AmazonSSOAdminClient Configuration Object
public AmazonSSOAdminClient(AmazonSSOAdminConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonSSOAdminClient with AWS Credentials
///
/// AWS Credentials
public AmazonSSOAdminClient(AWSCredentials credentials)
: this(credentials, new AmazonSSOAdminConfig())
{
}
///
/// Constructs AmazonSSOAdminClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonSSOAdminClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonSSOAdminConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSSOAdminClient with AWS Credentials and an
/// AmazonSSOAdminClient Configuration object.
///
/// AWS Credentials
/// The AmazonSSOAdminClient Configuration Object
public AmazonSSOAdminClient(AWSCredentials credentials, AmazonSSOAdminConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonSSOAdminClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSSOAdminConfig())
{
}
///
/// Constructs AmazonSSOAdminClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSSOAdminConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonSSOAdminClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSSOAdminClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonSSOAdminClient Configuration Object
public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSSOAdminConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonSSOAdminClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSSOAdminConfig())
{
}
///
/// Constructs AmazonSSOAdminClient 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 AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSSOAdminConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSSOAdminClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSSOAdminClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonSSOAdminClient Configuration Object
public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSSOAdminConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private ISSOAdminPaginatorFactory _paginators;
///
/// Paginators for the service
///
public ISSOAdminPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new SSOAdminPaginatorFactory(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 AmazonSSOAdminEndpointResolver());
}
///
/// 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 AttachCustomerManagedPolicyReferenceToPermissionSet
internal virtual AttachCustomerManagedPolicyReferenceToPermissionSetResponse AttachCustomerManagedPolicyReferenceToPermissionSet(AttachCustomerManagedPolicyReferenceToPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachCustomerManagedPolicyReferenceToPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachCustomerManagedPolicyReferenceToPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Attaches the specified customer managed policy to the specified PermissionSet.
///
/// Container for the necessary parameters to execute the AttachCustomerManagedPolicyReferenceToPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AttachCustomerManagedPolicyReferenceToPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the permitted number of resources that can
/// be created.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for AttachCustomerManagedPolicyReferenceToPermissionSet Operation
public virtual Task AttachCustomerManagedPolicyReferenceToPermissionSetAsync(AttachCustomerManagedPolicyReferenceToPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachCustomerManagedPolicyReferenceToPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachCustomerManagedPolicyReferenceToPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AttachManagedPolicyToPermissionSet
internal virtual AttachManagedPolicyToPermissionSetResponse AttachManagedPolicyToPermissionSet(AttachManagedPolicyToPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachManagedPolicyToPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachManagedPolicyToPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Attaches an AWS managed policy ARN to a permission set.
///
///
///
/// If the permission set is already referenced by one or more account assignments, you
/// will need to call ProvisionPermissionSet
after this operation.
/// Calling ProvisionPermissionSet
applies the corresponding IAM policy updates
/// to all assigned accounts.
///
///
///
/// Container for the necessary parameters to execute the AttachManagedPolicyToPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AttachManagedPolicyToPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the permitted number of resources that can
/// be created.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for AttachManagedPolicyToPermissionSet Operation
public virtual Task AttachManagedPolicyToPermissionSetAsync(AttachManagedPolicyToPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachManagedPolicyToPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachManagedPolicyToPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateAccountAssignment
internal virtual CreateAccountAssignmentResponse CreateAccountAssignment(CreateAccountAssignmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAccountAssignmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAccountAssignmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Assigns access to a principal for a specified AWS account using a specified permission
/// set.
///
///
///
/// The term principal here refers to a user or group that is defined in IAM Identity
/// Center.
///
///
///
/// As part of a successful CreateAccountAssignment
call, the specified permission
/// set will automatically be provisioned to the account in the form of an IAM policy.
/// That policy is attached to the IAM role created in IAM Identity Center. If the permission
/// set is subsequently updated, the corresponding IAM policies attached to roles in your
/// accounts will not be updated automatically. In this case, you must call ProvisionPermissionSet
///
to make these updates.
///
///
///
/// After a successful response, call DescribeAccountAssignmentCreationStatus
/// to describe the status of an assignment creation request.
///
///
///
/// Container for the necessary parameters to execute the CreateAccountAssignment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAccountAssignment service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the permitted number of resources that can
/// be created.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for CreateAccountAssignment Operation
public virtual Task CreateAccountAssignmentAsync(CreateAccountAssignmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAccountAssignmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAccountAssignmentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateInstanceAccessControlAttributeConfiguration
internal virtual CreateInstanceAccessControlAttributeConfigurationResponse CreateInstanceAccessControlAttributeConfiguration(CreateInstanceAccessControlAttributeConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Enables the attributes-based access control (ABAC) feature for the specified IAM Identity
/// Center instance. You can also specify new attributes to add to your ABAC configuration
/// during the enabling process. For more information about ABAC, see Attribute-Based
/// Access Control in the IAM Identity Center User Guide.
///
///
///
/// After a successful response, call DescribeInstanceAccessControlAttributeConfiguration
/// to validate that InstanceAccessControlAttributeConfiguration
was created.
///
///
///
/// Container for the necessary parameters to execute the CreateInstanceAccessControlAttributeConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateInstanceAccessControlAttributeConfiguration service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for CreateInstanceAccessControlAttributeConfiguration Operation
public virtual Task CreateInstanceAccessControlAttributeConfigurationAsync(CreateInstanceAccessControlAttributeConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreatePermissionSet
internal virtual CreatePermissionSetResponse CreatePermissionSet(CreatePermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a permission set within a specified IAM Identity Center instance.
///
///
///
/// To grant users and groups access to AWS account resources, use CreateAccountAssignment
///
.
///
///
///
/// Container for the necessary parameters to execute the CreatePermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreatePermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the permitted number of resources that can
/// be created.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for CreatePermissionSet Operation
public virtual Task CreatePermissionSetAsync(CreatePermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteAccountAssignment
internal virtual DeleteAccountAssignmentResponse DeleteAccountAssignment(DeleteAccountAssignmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccountAssignmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccountAssignmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a principal's access from a specified AWS account using a specified permission
/// set.
///
///
///
/// After a successful response, call DescribeAccountAssignmentCreationStatus
/// to describe the status of an assignment deletion request.
///
///
///
/// Container for the necessary parameters to execute the DeleteAccountAssignment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAccountAssignment service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DeleteAccountAssignment Operation
public virtual Task DeleteAccountAssignmentAsync(DeleteAccountAssignmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccountAssignmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccountAssignmentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteInlinePolicyFromPermissionSet
internal virtual DeleteInlinePolicyFromPermissionSetResponse DeleteInlinePolicyFromPermissionSet(DeleteInlinePolicyFromPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInlinePolicyFromPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInlinePolicyFromPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the inline policy from a specified permission set.
///
/// Container for the necessary parameters to execute the DeleteInlinePolicyFromPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteInlinePolicyFromPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DeleteInlinePolicyFromPermissionSet Operation
public virtual Task DeleteInlinePolicyFromPermissionSetAsync(DeleteInlinePolicyFromPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInlinePolicyFromPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInlinePolicyFromPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteInstanceAccessControlAttributeConfiguration
internal virtual DeleteInstanceAccessControlAttributeConfigurationResponse DeleteInstanceAccessControlAttributeConfiguration(DeleteInstanceAccessControlAttributeConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disables the attributes-based access control (ABAC) feature for the specified IAM
/// Identity Center instance and deletes all of the attribute mappings that have been
/// configured. Once deleted, any attributes that are received from an identity source
/// and any custom attributes you have previously configured will not be passed. For more
/// information about ABAC, see Attribute-Based
/// Access Control in the IAM Identity Center User Guide.
///
/// Container for the necessary parameters to execute the DeleteInstanceAccessControlAttributeConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteInstanceAccessControlAttributeConfiguration service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DeleteInstanceAccessControlAttributeConfiguration Operation
public virtual Task DeleteInstanceAccessControlAttributeConfigurationAsync(DeleteInstanceAccessControlAttributeConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeletePermissionsBoundaryFromPermissionSet
internal virtual DeletePermissionsBoundaryFromPermissionSetResponse DeletePermissionsBoundaryFromPermissionSet(DeletePermissionsBoundaryFromPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePermissionsBoundaryFromPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePermissionsBoundaryFromPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the permissions boundary from a specified PermissionSet.
///
/// Container for the necessary parameters to execute the DeletePermissionsBoundaryFromPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePermissionsBoundaryFromPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DeletePermissionsBoundaryFromPermissionSet Operation
public virtual Task DeletePermissionsBoundaryFromPermissionSetAsync(DeletePermissionsBoundaryFromPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePermissionsBoundaryFromPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePermissionsBoundaryFromPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeletePermissionSet
internal virtual DeletePermissionSetResponse DeletePermissionSet(DeletePermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified permission set.
///
/// Container for the necessary parameters to execute the DeletePermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DeletePermissionSet Operation
public virtual Task DeletePermissionSetAsync(DeletePermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAccountAssignmentCreationStatus
internal virtual DescribeAccountAssignmentCreationStatusResponse DescribeAccountAssignmentCreationStatus(DescribeAccountAssignmentCreationStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAccountAssignmentCreationStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAccountAssignmentCreationStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the status of the assignment creation request.
///
/// Container for the necessary parameters to execute the DescribeAccountAssignmentCreationStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAccountAssignmentCreationStatus service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DescribeAccountAssignmentCreationStatus Operation
public virtual Task DescribeAccountAssignmentCreationStatusAsync(DescribeAccountAssignmentCreationStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAccountAssignmentCreationStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAccountAssignmentCreationStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAccountAssignmentDeletionStatus
internal virtual DescribeAccountAssignmentDeletionStatusResponse DescribeAccountAssignmentDeletionStatus(DescribeAccountAssignmentDeletionStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAccountAssignmentDeletionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAccountAssignmentDeletionStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the status of the assignment deletion request.
///
/// Container for the necessary parameters to execute the DescribeAccountAssignmentDeletionStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAccountAssignmentDeletionStatus service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DescribeAccountAssignmentDeletionStatus Operation
public virtual Task DescribeAccountAssignmentDeletionStatusAsync(DescribeAccountAssignmentDeletionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAccountAssignmentDeletionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAccountAssignmentDeletionStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeInstanceAccessControlAttributeConfiguration
internal virtual DescribeInstanceAccessControlAttributeConfigurationResponse DescribeInstanceAccessControlAttributeConfiguration(DescribeInstanceAccessControlAttributeConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the list of IAM Identity Center identity store attributes that have been configured
/// to work with attributes-based access control (ABAC) for the specified IAM Identity
/// Center instance. This will not return attributes configured and sent by an external
/// identity provider. For more information about ABAC, see Attribute-Based
/// Access Control in the IAM Identity Center User Guide.
///
/// Container for the necessary parameters to execute the DescribeInstanceAccessControlAttributeConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeInstanceAccessControlAttributeConfiguration service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DescribeInstanceAccessControlAttributeConfiguration Operation
public virtual Task DescribeInstanceAccessControlAttributeConfigurationAsync(DescribeInstanceAccessControlAttributeConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePermissionSet
internal virtual DescribePermissionSetResponse DescribePermissionSet(DescribePermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the details of the permission set.
///
/// Container for the necessary parameters to execute the DescribePermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DescribePermissionSet Operation
public virtual Task DescribePermissionSetAsync(DescribePermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePermissionSetProvisioningStatus
internal virtual DescribePermissionSetProvisioningStatusResponse DescribePermissionSetProvisioningStatus(DescribePermissionSetProvisioningStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePermissionSetProvisioningStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePermissionSetProvisioningStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the status for the given permission set provisioning request.
///
/// Container for the necessary parameters to execute the DescribePermissionSetProvisioningStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePermissionSetProvisioningStatus service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DescribePermissionSetProvisioningStatus Operation
public virtual Task DescribePermissionSetProvisioningStatusAsync(DescribePermissionSetProvisioningStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePermissionSetProvisioningStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePermissionSetProvisioningStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DetachCustomerManagedPolicyReferenceFromPermissionSet
internal virtual DetachCustomerManagedPolicyReferenceFromPermissionSetResponse DetachCustomerManagedPolicyReferenceFromPermissionSet(DetachCustomerManagedPolicyReferenceFromPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachCustomerManagedPolicyReferenceFromPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachCustomerManagedPolicyReferenceFromPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Detaches the specified customer managed policy from the specified PermissionSet.
///
/// Container for the necessary parameters to execute the DetachCustomerManagedPolicyReferenceFromPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DetachCustomerManagedPolicyReferenceFromPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DetachCustomerManagedPolicyReferenceFromPermissionSet Operation
public virtual Task DetachCustomerManagedPolicyReferenceFromPermissionSetAsync(DetachCustomerManagedPolicyReferenceFromPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachCustomerManagedPolicyReferenceFromPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachCustomerManagedPolicyReferenceFromPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DetachManagedPolicyFromPermissionSet
internal virtual DetachManagedPolicyFromPermissionSetResponse DetachManagedPolicyFromPermissionSet(DetachManagedPolicyFromPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachManagedPolicyFromPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachManagedPolicyFromPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Detaches the attached AWS managed policy ARN from the specified permission set.
///
/// Container for the necessary parameters to execute the DetachManagedPolicyFromPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DetachManagedPolicyFromPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for DetachManagedPolicyFromPermissionSet Operation
public virtual Task DetachManagedPolicyFromPermissionSetAsync(DetachManagedPolicyFromPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachManagedPolicyFromPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachManagedPolicyFromPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetInlinePolicyForPermissionSet
internal virtual GetInlinePolicyForPermissionSetResponse GetInlinePolicyForPermissionSet(GetInlinePolicyForPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInlinePolicyForPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInlinePolicyForPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Obtains the inline policy assigned to the permission set.
///
/// Container for the necessary parameters to execute the GetInlinePolicyForPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInlinePolicyForPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for GetInlinePolicyForPermissionSet Operation
public virtual Task GetInlinePolicyForPermissionSetAsync(GetInlinePolicyForPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInlinePolicyForPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInlinePolicyForPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetPermissionsBoundaryForPermissionSet
internal virtual GetPermissionsBoundaryForPermissionSetResponse GetPermissionsBoundaryForPermissionSet(GetPermissionsBoundaryForPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPermissionsBoundaryForPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPermissionsBoundaryForPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Obtains the permissions boundary for a specified PermissionSet.
///
/// Container for the necessary parameters to execute the GetPermissionsBoundaryForPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetPermissionsBoundaryForPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for GetPermissionsBoundaryForPermissionSet Operation
public virtual Task GetPermissionsBoundaryForPermissionSetAsync(GetPermissionsBoundaryForPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPermissionsBoundaryForPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPermissionsBoundaryForPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAccountAssignmentCreationStatus
internal virtual ListAccountAssignmentCreationStatusResponse ListAccountAssignmentCreationStatus(ListAccountAssignmentCreationStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountAssignmentCreationStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountAssignmentCreationStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the status of the AWS account assignment creation requests for a specified IAM
/// Identity Center instance.
///
/// Container for the necessary parameters to execute the ListAccountAssignmentCreationStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAccountAssignmentCreationStatus service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListAccountAssignmentCreationStatus Operation
public virtual Task ListAccountAssignmentCreationStatusAsync(ListAccountAssignmentCreationStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountAssignmentCreationStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountAssignmentCreationStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAccountAssignmentDeletionStatus
internal virtual ListAccountAssignmentDeletionStatusResponse ListAccountAssignmentDeletionStatus(ListAccountAssignmentDeletionStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountAssignmentDeletionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountAssignmentDeletionStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the status of the AWS account assignment deletion requests for a specified IAM
/// Identity Center instance.
///
/// Container for the necessary parameters to execute the ListAccountAssignmentDeletionStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAccountAssignmentDeletionStatus service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListAccountAssignmentDeletionStatus Operation
public virtual Task ListAccountAssignmentDeletionStatusAsync(ListAccountAssignmentDeletionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountAssignmentDeletionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountAssignmentDeletionStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAccountAssignments
internal virtual ListAccountAssignmentsResponse ListAccountAssignments(ListAccountAssignmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountAssignmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountAssignmentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the assignee of the specified AWS account with the specified permission set.
///
/// Container for the necessary parameters to execute the ListAccountAssignments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAccountAssignments service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListAccountAssignments Operation
public virtual Task ListAccountAssignmentsAsync(ListAccountAssignmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountAssignmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountAssignmentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAccountsForProvisionedPermissionSet
internal virtual ListAccountsForProvisionedPermissionSetResponse ListAccountsForProvisionedPermissionSet(ListAccountsForProvisionedPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountsForProvisionedPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountsForProvisionedPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the AWS accounts where the specified permission set is provisioned.
///
/// Container for the necessary parameters to execute the ListAccountsForProvisionedPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAccountsForProvisionedPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListAccountsForProvisionedPermissionSet Operation
public virtual Task ListAccountsForProvisionedPermissionSetAsync(ListAccountsForProvisionedPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountsForProvisionedPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountsForProvisionedPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCustomerManagedPolicyReferencesInPermissionSet
internal virtual ListCustomerManagedPolicyReferencesInPermissionSetResponse ListCustomerManagedPolicyReferencesInPermissionSet(ListCustomerManagedPolicyReferencesInPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomerManagedPolicyReferencesInPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomerManagedPolicyReferencesInPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all customer managed policies attached to a specified PermissionSet.
///
/// Container for the necessary parameters to execute the ListCustomerManagedPolicyReferencesInPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCustomerManagedPolicyReferencesInPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListCustomerManagedPolicyReferencesInPermissionSet Operation
public virtual Task ListCustomerManagedPolicyReferencesInPermissionSetAsync(ListCustomerManagedPolicyReferencesInPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomerManagedPolicyReferencesInPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomerManagedPolicyReferencesInPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListInstances
internal virtual ListInstancesResponse ListInstances(ListInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the IAM Identity Center instances that the caller has access to.
///
/// Container for the necessary parameters to execute the ListInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListInstances service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListInstances Operation
public virtual Task ListInstancesAsync(ListInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListManagedPoliciesInPermissionSet
internal virtual ListManagedPoliciesInPermissionSetResponse ListManagedPoliciesInPermissionSet(ListManagedPoliciesInPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListManagedPoliciesInPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListManagedPoliciesInPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the AWS managed policy that is attached to a specified permission set.
///
/// Container for the necessary parameters to execute the ListManagedPoliciesInPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListManagedPoliciesInPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListManagedPoliciesInPermissionSet Operation
public virtual Task ListManagedPoliciesInPermissionSetAsync(ListManagedPoliciesInPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListManagedPoliciesInPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListManagedPoliciesInPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPermissionSetProvisioningStatus
internal virtual ListPermissionSetProvisioningStatusResponse ListPermissionSetProvisioningStatus(ListPermissionSetProvisioningStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionSetProvisioningStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionSetProvisioningStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the status of the permission set provisioning requests for a specified IAM Identity
/// Center instance.
///
/// Container for the necessary parameters to execute the ListPermissionSetProvisioningStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPermissionSetProvisioningStatus service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListPermissionSetProvisioningStatus Operation
public virtual Task ListPermissionSetProvisioningStatusAsync(ListPermissionSetProvisioningStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionSetProvisioningStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionSetProvisioningStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPermissionSets
internal virtual ListPermissionSetsResponse ListPermissionSets(ListPermissionSetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionSetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionSetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the PermissionSets in an IAM Identity Center instance.
///
/// Container for the necessary parameters to execute the ListPermissionSets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPermissionSets service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListPermissionSets Operation
public virtual Task ListPermissionSetsAsync(ListPermissionSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionSetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionSetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPermissionSetsProvisionedToAccount
internal virtual ListPermissionSetsProvisionedToAccountResponse ListPermissionSetsProvisionedToAccount(ListPermissionSetsProvisionedToAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionSetsProvisionedToAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionSetsProvisionedToAccountResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the permission sets that are provisioned to a specified AWS account.
///
/// Container for the necessary parameters to execute the ListPermissionSetsProvisionedToAccount service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPermissionSetsProvisionedToAccount service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ListPermissionSetsProvisionedToAccount Operation
public virtual Task ListPermissionSetsProvisionedToAccountAsync(ListPermissionSetsProvisionedToAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionSetsProvisionedToAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionSetsProvisionedToAccountResponseUnmarshaller.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 that are attached to a 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 SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// 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 ProvisionPermissionSet
internal virtual ProvisionPermissionSetResponse ProvisionPermissionSet(ProvisionPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ProvisionPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = ProvisionPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The process by which a specified permission set is provisioned to the specified target.
///
/// Container for the necessary parameters to execute the ProvisionPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ProvisionPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for ProvisionPermissionSet Operation
public virtual Task ProvisionPermissionSetAsync(ProvisionPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ProvisionPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = ProvisionPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutInlinePolicyToPermissionSet
internal virtual PutInlinePolicyToPermissionSetResponse PutInlinePolicyToPermissionSet(PutInlinePolicyToPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutInlinePolicyToPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutInlinePolicyToPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Attaches an inline policy to a permission set.
///
///
///
/// If the permission set is already referenced by one or more account assignments, you
/// will need to call ProvisionPermissionSet
after this action to
/// apply the corresponding IAM policy updates to all assigned accounts.
///
///
///
/// Container for the necessary parameters to execute the PutInlinePolicyToPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutInlinePolicyToPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the permitted number of resources that can
/// be created.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for PutInlinePolicyToPermissionSet Operation
public virtual Task PutInlinePolicyToPermissionSetAsync(PutInlinePolicyToPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutInlinePolicyToPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutInlinePolicyToPermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutPermissionsBoundaryToPermissionSet
internal virtual PutPermissionsBoundaryToPermissionSetResponse PutPermissionsBoundaryToPermissionSet(PutPermissionsBoundaryToPermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutPermissionsBoundaryToPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutPermissionsBoundaryToPermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Attaches an AWS managed or customer managed policy to the specified PermissionSet
/// as a permissions boundary.
///
/// Container for the necessary parameters to execute the PutPermissionsBoundaryToPermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutPermissionsBoundaryToPermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for PutPermissionsBoundaryToPermissionSet Operation
public virtual Task PutPermissionsBoundaryToPermissionSetAsync(PutPermissionsBoundaryToPermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutPermissionsBoundaryToPermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutPermissionsBoundaryToPermissionSetResponseUnmarshaller.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);
}
///
/// Associates a set of tags with a specified resource.
///
/// 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 SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the permitted number of resources that can
/// be created.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// 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);
}
///
/// Disassociates a set of tags from a 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 SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// 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 UpdateInstanceAccessControlAttributeConfiguration
internal virtual UpdateInstanceAccessControlAttributeConfigurationResponse UpdateInstanceAccessControlAttributeConfiguration(UpdateInstanceAccessControlAttributeConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the IAM Identity Center identity store attributes that you can use with the
/// IAM Identity Center instance for attributes-based access control (ABAC). When using
/// an external identity provider as an identity source, you can pass attributes through
/// the SAML assertion as an alternative to configuring attributes from the IAM Identity
/// Center identity store. If a SAML assertion passes any of these attributes, IAM Identity
/// Center replaces the attribute value with the value from the IAM Identity Center identity
/// store. For more information about ABAC, see Attribute-Based
/// Access Control in the IAM Identity Center User Guide.
///
/// Container for the necessary parameters to execute the UpdateInstanceAccessControlAttributeConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateInstanceAccessControlAttributeConfiguration service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for UpdateInstanceAccessControlAttributeConfiguration Operation
public virtual Task UpdateInstanceAccessControlAttributeConfigurationAsync(UpdateInstanceAccessControlAttributeConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdatePermissionSet
internal virtual UpdatePermissionSetResponse UpdatePermissionSet(UpdatePermissionSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePermissionSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing permission set.
///
/// Container for the necessary parameters to execute the UpdatePermissionSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdatePermissionSet service method, as returned by SSOAdmin.
///
/// You do not have sufficient access to perform this action.
///
///
/// Occurs when a conflict with a previous successful write is detected. This generally
/// occurs when the previous write did not have time to propagate to the host serving
/// the current request. A retry (with appropriate backoff logic) is the recommended response
/// to this exception.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// Indicates that a requested resource is not found.
///
///
/// Indicates that the principal has crossed the throttling limits of the API operations.
///
///
/// The request failed because it contains a syntax error.
///
/// REST API Reference for UpdatePermissionSet Operation
public virtual Task UpdatePermissionSetAsync(UpdatePermissionSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePermissionSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePermissionSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}