private Amazon.Backup.Model.ListCopyJobsResponse CallAWSServiceOperation(IAmazonBackup client, Amazon.Backup.Model.ListCopyJobsRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Backup", "ListCopyJobs"); try { #if DESKTOP return(client.ListCopyJobs(request)); #elif CORECLR return(client.ListCopyJobsAsync(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 ListBackupPlansPaginator(IAmazonBackup client, ListBackupPlansRequest request) { this._client = client; this._request = request; }
internal ListProtectedResourcesPaginator(IAmazonBackup client, ListProtectedResourcesRequest request) { this._client = client; this._request = request; }
internal ListRestoreJobsPaginator(IAmazonBackup client, ListRestoreJobsRequest request) { this._client = client; this._request = request; }
internal ListRecoveryPointsByResourcePaginator(IAmazonBackup client, ListRecoveryPointsByResourceRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }
internal ListRecoveryPointsByBackupVaultPaginator(IAmazonBackup client, ListRecoveryPointsByBackupVaultRequest request) { this._client = client; this._request = request; }
internal BackupPaginatorFactory(IAmazonBackup client) { this.client = client; }
internal ListFrameworksPaginator(IAmazonBackup client, ListFrameworksRequest request) { this._client = client; this._request = request; }