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 |
Creates a user access logging settings resource that can be associated with a web portal.
Synopsis
- data CreateUserAccessLoggingSettings = CreateUserAccessLoggingSettings' {
- clientToken :: Maybe Text
- tags :: Maybe [Sensitive Tag]
- kinesisStreamArn :: Text
- newCreateUserAccessLoggingSettings :: Text -> CreateUserAccessLoggingSettings
- createUserAccessLoggingSettings_clientToken :: Lens' CreateUserAccessLoggingSettings (Maybe Text)
- createUserAccessLoggingSettings_tags :: Lens' CreateUserAccessLoggingSettings (Maybe [Tag])
- createUserAccessLoggingSettings_kinesisStreamArn :: Lens' CreateUserAccessLoggingSettings Text
- data CreateUserAccessLoggingSettingsResponse = CreateUserAccessLoggingSettingsResponse' {}
- newCreateUserAccessLoggingSettingsResponse :: Int -> Text -> CreateUserAccessLoggingSettingsResponse
- createUserAccessLoggingSettingsResponse_httpStatus :: Lens' CreateUserAccessLoggingSettingsResponse Int
- createUserAccessLoggingSettingsResponse_userAccessLoggingSettingsArn :: Lens' CreateUserAccessLoggingSettingsResponse Text
Creating a Request
data CreateUserAccessLoggingSettings Source #
See: newCreateUserAccessLoggingSettings
smart constructor.
CreateUserAccessLoggingSettings' | |
|
Instances
newCreateUserAccessLoggingSettings Source #
Create a value of CreateUserAccessLoggingSettings
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:clientToken:CreateUserAccessLoggingSettings'
, createUserAccessLoggingSettings_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. Idempotency ensures that an API request
completes only once. With an idempotent request, if the original request
completes successfully, subsequent retries with the same client token
returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
$sel:tags:CreateUserAccessLoggingSettings'
, createUserAccessLoggingSettings_tags
- The tags to add to the user settings resource. A tag is a key-value
pair.
CreateUserAccessLoggingSettings
, createUserAccessLoggingSettings_kinesisStreamArn
- The ARN of the Kinesis stream.
Request Lenses
createUserAccessLoggingSettings_clientToken :: Lens' CreateUserAccessLoggingSettings (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
createUserAccessLoggingSettings_tags :: Lens' CreateUserAccessLoggingSettings (Maybe [Tag]) Source #
The tags to add to the user settings resource. A tag is a key-value pair.
createUserAccessLoggingSettings_kinesisStreamArn :: Lens' CreateUserAccessLoggingSettings Text Source #
The ARN of the Kinesis stream.
Destructuring the Response
data CreateUserAccessLoggingSettingsResponse Source #
See: newCreateUserAccessLoggingSettingsResponse
smart constructor.
CreateUserAccessLoggingSettingsResponse' | |
|
Instances
newCreateUserAccessLoggingSettingsResponse Source #
Create a value of CreateUserAccessLoggingSettingsResponse
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:CreateUserAccessLoggingSettingsResponse'
, createUserAccessLoggingSettingsResponse_httpStatus
- The response's http status code.
CreateUserAccessLoggingSettingsResponse
, createUserAccessLoggingSettingsResponse_userAccessLoggingSettingsArn
- The ARN of the user access logging settings.
Response Lenses
createUserAccessLoggingSettingsResponse_httpStatus :: Lens' CreateUserAccessLoggingSettingsResponse Int Source #
The response's http status code.
createUserAccessLoggingSettingsResponse_userAccessLoggingSettingsArn :: Lens' CreateUserAccessLoggingSettingsResponse Text Source #
The ARN of the user access logging settings.