/* * 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.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 { /// <summary> /// 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. /// /// <note> /// <para> /// Although AWS Single Sign-On was renamed, the <code>sso</code> and <code>identitystore</code> /// API namespaces will continue to retain their original name for backward compatibility /// purposes. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed">IAM /// Identity Center rename</a>. /// </para> /// </note> /// <para> /// 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 <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">IAM /// Identity Center User Guide</a>. /// </para> /// /// <para> /// 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 <a href="https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/welcome.html">Identity /// Store API Reference</a>. /// </para> /// <note> /// <para> /// 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 <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. /// </para> /// </note> /// </summary> public partial class AmazonSSOAdminClient : AmazonServiceClient, IAmazonSSOAdmin { private static IServiceMetadata serviceMetadata = new AmazonSSOAdminMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private ISSOAdminPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public ISSOAdminPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new SSOAdminPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// <summary> /// 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. /// <code> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> public AmazonSSOAdminClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSSOAdminConfig()) { } /// <summary> /// 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. /// <code> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonSSOAdminClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSSOAdminConfig{RegionEndpoint = region}) { } /// <summary> /// 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. /// <code> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> /// <param name="config">The AmazonSSOAdminClient Configuration Object</param> public AmazonSSOAdminClient(AmazonSSOAdminConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// <summary> /// Constructs AmazonSSOAdminClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonSSOAdminClient(AWSCredentials credentials) : this(credentials, new AmazonSSOAdminConfig()) { } /// <summary> /// Constructs AmazonSSOAdminClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonSSOAdminClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonSSOAdminConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonSSOAdminClient with AWS Credentials and an /// AmazonSSOAdminClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonSSOAdminClient Configuration Object</param> public AmazonSSOAdminClient(AWSCredentials credentials, AmazonSSOAdminConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonSSOAdminClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSSOAdminConfig()) { } /// <summary> /// Constructs AmazonSSOAdminClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSSOAdminConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonSSOAdminClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSSOAdminClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonSSOAdminClient Configuration Object</param> public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSSOAdminConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonSSOAdminClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSSOAdminConfig()) { } /// <summary> /// Constructs AmazonSSOAdminClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSSOAdminConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonSSOAdminClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSSOAdminClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonSSOAdminClient Configuration Object</param> public AmazonSSOAdminClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSSOAdminConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonSSOAdminEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AttachCustomerManagedPolicyReferenceToPermissionSet /// <summary> /// Attaches the specified customer managed policy to the specified <a>PermissionSet</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AttachCustomerManagedPolicyReferenceToPermissionSet service method.</param> /// /// <returns>The response from the AttachCustomerManagedPolicyReferenceToPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ServiceQuotaExceededException"> /// Indicates that the principal has crossed the permitted number of resources that can /// be created. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AttachCustomerManagedPolicyReferenceToPermissionSet">REST API Reference for AttachCustomerManagedPolicyReferenceToPermissionSet Operation</seealso> public virtual AttachCustomerManagedPolicyReferenceToPermissionSetResponse AttachCustomerManagedPolicyReferenceToPermissionSet(AttachCustomerManagedPolicyReferenceToPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachCustomerManagedPolicyReferenceToPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachCustomerManagedPolicyReferenceToPermissionSetResponseUnmarshaller.Instance; return Invoke<AttachCustomerManagedPolicyReferenceToPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the AttachCustomerManagedPolicyReferenceToPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AttachCustomerManagedPolicyReferenceToPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachCustomerManagedPolicyReferenceToPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AttachCustomerManagedPolicyReferenceToPermissionSet">REST API Reference for AttachCustomerManagedPolicyReferenceToPermissionSet Operation</seealso> public virtual IAsyncResult BeginAttachCustomerManagedPolicyReferenceToPermissionSet(AttachCustomerManagedPolicyReferenceToPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachCustomerManagedPolicyReferenceToPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachCustomerManagedPolicyReferenceToPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the AttachCustomerManagedPolicyReferenceToPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAttachCustomerManagedPolicyReferenceToPermissionSet.</param> /// /// <returns>Returns a AttachCustomerManagedPolicyReferenceToPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AttachCustomerManagedPolicyReferenceToPermissionSet">REST API Reference for AttachCustomerManagedPolicyReferenceToPermissionSet Operation</seealso> public virtual AttachCustomerManagedPolicyReferenceToPermissionSetResponse EndAttachCustomerManagedPolicyReferenceToPermissionSet(IAsyncResult asyncResult) { return EndInvoke<AttachCustomerManagedPolicyReferenceToPermissionSetResponse>(asyncResult); } #endregion #region AttachManagedPolicyToPermissionSet /// <summary> /// Attaches an AWS managed policy ARN to a permission set. /// /// <note> /// <para> /// If the permission set is already referenced by one or more account assignments, you /// will need to call <code> <a>ProvisionPermissionSet</a> </code> after this operation. /// Calling <code>ProvisionPermissionSet</code> applies the corresponding IAM policy updates /// to all assigned accounts. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AttachManagedPolicyToPermissionSet service method.</param> /// /// <returns>The response from the AttachManagedPolicyToPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ServiceQuotaExceededException"> /// Indicates that the principal has crossed the permitted number of resources that can /// be created. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AttachManagedPolicyToPermissionSet">REST API Reference for AttachManagedPolicyToPermissionSet Operation</seealso> public virtual AttachManagedPolicyToPermissionSetResponse AttachManagedPolicyToPermissionSet(AttachManagedPolicyToPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachManagedPolicyToPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachManagedPolicyToPermissionSetResponseUnmarshaller.Instance; return Invoke<AttachManagedPolicyToPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the AttachManagedPolicyToPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AttachManagedPolicyToPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachManagedPolicyToPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AttachManagedPolicyToPermissionSet">REST API Reference for AttachManagedPolicyToPermissionSet Operation</seealso> public virtual IAsyncResult BeginAttachManagedPolicyToPermissionSet(AttachManagedPolicyToPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachManagedPolicyToPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachManagedPolicyToPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the AttachManagedPolicyToPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAttachManagedPolicyToPermissionSet.</param> /// /// <returns>Returns a AttachManagedPolicyToPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AttachManagedPolicyToPermissionSet">REST API Reference for AttachManagedPolicyToPermissionSet Operation</seealso> public virtual AttachManagedPolicyToPermissionSetResponse EndAttachManagedPolicyToPermissionSet(IAsyncResult asyncResult) { return EndInvoke<AttachManagedPolicyToPermissionSetResponse>(asyncResult); } #endregion #region CreateAccountAssignment /// <summary> /// Assigns access to a principal for a specified AWS account using a specified permission /// set. /// /// <note> /// <para> /// The term <i>principal</i> here refers to a user or group that is defined in IAM Identity /// Center. /// </para> /// </note> <note> /// <para> /// As part of a successful <code>CreateAccountAssignment</code> 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 <code> <a>ProvisionPermissionSet</a> /// </code> to make these updates. /// </para> /// </note> <note> /// <para> /// After a successful response, call <code>DescribeAccountAssignmentCreationStatus</code> /// to describe the status of an assignment creation request. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAccountAssignment service method.</param> /// /// <returns>The response from the CreateAccountAssignment service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ServiceQuotaExceededException"> /// Indicates that the principal has crossed the permitted number of resources that can /// be created. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateAccountAssignment">REST API Reference for CreateAccountAssignment Operation</seealso> public virtual CreateAccountAssignmentResponse CreateAccountAssignment(CreateAccountAssignmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAccountAssignmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAccountAssignmentResponseUnmarshaller.Instance; return Invoke<CreateAccountAssignmentResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateAccountAssignment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAccountAssignment operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAccountAssignment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateAccountAssignment">REST API Reference for CreateAccountAssignment Operation</seealso> public virtual IAsyncResult BeginCreateAccountAssignment(CreateAccountAssignmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAccountAssignmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAccountAssignmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateAccountAssignment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAccountAssignment.</param> /// /// <returns>Returns a CreateAccountAssignmentResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateAccountAssignment">REST API Reference for CreateAccountAssignment Operation</seealso> public virtual CreateAccountAssignmentResponse EndCreateAccountAssignment(IAsyncResult asyncResult) { return EndInvoke<CreateAccountAssignmentResponse>(asyncResult); } #endregion #region CreateInstanceAccessControlAttributeConfiguration /// <summary> /// 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 <a href="/singlesignon/latest/userguide/abac.html">Attribute-Based /// Access Control</a> in the <i>IAM Identity Center User Guide</i>. /// /// <note> /// <para> /// After a successful response, call <code>DescribeInstanceAccessControlAttributeConfiguration</code> /// to validate that <code>InstanceAccessControlAttributeConfiguration</code> was created. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateInstanceAccessControlAttributeConfiguration service method.</param> /// /// <returns>The response from the CreateInstanceAccessControlAttributeConfiguration service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstanceAccessControlAttributeConfiguration">REST API Reference for CreateInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual CreateInstanceAccessControlAttributeConfigurationResponse CreateInstanceAccessControlAttributeConfiguration(CreateInstanceAccessControlAttributeConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance; return Invoke<CreateInstanceAccessControlAttributeConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateInstanceAccessControlAttributeConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateInstanceAccessControlAttributeConfiguration operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateInstanceAccessControlAttributeConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstanceAccessControlAttributeConfiguration">REST API Reference for CreateInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual IAsyncResult BeginCreateInstanceAccessControlAttributeConfiguration(CreateInstanceAccessControlAttributeConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateInstanceAccessControlAttributeConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateInstanceAccessControlAttributeConfiguration.</param> /// /// <returns>Returns a CreateInstanceAccessControlAttributeConfigurationResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstanceAccessControlAttributeConfiguration">REST API Reference for CreateInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual CreateInstanceAccessControlAttributeConfigurationResponse EndCreateInstanceAccessControlAttributeConfiguration(IAsyncResult asyncResult) { return EndInvoke<CreateInstanceAccessControlAttributeConfigurationResponse>(asyncResult); } #endregion #region CreatePermissionSet /// <summary> /// Creates a permission set within a specified IAM Identity Center instance. /// /// <note> /// <para> /// To grant users and groups access to AWS account resources, use <code> <a>CreateAccountAssignment</a> /// </code>. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreatePermissionSet service method.</param> /// /// <returns>The response from the CreatePermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ServiceQuotaExceededException"> /// Indicates that the principal has crossed the permitted number of resources that can /// be created. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreatePermissionSet">REST API Reference for CreatePermissionSet Operation</seealso> public virtual CreatePermissionSetResponse CreatePermissionSet(CreatePermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePermissionSetResponseUnmarshaller.Instance; return Invoke<CreatePermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreatePermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreatePermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreatePermissionSet">REST API Reference for CreatePermissionSet Operation</seealso> public virtual IAsyncResult BeginCreatePermissionSet(CreatePermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreatePermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreatePermissionSet.</param> /// /// <returns>Returns a CreatePermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreatePermissionSet">REST API Reference for CreatePermissionSet Operation</seealso> public virtual CreatePermissionSetResponse EndCreatePermissionSet(IAsyncResult asyncResult) { return EndInvoke<CreatePermissionSetResponse>(asyncResult); } #endregion #region DeleteAccountAssignment /// <summary> /// Deletes a principal's access from a specified AWS account using a specified permission /// set. /// /// <note> /// <para> /// After a successful response, call <code>DescribeAccountAssignmentCreationStatus</code> /// to describe the status of an assignment deletion request. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAccountAssignment service method.</param> /// /// <returns>The response from the DeleteAccountAssignment service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteAccountAssignment">REST API Reference for DeleteAccountAssignment Operation</seealso> public virtual DeleteAccountAssignmentResponse DeleteAccountAssignment(DeleteAccountAssignmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccountAssignmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccountAssignmentResponseUnmarshaller.Instance; return Invoke<DeleteAccountAssignmentResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteAccountAssignment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAccountAssignment operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAccountAssignment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteAccountAssignment">REST API Reference for DeleteAccountAssignment Operation</seealso> public virtual IAsyncResult BeginDeleteAccountAssignment(DeleteAccountAssignmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccountAssignmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccountAssignmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteAccountAssignment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAccountAssignment.</param> /// /// <returns>Returns a DeleteAccountAssignmentResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteAccountAssignment">REST API Reference for DeleteAccountAssignment Operation</seealso> public virtual DeleteAccountAssignmentResponse EndDeleteAccountAssignment(IAsyncResult asyncResult) { return EndInvoke<DeleteAccountAssignmentResponse>(asyncResult); } #endregion #region DeleteInlinePolicyFromPermissionSet /// <summary> /// Deletes the inline policy from a specified permission set. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteInlinePolicyFromPermissionSet service method.</param> /// /// <returns>The response from the DeleteInlinePolicyFromPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInlinePolicyFromPermissionSet">REST API Reference for DeleteInlinePolicyFromPermissionSet Operation</seealso> public virtual DeleteInlinePolicyFromPermissionSetResponse DeleteInlinePolicyFromPermissionSet(DeleteInlinePolicyFromPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInlinePolicyFromPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInlinePolicyFromPermissionSetResponseUnmarshaller.Instance; return Invoke<DeleteInlinePolicyFromPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteInlinePolicyFromPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteInlinePolicyFromPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteInlinePolicyFromPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInlinePolicyFromPermissionSet">REST API Reference for DeleteInlinePolicyFromPermissionSet Operation</seealso> public virtual IAsyncResult BeginDeleteInlinePolicyFromPermissionSet(DeleteInlinePolicyFromPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInlinePolicyFromPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInlinePolicyFromPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteInlinePolicyFromPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteInlinePolicyFromPermissionSet.</param> /// /// <returns>Returns a DeleteInlinePolicyFromPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInlinePolicyFromPermissionSet">REST API Reference for DeleteInlinePolicyFromPermissionSet Operation</seealso> public virtual DeleteInlinePolicyFromPermissionSetResponse EndDeleteInlinePolicyFromPermissionSet(IAsyncResult asyncResult) { return EndInvoke<DeleteInlinePolicyFromPermissionSetResponse>(asyncResult); } #endregion #region DeleteInstanceAccessControlAttributeConfiguration /// <summary> /// 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 <a href="/singlesignon/latest/userguide/abac.html">Attribute-Based /// Access Control</a> in the <i>IAM Identity Center User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteInstanceAccessControlAttributeConfiguration service method.</param> /// /// <returns>The response from the DeleteInstanceAccessControlAttributeConfiguration service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstanceAccessControlAttributeConfiguration">REST API Reference for DeleteInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual DeleteInstanceAccessControlAttributeConfigurationResponse DeleteInstanceAccessControlAttributeConfiguration(DeleteInstanceAccessControlAttributeConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance; return Invoke<DeleteInstanceAccessControlAttributeConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteInstanceAccessControlAttributeConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteInstanceAccessControlAttributeConfiguration operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteInstanceAccessControlAttributeConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstanceAccessControlAttributeConfiguration">REST API Reference for DeleteInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual IAsyncResult BeginDeleteInstanceAccessControlAttributeConfiguration(DeleteInstanceAccessControlAttributeConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteInstanceAccessControlAttributeConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteInstanceAccessControlAttributeConfiguration.</param> /// /// <returns>Returns a DeleteInstanceAccessControlAttributeConfigurationResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstanceAccessControlAttributeConfiguration">REST API Reference for DeleteInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual DeleteInstanceAccessControlAttributeConfigurationResponse EndDeleteInstanceAccessControlAttributeConfiguration(IAsyncResult asyncResult) { return EndInvoke<DeleteInstanceAccessControlAttributeConfigurationResponse>(asyncResult); } #endregion #region DeletePermissionsBoundaryFromPermissionSet /// <summary> /// Deletes the permissions boundary from a specified <a>PermissionSet</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeletePermissionsBoundaryFromPermissionSet service method.</param> /// /// <returns>The response from the DeletePermissionsBoundaryFromPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionsBoundaryFromPermissionSet">REST API Reference for DeletePermissionsBoundaryFromPermissionSet Operation</seealso> public virtual DeletePermissionsBoundaryFromPermissionSetResponse DeletePermissionsBoundaryFromPermissionSet(DeletePermissionsBoundaryFromPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePermissionsBoundaryFromPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePermissionsBoundaryFromPermissionSetResponseUnmarshaller.Instance; return Invoke<DeletePermissionsBoundaryFromPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeletePermissionsBoundaryFromPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeletePermissionsBoundaryFromPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePermissionsBoundaryFromPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionsBoundaryFromPermissionSet">REST API Reference for DeletePermissionsBoundaryFromPermissionSet Operation</seealso> public virtual IAsyncResult BeginDeletePermissionsBoundaryFromPermissionSet(DeletePermissionsBoundaryFromPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePermissionsBoundaryFromPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePermissionsBoundaryFromPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeletePermissionsBoundaryFromPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeletePermissionsBoundaryFromPermissionSet.</param> /// /// <returns>Returns a DeletePermissionsBoundaryFromPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionsBoundaryFromPermissionSet">REST API Reference for DeletePermissionsBoundaryFromPermissionSet Operation</seealso> public virtual DeletePermissionsBoundaryFromPermissionSetResponse EndDeletePermissionsBoundaryFromPermissionSet(IAsyncResult asyncResult) { return EndInvoke<DeletePermissionsBoundaryFromPermissionSetResponse>(asyncResult); } #endregion #region DeletePermissionSet /// <summary> /// Deletes the specified permission set. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeletePermissionSet service method.</param> /// /// <returns>The response from the DeletePermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionSet">REST API Reference for DeletePermissionSet Operation</seealso> public virtual DeletePermissionSetResponse DeletePermissionSet(DeletePermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePermissionSetResponseUnmarshaller.Instance; return Invoke<DeletePermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeletePermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeletePermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionSet">REST API Reference for DeletePermissionSet Operation</seealso> public virtual IAsyncResult BeginDeletePermissionSet(DeletePermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeletePermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeletePermissionSet.</param> /// /// <returns>Returns a DeletePermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionSet">REST API Reference for DeletePermissionSet Operation</seealso> public virtual DeletePermissionSetResponse EndDeletePermissionSet(IAsyncResult asyncResult) { return EndInvoke<DeletePermissionSetResponse>(asyncResult); } #endregion #region DescribeAccountAssignmentCreationStatus /// <summary> /// Describes the status of the assignment creation request. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAccountAssignmentCreationStatus service method.</param> /// /// <returns>The response from the DescribeAccountAssignmentCreationStatus service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentCreationStatus">REST API Reference for DescribeAccountAssignmentCreationStatus Operation</seealso> public virtual DescribeAccountAssignmentCreationStatusResponse DescribeAccountAssignmentCreationStatus(DescribeAccountAssignmentCreationStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAssignmentCreationStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAssignmentCreationStatusResponseUnmarshaller.Instance; return Invoke<DescribeAccountAssignmentCreationStatusResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAccountAssignmentCreationStatus operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAccountAssignmentCreationStatus operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAccountAssignmentCreationStatus /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentCreationStatus">REST API Reference for DescribeAccountAssignmentCreationStatus Operation</seealso> public virtual IAsyncResult BeginDescribeAccountAssignmentCreationStatus(DescribeAccountAssignmentCreationStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAssignmentCreationStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAssignmentCreationStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAccountAssignmentCreationStatus operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAccountAssignmentCreationStatus.</param> /// /// <returns>Returns a DescribeAccountAssignmentCreationStatusResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentCreationStatus">REST API Reference for DescribeAccountAssignmentCreationStatus Operation</seealso> public virtual DescribeAccountAssignmentCreationStatusResponse EndDescribeAccountAssignmentCreationStatus(IAsyncResult asyncResult) { return EndInvoke<DescribeAccountAssignmentCreationStatusResponse>(asyncResult); } #endregion #region DescribeAccountAssignmentDeletionStatus /// <summary> /// Describes the status of the assignment deletion request. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAccountAssignmentDeletionStatus service method.</param> /// /// <returns>The response from the DescribeAccountAssignmentDeletionStatus service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentDeletionStatus">REST API Reference for DescribeAccountAssignmentDeletionStatus Operation</seealso> public virtual DescribeAccountAssignmentDeletionStatusResponse DescribeAccountAssignmentDeletionStatus(DescribeAccountAssignmentDeletionStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAssignmentDeletionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAssignmentDeletionStatusResponseUnmarshaller.Instance; return Invoke<DescribeAccountAssignmentDeletionStatusResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAccountAssignmentDeletionStatus operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAccountAssignmentDeletionStatus operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAccountAssignmentDeletionStatus /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentDeletionStatus">REST API Reference for DescribeAccountAssignmentDeletionStatus Operation</seealso> public virtual IAsyncResult BeginDescribeAccountAssignmentDeletionStatus(DescribeAccountAssignmentDeletionStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAssignmentDeletionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAssignmentDeletionStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAccountAssignmentDeletionStatus operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAccountAssignmentDeletionStatus.</param> /// /// <returns>Returns a DescribeAccountAssignmentDeletionStatusResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentDeletionStatus">REST API Reference for DescribeAccountAssignmentDeletionStatus Operation</seealso> public virtual DescribeAccountAssignmentDeletionStatusResponse EndDescribeAccountAssignmentDeletionStatus(IAsyncResult asyncResult) { return EndInvoke<DescribeAccountAssignmentDeletionStatusResponse>(asyncResult); } #endregion #region DescribeInstanceAccessControlAttributeConfiguration /// <summary> /// 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 <a href="/singlesignon/latest/userguide/abac.html">Attribute-Based /// Access Control</a> in the <i>IAM Identity Center User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeInstanceAccessControlAttributeConfiguration service method.</param> /// /// <returns>The response from the DescribeInstanceAccessControlAttributeConfiguration service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceAccessControlAttributeConfiguration">REST API Reference for DescribeInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual DescribeInstanceAccessControlAttributeConfigurationResponse DescribeInstanceAccessControlAttributeConfiguration(DescribeInstanceAccessControlAttributeConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance; return Invoke<DescribeInstanceAccessControlAttributeConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeInstanceAccessControlAttributeConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeInstanceAccessControlAttributeConfiguration operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeInstanceAccessControlAttributeConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceAccessControlAttributeConfiguration">REST API Reference for DescribeInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual IAsyncResult BeginDescribeInstanceAccessControlAttributeConfiguration(DescribeInstanceAccessControlAttributeConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeInstanceAccessControlAttributeConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeInstanceAccessControlAttributeConfiguration.</param> /// /// <returns>Returns a DescribeInstanceAccessControlAttributeConfigurationResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceAccessControlAttributeConfiguration">REST API Reference for DescribeInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual DescribeInstanceAccessControlAttributeConfigurationResponse EndDescribeInstanceAccessControlAttributeConfiguration(IAsyncResult asyncResult) { return EndInvoke<DescribeInstanceAccessControlAttributeConfigurationResponse>(asyncResult); } #endregion #region DescribePermissionSet /// <summary> /// Gets the details of the permission set. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribePermissionSet service method.</param> /// /// <returns>The response from the DescribePermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSet">REST API Reference for DescribePermissionSet Operation</seealso> public virtual DescribePermissionSetResponse DescribePermissionSet(DescribePermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePermissionSetResponseUnmarshaller.Instance; return Invoke<DescribePermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribePermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribePermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribePermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSet">REST API Reference for DescribePermissionSet Operation</seealso> public virtual IAsyncResult BeginDescribePermissionSet(DescribePermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribePermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribePermissionSet.</param> /// /// <returns>Returns a DescribePermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSet">REST API Reference for DescribePermissionSet Operation</seealso> public virtual DescribePermissionSetResponse EndDescribePermissionSet(IAsyncResult asyncResult) { return EndInvoke<DescribePermissionSetResponse>(asyncResult); } #endregion #region DescribePermissionSetProvisioningStatus /// <summary> /// Describes the status for the given permission set provisioning request. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribePermissionSetProvisioningStatus service method.</param> /// /// <returns>The response from the DescribePermissionSetProvisioningStatus service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSetProvisioningStatus">REST API Reference for DescribePermissionSetProvisioningStatus Operation</seealso> public virtual DescribePermissionSetProvisioningStatusResponse DescribePermissionSetProvisioningStatus(DescribePermissionSetProvisioningStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePermissionSetProvisioningStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePermissionSetProvisioningStatusResponseUnmarshaller.Instance; return Invoke<DescribePermissionSetProvisioningStatusResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribePermissionSetProvisioningStatus operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribePermissionSetProvisioningStatus operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribePermissionSetProvisioningStatus /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSetProvisioningStatus">REST API Reference for DescribePermissionSetProvisioningStatus Operation</seealso> public virtual IAsyncResult BeginDescribePermissionSetProvisioningStatus(DescribePermissionSetProvisioningStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePermissionSetProvisioningStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePermissionSetProvisioningStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribePermissionSetProvisioningStatus operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribePermissionSetProvisioningStatus.</param> /// /// <returns>Returns a DescribePermissionSetProvisioningStatusResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSetProvisioningStatus">REST API Reference for DescribePermissionSetProvisioningStatus Operation</seealso> public virtual DescribePermissionSetProvisioningStatusResponse EndDescribePermissionSetProvisioningStatus(IAsyncResult asyncResult) { return EndInvoke<DescribePermissionSetProvisioningStatusResponse>(asyncResult); } #endregion #region DetachCustomerManagedPolicyReferenceFromPermissionSet /// <summary> /// Detaches the specified customer managed policy from the specified <a>PermissionSet</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DetachCustomerManagedPolicyReferenceFromPermissionSet service method.</param> /// /// <returns>The response from the DetachCustomerManagedPolicyReferenceFromPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachCustomerManagedPolicyReferenceFromPermissionSet">REST API Reference for DetachCustomerManagedPolicyReferenceFromPermissionSet Operation</seealso> public virtual DetachCustomerManagedPolicyReferenceFromPermissionSetResponse DetachCustomerManagedPolicyReferenceFromPermissionSet(DetachCustomerManagedPolicyReferenceFromPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachCustomerManagedPolicyReferenceFromPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachCustomerManagedPolicyReferenceFromPermissionSetResponseUnmarshaller.Instance; return Invoke<DetachCustomerManagedPolicyReferenceFromPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DetachCustomerManagedPolicyReferenceFromPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DetachCustomerManagedPolicyReferenceFromPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachCustomerManagedPolicyReferenceFromPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachCustomerManagedPolicyReferenceFromPermissionSet">REST API Reference for DetachCustomerManagedPolicyReferenceFromPermissionSet Operation</seealso> public virtual IAsyncResult BeginDetachCustomerManagedPolicyReferenceFromPermissionSet(DetachCustomerManagedPolicyReferenceFromPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachCustomerManagedPolicyReferenceFromPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachCustomerManagedPolicyReferenceFromPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DetachCustomerManagedPolicyReferenceFromPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDetachCustomerManagedPolicyReferenceFromPermissionSet.</param> /// /// <returns>Returns a DetachCustomerManagedPolicyReferenceFromPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachCustomerManagedPolicyReferenceFromPermissionSet">REST API Reference for DetachCustomerManagedPolicyReferenceFromPermissionSet Operation</seealso> public virtual DetachCustomerManagedPolicyReferenceFromPermissionSetResponse EndDetachCustomerManagedPolicyReferenceFromPermissionSet(IAsyncResult asyncResult) { return EndInvoke<DetachCustomerManagedPolicyReferenceFromPermissionSetResponse>(asyncResult); } #endregion #region DetachManagedPolicyFromPermissionSet /// <summary> /// Detaches the attached AWS managed policy ARN from the specified permission set. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DetachManagedPolicyFromPermissionSet service method.</param> /// /// <returns>The response from the DetachManagedPolicyFromPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachManagedPolicyFromPermissionSet">REST API Reference for DetachManagedPolicyFromPermissionSet Operation</seealso> public virtual DetachManagedPolicyFromPermissionSetResponse DetachManagedPolicyFromPermissionSet(DetachManagedPolicyFromPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachManagedPolicyFromPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachManagedPolicyFromPermissionSetResponseUnmarshaller.Instance; return Invoke<DetachManagedPolicyFromPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DetachManagedPolicyFromPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DetachManagedPolicyFromPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachManagedPolicyFromPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachManagedPolicyFromPermissionSet">REST API Reference for DetachManagedPolicyFromPermissionSet Operation</seealso> public virtual IAsyncResult BeginDetachManagedPolicyFromPermissionSet(DetachManagedPolicyFromPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachManagedPolicyFromPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachManagedPolicyFromPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DetachManagedPolicyFromPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDetachManagedPolicyFromPermissionSet.</param> /// /// <returns>Returns a DetachManagedPolicyFromPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachManagedPolicyFromPermissionSet">REST API Reference for DetachManagedPolicyFromPermissionSet Operation</seealso> public virtual DetachManagedPolicyFromPermissionSetResponse EndDetachManagedPolicyFromPermissionSet(IAsyncResult asyncResult) { return EndInvoke<DetachManagedPolicyFromPermissionSetResponse>(asyncResult); } #endregion #region GetInlinePolicyForPermissionSet /// <summary> /// Obtains the inline policy assigned to the permission set. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetInlinePolicyForPermissionSet service method.</param> /// /// <returns>The response from the GetInlinePolicyForPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetInlinePolicyForPermissionSet">REST API Reference for GetInlinePolicyForPermissionSet Operation</seealso> public virtual GetInlinePolicyForPermissionSetResponse GetInlinePolicyForPermissionSet(GetInlinePolicyForPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInlinePolicyForPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInlinePolicyForPermissionSetResponseUnmarshaller.Instance; return Invoke<GetInlinePolicyForPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetInlinePolicyForPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetInlinePolicyForPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetInlinePolicyForPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetInlinePolicyForPermissionSet">REST API Reference for GetInlinePolicyForPermissionSet Operation</seealso> public virtual IAsyncResult BeginGetInlinePolicyForPermissionSet(GetInlinePolicyForPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetInlinePolicyForPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInlinePolicyForPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetInlinePolicyForPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetInlinePolicyForPermissionSet.</param> /// /// <returns>Returns a GetInlinePolicyForPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetInlinePolicyForPermissionSet">REST API Reference for GetInlinePolicyForPermissionSet Operation</seealso> public virtual GetInlinePolicyForPermissionSetResponse EndGetInlinePolicyForPermissionSet(IAsyncResult asyncResult) { return EndInvoke<GetInlinePolicyForPermissionSetResponse>(asyncResult); } #endregion #region GetPermissionsBoundaryForPermissionSet /// <summary> /// Obtains the permissions boundary for a specified <a>PermissionSet</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetPermissionsBoundaryForPermissionSet service method.</param> /// /// <returns>The response from the GetPermissionsBoundaryForPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetPermissionsBoundaryForPermissionSet">REST API Reference for GetPermissionsBoundaryForPermissionSet Operation</seealso> public virtual GetPermissionsBoundaryForPermissionSetResponse GetPermissionsBoundaryForPermissionSet(GetPermissionsBoundaryForPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPermissionsBoundaryForPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPermissionsBoundaryForPermissionSetResponseUnmarshaller.Instance; return Invoke<GetPermissionsBoundaryForPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetPermissionsBoundaryForPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetPermissionsBoundaryForPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPermissionsBoundaryForPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetPermissionsBoundaryForPermissionSet">REST API Reference for GetPermissionsBoundaryForPermissionSet Operation</seealso> public virtual IAsyncResult BeginGetPermissionsBoundaryForPermissionSet(GetPermissionsBoundaryForPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPermissionsBoundaryForPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPermissionsBoundaryForPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetPermissionsBoundaryForPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetPermissionsBoundaryForPermissionSet.</param> /// /// <returns>Returns a GetPermissionsBoundaryForPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetPermissionsBoundaryForPermissionSet">REST API Reference for GetPermissionsBoundaryForPermissionSet Operation</seealso> public virtual GetPermissionsBoundaryForPermissionSetResponse EndGetPermissionsBoundaryForPermissionSet(IAsyncResult asyncResult) { return EndInvoke<GetPermissionsBoundaryForPermissionSetResponse>(asyncResult); } #endregion #region ListAccountAssignmentCreationStatus /// <summary> /// Lists the status of the AWS account assignment creation requests for a specified IAM /// Identity Center instance. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAccountAssignmentCreationStatus service method.</param> /// /// <returns>The response from the ListAccountAssignmentCreationStatus service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentCreationStatus">REST API Reference for ListAccountAssignmentCreationStatus Operation</seealso> public virtual ListAccountAssignmentCreationStatusResponse ListAccountAssignmentCreationStatus(ListAccountAssignmentCreationStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccountAssignmentCreationStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccountAssignmentCreationStatusResponseUnmarshaller.Instance; return Invoke<ListAccountAssignmentCreationStatusResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAccountAssignmentCreationStatus operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAccountAssignmentCreationStatus operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAccountAssignmentCreationStatus /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentCreationStatus">REST API Reference for ListAccountAssignmentCreationStatus Operation</seealso> public virtual IAsyncResult BeginListAccountAssignmentCreationStatus(ListAccountAssignmentCreationStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccountAssignmentCreationStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccountAssignmentCreationStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAccountAssignmentCreationStatus operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAccountAssignmentCreationStatus.</param> /// /// <returns>Returns a ListAccountAssignmentCreationStatusResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentCreationStatus">REST API Reference for ListAccountAssignmentCreationStatus Operation</seealso> public virtual ListAccountAssignmentCreationStatusResponse EndListAccountAssignmentCreationStatus(IAsyncResult asyncResult) { return EndInvoke<ListAccountAssignmentCreationStatusResponse>(asyncResult); } #endregion #region ListAccountAssignmentDeletionStatus /// <summary> /// Lists the status of the AWS account assignment deletion requests for a specified IAM /// Identity Center instance. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAccountAssignmentDeletionStatus service method.</param> /// /// <returns>The response from the ListAccountAssignmentDeletionStatus service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentDeletionStatus">REST API Reference for ListAccountAssignmentDeletionStatus Operation</seealso> public virtual ListAccountAssignmentDeletionStatusResponse ListAccountAssignmentDeletionStatus(ListAccountAssignmentDeletionStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccountAssignmentDeletionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccountAssignmentDeletionStatusResponseUnmarshaller.Instance; return Invoke<ListAccountAssignmentDeletionStatusResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAccountAssignmentDeletionStatus operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAccountAssignmentDeletionStatus operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAccountAssignmentDeletionStatus /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentDeletionStatus">REST API Reference for ListAccountAssignmentDeletionStatus Operation</seealso> public virtual IAsyncResult BeginListAccountAssignmentDeletionStatus(ListAccountAssignmentDeletionStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccountAssignmentDeletionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccountAssignmentDeletionStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAccountAssignmentDeletionStatus operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAccountAssignmentDeletionStatus.</param> /// /// <returns>Returns a ListAccountAssignmentDeletionStatusResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentDeletionStatus">REST API Reference for ListAccountAssignmentDeletionStatus Operation</seealso> public virtual ListAccountAssignmentDeletionStatusResponse EndListAccountAssignmentDeletionStatus(IAsyncResult asyncResult) { return EndInvoke<ListAccountAssignmentDeletionStatusResponse>(asyncResult); } #endregion #region ListAccountAssignments /// <summary> /// Lists the assignee of the specified AWS account with the specified permission set. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAccountAssignments service method.</param> /// /// <returns>The response from the ListAccountAssignments service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignments">REST API Reference for ListAccountAssignments Operation</seealso> public virtual ListAccountAssignmentsResponse ListAccountAssignments(ListAccountAssignmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccountAssignmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccountAssignmentsResponseUnmarshaller.Instance; return Invoke<ListAccountAssignmentsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAccountAssignments operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAccountAssignments operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAccountAssignments /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignments">REST API Reference for ListAccountAssignments Operation</seealso> public virtual IAsyncResult BeginListAccountAssignments(ListAccountAssignmentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccountAssignmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccountAssignmentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAccountAssignments operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAccountAssignments.</param> /// /// <returns>Returns a ListAccountAssignmentsResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignments">REST API Reference for ListAccountAssignments Operation</seealso> public virtual ListAccountAssignmentsResponse EndListAccountAssignments(IAsyncResult asyncResult) { return EndInvoke<ListAccountAssignmentsResponse>(asyncResult); } #endregion #region ListAccountsForProvisionedPermissionSet /// <summary> /// Lists all the AWS accounts where the specified permission set is provisioned. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAccountsForProvisionedPermissionSet service method.</param> /// /// <returns>The response from the ListAccountsForProvisionedPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountsForProvisionedPermissionSet">REST API Reference for ListAccountsForProvisionedPermissionSet Operation</seealso> public virtual ListAccountsForProvisionedPermissionSetResponse ListAccountsForProvisionedPermissionSet(ListAccountsForProvisionedPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccountsForProvisionedPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccountsForProvisionedPermissionSetResponseUnmarshaller.Instance; return Invoke<ListAccountsForProvisionedPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAccountsForProvisionedPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAccountsForProvisionedPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAccountsForProvisionedPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountsForProvisionedPermissionSet">REST API Reference for ListAccountsForProvisionedPermissionSet Operation</seealso> public virtual IAsyncResult BeginListAccountsForProvisionedPermissionSet(ListAccountsForProvisionedPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccountsForProvisionedPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccountsForProvisionedPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAccountsForProvisionedPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAccountsForProvisionedPermissionSet.</param> /// /// <returns>Returns a ListAccountsForProvisionedPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountsForProvisionedPermissionSet">REST API Reference for ListAccountsForProvisionedPermissionSet Operation</seealso> public virtual ListAccountsForProvisionedPermissionSetResponse EndListAccountsForProvisionedPermissionSet(IAsyncResult asyncResult) { return EndInvoke<ListAccountsForProvisionedPermissionSetResponse>(asyncResult); } #endregion #region ListCustomerManagedPolicyReferencesInPermissionSet /// <summary> /// Lists all customer managed policies attached to a specified <a>PermissionSet</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListCustomerManagedPolicyReferencesInPermissionSet service method.</param> /// /// <returns>The response from the ListCustomerManagedPolicyReferencesInPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListCustomerManagedPolicyReferencesInPermissionSet">REST API Reference for ListCustomerManagedPolicyReferencesInPermissionSet Operation</seealso> public virtual ListCustomerManagedPolicyReferencesInPermissionSetResponse ListCustomerManagedPolicyReferencesInPermissionSet(ListCustomerManagedPolicyReferencesInPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomerManagedPolicyReferencesInPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomerManagedPolicyReferencesInPermissionSetResponseUnmarshaller.Instance; return Invoke<ListCustomerManagedPolicyReferencesInPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListCustomerManagedPolicyReferencesInPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListCustomerManagedPolicyReferencesInPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCustomerManagedPolicyReferencesInPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListCustomerManagedPolicyReferencesInPermissionSet">REST API Reference for ListCustomerManagedPolicyReferencesInPermissionSet Operation</seealso> public virtual IAsyncResult BeginListCustomerManagedPolicyReferencesInPermissionSet(ListCustomerManagedPolicyReferencesInPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomerManagedPolicyReferencesInPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomerManagedPolicyReferencesInPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListCustomerManagedPolicyReferencesInPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListCustomerManagedPolicyReferencesInPermissionSet.</param> /// /// <returns>Returns a ListCustomerManagedPolicyReferencesInPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListCustomerManagedPolicyReferencesInPermissionSet">REST API Reference for ListCustomerManagedPolicyReferencesInPermissionSet Operation</seealso> public virtual ListCustomerManagedPolicyReferencesInPermissionSetResponse EndListCustomerManagedPolicyReferencesInPermissionSet(IAsyncResult asyncResult) { return EndInvoke<ListCustomerManagedPolicyReferencesInPermissionSetResponse>(asyncResult); } #endregion #region ListInstances /// <summary> /// Lists the IAM Identity Center instances that the caller has access to. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListInstances service method.</param> /// /// <returns>The response from the ListInstances service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances">REST API Reference for ListInstances Operation</seealso> public virtual ListInstancesResponse ListInstances(ListInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInstancesResponseUnmarshaller.Instance; return Invoke<ListInstancesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListInstances operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListInstances operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListInstances /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances">REST API Reference for ListInstances Operation</seealso> public virtual IAsyncResult BeginListInstances(ListInstancesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInstancesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListInstances operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListInstances.</param> /// /// <returns>Returns a ListInstancesResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances">REST API Reference for ListInstances Operation</seealso> public virtual ListInstancesResponse EndListInstances(IAsyncResult asyncResult) { return EndInvoke<ListInstancesResponse>(asyncResult); } #endregion #region ListManagedPoliciesInPermissionSet /// <summary> /// Lists the AWS managed policy that is attached to a specified permission set. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListManagedPoliciesInPermissionSet service method.</param> /// /// <returns>The response from the ListManagedPoliciesInPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListManagedPoliciesInPermissionSet">REST API Reference for ListManagedPoliciesInPermissionSet Operation</seealso> public virtual ListManagedPoliciesInPermissionSetResponse ListManagedPoliciesInPermissionSet(ListManagedPoliciesInPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedPoliciesInPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedPoliciesInPermissionSetResponseUnmarshaller.Instance; return Invoke<ListManagedPoliciesInPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListManagedPoliciesInPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListManagedPoliciesInPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListManagedPoliciesInPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListManagedPoliciesInPermissionSet">REST API Reference for ListManagedPoliciesInPermissionSet Operation</seealso> public virtual IAsyncResult BeginListManagedPoliciesInPermissionSet(ListManagedPoliciesInPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedPoliciesInPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedPoliciesInPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListManagedPoliciesInPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListManagedPoliciesInPermissionSet.</param> /// /// <returns>Returns a ListManagedPoliciesInPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListManagedPoliciesInPermissionSet">REST API Reference for ListManagedPoliciesInPermissionSet Operation</seealso> public virtual ListManagedPoliciesInPermissionSetResponse EndListManagedPoliciesInPermissionSet(IAsyncResult asyncResult) { return EndInvoke<ListManagedPoliciesInPermissionSetResponse>(asyncResult); } #endregion #region ListPermissionSetProvisioningStatus /// <summary> /// Lists the status of the permission set provisioning requests for a specified IAM Identity /// Center instance. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListPermissionSetProvisioningStatus service method.</param> /// /// <returns>The response from the ListPermissionSetProvisioningStatus service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetProvisioningStatus">REST API Reference for ListPermissionSetProvisioningStatus Operation</seealso> public virtual ListPermissionSetProvisioningStatusResponse ListPermissionSetProvisioningStatus(ListPermissionSetProvisioningStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPermissionSetProvisioningStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPermissionSetProvisioningStatusResponseUnmarshaller.Instance; return Invoke<ListPermissionSetProvisioningStatusResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListPermissionSetProvisioningStatus operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListPermissionSetProvisioningStatus operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPermissionSetProvisioningStatus /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetProvisioningStatus">REST API Reference for ListPermissionSetProvisioningStatus Operation</seealso> public virtual IAsyncResult BeginListPermissionSetProvisioningStatus(ListPermissionSetProvisioningStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPermissionSetProvisioningStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPermissionSetProvisioningStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListPermissionSetProvisioningStatus operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListPermissionSetProvisioningStatus.</param> /// /// <returns>Returns a ListPermissionSetProvisioningStatusResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetProvisioningStatus">REST API Reference for ListPermissionSetProvisioningStatus Operation</seealso> public virtual ListPermissionSetProvisioningStatusResponse EndListPermissionSetProvisioningStatus(IAsyncResult asyncResult) { return EndInvoke<ListPermissionSetProvisioningStatusResponse>(asyncResult); } #endregion #region ListPermissionSets /// <summary> /// Lists the <a>PermissionSet</a>s in an IAM Identity Center instance. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListPermissionSets service method.</param> /// /// <returns>The response from the ListPermissionSets service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSets">REST API Reference for ListPermissionSets Operation</seealso> public virtual ListPermissionSetsResponse ListPermissionSets(ListPermissionSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPermissionSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPermissionSetsResponseUnmarshaller.Instance; return Invoke<ListPermissionSetsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListPermissionSets operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListPermissionSets operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPermissionSets /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSets">REST API Reference for ListPermissionSets Operation</seealso> public virtual IAsyncResult BeginListPermissionSets(ListPermissionSetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPermissionSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPermissionSetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListPermissionSets operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListPermissionSets.</param> /// /// <returns>Returns a ListPermissionSetsResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSets">REST API Reference for ListPermissionSets Operation</seealso> public virtual ListPermissionSetsResponse EndListPermissionSets(IAsyncResult asyncResult) { return EndInvoke<ListPermissionSetsResponse>(asyncResult); } #endregion #region ListPermissionSetsProvisionedToAccount /// <summary> /// Lists all the permission sets that are provisioned to a specified AWS account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListPermissionSetsProvisionedToAccount service method.</param> /// /// <returns>The response from the ListPermissionSetsProvisionedToAccount service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount">REST API Reference for ListPermissionSetsProvisionedToAccount Operation</seealso> public virtual ListPermissionSetsProvisionedToAccountResponse ListPermissionSetsProvisionedToAccount(ListPermissionSetsProvisionedToAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPermissionSetsProvisionedToAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPermissionSetsProvisionedToAccountResponseUnmarshaller.Instance; return Invoke<ListPermissionSetsProvisionedToAccountResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListPermissionSetsProvisionedToAccount operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListPermissionSetsProvisionedToAccount operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPermissionSetsProvisionedToAccount /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount">REST API Reference for ListPermissionSetsProvisionedToAccount Operation</seealso> public virtual IAsyncResult BeginListPermissionSetsProvisionedToAccount(ListPermissionSetsProvisionedToAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPermissionSetsProvisionedToAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPermissionSetsProvisionedToAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListPermissionSetsProvisionedToAccount operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListPermissionSetsProvisionedToAccount.</param> /// /// <returns>Returns a ListPermissionSetsProvisionedToAccountResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount">REST API Reference for ListPermissionSetsProvisionedToAccount Operation</seealso> public virtual ListPermissionSetsProvisionedToAccountResponse EndListPermissionSetsProvisionedToAccount(IAsyncResult asyncResult) { return EndInvoke<ListPermissionSetsProvisionedToAccountResponse>(asyncResult); } #endregion #region ListTagsForResource /// <summary> /// Lists the tags that are attached to a specified resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param> /// /// <returns>Returns a ListTagsForResourceResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke<ListTagsForResourceResponse>(asyncResult); } #endregion #region ProvisionPermissionSet /// <summary> /// The process by which a specified permission set is provisioned to the specified target. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ProvisionPermissionSet service method.</param> /// /// <returns>The response from the ProvisionPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ProvisionPermissionSet">REST API Reference for ProvisionPermissionSet Operation</seealso> public virtual ProvisionPermissionSetResponse ProvisionPermissionSet(ProvisionPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ProvisionPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ProvisionPermissionSetResponseUnmarshaller.Instance; return Invoke<ProvisionPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ProvisionPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ProvisionPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndProvisionPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ProvisionPermissionSet">REST API Reference for ProvisionPermissionSet Operation</seealso> public virtual IAsyncResult BeginProvisionPermissionSet(ProvisionPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ProvisionPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ProvisionPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ProvisionPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginProvisionPermissionSet.</param> /// /// <returns>Returns a ProvisionPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ProvisionPermissionSet">REST API Reference for ProvisionPermissionSet Operation</seealso> public virtual ProvisionPermissionSetResponse EndProvisionPermissionSet(IAsyncResult asyncResult) { return EndInvoke<ProvisionPermissionSetResponse>(asyncResult); } #endregion #region PutInlinePolicyToPermissionSet /// <summary> /// Attaches an inline policy to a permission set. /// /// <note> /// <para> /// If the permission set is already referenced by one or more account assignments, you /// will need to call <code> <a>ProvisionPermissionSet</a> </code> after this action to /// apply the corresponding IAM policy updates to all assigned accounts. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutInlinePolicyToPermissionSet service method.</param> /// /// <returns>The response from the PutInlinePolicyToPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ServiceQuotaExceededException"> /// Indicates that the principal has crossed the permitted number of resources that can /// be created. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutInlinePolicyToPermissionSet">REST API Reference for PutInlinePolicyToPermissionSet Operation</seealso> public virtual PutInlinePolicyToPermissionSetResponse PutInlinePolicyToPermissionSet(PutInlinePolicyToPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutInlinePolicyToPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = PutInlinePolicyToPermissionSetResponseUnmarshaller.Instance; return Invoke<PutInlinePolicyToPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PutInlinePolicyToPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutInlinePolicyToPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutInlinePolicyToPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutInlinePolicyToPermissionSet">REST API Reference for PutInlinePolicyToPermissionSet Operation</seealso> public virtual IAsyncResult BeginPutInlinePolicyToPermissionSet(PutInlinePolicyToPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutInlinePolicyToPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = PutInlinePolicyToPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PutInlinePolicyToPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutInlinePolicyToPermissionSet.</param> /// /// <returns>Returns a PutInlinePolicyToPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutInlinePolicyToPermissionSet">REST API Reference for PutInlinePolicyToPermissionSet Operation</seealso> public virtual PutInlinePolicyToPermissionSetResponse EndPutInlinePolicyToPermissionSet(IAsyncResult asyncResult) { return EndInvoke<PutInlinePolicyToPermissionSetResponse>(asyncResult); } #endregion #region PutPermissionsBoundaryToPermissionSet /// <summary> /// Attaches an AWS managed or customer managed policy to the specified <a>PermissionSet</a> /// as a permissions boundary. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutPermissionsBoundaryToPermissionSet service method.</param> /// /// <returns>The response from the PutPermissionsBoundaryToPermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutPermissionsBoundaryToPermissionSet">REST API Reference for PutPermissionsBoundaryToPermissionSet Operation</seealso> public virtual PutPermissionsBoundaryToPermissionSetResponse PutPermissionsBoundaryToPermissionSet(PutPermissionsBoundaryToPermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutPermissionsBoundaryToPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = PutPermissionsBoundaryToPermissionSetResponseUnmarshaller.Instance; return Invoke<PutPermissionsBoundaryToPermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PutPermissionsBoundaryToPermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutPermissionsBoundaryToPermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutPermissionsBoundaryToPermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutPermissionsBoundaryToPermissionSet">REST API Reference for PutPermissionsBoundaryToPermissionSet Operation</seealso> public virtual IAsyncResult BeginPutPermissionsBoundaryToPermissionSet(PutPermissionsBoundaryToPermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutPermissionsBoundaryToPermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = PutPermissionsBoundaryToPermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PutPermissionsBoundaryToPermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutPermissionsBoundaryToPermissionSet.</param> /// /// <returns>Returns a PutPermissionsBoundaryToPermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutPermissionsBoundaryToPermissionSet">REST API Reference for PutPermissionsBoundaryToPermissionSet Operation</seealso> public virtual PutPermissionsBoundaryToPermissionSetResponse EndPutPermissionsBoundaryToPermissionSet(IAsyncResult asyncResult) { return EndInvoke<PutPermissionsBoundaryToPermissionSetResponse>(asyncResult); } #endregion #region TagResource /// <summary> /// Associates a set of tags with a specified resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ServiceQuotaExceededException"> /// Indicates that the principal has crossed the permitted number of resources that can /// be created. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TagResource">REST API Reference for TagResource Operation</seealso> public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param> /// /// <returns>Returns a TagResourceResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke<TagResourceResponse>(asyncResult); } #endregion #region UntagResource /// <summary> /// Disassociates a set of tags from a specified resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param> /// /// <returns>Returns a UntagResourceResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke<UntagResourceResponse>(asyncResult); } #endregion #region UpdateInstanceAccessControlAttributeConfiguration /// <summary> /// 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 <a href="/singlesignon/latest/userguide/abac.html">Attribute-Based /// Access Control</a> in the <i>IAM Identity Center User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateInstanceAccessControlAttributeConfiguration service method.</param> /// /// <returns>The response from the UpdateInstanceAccessControlAttributeConfiguration service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceAccessControlAttributeConfiguration">REST API Reference for UpdateInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual UpdateInstanceAccessControlAttributeConfigurationResponse UpdateInstanceAccessControlAttributeConfiguration(UpdateInstanceAccessControlAttributeConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance; return Invoke<UpdateInstanceAccessControlAttributeConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateInstanceAccessControlAttributeConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateInstanceAccessControlAttributeConfiguration operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateInstanceAccessControlAttributeConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceAccessControlAttributeConfiguration">REST API Reference for UpdateInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual IAsyncResult BeginUpdateInstanceAccessControlAttributeConfiguration(UpdateInstanceAccessControlAttributeConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateInstanceAccessControlAttributeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateInstanceAccessControlAttributeConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateInstanceAccessControlAttributeConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateInstanceAccessControlAttributeConfiguration.</param> /// /// <returns>Returns a UpdateInstanceAccessControlAttributeConfigurationResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceAccessControlAttributeConfiguration">REST API Reference for UpdateInstanceAccessControlAttributeConfiguration Operation</seealso> public virtual UpdateInstanceAccessControlAttributeConfigurationResponse EndUpdateInstanceAccessControlAttributeConfiguration(IAsyncResult asyncResult) { return EndInvoke<UpdateInstanceAccessControlAttributeConfigurationResponse>(asyncResult); } #endregion #region UpdatePermissionSet /// <summary> /// Updates an existing permission set. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdatePermissionSet service method.</param> /// /// <returns>The response from the UpdatePermissionSet service method, as returned by SSOAdmin.</returns> /// <exception cref="Amazon.SSOAdmin.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ConflictException"> /// 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. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception, or failure /// with an internal server. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ResourceNotFoundException"> /// Indicates that a requested resource is not found. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ThrottlingException"> /// Indicates that the principal has crossed the throttling limits of the API operations. /// </exception> /// <exception cref="Amazon.SSOAdmin.Model.ValidationException"> /// The request failed because it contains a syntax error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet">REST API Reference for UpdatePermissionSet Operation</seealso> public virtual UpdatePermissionSetResponse UpdatePermissionSet(UpdatePermissionSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePermissionSetResponseUnmarshaller.Instance; return Invoke<UpdatePermissionSetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdatePermissionSet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdatePermissionSet operation on AmazonSSOAdminClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePermissionSet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet">REST API Reference for UpdatePermissionSet Operation</seealso> public virtual IAsyncResult BeginUpdatePermissionSet(UpdatePermissionSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePermissionSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePermissionSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdatePermissionSet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdatePermissionSet.</param> /// /// <returns>Returns a UpdatePermissionSetResult from SSOAdmin.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet">REST API Reference for UpdatePermissionSet Operation</seealso> public virtual UpdatePermissionSetResponse EndUpdatePermissionSet(IAsyncResult asyncResult) { return EndInvoke<UpdatePermissionSetResponse>(asyncResult); } #endregion } }