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

Description

Updates the schema name with a new name. Only development schema names can be updated.

Synopsis

Creating a Request

data UpdateSchema Source #

See: newUpdateSchema smart constructor.

Constructors

UpdateSchema' 

Fields

  • schemaArn :: Text

    The Amazon Resource Name (ARN) of the development schema. For more information, see arns.

  • name :: Text

    The name of the schema.

Instances

Instances details
Eq UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Read UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Show UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Generic UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Associated Types

type Rep UpdateSchema :: Type -> Type #

NFData UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Methods

rnf :: UpdateSchema -> () #

Hashable UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

ToJSON UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

AWSRequest UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Associated Types

type AWSResponse UpdateSchema #

ToHeaders UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

ToPath UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

ToQuery UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

type Rep UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

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

Defined in Amazonka.CloudDirectory.UpdateSchema

newUpdateSchema Source #

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.

Constructors

UpdateSchemaResponse' 

Fields

  • schemaArn :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Read UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Show UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Generic UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Associated Types

type Rep UpdateSchemaResponse :: Type -> Type #

NFData UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Methods

rnf :: UpdateSchemaResponse -> () #

type Rep UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

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

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.