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 |
Returns existing metadata for an Amplify app.
Synopsis
- data GetMetadata = GetMetadata' {
- appId :: Text
- environmentName :: Text
- newGetMetadata :: Text -> Text -> GetMetadata
- getMetadata_appId :: Lens' GetMetadata Text
- getMetadata_environmentName :: Lens' GetMetadata Text
- data GetMetadataResponse = GetMetadataResponse' {}
- newGetMetadataResponse :: Int -> GetMetadataResponse
- getMetadataResponse_httpStatus :: Lens' GetMetadataResponse Int
- getMetadataResponse_features :: Lens' GetMetadataResponse (HashMap Text Text)
Creating a Request
data GetMetadata Source #
See: newGetMetadata
smart constructor.
GetMetadata' | |
|
Instances
Create a value of GetMetadata
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:
GetMetadata
, getMetadata_appId
- The unique ID of the Amplify app.
GetMetadata
, getMetadata_environmentName
- The name of the backend environment that is part of the Amplify app.
Request Lenses
getMetadata_appId :: Lens' GetMetadata Text Source #
The unique ID of the Amplify app.
getMetadata_environmentName :: Lens' GetMetadata Text Source #
The name of the backend environment that is part of the Amplify app.
Destructuring the Response
data GetMetadataResponse Source #
See: newGetMetadataResponse
smart constructor.
Instances
newGetMetadataResponse Source #
Create a value of GetMetadataResponse
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:httpStatus:GetMetadataResponse'
, getMetadataResponse_httpStatus
- The response's http status code.
$sel:features:GetMetadataResponse'
, getMetadataResponse_features
- Represents the configuration settings for the features metadata.
Response Lenses
getMetadataResponse_httpStatus :: Lens' GetMetadataResponse Int Source #
The response's http status code.
getMetadataResponse_features :: Lens' GetMetadataResponse (HashMap Text Text) Source #
Represents the configuration settings for the features metadata.