| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudDirectory.GetAppliedSchemaVersion
Description
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.
Constructors
| GetAppliedSchemaVersion' | |
Instances
newGetAppliedSchemaVersion Source #
Arguments
| :: Text | |
| -> GetAppliedSchemaVersion |
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:
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.
Constructors
| GetAppliedSchemaVersionResponse' | |
Fields
| |
Instances
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.