Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data ApplySchema = ApplySchema' {}
- newApplySchema :: Text -> Text -> ApplySchema
- applySchema_publishedSchemaArn :: Lens' ApplySchema Text
- applySchema_directoryArn :: Lens' ApplySchema Text
- data ApplySchemaResponse = ApplySchemaResponse' {}
- newApplySchemaResponse :: Int -> ApplySchemaResponse
- applySchemaResponse_directoryArn :: Lens' ApplySchemaResponse (Maybe Text)
- applySchemaResponse_appliedSchemaArn :: Lens' ApplySchemaResponse (Maybe Text)
- applySchemaResponse_httpStatus :: Lens' ApplySchemaResponse Int
Creating a Request
data ApplySchema Source #
See: newApplySchema
smart constructor.
ApplySchema' | |
|
Instances
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.
ApplySchemaResponse' | |
|
Instances
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.
applySchemaResponse_httpStatus :: Lens' ApplySchemaResponse Int Source #
The response's http status code.