| 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.CodeDeploy.GetApplication
Description
Gets information about an application.
Synopsis
- data GetApplication = GetApplication' {}
- newGetApplication :: Text -> GetApplication
- getApplication_applicationName :: Lens' GetApplication Text
- data GetApplicationResponse = GetApplicationResponse' {}
- newGetApplicationResponse :: Int -> GetApplicationResponse
- getApplicationResponse_application :: Lens' GetApplicationResponse (Maybe ApplicationInfo)
- getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int
Creating a Request
data GetApplication Source #
Represents the input of a GetApplication operation.
See: newGetApplication smart constructor.
Constructors
| GetApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetApplication |
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:
GetApplication, getApplication_applicationName - The name of an CodeDeploy application associated with the IAM user or
Amazon Web Services account.
Request Lenses
getApplication_applicationName :: Lens' GetApplication Text Source #
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
Destructuring the Response
data GetApplicationResponse Source #
Represents the output of a GetApplication operation.
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 - Information about the application.
$sel:httpStatus:GetApplicationResponse', getApplicationResponse_httpStatus - The response's http status code.
Response Lenses
getApplicationResponse_application :: Lens' GetApplicationResponse (Maybe ApplicationInfo) Source #
Information about the application.
getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int Source #
The response's http status code.