Ejemplo n.º 1
0
 private Amazon.Neptune.Model.CreateDBClusterResponse CallAWSServiceOperation(IAmazonNeptune client, Amazon.Neptune.Model.CreateDBClusterRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Neptune", "CreateDBCluster");
     try
     {
         #if DESKTOP
         return(client.CreateDBCluster(request));
         #elif CORECLR
         return(client.CreateDBClusterAsync(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 DescribeDBParametersPaginator(IAmazonNeptune client, DescribeDBParametersRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 3
0
 internal DescribePendingMaintenanceActionsPaginator(IAmazonNeptune client, DescribePendingMaintenanceActionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 4
0
 public SmokeTest()
 {
     neptuneServiceClient = new AmazonNeptuneClient(Amazon.RegionEndpoint.USEast1);
 }
Ejemplo n.º 5
0
 internal DescribeDBEngineVersionsPaginator(IAmazonNeptune client, DescribeDBEngineVersionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal DescribeOrderableDBInstanceOptionsPaginator(IAmazonNeptune client, DescribeOrderableDBInstanceOptionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal DescribeEventsPaginator(IAmazonNeptune client, DescribeEventsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
Ejemplo n.º 9
0
 internal NeptunePaginatorFactory(IAmazonNeptune client)
 {
     this.client = client;
 }
 internal DescribeDBSubnetGroupsPaginator(IAmazonNeptune client, DescribeDBSubnetGroupsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 11
0
 internal DescribeDBInstancesPaginator(IAmazonNeptune client, DescribeDBInstancesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 12
0
 internal DescribeDBClusterSnapshotsPaginator(IAmazonNeptune client, DescribeDBClusterSnapshotsRequest request)
 {
     this._client  = client;
     this._request = request;
 }