public void NeptuneCopyDBClusterParameterGroup() { #region copy-db-cluster-parameter-group-6fefaffe-cde9-4dba-9f0b-d3f593572fe4 var response = client.CopyDBClusterParameterGroup(new CopyDBClusterParameterGroupRequest { SourceDBClusterParameterGroupIdentifier = "mydbclusterparametergroup", TargetDBClusterParameterGroupDescription = "My DB cluster parameter group copy", TargetDBClusterParameterGroupIdentifier = "mydbclusterparametergroup-copy" }); DBClusterParameterGroup dbClusterParameterGroup = response.DBClusterParameterGroup; #endregion }
private Amazon.Neptune.Model.CopyDBClusterParameterGroupResponse CallAWSServiceOperation(IAmazonNeptune client, Amazon.Neptune.Model.CopyDBClusterParameterGroupRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Neptune", "CopyDBClusterParameterGroup"); try { #if DESKTOP return(client.CopyDBClusterParameterGroup(request)); #elif CORECLR return(client.CopyDBClusterParameterGroupAsync(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; } }