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 |
Creates a workgroup with the specified name.
Synopsis
- data CreateWorkGroup = CreateWorkGroup' {
- configuration :: Maybe WorkGroupConfiguration
- description :: Maybe Text
- tags :: Maybe [Tag]
- name :: Text
- newCreateWorkGroup :: Text -> CreateWorkGroup
- createWorkGroup_configuration :: Lens' CreateWorkGroup (Maybe WorkGroupConfiguration)
- createWorkGroup_description :: Lens' CreateWorkGroup (Maybe Text)
- createWorkGroup_tags :: Lens' CreateWorkGroup (Maybe [Tag])
- createWorkGroup_name :: Lens' CreateWorkGroup Text
- data CreateWorkGroupResponse = CreateWorkGroupResponse' {
- httpStatus :: Int
- newCreateWorkGroupResponse :: Int -> CreateWorkGroupResponse
- createWorkGroupResponse_httpStatus :: Lens' CreateWorkGroupResponse Int
Creating a Request
data CreateWorkGroup Source #
See: newCreateWorkGroup
smart constructor.
CreateWorkGroup' | |
|
Instances
Create a value of CreateWorkGroup
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:configuration:CreateWorkGroup'
, createWorkGroup_configuration
- The configuration for the workgroup, which includes the location in
Amazon S3 where query results are stored, the encryption configuration,
if any, used for encrypting query results, whether the Amazon CloudWatch
Metrics are enabled for the workgroup, the limit for the amount of bytes
scanned (cutoff) per query, if it is specified, and whether workgroup's
settings (specified with EnforceWorkGroupConfiguration
) in the
WorkGroupConfiguration
override client-side settings. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
$sel:description:CreateWorkGroup'
, createWorkGroup_description
- The workgroup description.
$sel:tags:CreateWorkGroup'
, createWorkGroup_tags
- A list of comma separated tags to add to the workgroup that is created.
$sel:name:CreateWorkGroup'
, createWorkGroup_name
- The workgroup name.
Request Lenses
createWorkGroup_configuration :: Lens' CreateWorkGroup (Maybe WorkGroupConfiguration) Source #
The configuration for the workgroup, which includes the location in
Amazon S3 where query results are stored, the encryption configuration,
if any, used for encrypting query results, whether the Amazon CloudWatch
Metrics are enabled for the workgroup, the limit for the amount of bytes
scanned (cutoff) per query, if it is specified, and whether workgroup's
settings (specified with EnforceWorkGroupConfiguration
) in the
WorkGroupConfiguration
override client-side settings. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
createWorkGroup_description :: Lens' CreateWorkGroup (Maybe Text) Source #
The workgroup description.
createWorkGroup_tags :: Lens' CreateWorkGroup (Maybe [Tag]) Source #
A list of comma separated tags to add to the workgroup that is created.
createWorkGroup_name :: Lens' CreateWorkGroup Text Source #
The workgroup name.
Destructuring the Response
data CreateWorkGroupResponse Source #
See: newCreateWorkGroupResponse
smart constructor.
CreateWorkGroupResponse' | |
|
Instances
newCreateWorkGroupResponse Source #
Create a value of CreateWorkGroupResponse
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:CreateWorkGroupResponse'
, createWorkGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createWorkGroupResponse_httpStatus :: Lens' CreateWorkGroupResponse Int Source #
The response's http status code.