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 report group. A report group contains a collection of reports.
Synopsis
- data CreateReportGroup = CreateReportGroup' {
- tags :: Maybe [Tag]
- name :: Text
- type' :: ReportType
- exportConfig :: ReportExportConfig
- newCreateReportGroup :: Text -> ReportType -> ReportExportConfig -> CreateReportGroup
- createReportGroup_tags :: Lens' CreateReportGroup (Maybe [Tag])
- createReportGroup_name :: Lens' CreateReportGroup Text
- createReportGroup_type :: Lens' CreateReportGroup ReportType
- createReportGroup_exportConfig :: Lens' CreateReportGroup ReportExportConfig
- data CreateReportGroupResponse = CreateReportGroupResponse' {}
- newCreateReportGroupResponse :: Int -> CreateReportGroupResponse
- createReportGroupResponse_reportGroup :: Lens' CreateReportGroupResponse (Maybe ReportGroup)
- createReportGroupResponse_httpStatus :: Lens' CreateReportGroupResponse Int
Creating a Request
data CreateReportGroup Source #
See: newCreateReportGroup
smart constructor.
CreateReportGroup' | |
|
Instances
Create a value of CreateReportGroup
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:tags:CreateReportGroup'
, createReportGroup_tags
- A list of tag key and value pairs associated with this report group.
These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
$sel:name:CreateReportGroup'
, createReportGroup_name
- The name of the report group.
$sel:type':CreateReportGroup'
, createReportGroup_type
- The type of report group.
$sel:exportConfig:CreateReportGroup'
, createReportGroup_exportConfig
- A ReportExportConfig
object that contains information about where the
report group test results are exported.
Request Lenses
createReportGroup_tags :: Lens' CreateReportGroup (Maybe [Tag]) Source #
A list of tag key and value pairs associated with this report group.
These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
createReportGroup_name :: Lens' CreateReportGroup Text Source #
The name of the report group.
createReportGroup_type :: Lens' CreateReportGroup ReportType Source #
The type of report group.
createReportGroup_exportConfig :: Lens' CreateReportGroup ReportExportConfig Source #
A ReportExportConfig
object that contains information about where the
report group test results are exported.
Destructuring the Response
data CreateReportGroupResponse Source #
See: newCreateReportGroupResponse
smart constructor.
CreateReportGroupResponse' | |
|
Instances
newCreateReportGroupResponse Source #
Create a value of CreateReportGroupResponse
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:reportGroup:CreateReportGroupResponse'
, createReportGroupResponse_reportGroup
- Information about the report group that was created.
$sel:httpStatus:CreateReportGroupResponse'
, createReportGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createReportGroupResponse_reportGroup :: Lens' CreateReportGroupResponse (Maybe ReportGroup) Source #
Information about the report group that was created.
createReportGroupResponse_httpStatus :: Lens' CreateReportGroupResponse Int Source #
The response's http status code.