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 |
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.
PublishAppVersion' | |
|
Instances
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.
PublishAppVersionResponse' | |
|
Instances
newPublishAppVersionResponse Source #
:: 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.