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

Description

Copies the input published schema, at the specified version, into the Directory with the same name and version as that of the published schema.

Synopsis

Creating a Request

data ApplySchema Source #

See: newApplySchema smart constructor.

Constructors

ApplySchema' 

Fields

  • publishedSchemaArn :: Text

    Published schema Amazon Resource Name (ARN) that needs to be copied. For more information, see arns.

  • directoryArn :: Text

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

Instances

Instances details
Eq ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Read ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Show ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Generic ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Associated Types

type Rep ApplySchema :: Type -> Type #

NFData ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Methods

rnf :: ApplySchema -> () #

Hashable ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

ToJSON ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

AWSRequest ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Associated Types

type AWSResponse ApplySchema #

ToHeaders ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Methods

toHeaders :: ApplySchema -> [Header] #

ToPath ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

ToQuery ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

type Rep ApplySchema Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

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

Defined in Amazonka.CloudDirectory.ApplySchema

newApplySchema Source #

Create a value of ApplySchema 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:ApplySchema', applySchema_publishedSchemaArn - Published schema Amazon Resource Name (ARN) that needs to be copied. For more information, see arns.

$sel:directoryArn:ApplySchema', applySchema_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory into which the schema is copied. For more information, see arns.

Request Lenses

applySchema_publishedSchemaArn :: Lens' ApplySchema Text Source #

Published schema Amazon Resource Name (ARN) that needs to be copied. For more information, see arns.

applySchema_directoryArn :: Lens' ApplySchema Text Source #

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

Destructuring the Response

data ApplySchemaResponse Source #

See: newApplySchemaResponse smart constructor.

Constructors

ApplySchemaResponse' 

Fields

  • directoryArn :: Maybe Text

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

  • appliedSchemaArn :: Maybe Text

    The applied schema ARN that is associated with the copied schema in the Directory. You can use this ARN to describe the schema information applied on this directory. For more information, see arns.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ApplySchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Read ApplySchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Show ApplySchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Generic ApplySchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Associated Types

type Rep ApplySchemaResponse :: Type -> Type #

NFData ApplySchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

Methods

rnf :: ApplySchemaResponse -> () #

type Rep ApplySchemaResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ApplySchema

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

newApplySchemaResponse Source #

Create a value of ApplySchemaResponse 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:directoryArn:ApplySchema', applySchemaResponse_directoryArn - The ARN that is associated with the Directory. For more information, see arns.

$sel:appliedSchemaArn:ApplySchemaResponse', applySchemaResponse_appliedSchemaArn - The applied schema ARN that is associated with the copied schema in the Directory. You can use this ARN to describe the schema information applied on this directory. For more information, see arns.

$sel:httpStatus:ApplySchemaResponse', applySchemaResponse_httpStatus - The response's http status code.

Response Lenses

applySchemaResponse_directoryArn :: Lens' ApplySchemaResponse (Maybe Text) Source #

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

applySchemaResponse_appliedSchemaArn :: Lens' ApplySchemaResponse (Maybe Text) Source #

The applied schema ARN that is associated with the copied schema in the Directory. You can use this ARN to describe the schema information applied on this directory. For more information, see arns.