Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Updates the schema name with a new name. Only development schema names can be updated.
- updateSchema :: Text -> Text -> UpdateSchema
- data UpdateSchema
- usSchemaARN :: Lens' UpdateSchema Text
- usName :: Lens' UpdateSchema Text
- updateSchemaResponse :: Int -> UpdateSchemaResponse
- data UpdateSchemaResponse
- usrsSchemaARN :: Lens' UpdateSchemaResponse (Maybe Text)
- usrsResponseStatus :: Lens' UpdateSchemaResponse Int
Creating a Request
Creates a value of UpdateSchema
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usSchemaARN
- The Amazon Resource Name (ARN) of the development schema. For more information, seearns
.usName
- The name of the schema.
data UpdateSchema Source #
See: updateSchema
smart constructor.
Request Lenses
usSchemaARN :: Lens' UpdateSchema Text Source #
The Amazon Resource Name (ARN) of the development schema. For more information, see arns
.
Destructuring the Response
Creates a value of UpdateSchemaResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usrsSchemaARN
- The ARN that is associated with the updated schema. For more information, seearns
.usrsResponseStatus
- -- | The response status code.
data UpdateSchemaResponse Source #
See: updateSchemaResponse
smart constructor.
Response Lenses
usrsSchemaARN :: Lens' UpdateSchemaResponse (Maybe Text) Source #
The ARN that is associated with the updated schema. For more information, see arns
.
usrsResponseStatus :: Lens' UpdateSchemaResponse Int Source #
- - | The response status code.