private Amazon.DocDB.Model.DeleteDBClusterResponse CallAWSServiceOperation(IAmazonDocDB client, Amazon.DocDB.Model.DeleteDBClusterRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon DocumentDB (with MongoDB compatibility)", "DeleteDBCluster"); try { #if DESKTOP return(client.DeleteDBCluster(request)); #elif CORECLR return(client.DeleteDBClusterAsync(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 DescribeOrderableDBInstanceOptionsPaginator(IAmazonDocDB client, DescribeOrderableDBInstanceOptionsRequest request) { this._client = client; this._request = request; }
internal DescribePendingMaintenanceActionsPaginator(IAmazonDocDB client, DescribePendingMaintenanceActionsRequest request) { this._client = client; this._request = request; }
internal DescribeDBSubnetGroupsPaginator(IAmazonDocDB client, DescribeDBSubnetGroupsRequest request) { this._client = client; this._request = request; }
internal DescribeEventsPaginator(IAmazonDocDB client, DescribeEventsRequest request) { this._client = client; this._request = request; }
internal DescribeCertificatesPaginator(IAmazonDocDB client, DescribeCertificatesRequest request) { this._client = client; this._request = request; }
internal DescribeDBClusterParametersPaginator(IAmazonDocDB client, DescribeDBClusterParametersRequest request) { this._client = client; this._request = request; }
internal DescribeDBEngineVersionsPaginator(IAmazonDocDB client, DescribeDBEngineVersionsRequest request) { this._client = client; this._request = request; }
internal DocDBPaginatorFactory(IAmazonDocDB client) { this.client = client; }
internal DescribeDBClusterSnapshotsPaginator(IAmazonDocDB client, DescribeDBClusterSnapshotsRequest request) { this._client = client; this._request = request; }
internal DescribeDBInstancesPaginator(IAmazonDocDB client, DescribeDBInstancesRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }