| 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.ResilienceHub.PublishAppVersion
Description
Publishes a new version of a specific Resilience Hub application.
Synopsis
- data PublishAppVersion = PublishAppVersion' {}
- newPublishAppVersion :: Text -> PublishAppVersion
- publishAppVersion_appArn :: Lens' PublishAppVersion Text
- data PublishAppVersionResponse = PublishAppVersionResponse' {
- appVersion :: Maybe Text
- httpStatus :: Int
- appArn :: Text
- newPublishAppVersionResponse :: Int -> Text -> PublishAppVersionResponse
- publishAppVersionResponse_appVersion :: Lens' PublishAppVersionResponse (Maybe Text)
- publishAppVersionResponse_httpStatus :: Lens' PublishAppVersionResponse Int
- publishAppVersionResponse_appArn :: Lens' PublishAppVersionResponse Text
Creating a Request
data PublishAppVersion Source #
See: newPublishAppVersion smart constructor.
Constructors
| PublishAppVersion' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> PublishAppVersion |
Create a value of PublishAppVersion 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:
PublishAppVersion, publishAppVersion_appArn - The Amazon Resource Name (ARN) of the application. The format for this
ARN is: arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
Request Lenses
publishAppVersion_appArn :: Lens' PublishAppVersion Text Source #
The Amazon Resource Name (ARN) of the application. The format for this
ARN is: arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
Destructuring the Response
data PublishAppVersionResponse Source #
See: newPublishAppVersionResponse smart constructor.
Constructors
| PublishAppVersionResponse' | |
Fields
| |
Instances
newPublishAppVersionResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> PublishAppVersionResponse |
Create a value of PublishAppVersionResponse 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:
PublishAppVersionResponse, publishAppVersionResponse_appVersion - The version of the application.
$sel:httpStatus:PublishAppVersionResponse', publishAppVersionResponse_httpStatus - The response's http status code.
PublishAppVersion, publishAppVersionResponse_appArn - The Amazon Resource Name (ARN) of the application. The format for this
ARN is: arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
Response Lenses
publishAppVersionResponse_appVersion :: Lens' PublishAppVersionResponse (Maybe Text) Source #
The version of the application.
publishAppVersionResponse_httpStatus :: Lens' PublishAppVersionResponse Int Source #
The response's http status code.
publishAppVersionResponse_appArn :: Lens' PublishAppVersionResponse Text Source #
The Amazon Resource Name (ARN) of the application. The format for this
ARN is: arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.