public void NeptuneCreateDBParameterGroup()
        {
            #region create-db-parameter-group-42afcc37-12e9-4b6a-a55c-b8a141246e87

            var response = client.CreateDBParameterGroup(new CreateDBParameterGroupRequest
            {
                DBParameterGroupFamily = "mysql5.6",
                DBParameterGroupName   = "mymysqlparametergroup",
                Description            = "My MySQL parameter group"
            });

            DBParameterGroup dbParameterGroup = response.DBParameterGroup;

            #endregion
        }
Ejemplo n.º 2
0
 private Amazon.Neptune.Model.CreateDBParameterGroupResponse CallAWSServiceOperation(IAmazonNeptune client, Amazon.Neptune.Model.CreateDBParameterGroupRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Neptune", "CreateDBParameterGroup");
     try
     {
         #if DESKTOP
         return(client.CreateDBParameterGroup(request));
         #elif CORECLR
         return(client.CreateDBParameterGroupAsync(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;
     }
 }