libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudDirectory.UpgradePublishedSchema

Description

Upgrades a published schema under a new minor version revision using the current contents of DevelopmentSchemaArn.

Synopsis

Creating a Request

data UpgradePublishedSchema Source #

See: newUpgradePublishedSchema smart constructor.

Constructors

UpgradePublishedSchema' 

Fields

  • dryRun :: Maybe Bool

    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.

  • developmentSchemaArn :: Text

    The ARN of the development schema with the changes used for the upgrade.

  • publishedSchemaArn :: Text

    The ARN of the published schema to be upgraded.

  • minorVersion :: Text

    Identifies the minor version of the published schema that will be created. This parameter is NOT optional.

Instances

Instances details
Eq UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Read UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Show UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Generic UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Associated Types

type Rep UpgradePublishedSchema :: Type -> Type #

NFData UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Methods

rnf :: UpgradePublishedSchema -> () #

Hashable UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

ToJSON UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

AWSRequest UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Associated Types

type AWSResponse UpgradePublishedSchema #

ToHeaders UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

ToPath UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

ToQuery UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

type Rep UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

type Rep UpgradePublishedSchema = D1 ('MetaData "UpgradePublishedSchema" "Amazonka.CloudDirectory.UpgradePublishedSchema" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "UpgradePublishedSchema'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "developmentSchemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "publishedSchemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "minorVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpgradePublishedSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

newUpgradePublishedSchema Source #

Create a value of UpgradePublishedSchema 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:dryRun:UpgradePublishedSchema', upgradePublishedSchema_dryRun - 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.

$sel:developmentSchemaArn:UpgradePublishedSchema', upgradePublishedSchema_developmentSchemaArn - The ARN of the development schema with the changes used for the upgrade.

$sel:publishedSchemaArn:UpgradePublishedSchema', upgradePublishedSchema_publishedSchemaArn - The ARN of the published schema to be upgraded.

$sel:minorVersion:UpgradePublishedSchema', upgradePublishedSchema_minorVersion - Identifies the minor version of the published schema that will be created. This parameter is NOT optional.

Request Lenses

upgradePublishedSchema_dryRun :: 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.

upgradePublishedSchema_developmentSchemaArn :: Lens' UpgradePublishedSchema Text Source #

The ARN of the development schema with the changes used for the upgrade.

upgradePublishedSchema_publishedSchemaArn :: Lens' UpgradePublishedSchema Text Source #

The ARN of the published schema to be upgraded.

upgradePublishedSchema_minorVersion :: Lens' UpgradePublishedSchema Text Source #

Identifies the minor version of the published schema that will be created. This parameter is NOT optional.

Destructuring the Response

data UpgradePublishedSchemaResponse Source #

See: newUpgradePublishedSchemaResponse smart constructor.

Constructors

UpgradePublishedSchemaResponse' 

Fields

Instances

Instances details
Eq UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Read UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Show UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Generic UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

Associated Types

type Rep UpgradePublishedSchemaResponse :: Type -> Type #

NFData UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

type Rep UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpgradePublishedSchema

type Rep UpgradePublishedSchemaResponse = D1 ('MetaData "UpgradePublishedSchemaResponse" "Amazonka.CloudDirectory.UpgradePublishedSchema" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "UpgradePublishedSchemaResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "upgradedSchemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpgradePublishedSchemaResponse Source #

Create a value of UpgradePublishedSchemaResponse 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:upgradedSchemaArn:UpgradePublishedSchemaResponse', upgradePublishedSchemaResponse_upgradedSchemaArn - The ARN of the upgraded schema that is returned as part of the response.

$sel:httpStatus:UpgradePublishedSchemaResponse', upgradePublishedSchemaResponse_httpStatus - The response's http status code.

Response Lenses

upgradePublishedSchemaResponse_upgradedSchemaArn :: Lens' UpgradePublishedSchemaResponse (Maybe Text) Source #

The ARN of the upgraded schema that is returned as part of the response.