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

Description

Deletes a given schema. Schemas in a development and published state can only be deleted.

Synopsis

Creating a Request

data DeleteSchema Source #

See: newDeleteSchema smart constructor.

Constructors

DeleteSchema' 

Fields

  • schemaArn :: Text

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

Instances

Instances details
ToJSON DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

ToHeaders DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

ToPath DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

ToQuery DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

AWSRequest DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

Associated Types

type AWSResponse DeleteSchema #

Generic DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

Associated Types

type Rep DeleteSchema :: Type -> Type #

Read DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

Show DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

NFData DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

Methods

rnf :: DeleteSchema -> () #

Eq DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

Hashable DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

type AWSResponse DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

type Rep DeleteSchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

type Rep DeleteSchema = D1 ('MetaData "DeleteSchema" "Amazonka.CloudDirectory.DeleteSchema" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "DeleteSchema'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteSchema Source #

Create a value of DeleteSchema 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:

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

Request Lenses

deleteSchema_schemaArn :: Lens' DeleteSchema Text Source #

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

Destructuring the Response

data DeleteSchemaResponse Source #

See: newDeleteSchemaResponse smart constructor.

Constructors

DeleteSchemaResponse' 

Fields

  • schemaArn :: Maybe Text

    The input ARN that is returned as part of the response. For more information, see arns.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

Associated Types

type Rep DeleteSchemaResponse :: Type -> Type #

Read DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

Show DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

NFData DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

Methods

rnf :: DeleteSchemaResponse -> () #

Eq DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

type Rep DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteSchema

type Rep DeleteSchemaResponse = D1 ('MetaData "DeleteSchemaResponse" "Amazonka.CloudDirectory.DeleteSchema" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "DeleteSchemaResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteSchemaResponse Source #

Create a value of DeleteSchemaResponse 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:

DeleteSchema, deleteSchemaResponse_schemaArn - The input ARN that is returned as part of the response. For more information, see arns.

$sel:httpStatus:DeleteSchemaResponse', deleteSchemaResponse_httpStatus - The response's http status code.

Response Lenses

deleteSchemaResponse_schemaArn :: Lens' DeleteSchemaResponse (Maybe Text) Source #

The input ARN that is returned as part of the response. For more information, see arns.