public void NeptuneCreateDBClusterParameterGroup()
        {
            #region create-db-cluster-parameter-group-8eb1c3ae-1965-4262-afe3-ee134c4430b1

            var response = client.CreateDBClusterParameterGroup(new CreateDBClusterParameterGroupRequest
            {
                DBClusterParameterGroupName = "mydbclusterparametergroup",
                DBParameterGroupFamily      = "aurora5.6",
                Description = "My DB cluster parameter group"
            });

            DBClusterParameterGroup dbClusterParameterGroup = response.DBClusterParameterGroup;

            #endregion
        }
Beispiel #2
0
 private Amazon.Neptune.Model.CreateDBClusterParameterGroupResponse CallAWSServiceOperation(IAmazonNeptune client, Amazon.Neptune.Model.CreateDBClusterParameterGroupRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Neptune", "CreateDBClusterParameterGroup");
     try
     {
         #if DESKTOP
         return(client.CreateDBClusterParameterGroup(request));
         #elif CORECLR
         return(client.CreateDBClusterParameterGroupAsync(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;
     }
 }