// Creates a snapshot of a cluster.
Creates a snapshot of a cluster.
// Creates a snapshot of a cluster .
func (c *Client) CreateDBClusterSnapshot(ctx context.Context, params *CreateDBClusterSnapshotInput, optFns ...func(*Options)) (*CreateDBClusterSnapshotOutput, error) {
	if params == nil {
		params = &CreateDBClusterSnapshotInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateDBClusterSnapshot", params, optFns, addOperationCreateDBClusterSnapshotMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateDBClusterSnapshotOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateDBClusterSnapshot ( ctx context . Context , params * CreateDBClusterSnapshotInput , optFns ... func ( * Options ) ) ( * CreateDBClusterSnapshotOutput , error ) { if params == nil { params = & CreateDBClusterSnapshotInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateDBClusterSnapshotMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateDBClusterSnapshotOutput ) out . ResultMetadata = metadata return out , nil }
Creates a snapshot of a cluster.
Creates a snapshot of a cluster .