Skip to content

Commit 0440757

Browse files
committed
Correct report group syntax per awsdocs#64
1 parent 10b7eee commit 0440757

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

doc_source/sample-test-report-cli.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ You can use the CodeBuild API or the AWS CodeBuild console to access the test re
4343

4444
```
4545
{
46-
"name": "report-name",
47-
"type": "TEST",
48-
"exportConfig": {
49-
"exportConfigType": "S3",
50-
"s3Destination": {
51-
"bucket": "bucket-name",
52-
"path": "path-to-folder",
53-
"packaging": "NONE"
54-
}
46+
"name": "report-name",
47+
"type": "TEST",
48+
"exportConfig": {
49+
"exportConfigType": "S3",
50+
"s3Destination": {
51+
"bucket": "bucket-name",
52+
"path": "path-to-folder",
53+
"packaging": "NONE"
5554
}
55+
}
5656
}
5757
```
5858

@@ -68,23 +68,23 @@ You can use the CodeBuild API or the AWS CodeBuild console to access the test re
6868

6969
```
7070
{
71-
"reportGroup": {
72-
"arn": "arn:aws:codebuild:us-west-2:123456789012:report-group/report-name",
73-
"name": "report-name",
74-
"type": "TEST",
75-
"exportConfig": {
76-
"type": "S3",
77-
"s3": {
78-
"bucket": "s3-bucket-name",
79-
"path": "folder-path",
80-
"packaging": "NONE",
81-
"encryptionKey": "arn:aws:kms:us-west-2:123456789012:alias/aws/s3"
82-
}
83-
},
84-
"created": 1570837165.885,
85-
"lastModified": 1570837165.885
86-
}
87-
}
71+
"reportGroup": {
72+
"arn": "arn:aws:codebuild:us-west-2:123456789012:report-group/report-name",
73+
"name": "report-name",
74+
"type": "TEST",
75+
"exportConfig": {
76+
"exportConfigType": "S3",
77+
"s3Destination": {
78+
"bucket": "s3-bucket-name",
79+
"path": "folder-path",
80+
"packaging": "NONE",
81+
"encryptionKey": "arn:aws:kms:us-west-2:123456789012:alias/aws/s3"
82+
}
83+
},
84+
"created": 1570837165.885,
85+
"lastModified": 1570837165.885
86+
}
87+
}
8888
```
8989

9090
## Configure a project with a report group<a name="sample-test-report-cli-create-project-with-report"></a>
@@ -188,8 +188,8 @@ You can use the CodeBuild API or the AWS CodeBuild console to access the test re
188188
"name": "report-group-name",
189189
"created": 1573324770.154,
190190
"exportConfig": {
191-
"type": "S3",
192-
"s3": {
191+
"exportConfigType": "S3",
192+
"s3Destination": {
193193
"bucket": "your-s3-bucket",
194194
"path": "path-to-your-report-results",
195195
"packaging": "NONE",
@@ -254,4 +254,4 @@ You can use the CodeBuild API or the AWS CodeBuild console to access the test re
254254
}
255255
]
256256
}
257-
```
257+
```

doc_source/test-report-group-create-cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"name": "report-name",
1313
"type": "TEST",
1414
"exportConfig": {
15-
"type": "S3",
16-
"s3": {
15+
"exportConfigType": "S3",
16+
"s3Destination": {
1717
"bucket": "bucket-name",
1818
"path": "path",
1919
"packaging": "NONE | ZIP",
@@ -37,7 +37,7 @@
3737
"name": "report-name",
3838
"type": "TEST",
3939
"exportConfig": {
40-
"type": "NO_EXPORT"
40+
"exportConfigType": "NO_EXPORT"
4141
}
4242
}
4343
```

doc_source/update-report-group-cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
{
1111
"arn": "",
1212
"exportConfig": {
13-
"type": "S3",
14-
"s3": {
13+
"exportConfigType": "S3",
14+
"s3Destination": {
1515
"bucket": "bucket-name",
1616
"path": "path",
1717
"packaging": "NONE | ZIP",
@@ -37,7 +37,7 @@
3737
```
3838
{
3939
"exportConfig": {
40-
"type": "NO_EXPORT"
40+
"exportConfigType": "NO_EXPORT"
4141
}
4242
}
4343
```

0 commit comments

Comments
 (0)