// Deletes a deployment group.
Deletes a deployment group.
// Deletes a deployment group .
func (c *Client) DeleteDeploymentGroup(ctx context.Context, params *DeleteDeploymentGroupInput, optFns ...func(*Options)) (*DeleteDeploymentGroupOutput, error) {
	if params == nil {
		params = &DeleteDeploymentGroupInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteDeploymentGroup", params, optFns, addOperationDeleteDeploymentGroupMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteDeploymentGroupOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteDeploymentGroup ( ctx context . Context , params * DeleteDeploymentGroupInput , optFns ... func ( * Options ) ) ( * DeleteDeploymentGroupOutput , error ) { if params == nil { params = & DeleteDeploymentGroupInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteDeploymentGroupMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteDeploymentGroupOutput ) out . ResultMetadata = metadata return out , nil }
Deletes a deployment group.
Deletes a deployment group .