// Copies the input published schema, at the specified version, into the Directory
// with the same name and version as that of the published schema.
Copies the input published schema, at the specified version, into the Directory
with the same name and version as that of the published schema.
// Copies the input published schema at the specified version into the Directory // with the same name and version as that of the published schema .
func (c *Client) ApplySchema(ctx context.Context, params *ApplySchemaInput, optFns ...func(*Options)) (*ApplySchemaOutput, error) {
	if params == nil {
		params = &ApplySchemaInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ApplySchema", params, optFns, addOperationApplySchemaMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ApplySchemaOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ApplySchema ( ctx context . Context , params * ApplySchemaInput , optFns ... func ( * Options ) ) ( * ApplySchemaOutput , error ) { if params == nil { params = & ApplySchemaInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationApplySchemaMiddlewares ) if err != nil { return nil , err } out := result . ( * ApplySchemaOutput ) out . ResultMetadata = metadata return out , nil }
Copies the input published schema, at the specified version, into the Directory
with the same name and version as that of the published schema.
Copies the input published schema at the specified version into the Directory with the same name and version as that of the published schema .