// Creates a schema definition. Inactive schemas will be deleted after two years.
Creates a schema definition. Inactive schemas will be deleted after two years.
// Creates a schema definition . Inactive schemas will be deleted after two years .
func (c *Client) CreateSchema(ctx context.Context, params *CreateSchemaInput, optFns ...func(*Options)) (*CreateSchemaOutput, error) {
	if params == nil {
		params = &CreateSchemaInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateSchema", params, optFns, addOperationCreateSchemaMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateSchemaOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateSchema ( ctx context . Context , params * CreateSchemaInput , optFns ... func ( * Options ) ) ( * CreateSchemaOutput , error ) { if params == nil { params = & CreateSchemaInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateSchemaMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateSchemaOutput ) out . ResultMetadata = metadata return out , nil }
Creates a schema definition.
Creates a schema definition .