public void RedshiftCreateClusterParameterGroup() { #region to-create-a-cluster-snapshot-1481844657333 var response = client.CreateClusterParameterGroup(new CreateClusterParameterGroupRequest { Description = "My first cluster parameter group", ParameterGroupFamily = "redshift-1.0", ParameterGroupName = "myclusterparametergroup" }); #endregion }
private Amazon.Redshift.Model.CreateClusterParameterGroupResponse CallAWSServiceOperation(IAmazonRedshift client, Amazon.Redshift.Model.CreateClusterParameterGroupRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Redshift", "CreateClusterParameterGroup"); try { #if DESKTOP return(client.CreateClusterParameterGroup(request)); #elif CORECLR return(client.CreateClusterParameterGroupAsync(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; } }