Skip to content

Commit 2e326e5

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 77c5e16 commit 2e326e5

File tree

5 files changed

+513
-51
lines changed

5 files changed

+513
-51
lines changed

codegen/sdk-codegen/aws-models/codeguru-reviewer.json

Lines changed: 48 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,13 @@
414414
"AnalysisTypes": {
415415
"target": "com.amazonaws.codegurureviewer#AnalysisTypes",
416416
"traits": {
417-
"smithy.api#documentation": "<p>They types of analysis performed during a repository analysis or a pull request review. You can specify either \n <code>Security</code>, <code>CodeQuality</code>, or both.</p>"
417+
"smithy.api#documentation": "<p>The types of analysis performed during a repository analysis or a pull request review. You can specify either \n <code>Security</code>, <code>CodeQuality</code>, or both.</p>"
418+
}
419+
},
420+
"ConfigFileState": {
421+
"target": "com.amazonaws.codegurureviewer#ConfigFileState",
422+
"traits": {
423+
"smithy.api#documentation": "<p>The state of the <code>aws-codeguru-reviewer.yml</code> configuration file that allows\n the configuration of the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists\n with errors at the root directory of your repository.</p>"
418424
}
419425
}
420426
},
@@ -571,6 +577,25 @@
571577
}
572578
}
573579
},
580+
"com.amazonaws.codegurureviewer#ConfigFileState": {
581+
"type": "string",
582+
"traits": {
583+
"smithy.api#enum": [
584+
{
585+
"value": "Present",
586+
"name": "PRESENT"
587+
},
588+
{
589+
"value": "Absent",
590+
"name": "ABSENT"
591+
},
592+
{
593+
"value": "PresentWithErrors",
594+
"name": "PRESENT_WITH_ERRORS"
595+
}
596+
]
597+
}
598+
},
574599
"com.amazonaws.codegurureviewer#ConflictException": {
575600
"type": "structure",
576601
"members": {
@@ -1167,6 +1192,12 @@
11671192
"smithy.api#box": {}
11681193
}
11691194
},
1195+
"com.amazonaws.codegurureviewer#LinesOfCodeCount": {
1196+
"type": "long",
1197+
"traits": {
1198+
"smithy.api#box": {}
1199+
}
1200+
},
11701201
"com.amazonaws.codegurureviewer#ListCodeReviews": {
11711202
"type": "operation",
11721203
"input": {
@@ -1497,6 +1528,7 @@
14971528
"smithy.api#paginated": {
14981529
"inputToken": "NextToken",
14991530
"outputToken": "NextToken",
1531+
"items": "RepositoryAssociationSummaries",
15001532
"pageSize": "MaxResults"
15011533
}
15021534
}
@@ -1637,19 +1669,19 @@
16371669
}
16381670
}
16391671
},
1640-
"com.amazonaws.codegurureviewer#MeteredLinesOfCodeCount": {
1641-
"type": "long",
1642-
"traits": {
1643-
"smithy.api#box": {}
1644-
}
1645-
},
16461672
"com.amazonaws.codegurureviewer#Metrics": {
16471673
"type": "structure",
16481674
"members": {
16491675
"MeteredLinesOfCodeCount": {
1650-
"target": "com.amazonaws.codegurureviewer#MeteredLinesOfCodeCount",
1676+
"target": "com.amazonaws.codegurureviewer#LinesOfCodeCount",
1677+
"traits": {
1678+
"smithy.api#documentation": "<p>\n <code>MeteredLinesOfCodeCount</code> is the number of lines of code in the repository where the code review happened. \n This does not include non-code lines such as comments and blank lines.\n </p>"
1679+
}
1680+
},
1681+
"SuppressedLinesOfCodeCount": {
1682+
"target": "com.amazonaws.codegurureviewer#LinesOfCodeCount",
16511683
"traits": {
1652-
"smithy.api#documentation": "<p>\n <code>MeteredLinesOfCode</code> is the number of lines of code in the repository where the code review happened. \n This does not include non-code lines such as comments and blank lines.\n </p>"
1684+
"smithy.api#documentation": "<p>\n <code>SuppressedLinesOfCodeCount</code> is the number of lines of code in the repository\n where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the\n analysis is based on the <code>excludeFiles</code> variable in the\n <code>aws-codeguru-reviewer.yml</code> file. This number does not include non-code lines\n such as comments and blank lines. </p>"
16531685
}
16541686
},
16551687
"FindingsCount": {
@@ -1667,11 +1699,17 @@
16671699
"type": "structure",
16681700
"members": {
16691701
"MeteredLinesOfCodeCount": {
1670-
"target": "com.amazonaws.codegurureviewer#MeteredLinesOfCodeCount",
1702+
"target": "com.amazonaws.codegurureviewer#LinesOfCodeCount",
16711703
"traits": {
16721704
"smithy.api#documentation": "<p>\n Lines of code metered in the code review. For the initial code review pull request and all subsequent revisions, \n this includes all lines of code in the files added to the pull request. In subsequent revisions, for files that already \n existed in the pull request, this includes only the changed lines of code. In both cases, this does not include non-code lines such as comments \n and import statements. For example, if you submit a pull request containing 5 files, each with 500 lines of code, and in \n a subsequent revision you added a new file with 200 lines of code, and also modified a total of 25 lines across the initial 5 files, \n <code>MeteredLinesOfCodeCount</code> includes the first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and the 25 changed lines of\n code for a total of 2,725 lines of code.\n </p>"
16731705
}
16741706
},
1707+
"SuppressedLinesOfCodeCount": {
1708+
"target": "com.amazonaws.codegurureviewer#LinesOfCodeCount",
1709+
"traits": {
1710+
"smithy.api#documentation": "<p>Lines of code suppressed in the code review based on the <code>excludeFiles</code>\n element in the <code>aws-codeguru-reviewer.yml</code> file. For full repository analyses,\n this number includes all lines of code in the files that are suppressed. For pull requests,\n this number only includes the <i>changed</i> lines of code that are\n suppressed. In both cases, this number does not include non-code lines such as comments and\n import statements. For example, if you initiate a full repository analysis on a repository\n containing 5 files, each file with 100 lines of code, and 2 files are listed as excluded in\n the <code>aws-codeguru-reviewer.yml</code> file, then\n <code>SuppressedLinesOfCodeCount</code> returns 200 (2 * 100) as the total number of\n lines of code suppressed. However, if you submit a pull request for the same repository,\n then <code>SuppressedLinesOfCodeCount</code> only includes the lines in the 2 files\n that changed. If only 1 of the 2 files changed in the pull request, then\n <code>SuppressedLinesOfCodeCount</code> returns 100 (1 * 100) as the total number of\n lines of code suppressed.</p>"
1711+
}
1712+
},
16751713
"FindingsCount": {
16761714
"target": "com.amazonaws.codegurureviewer#FindingsCount",
16771715
"traits": {

codegen/sdk-codegen/aws-models/mediaconvert.json

Lines changed: 83 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5245,10 +5245,17 @@
52455245
"smithy.api#jsonName": "l6Mode"
52465246
}
52475247
},
5248+
"Mapping": {
5249+
"target": "com.amazonaws.mediaconvert#DolbyVisionMapping",
5250+
"traits": {
5251+
"smithy.api#documentation": "Required when you set Dolby Vision Profile (Profile) to Profile 8.1 (PROFILE_8_1). When you set Content mapping (Mapping) to None (HDR10_NOMAP), content mapping is not applied to the HDR10-compatible signal. Depending on the source peak nit level, clipping might occur on HDR devices without Dolby Vision. When you set Content mapping to Static (HDR10_1000), the transcoder creates a 1,000 nits peak HDR10-compatible signal by applying static content mapping to the source. This mode is speed-optimized for PQ10 sources with metadata that is created from analysis. For graded Dolby Vision content, be aware that creative intent might not be guaranteed with extreme 1,000 nits trims.",
5252+
"smithy.api#jsonName": "mapping"
5253+
}
5254+
},
52485255
"Profile": {
52495256
"target": "com.amazonaws.mediaconvert#DolbyVisionProfile",
52505257
"traits": {
5251-
"smithy.api#documentation": "In the current MediaConvert implementation, the Dolby Vision profile is always 5 (PROFILE_5). Therefore, all of your inputs must contain Dolby Vision frame interleaved data.",
5258+
"smithy.api#documentation": "Required when you use Dolby Vision (DolbyVision) processing. Set Profile (DolbyVisionProfile) to Profile 5 (Profile_5) to only include frame-interleaved Dolby Vision metadata in your output. Set Profile to Profile 8.1 (Profile_8_1) to include both frame-interleaved Dolby Vision metadata and HDR10 metadata in your output.",
52525259
"smithy.api#jsonName": "profile"
52535260
}
52545261
}
@@ -5299,14 +5306,34 @@
52995306
]
53005307
}
53015308
},
5309+
"com.amazonaws.mediaconvert#DolbyVisionMapping": {
5310+
"type": "string",
5311+
"traits": {
5312+
"smithy.api#documentation": "Required when you set Dolby Vision Profile (Profile) to Profile 8.1 (PROFILE_8_1). When you set Content mapping (Mapping) to None (HDR10_NOMAP), content mapping is not applied to the HDR10-compatible signal. Depending on the source peak nit level, clipping might occur on HDR devices without Dolby Vision. When you set Content mapping to Static (HDR10_1000), the transcoder creates a 1,000 nits peak HDR10-compatible signal by applying static content mapping to the source. This mode is speed-optimized for PQ10 sources with metadata that is created from analysis. For graded Dolby Vision content, be aware that creative intent might not be guaranteed with extreme 1,000 nits trims.",
5313+
"smithy.api#enum": [
5314+
{
5315+
"value": "HDR10_NOMAP",
5316+
"name": "HDR10_NOMAP"
5317+
},
5318+
{
5319+
"value": "HDR10_1000",
5320+
"name": "HDR10_1000"
5321+
}
5322+
]
5323+
}
5324+
},
53025325
"com.amazonaws.mediaconvert#DolbyVisionProfile": {
53035326
"type": "string",
53045327
"traits": {
5305-
"smithy.api#documentation": "In the current MediaConvert implementation, the Dolby Vision profile is always 5 (PROFILE_5). Therefore, all of your inputs must contain Dolby Vision frame interleaved data.",
5328+
"smithy.api#documentation": "Required when you use Dolby Vision (DolbyVision) processing. Set Profile (DolbyVisionProfile) to Profile 5 (Profile_5) to only include frame-interleaved Dolby Vision metadata in your output. Set Profile to Profile 8.1 (Profile_8_1) to include both frame-interleaved Dolby Vision metadata and HDR10 metadata in your output.",
53065329
"smithy.api#enum": [
53075330
{
53085331
"value": "PROFILE_5",
53095332
"name": "PROFILE_5"
5333+
},
5334+
{
5335+
"value": "PROFILE_8_1",
5336+
"name": "PROFILE_8_1"
53105337
}
53115338
]
53125339
}
@@ -10350,6 +10377,13 @@
1035010377
"smithy.api#jsonName": "timecodeStart"
1035110378
}
1035210379
},
10380+
"VideoGenerator": {
10381+
"target": "com.amazonaws.mediaconvert#InputVideoGenerator",
10382+
"traits": {
10383+
"smithy.api#documentation": "Use this setting if you do not have a video input or if you want to add black video frames before, or after, other inputs. When you include Video generator, MediaConvert creates a video input with black frames and without an audio track. You can specify a value for Video generator, or you can specify an Input file, but you cannot specify both.",
10384+
"smithy.api#jsonName": "videoGenerator"
10385+
}
10386+
},
1035310387
"VideoSelector": {
1035410388
"target": "com.amazonaws.mediaconvert#VideoSelector",
1035510389
"traits": {
@@ -10722,6 +10756,21 @@
1072210756
]
1072310757
}
1072410758
},
10759+
"com.amazonaws.mediaconvert#InputVideoGenerator": {
10760+
"type": "structure",
10761+
"members": {
10762+
"Duration": {
10763+
"target": "com.amazonaws.mediaconvert#__integerMin50Max86400000",
10764+
"traits": {
10765+
"smithy.api#documentation": "Specify an integer value for Black video duration from 50 to 86400000 to generate a black video input for that many milliseconds. Required when you include Video generator.",
10766+
"smithy.api#jsonName": "duration"
10767+
}
10768+
}
10769+
},
10770+
"traits": {
10771+
"smithy.api#documentation": "Use this setting if you do not have a video input or if you want to add black video frames before, or after, other inputs. When you include Video generator, MediaConvert creates a video input with black frames and without an audio track. You can specify a value for Video generator, or you can specify an Input file, but you cannot specify both."
10772+
}
10773+
},
1072510774
"com.amazonaws.mediaconvert#InsertableImage": {
1072610775
"type": "structure",
1072710776
"members": {
@@ -15789,6 +15838,22 @@
1578915838
"smithy.api#documentation": "Specific settings for this type of output."
1579015839
}
1579115840
},
15841+
"com.amazonaws.mediaconvert#PadVideo": {
15842+
"type": "string",
15843+
"traits": {
15844+
"smithy.api#documentation": "Use this setting if your input has video and audio durations that don't align, and your output or player has strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends before audio ends. When you set Pad video (padVideo) to Black (BLACK), MediaConvert generates black video frames so that output video and audio durations match. Black video frames are added at the beginning or end, depending on your input. To keep the default behavior and not generate black video, set Pad video to Disabled (DISABLED) or leave blank.",
15845+
"smithy.api#enum": [
15846+
{
15847+
"value": "DISABLED",
15848+
"name": "DISABLED"
15849+
},
15850+
{
15851+
"value": "BLACK",
15852+
"name": "BLACK"
15853+
}
15854+
]
15855+
}
15856+
},
1579215857
"com.amazonaws.mediaconvert#PartnerWatermarking": {
1579315858
"type": "structure",
1579415859
"members": {
@@ -18413,6 +18478,13 @@
1841318478
"smithy.api#jsonName": "hdr10Metadata"
1841418479
}
1841518480
},
18481+
"PadVideo": {
18482+
"target": "com.amazonaws.mediaconvert#PadVideo",
18483+
"traits": {
18484+
"smithy.api#documentation": "Use this setting if your input has video and audio durations that don't align, and your output or player has strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends before audio ends. When you set Pad video (padVideo) to Black (BLACK), MediaConvert generates black video frames so that output video and audio durations match. Black video frames are added at the beginning or end, depending on your input. To keep the default behavior and not generate black video, set Pad video to Disabled (DISABLED) or leave blank.",
18485+
"smithy.api#jsonName": "padVideo"
18486+
}
18487+
},
1841618488
"Pid": {
1841718489
"target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647",
1841818490
"traits": {
@@ -20418,6 +20490,15 @@
2041820490
}
2041920491
}
2042020492
},
20493+
"com.amazonaws.mediaconvert#__integerMin50Max86400000": {
20494+
"type": "integer",
20495+
"traits": {
20496+
"smithy.api#range": {
20497+
"min": 50,
20498+
"max": 86400000
20499+
}
20500+
}
20501+
},
2042120502
"com.amazonaws.mediaconvert#__integerMin6000Max1024000": {
2042220503
"type": "integer",
2042320504
"traits": {

0 commit comments

Comments
 (0)