private Amazon.ChimeSDKIdentity.Model.CreateAppInstanceResponse CallAWSServiceOperation(IAmazonChimeSDKIdentity client, Amazon.ChimeSDKIdentity.Model.CreateAppInstanceRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Chime SDK Identity", "CreateAppInstance");
     try
     {
         #if DESKTOP
         return(client.CreateAppInstance(request));
         #elif CORECLR
         return(client.CreateAppInstanceAsync(request).GetAwaiter().GetResult());
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }
Exemplo n.º 2
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
Exemplo n.º 3
0
 internal ListAppInstanceUsersPaginator(IAmazonChimeSDKIdentity client, ListAppInstanceUsersRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemplo n.º 4
0
 internal ChimeSDKIdentityPaginatorFactory(IAmazonChimeSDKIdentity client)
 {
     this.client = client;
 }