Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes an activity.
This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
Synopsis
- data DescribeActivity = DescribeActivity' {
- activityArn :: Text
- newDescribeActivity :: Text -> DescribeActivity
- describeActivity_activityArn :: Lens' DescribeActivity Text
- data DescribeActivityResponse = DescribeActivityResponse' {
- httpStatus :: Int
- activityArn :: Text
- name :: Text
- creationDate :: POSIX
- newDescribeActivityResponse :: Int -> Text -> Text -> UTCTime -> DescribeActivityResponse
- describeActivityResponse_httpStatus :: Lens' DescribeActivityResponse Int
- describeActivityResponse_activityArn :: Lens' DescribeActivityResponse Text
- describeActivityResponse_name :: Lens' DescribeActivityResponse Text
- describeActivityResponse_creationDate :: Lens' DescribeActivityResponse UTCTime
Creating a Request
data DescribeActivity Source #
See: newDescribeActivity
smart constructor.
DescribeActivity' | |
|
Instances
Create a value of DescribeActivity
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:activityArn:DescribeActivity'
, describeActivity_activityArn
- The Amazon Resource Name (ARN) of the activity to describe.
Request Lenses
describeActivity_activityArn :: Lens' DescribeActivity Text Source #
The Amazon Resource Name (ARN) of the activity to describe.
Destructuring the Response
data DescribeActivityResponse Source #
See: newDescribeActivityResponse
smart constructor.
DescribeActivityResponse' | |
|
Instances
newDescribeActivityResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> UTCTime | |
-> DescribeActivityResponse |
Create a value of DescribeActivityResponse
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:httpStatus:DescribeActivityResponse'
, describeActivityResponse_httpStatus
- The response's http status code.
$sel:activityArn:DescribeActivity'
, describeActivityResponse_activityArn
- The Amazon Resource Name (ARN) that identifies the activity.
$sel:name:DescribeActivityResponse'
, describeActivityResponse_name
- The name of the activity.
A name must not contain:
- white space
- brackets
< > { } [ ]
- wildcard characters
? *
- special characters
" # % \ ^ | ~ ` $ & , ; : /
- control characters (
U+0000-001F
,U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
$sel:creationDate:DescribeActivityResponse'
, describeActivityResponse_creationDate
- The date the activity is created.
Response Lenses
describeActivityResponse_httpStatus :: Lens' DescribeActivityResponse Int Source #
The response's http status code.
describeActivityResponse_activityArn :: Lens' DescribeActivityResponse Text Source #
The Amazon Resource Name (ARN) that identifies the activity.
describeActivityResponse_name :: Lens' DescribeActivityResponse Text Source #
The name of the activity.
A name must not contain:
- white space
- brackets
< > { } [ ]
- wildcard characters
? *
- special characters
" # % \ ^ | ~ ` $ & , ; : /
- control characters (
U+0000-001F
,U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
describeActivityResponse_creationDate :: Lens' DescribeActivityResponse UTCTime Source #
The date the activity is created.