Copyright | (c) 2013-2018 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 |
Upgrades a published schema under a new minor version revision using the current contents of DevelopmentSchemaArn
.
- upgradePublishedSchema :: Text -> Text -> Text -> UpgradePublishedSchema
- data UpgradePublishedSchema
- upsDryRun :: Lens' UpgradePublishedSchema (Maybe Bool)
- upsDevelopmentSchemaARN :: Lens' UpgradePublishedSchema Text
- upsPublishedSchemaARN :: Lens' UpgradePublishedSchema Text
- upsMinorVersion :: Lens' UpgradePublishedSchema Text
- upgradePublishedSchemaResponse :: Int -> UpgradePublishedSchemaResponse
- data UpgradePublishedSchemaResponse
- upsrsUpgradedSchemaARN :: Lens' UpgradePublishedSchemaResponse (Maybe Text)
- upsrsResponseStatus :: Lens' UpgradePublishedSchemaResponse Int
Creating a Request
upgradePublishedSchema Source #
:: Text | |
-> Text | |
-> Text | |
-> UpgradePublishedSchema |
Creates a value of UpgradePublishedSchema
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upsDryRun
- Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.upsDevelopmentSchemaARN
- The ARN of the development schema with the changes used for the upgrade.upsPublishedSchemaARN
- The ARN of the published schema to be upgraded.upsMinorVersion
- Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
data UpgradePublishedSchema Source #
See: upgradePublishedSchema
smart constructor.
Request Lenses
upsDryRun :: Lens' UpgradePublishedSchema (Maybe Bool) Source #
Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
upsDevelopmentSchemaARN :: Lens' UpgradePublishedSchema Text Source #
The ARN of the development schema with the changes used for the upgrade.
upsPublishedSchemaARN :: Lens' UpgradePublishedSchema Text Source #
The ARN of the published schema to be upgraded.
upsMinorVersion :: Lens' UpgradePublishedSchema Text Source #
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
Destructuring the Response
upgradePublishedSchemaResponse Source #
Creates a value of UpgradePublishedSchemaResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upsrsUpgradedSchemaARN
- The ARN of the upgraded schema that is returned as part of the response.upsrsResponseStatus
- -- | The response status code.
data UpgradePublishedSchemaResponse Source #
See: upgradePublishedSchemaResponse
smart constructor.
Response Lenses
upsrsUpgradedSchemaARN :: Lens' UpgradePublishedSchemaResponse (Maybe Text) Source #
The ARN of the upgraded schema that is returned as part of the response.
upsrsResponseStatus :: Lens' UpgradePublishedSchemaResponse Int Source #
- - | The response status code.