Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the schema name with a new name. Only development schema names can be updated.
Synopsis
- data UpdateSchema = UpdateSchema' {}
- newUpdateSchema :: Text -> Text -> UpdateSchema
- updateSchema_schemaArn :: Lens' UpdateSchema Text
- updateSchema_name :: Lens' UpdateSchema Text
- data UpdateSchemaResponse = UpdateSchemaResponse' {
- schemaArn :: Maybe Text
- httpStatus :: Int
- newUpdateSchemaResponse :: Int -> UpdateSchemaResponse
- updateSchemaResponse_schemaArn :: Lens' UpdateSchemaResponse (Maybe Text)
- updateSchemaResponse_httpStatus :: Lens' UpdateSchemaResponse Int
Creating a Request
data UpdateSchema Source #
See: newUpdateSchema
smart constructor.
Instances
Create a value of UpdateSchema
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:schemaArn:UpdateSchema'
, updateSchema_schemaArn
- The Amazon Resource Name (ARN) of the development schema. For more
information, see arns.
$sel:name:UpdateSchema'
, updateSchema_name
- The name of the schema.
Request Lenses
updateSchema_schemaArn :: Lens' UpdateSchema Text Source #
The Amazon Resource Name (ARN) of the development schema. For more information, see arns.
updateSchema_name :: Lens' UpdateSchema Text Source #
The name of the schema.
Destructuring the Response
data UpdateSchemaResponse Source #
See: newUpdateSchemaResponse
smart constructor.
UpdateSchemaResponse' | |
|
Instances
newUpdateSchemaResponse Source #
Create a value of UpdateSchemaResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:schemaArn:UpdateSchema'
, updateSchemaResponse_schemaArn
- The ARN that is associated with the updated schema. For more
information, see arns.
$sel:httpStatus:UpdateSchemaResponse'
, updateSchemaResponse_httpStatus
- The response's http status code.
Response Lenses
updateSchemaResponse_schemaArn :: Lens' UpdateSchemaResponse (Maybe Text) Source #
The ARN that is associated with the updated schema. For more information, see arns.
updateSchemaResponse_httpStatus :: Lens' UpdateSchemaResponse Int Source #
The response's http status code.