private Amazon.Drs.Model.UntagResourceResponse CallAWSServiceOperation(IAmazonDrs client, Amazon.Drs.Model.UntagResourceRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Elastic Disaster Recovery Service", "UntagResource"); try { #if DESKTOP return(client.UntagResource(request)); #elif CORECLR return(client.UntagResourceAsync(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; } }
internal DescribeReplicationConfigurationTemplatesPaginator(IAmazonDrs client, DescribeReplicationConfigurationTemplatesRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }
internal DescribeRecoveryInstancesPaginator(IAmazonDrs client, DescribeRecoveryInstancesRequest request) { this._client = client; this._request = request; }
internal DescribeRecoverySnapshotsPaginator(IAmazonDrs client, DescribeRecoverySnapshotsRequest request) { this._client = client; this._request = request; }
internal DescribeSourceServersPaginator(IAmazonDrs client, DescribeSourceServersRequest request) { this._client = client; this._request = request; }
internal DescribeJobLogItemsPaginator(IAmazonDrs client, DescribeJobLogItemsRequest request) { this._client = client; this._request = request; }
internal DrsPaginatorFactory(IAmazonDrs client) { this.client = client; }