public void NeptuneCreateDBSubnetGroup()
        {
            #region create-db-subnet-group-c3d162c2-0ec4-4955-ba89-18967615fdb8

            var response = client.CreateDBSubnetGroup(new CreateDBSubnetGroupRequest
            {
                DBSubnetGroupDescription = "My DB subnet group",
                DBSubnetGroupName        = "mydbsubnetgroup",
                SubnetIds = new List <string> {
                    "subnet-1fab8a69",
                    "subnet-d43a468c"
                }
            });

            DBSubnetGroup dbSubnetGroup = response.DBSubnetGroup;

            #endregion
        }
 private Amazon.Neptune.Model.CreateDBSubnetGroupResponse CallAWSServiceOperation(IAmazonNeptune client, Amazon.Neptune.Model.CreateDBSubnetGroupRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Neptune", "CreateDBSubnetGroup");
     try
     {
         #if DESKTOP
         return(client.CreateDBSubnetGroup(request));
         #elif CORECLR
         return(client.CreateDBSubnetGroupAsync(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;
     }
 }