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 |
Returns current applied schema version ARN, including the minor version in use.
Synopsis
- data GetAppliedSchemaVersion = GetAppliedSchemaVersion' {}
- newGetAppliedSchemaVersion :: Text -> GetAppliedSchemaVersion
- getAppliedSchemaVersion_schemaArn :: Lens' GetAppliedSchemaVersion Text
- data GetAppliedSchemaVersionResponse = GetAppliedSchemaVersionResponse' {}
- newGetAppliedSchemaVersionResponse :: Int -> GetAppliedSchemaVersionResponse
- getAppliedSchemaVersionResponse_appliedSchemaArn :: Lens' GetAppliedSchemaVersionResponse (Maybe Text)
- getAppliedSchemaVersionResponse_httpStatus :: Lens' GetAppliedSchemaVersionResponse Int
Creating a Request
data GetAppliedSchemaVersion Source #
See: newGetAppliedSchemaVersion
smart constructor.
Instances
newGetAppliedSchemaVersion Source #
Create a value of GetAppliedSchemaVersion
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:GetAppliedSchemaVersion'
, getAppliedSchemaVersion_schemaArn
- The ARN of the applied schema.
Request Lenses
getAppliedSchemaVersion_schemaArn :: Lens' GetAppliedSchemaVersion Text Source #
The ARN of the applied schema.
Destructuring the Response
data GetAppliedSchemaVersionResponse Source #
See: newGetAppliedSchemaVersionResponse
smart constructor.
GetAppliedSchemaVersionResponse' | |
|
Instances
Eq GetAppliedSchemaVersionResponse Source # | |
Read GetAppliedSchemaVersionResponse Source # | |
Show GetAppliedSchemaVersionResponse Source # | |
Generic GetAppliedSchemaVersionResponse Source # | |
NFData GetAppliedSchemaVersionResponse Source # | |
Defined in Amazonka.CloudDirectory.GetAppliedSchemaVersion rnf :: GetAppliedSchemaVersionResponse -> () # | |
type Rep GetAppliedSchemaVersionResponse Source # | |
Defined in Amazonka.CloudDirectory.GetAppliedSchemaVersion type Rep GetAppliedSchemaVersionResponse = D1 ('MetaData "GetAppliedSchemaVersionResponse" "Amazonka.CloudDirectory.GetAppliedSchemaVersion" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "GetAppliedSchemaVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appliedSchemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetAppliedSchemaVersionResponse Source #
Create a value of GetAppliedSchemaVersionResponse
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:appliedSchemaArn:GetAppliedSchemaVersionResponse'
, getAppliedSchemaVersionResponse_appliedSchemaArn
- Current applied schema ARN, including the minor version in use if one
was provided.
$sel:httpStatus:GetAppliedSchemaVersionResponse'
, getAppliedSchemaVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getAppliedSchemaVersionResponse_appliedSchemaArn :: Lens' GetAppliedSchemaVersionResponse (Maybe Text) Source #
Current applied schema ARN, including the minor version in use if one was provided.
getAppliedSchemaVersionResponse_httpStatus :: Lens' GetAppliedSchemaVersionResponse Int Source #
The response's http status code.