| 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.Omics.CreateRunGroup
Description
Creates a run group.
Synopsis
- data CreateRunGroup = CreateRunGroup' {}
- newCreateRunGroup :: Text -> CreateRunGroup
- createRunGroup_maxCpus :: Lens' CreateRunGroup (Maybe Natural)
- createRunGroup_maxDuration :: Lens' CreateRunGroup (Maybe Natural)
- createRunGroup_maxRuns :: Lens' CreateRunGroup (Maybe Natural)
- createRunGroup_name :: Lens' CreateRunGroup (Maybe Text)
- createRunGroup_tags :: Lens' CreateRunGroup (Maybe (HashMap Text Text))
- createRunGroup_requestId :: Lens' CreateRunGroup Text
- data CreateRunGroupResponse = CreateRunGroupResponse' {}
- newCreateRunGroupResponse :: Int -> CreateRunGroupResponse
- createRunGroupResponse_arn :: Lens' CreateRunGroupResponse (Maybe Text)
- createRunGroupResponse_id :: Lens' CreateRunGroupResponse (Maybe Text)
- createRunGroupResponse_tags :: Lens' CreateRunGroupResponse (Maybe (HashMap Text Text))
- createRunGroupResponse_httpStatus :: Lens' CreateRunGroupResponse Int
Creating a Request
data CreateRunGroup Source #
See: newCreateRunGroup smart constructor.
Constructors
| CreateRunGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CreateRunGroup |
Create a value of CreateRunGroup 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:
CreateRunGroup, createRunGroup_maxCpus - The maximum number of CPUs to use in the group.
CreateRunGroup, createRunGroup_maxDuration - A max duration for the group.
CreateRunGroup, createRunGroup_maxRuns - The maximum number of concurrent runs for the group.
CreateRunGroup, createRunGroup_name - A name for the group.
CreateRunGroup, createRunGroup_tags - Tags for the group.
$sel:requestId:CreateRunGroup', createRunGroup_requestId - A request ID for the group.
Request Lenses
createRunGroup_maxCpus :: Lens' CreateRunGroup (Maybe Natural) Source #
The maximum number of CPUs to use in the group.
createRunGroup_maxDuration :: Lens' CreateRunGroup (Maybe Natural) Source #
A max duration for the group.
createRunGroup_maxRuns :: Lens' CreateRunGroup (Maybe Natural) Source #
The maximum number of concurrent runs for the group.
createRunGroup_name :: Lens' CreateRunGroup (Maybe Text) Source #
A name for the group.
createRunGroup_tags :: Lens' CreateRunGroup (Maybe (HashMap Text Text)) Source #
Tags for the group.
createRunGroup_requestId :: Lens' CreateRunGroup Text Source #
A request ID for the group.
Destructuring the Response
data CreateRunGroupResponse Source #
See: newCreateRunGroupResponse smart constructor.
Constructors
| CreateRunGroupResponse' | |
Instances
newCreateRunGroupResponse Source #
Create a value of CreateRunGroupResponse 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:
CreateRunGroupResponse, createRunGroupResponse_arn - The group's ARN.
CreateRunGroupResponse, createRunGroupResponse_id - The group's ID.
CreateRunGroup, createRunGroupResponse_tags - Tags for the run group.
$sel:httpStatus:CreateRunGroupResponse', createRunGroupResponse_httpStatus - The response's http status code.
Response Lenses
createRunGroupResponse_arn :: Lens' CreateRunGroupResponse (Maybe Text) Source #
The group's ARN.
createRunGroupResponse_id :: Lens' CreateRunGroupResponse (Maybe Text) Source #
The group's ID.
createRunGroupResponse_tags :: Lens' CreateRunGroupResponse (Maybe (HashMap Text Text)) Source #
Tags for the run group.
createRunGroupResponse_httpStatus :: Lens' CreateRunGroupResponse Int Source #
The response's http status code.