| 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.SSM.GetOpsMetadata
Description
View operational metadata related to an application in Application Manager.
Synopsis
- data GetOpsMetadata = GetOpsMetadata' {}
- newGetOpsMetadata :: Text -> GetOpsMetadata
- getOpsMetadata_maxResults :: Lens' GetOpsMetadata (Maybe Natural)
- getOpsMetadata_nextToken :: Lens' GetOpsMetadata (Maybe Text)
- getOpsMetadata_opsMetadataArn :: Lens' GetOpsMetadata Text
- data GetOpsMetadataResponse = GetOpsMetadataResponse' {
- metadata :: Maybe (HashMap Text MetadataValue)
- nextToken :: Maybe Text
- resourceId :: Maybe Text
- httpStatus :: Int
- newGetOpsMetadataResponse :: Int -> GetOpsMetadataResponse
- getOpsMetadataResponse_metadata :: Lens' GetOpsMetadataResponse (Maybe (HashMap Text MetadataValue))
- getOpsMetadataResponse_nextToken :: Lens' GetOpsMetadataResponse (Maybe Text)
- getOpsMetadataResponse_resourceId :: Lens' GetOpsMetadataResponse (Maybe Text)
- getOpsMetadataResponse_httpStatus :: Lens' GetOpsMetadataResponse Int
Creating a Request
data GetOpsMetadata Source #
See: newGetOpsMetadata smart constructor.
Constructors
| GetOpsMetadata' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetOpsMetadata |
Create a value of GetOpsMetadata 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:maxResults:GetOpsMetadata', getOpsMetadata_maxResults - The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
GetOpsMetadata, getOpsMetadata_nextToken - A token to start the list. Use this token to get the next set of
results.
GetOpsMetadata, getOpsMetadata_opsMetadataArn - The Amazon Resource Name (ARN) of an OpsMetadata Object to view.
Request Lenses
getOpsMetadata_maxResults :: Lens' GetOpsMetadata (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
getOpsMetadata_nextToken :: Lens' GetOpsMetadata (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
getOpsMetadata_opsMetadataArn :: Lens' GetOpsMetadata Text Source #
The Amazon Resource Name (ARN) of an OpsMetadata Object to view.
Destructuring the Response
data GetOpsMetadataResponse Source #
See: newGetOpsMetadataResponse smart constructor.
Constructors
| GetOpsMetadataResponse' | |
Fields
| |
Instances
newGetOpsMetadataResponse Source #
Create a value of GetOpsMetadataResponse 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:metadata:GetOpsMetadataResponse', getOpsMetadataResponse_metadata - OpsMetadata for an Application Manager application.
GetOpsMetadata, getOpsMetadataResponse_nextToken - The token for the next set of items to return. Use this token to get the
next set of results.
GetOpsMetadataResponse, getOpsMetadataResponse_resourceId - The resource ID of the Application Manager application.
$sel:httpStatus:GetOpsMetadataResponse', getOpsMetadataResponse_httpStatus - The response's http status code.
Response Lenses
getOpsMetadataResponse_metadata :: Lens' GetOpsMetadataResponse (Maybe (HashMap Text MetadataValue)) Source #
OpsMetadata for an Application Manager application.
getOpsMetadataResponse_nextToken :: Lens' GetOpsMetadataResponse (Maybe Text) Source #
The token for the next set of items to return. Use this token to get the next set of results.
getOpsMetadataResponse_resourceId :: Lens' GetOpsMetadataResponse (Maybe Text) Source #
The resource ID of the Application Manager application.
getOpsMetadataResponse_httpStatus :: Lens' GetOpsMetadataResponse Int Source #
The response's http status code.