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.PublishSchema

Description

Publishes a development schema with a major version and a recommended minor version.

Synopsis

Creating a Request

data PublishSchema Source #

See: newPublishSchema smart constructor.

Constructors

PublishSchema' 

Fields

  • minorVersion :: Maybe Text

    The minor version under which the schema will be published. This parameter is recommended. Schemas have both a major and minor version associated with them.

  • name :: Maybe Text

    The new name under which the schema will be published. If this is not provided, the development schema is considered.

  • developmentSchemaArn :: Text

    The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns.

  • version :: Text

    The major version under which the schema will be published. Schemas have both a major and minor version associated with them.

Instances

Instances details
Eq PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Read PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Show PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Generic PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Associated Types

type Rep PublishSchema :: Type -> Type #

NFData PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Methods

rnf :: PublishSchema -> () #

Hashable PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

ToJSON PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

AWSRequest PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Associated Types

type AWSResponse PublishSchema #

ToHeaders PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

ToPath PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

ToQuery PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

type Rep PublishSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

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

Defined in Amazonka.CloudDirectory.PublishSchema

newPublishSchema Source #

Create a value of PublishSchema 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:minorVersion:PublishSchema', publishSchema_minorVersion - The minor version under which the schema will be published. This parameter is recommended. Schemas have both a major and minor version associated with them.

$sel:name:PublishSchema', publishSchema_name - The new name under which the schema will be published. If this is not provided, the development schema is considered.

$sel:developmentSchemaArn:PublishSchema', publishSchema_developmentSchemaArn - The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns.

$sel:version:PublishSchema', publishSchema_version - The major version under which the schema will be published. Schemas have both a major and minor version associated with them.

Request Lenses

publishSchema_minorVersion :: Lens' PublishSchema (Maybe Text) Source #

The minor version under which the schema will be published. This parameter is recommended. Schemas have both a major and minor version associated with them.

publishSchema_name :: Lens' PublishSchema (Maybe Text) Source #

The new name under which the schema will be published. If this is not provided, the development schema is considered.

publishSchema_developmentSchemaArn :: Lens' PublishSchema Text Source #

The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns.

publishSchema_version :: Lens' PublishSchema Text Source #

The major version under which the schema will be published. Schemas have both a major and minor version associated with them.

Destructuring the Response

data PublishSchemaResponse Source #

See: newPublishSchemaResponse smart constructor.

Constructors

PublishSchemaResponse' 

Fields

Instances

Instances details
Eq PublishSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Read PublishSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Show PublishSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Generic PublishSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Associated Types

type Rep PublishSchemaResponse :: Type -> Type #

NFData PublishSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

Methods

rnf :: PublishSchemaResponse -> () #

type Rep PublishSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PublishSchema

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

newPublishSchemaResponse Source #

Create a value of PublishSchemaResponse 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:publishedSchemaArn:PublishSchemaResponse', publishSchemaResponse_publishedSchemaArn - The ARN that is associated with the published schema. For more information, see arns.

$sel:httpStatus:PublishSchemaResponse', publishSchemaResponse_httpStatus - The response's http status code.

Response Lenses

publishSchemaResponse_publishedSchemaArn :: Lens' PublishSchemaResponse (Maybe Text) Source #

The ARN that is associated with the published schema. For more information, see arns.