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;
 }
Exemplo n.º 3
0
 internal DescribePendingMaintenanceActionsPaginator(IAmazonDocDB client, DescribePendingMaintenanceActionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemplo n.º 4
0
 internal DescribeDBSubnetGroupsPaginator(IAmazonDocDB client, DescribeDBSubnetGroupsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemplo n.º 5
0
 internal DescribeEventsPaginator(IAmazonDocDB client, DescribeEventsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal DescribeCertificatesPaginator(IAmazonDocDB client, DescribeCertificatesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemplo n.º 7
0
 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;
 }
Exemplo n.º 10
0
 internal DescribeDBClusterSnapshotsPaginator(IAmazonDocDB client, DescribeDBClusterSnapshotsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemplo n.º 11
0
 internal DescribeDBInstancesPaginator(IAmazonDocDB client, DescribeDBInstancesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }