/* * 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 identitystore-2020-06-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.IdentityStore.Model; using Amazon.IdentityStore.Model.Internal.MarshallTransformations; using Amazon.IdentityStore.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.IdentityStore { /// /// Implementation for accessing IdentityStore /// /// The Identity Store service used by AWS IAM Identity Center (successor to AWS Single /// Sign-On) provides a single place to retrieve all of your identities (users and groups). /// For more information, see the IAM /// Identity Center User Guide. /// ///
 <note> <p>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>.</p> </note> <p>This reference
    /// guide describes the identity store operations that you can call programatically and
    /// includes detailed information about data types and errors.</p> 
///
public partial class AmazonIdentityStoreClient : AmazonServiceClient, IAmazonIdentityStore { private static IServiceMetadata serviceMetadata = new AmazonIdentityStoreMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IIdentityStorePaginatorFactory _paginators; /// /// Paginators for the service /// public IIdentityStorePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new IdentityStorePaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonIdentityStoreClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonIdentityStoreClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIdentityStoreConfig()) { } /// /// Constructs AmazonIdentityStoreClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonIdentityStoreClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIdentityStoreConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIdentityStoreClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonIdentityStoreClient Configuration Object public AmazonIdentityStoreClient(AmazonIdentityStoreConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonIdentityStoreClient with AWS Credentials /// /// AWS Credentials public AmazonIdentityStoreClient(AWSCredentials credentials) : this(credentials, new AmazonIdentityStoreConfig()) { } /// /// Constructs AmazonIdentityStoreClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonIdentityStoreClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonIdentityStoreConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIdentityStoreClient with AWS Credentials and an /// AmazonIdentityStoreClient Configuration object. /// /// AWS Credentials /// The AmazonIdentityStoreClient Configuration Object public AmazonIdentityStoreClient(AWSCredentials credentials, AmazonIdentityStoreConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonIdentityStoreClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonIdentityStoreClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIdentityStoreConfig()) { } /// /// Constructs AmazonIdentityStoreClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonIdentityStoreClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIdentityStoreConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonIdentityStoreClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIdentityStoreClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonIdentityStoreClient Configuration Object public AmazonIdentityStoreClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIdentityStoreConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonIdentityStoreClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonIdentityStoreClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIdentityStoreConfig()) { } /// /// Constructs AmazonIdentityStoreClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonIdentityStoreClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIdentityStoreConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIdentityStoreClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIdentityStoreClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonIdentityStoreClient Configuration Object public AmazonIdentityStoreClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIdentityStoreConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonIdentityStoreEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateGroup /// /// Creates a group within the specified identity store. /// /// Container for the necessary parameters to execute the CreateGroup service method. /// /// The response from the CreateGroup service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// This request cannot be completed for one of the following reasons: /// ///
  • /// /// Performing the requested operation would violate an existing uniqueness claim in the /// identity store. Resolve the conflict before retrying this request. /// ///
  • /// /// The requested resource was being concurrently modified by another request. /// ///
///
/// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// The request would cause the number of users or groups in the identity store to exceed /// the maximum allowed. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for CreateGroup Operation public virtual CreateGroupResponse CreateGroup(CreateGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateGroup operation. /// /// /// Container for the necessary parameters to execute the CreateGroup operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateGroup /// operation. /// REST API Reference for CreateGroup Operation public virtual IAsyncResult BeginCreateGroup(CreateGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateGroup. /// /// Returns a CreateGroupResult from IdentityStore. /// REST API Reference for CreateGroup Operation public virtual CreateGroupResponse EndCreateGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateGroupMembership /// /// Creates a relationship between a member and a group. The following identifiers must /// be specified: GroupId, IdentityStoreId, and MemberId. /// /// Container for the necessary parameters to execute the CreateGroupMembership service method. /// /// The response from the CreateGroupMembership service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// This request cannot be completed for one of the following reasons: /// ///
  • /// /// Performing the requested operation would violate an existing uniqueness claim in the /// identity store. Resolve the conflict before retrying this request. /// ///
  • /// /// The requested resource was being concurrently modified by another request. /// ///
///
/// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// The request would cause the number of users or groups in the identity store to exceed /// the maximum allowed. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for CreateGroupMembership Operation public virtual CreateGroupMembershipResponse CreateGroupMembership(CreateGroupMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupMembershipResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateGroupMembership operation. /// /// /// Container for the necessary parameters to execute the CreateGroupMembership operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateGroupMembership /// operation. /// REST API Reference for CreateGroupMembership Operation public virtual IAsyncResult BeginCreateGroupMembership(CreateGroupMembershipRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupMembershipResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateGroupMembership operation. /// /// /// The IAsyncResult returned by the call to BeginCreateGroupMembership. /// /// Returns a CreateGroupMembershipResult from IdentityStore. /// REST API Reference for CreateGroupMembership Operation public virtual CreateGroupMembershipResponse EndCreateGroupMembership(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateUser /// /// Creates a user within the specified identity store. /// /// Container for the necessary parameters to execute the CreateUser service method. /// /// The response from the CreateUser service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// This request cannot be completed for one of the following reasons: /// ///
  • /// /// Performing the requested operation would violate an existing uniqueness claim in the /// identity store. Resolve the conflict before retrying this request. /// ///
  • /// /// The requested resource was being concurrently modified by another request. /// ///
///
/// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// The request would cause the number of users or groups in the identity store to exceed /// the maximum allowed. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for CreateUser Operation public virtual CreateUserResponse CreateUser(CreateUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateUser operation. /// /// /// Container for the necessary parameters to execute the CreateUser operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUser /// operation. /// REST API Reference for CreateUser Operation public virtual IAsyncResult BeginCreateUser(CreateUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateUser operation. /// /// /// The IAsyncResult returned by the call to BeginCreateUser. /// /// Returns a CreateUserResult from IdentityStore. /// REST API Reference for CreateUser Operation public virtual CreateUserResponse EndCreateUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteGroup /// /// Delete a group within an identity store given GroupId. /// /// Container for the necessary parameters to execute the DeleteGroup service method. /// /// The response from the DeleteGroup service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// This request cannot be completed for one of the following reasons: /// ///
  • /// /// Performing the requested operation would violate an existing uniqueness claim in the /// identity store. Resolve the conflict before retrying this request. /// ///
  • /// /// The requested resource was being concurrently modified by another request. /// ///
///
/// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for DeleteGroup Operation public virtual DeleteGroupResponse DeleteGroup(DeleteGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteGroup operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteGroup /// operation. /// REST API Reference for DeleteGroup Operation public virtual IAsyncResult BeginDeleteGroup(DeleteGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteGroup. /// /// Returns a DeleteGroupResult from IdentityStore. /// REST API Reference for DeleteGroup Operation public virtual DeleteGroupResponse EndDeleteGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteGroupMembership /// /// Delete a membership within a group given MembershipId. /// /// Container for the necessary parameters to execute the DeleteGroupMembership service method. /// /// The response from the DeleteGroupMembership service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// This request cannot be completed for one of the following reasons: /// ///
  • /// /// Performing the requested operation would violate an existing uniqueness claim in the /// identity store. Resolve the conflict before retrying this request. /// ///
  • /// /// The requested resource was being concurrently modified by another request. /// ///
///
/// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for DeleteGroupMembership Operation public virtual DeleteGroupMembershipResponse DeleteGroupMembership(DeleteGroupMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGroupMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGroupMembershipResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteGroupMembership operation. /// /// /// Container for the necessary parameters to execute the DeleteGroupMembership operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteGroupMembership /// operation. /// REST API Reference for DeleteGroupMembership Operation public virtual IAsyncResult BeginDeleteGroupMembership(DeleteGroupMembershipRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGroupMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGroupMembershipResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteGroupMembership operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteGroupMembership. /// /// Returns a DeleteGroupMembershipResult from IdentityStore. /// REST API Reference for DeleteGroupMembership Operation public virtual DeleteGroupMembershipResponse EndDeleteGroupMembership(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteUser /// /// Deletes a user within an identity store given UserId. /// /// Container for the necessary parameters to execute the DeleteUser service method. /// /// The response from the DeleteUser service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// This request cannot be completed for one of the following reasons: /// ///
  • /// /// Performing the requested operation would violate an existing uniqueness claim in the /// identity store. Resolve the conflict before retrying this request. /// ///
  • /// /// The requested resource was being concurrently modified by another request. /// ///
///
/// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for DeleteUser Operation public virtual DeleteUserResponse DeleteUser(DeleteUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteUser operation. /// /// /// Container for the necessary parameters to execute the DeleteUser operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUser /// operation. /// REST API Reference for DeleteUser Operation public virtual IAsyncResult BeginDeleteUser(DeleteUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteUser operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteUser. /// /// Returns a DeleteUserResult from IdentityStore. /// REST API Reference for DeleteUser Operation public virtual DeleteUserResponse EndDeleteUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeGroup /// /// Retrieves the group metadata and attributes from GroupId in an identity /// store. /// /// Container for the necessary parameters to execute the DescribeGroup service method. /// /// The response from the DescribeGroup service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for DescribeGroup Operation public virtual DescribeGroupResponse DescribeGroup(DescribeGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeGroup operation. /// /// /// Container for the necessary parameters to execute the DescribeGroup operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeGroup /// operation. /// REST API Reference for DescribeGroup Operation public virtual IAsyncResult BeginDescribeGroup(DescribeGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeGroup. /// /// Returns a DescribeGroupResult from IdentityStore. /// REST API Reference for DescribeGroup Operation public virtual DescribeGroupResponse EndDescribeGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeGroupMembership /// /// Retrieves membership metadata and attributes from MembershipId in an /// identity store. /// /// Container for the necessary parameters to execute the DescribeGroupMembership service method. /// /// The response from the DescribeGroupMembership service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for DescribeGroupMembership Operation public virtual DescribeGroupMembershipResponse DescribeGroupMembership(DescribeGroupMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGroupMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGroupMembershipResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeGroupMembership operation. /// /// /// Container for the necessary parameters to execute the DescribeGroupMembership operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeGroupMembership /// operation. /// REST API Reference for DescribeGroupMembership Operation public virtual IAsyncResult BeginDescribeGroupMembership(DescribeGroupMembershipRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGroupMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGroupMembershipResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeGroupMembership operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeGroupMembership. /// /// Returns a DescribeGroupMembershipResult from IdentityStore. /// REST API Reference for DescribeGroupMembership Operation public virtual DescribeGroupMembershipResponse EndDescribeGroupMembership(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeUser /// /// Retrieves the user metadata and attributes from the UserId in an identity /// store. /// /// Container for the necessary parameters to execute the DescribeUser service method. /// /// The response from the DescribeUser service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for DescribeUser Operation public virtual DescribeUserResponse DescribeUser(DescribeUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeUser operation. /// /// /// Container for the necessary parameters to execute the DescribeUser operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeUser /// operation. /// REST API Reference for DescribeUser Operation public virtual IAsyncResult BeginDescribeUser(DescribeUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeUser operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeUser. /// /// Returns a DescribeUserResult from IdentityStore. /// REST API Reference for DescribeUser Operation public virtual DescribeUserResponse EndDescribeUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetGroupId /// /// Retrieves GroupId in an identity store. /// /// Container for the necessary parameters to execute the GetGroupId service method. /// /// The response from the GetGroupId service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for GetGroupId Operation public virtual GetGroupIdResponse GetGroupId(GetGroupIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupIdRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetGroupId operation. /// /// /// Container for the necessary parameters to execute the GetGroupId operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetGroupId /// operation. /// REST API Reference for GetGroupId Operation public virtual IAsyncResult BeginGetGroupId(GetGroupIdRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupIdRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupIdResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetGroupId operation. /// /// /// The IAsyncResult returned by the call to BeginGetGroupId. /// /// Returns a GetGroupIdResult from IdentityStore. /// REST API Reference for GetGroupId Operation public virtual GetGroupIdResponse EndGetGroupId(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetGroupMembershipId /// /// Retrieves the MembershipId in an identity store. /// /// Container for the necessary parameters to execute the GetGroupMembershipId service method. /// /// The response from the GetGroupMembershipId service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for GetGroupMembershipId Operation public virtual GetGroupMembershipIdResponse GetGroupMembershipId(GetGroupMembershipIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupMembershipIdRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupMembershipIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetGroupMembershipId operation. /// /// /// Container for the necessary parameters to execute the GetGroupMembershipId operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetGroupMembershipId /// operation. /// REST API Reference for GetGroupMembershipId Operation public virtual IAsyncResult BeginGetGroupMembershipId(GetGroupMembershipIdRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupMembershipIdRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupMembershipIdResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetGroupMembershipId operation. /// /// /// The IAsyncResult returned by the call to BeginGetGroupMembershipId. /// /// Returns a GetGroupMembershipIdResult from IdentityStore. /// REST API Reference for GetGroupMembershipId Operation public virtual GetGroupMembershipIdResponse EndGetGroupMembershipId(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetUserId /// /// Retrieves the UserId in an identity store. /// /// Container for the necessary parameters to execute the GetUserId service method. /// /// The response from the GetUserId service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for GetUserId Operation public virtual GetUserIdResponse GetUserId(GetUserIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUserIdRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUserIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetUserId operation. /// /// /// Container for the necessary parameters to execute the GetUserId operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUserId /// operation. /// REST API Reference for GetUserId Operation public virtual IAsyncResult BeginGetUserId(GetUserIdRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetUserIdRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUserIdResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetUserId operation. /// /// /// The IAsyncResult returned by the call to BeginGetUserId. /// /// Returns a GetUserIdResult from IdentityStore. /// REST API Reference for GetUserId Operation public virtual GetUserIdResponse EndGetUserId(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region IsMemberInGroups /// /// Checks the user's membership in all requested groups and returns if the member exists /// in all queried groups. /// /// Container for the necessary parameters to execute the IsMemberInGroups service method. /// /// The response from the IsMemberInGroups service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for IsMemberInGroups Operation public virtual IsMemberInGroupsResponse IsMemberInGroups(IsMemberInGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = IsMemberInGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = IsMemberInGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the IsMemberInGroups operation. /// /// /// Container for the necessary parameters to execute the IsMemberInGroups operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndIsMemberInGroups /// operation. /// REST API Reference for IsMemberInGroups Operation public virtual IAsyncResult BeginIsMemberInGroups(IsMemberInGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = IsMemberInGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = IsMemberInGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the IsMemberInGroups operation. /// /// /// The IAsyncResult returned by the call to BeginIsMemberInGroups. /// /// Returns a IsMemberInGroupsResult from IdentityStore. /// REST API Reference for IsMemberInGroups Operation public virtual IsMemberInGroupsResponse EndIsMemberInGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListGroupMemberships /// /// For the specified group in the specified identity store, returns the list of all GroupMembership /// objects and returns results in paginated form. /// /// Container for the necessary parameters to execute the ListGroupMemberships service method. /// /// The response from the ListGroupMemberships service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for ListGroupMemberships Operation public virtual ListGroupMembershipsResponse ListGroupMemberships(ListGroupMembershipsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupMembershipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupMembershipsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListGroupMemberships operation. /// /// /// Container for the necessary parameters to execute the ListGroupMemberships operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGroupMemberships /// operation. /// REST API Reference for ListGroupMemberships Operation public virtual IAsyncResult BeginListGroupMemberships(ListGroupMembershipsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupMembershipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupMembershipsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListGroupMemberships operation. /// /// /// The IAsyncResult returned by the call to BeginListGroupMemberships. /// /// Returns a ListGroupMembershipsResult from IdentityStore. /// REST API Reference for ListGroupMemberships Operation public virtual ListGroupMembershipsResponse EndListGroupMemberships(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListGroupMembershipsForMember /// /// For the specified member in the specified identity store, returns the list of all /// GroupMembership objects and returns results in paginated form. /// /// Container for the necessary parameters to execute the ListGroupMembershipsForMember service method. /// /// The response from the ListGroupMembershipsForMember service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for ListGroupMembershipsForMember Operation public virtual ListGroupMembershipsForMemberResponse ListGroupMembershipsForMember(ListGroupMembershipsForMemberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupMembershipsForMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupMembershipsForMemberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListGroupMembershipsForMember operation. /// /// /// Container for the necessary parameters to execute the ListGroupMembershipsForMember operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGroupMembershipsForMember /// operation. /// REST API Reference for ListGroupMembershipsForMember Operation public virtual IAsyncResult BeginListGroupMembershipsForMember(ListGroupMembershipsForMemberRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupMembershipsForMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupMembershipsForMemberResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListGroupMembershipsForMember operation. /// /// /// The IAsyncResult returned by the call to BeginListGroupMembershipsForMember. /// /// Returns a ListGroupMembershipsForMemberResult from IdentityStore. /// REST API Reference for ListGroupMembershipsForMember Operation public virtual ListGroupMembershipsForMemberResponse EndListGroupMembershipsForMember(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListGroups /// /// Lists all groups in the identity store. Returns a paginated list of complete Group /// objects. Filtering for a Group by the DisplayName attribute /// is deprecated. Instead, use the GetGroupId API action. /// /// Container for the necessary parameters to execute the ListGroups service method. /// /// The response from the ListGroups service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for ListGroups Operation public virtual ListGroupsResponse ListGroups(ListGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListGroups operation. /// /// /// Container for the necessary parameters to execute the ListGroups operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGroups /// operation. /// REST API Reference for ListGroups Operation public virtual IAsyncResult BeginListGroups(ListGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListGroups operation. /// /// /// The IAsyncResult returned by the call to BeginListGroups. /// /// Returns a ListGroupsResult from IdentityStore. /// REST API Reference for ListGroups Operation public virtual ListGroupsResponse EndListGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListUsers /// /// Lists all users in the identity store. Returns a paginated list of complete User /// objects. Filtering for a User by the UserName attribute /// is deprecated. Instead, use the GetUserId API action. /// /// Container for the necessary parameters to execute the ListUsers service method. /// /// The response from the ListUsers service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for ListUsers Operation public virtual ListUsersResponse ListUsers(ListUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListUsers operation. /// /// /// Container for the necessary parameters to execute the ListUsers operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListUsers /// operation. /// REST API Reference for ListUsers Operation public virtual IAsyncResult BeginListUsers(ListUsersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListUsers operation. /// /// /// The IAsyncResult returned by the call to BeginListUsers. /// /// Returns a ListUsersResult from IdentityStore. /// REST API Reference for ListUsers Operation public virtual ListUsersResponse EndListUsers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateGroup /// /// For the specified group in the specified identity store, updates the group metadata /// and attributes. /// /// Container for the necessary parameters to execute the UpdateGroup service method. /// /// The response from the UpdateGroup service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// This request cannot be completed for one of the following reasons: /// ///
  • /// /// Performing the requested operation would violate an existing uniqueness claim in the /// identity store. Resolve the conflict before retrying this request. /// ///
  • /// /// The requested resource was being concurrently modified by another request. /// ///
///
/// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// The request would cause the number of users or groups in the identity store to exceed /// the maximum allowed. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for UpdateGroup Operation public virtual UpdateGroupResponse UpdateGroup(UpdateGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateGroup operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateGroup /// operation. /// REST API Reference for UpdateGroup Operation public virtual IAsyncResult BeginUpdateGroup(UpdateGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateGroup. /// /// Returns a UpdateGroupResult from IdentityStore. /// REST API Reference for UpdateGroup Operation public virtual UpdateGroupResponse EndUpdateGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateUser /// /// For the specified user in the specified identity store, updates the user metadata /// and attributes. /// /// Container for the necessary parameters to execute the UpdateUser service method. /// /// The response from the UpdateUser service method, as returned by IdentityStore. /// /// You do not have sufficient access to perform this action. /// /// /// This request cannot be completed for one of the following reasons: /// ///
  • /// /// Performing the requested operation would violate an existing uniqueness claim in the /// identity store. Resolve the conflict before retrying this request. /// ///
  • /// /// The requested resource was being concurrently modified by another request. /// ///
///
/// /// The request processing has failed because of an unknown error, exception or failure /// with an internal server. /// /// /// Indicates that a requested resource is not found. /// /// /// The request would cause the number of users or groups in the identity store to exceed /// the maximum allowed. /// /// /// Indicates that the principal has crossed the throttling limits of the API operations. /// /// /// The request failed because it contains a syntax error. /// /// REST API Reference for UpdateUser Operation public virtual UpdateUserResponse UpdateUser(UpdateUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateUser operation. /// /// /// Container for the necessary parameters to execute the UpdateUser operation on AmazonIdentityStoreClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateUser /// operation. /// REST API Reference for UpdateUser Operation public virtual IAsyncResult BeginUpdateUser(UpdateUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateUser operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateUser. /// /// Returns a UpdateUserResult from IdentityStore. /// REST API Reference for UpdateUser Operation public virtual UpdateUserResponse EndUpdateUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }