amazonka-clouddirectory-2.0: Amazon CloudDirectory SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.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

AWSRequest UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Associated Types

type AWSResponse UpdateSchema #

Generic UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Associated Types

type Rep UpdateSchema :: Type -> Type #

Read UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Show UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

NFData UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Methods

rnf :: UpdateSchema -> () #

Eq UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Hashable UpdateSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

type AWSResponse 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" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "UpdateSchema'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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

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
Generic UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Associated Types

type Rep UpdateSchemaResponse :: Type -> Type #

Read UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Show UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

NFData UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

Methods

rnf :: UpdateSchemaResponse -> () #

Eq UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

type Rep UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.UpdateSchema

type Rep UpdateSchemaResponse = D1 ('MetaData "UpdateSchemaResponse" "Amazonka.CloudDirectory.UpdateSchema" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" '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:

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.