| 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.SSMSAP.GetApplication
Description
Gets an application registered with AWS Systems Manager for SAP. It also returns the components of the application.
Synopsis
- data GetApplication = GetApplication' {}
- newGetApplication :: GetApplication
- getApplication_applicationArn :: Lens' GetApplication (Maybe Text)
- getApplication_applicationId :: Lens' GetApplication (Maybe Text)
- data GetApplicationResponse = GetApplicationResponse' {
- application :: Maybe Application
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newGetApplicationResponse :: Int -> GetApplicationResponse
- getApplicationResponse_application :: Lens' GetApplicationResponse (Maybe Application)
- getApplicationResponse_tags :: Lens' GetApplicationResponse (Maybe (HashMap Text Text))
- getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int
Creating a Request
data GetApplication Source #
See: newGetApplication smart constructor.
Constructors
| GetApplication' | |
Fields | |
Instances
newGetApplication :: GetApplication Source #
Create a value of GetApplication 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:applicationArn:GetApplication', getApplication_applicationArn -
Request Lenses
Destructuring the Response
data GetApplicationResponse Source #
See: newGetApplicationResponse smart constructor.
Constructors
| GetApplicationResponse' | |
Fields
| |
Instances
newGetApplicationResponse Source #
Create a value of GetApplicationResponse 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:application:GetApplicationResponse', getApplicationResponse_application -
GetApplicationResponse, getApplicationResponse_tags -
$sel:httpStatus:GetApplicationResponse', getApplicationResponse_httpStatus - The response's http status code.
Response Lenses
getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int Source #
The response's http status code.