Skip to content

Commit f4e7fa0

Browse files
Update API model
1 parent ef515b3 commit f4e7fa0

File tree

7 files changed

+416
-97
lines changed

7 files changed

+416
-97
lines changed

tools/code-generation/smithy/api-descriptions/appsync.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10207,7 +10207,8 @@
1020710207
"authenticationType": {
1020810208
"target": "com.amazonaws.appsync#AuthenticationType",
1020910209
"traits": {
10210-
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>"
10210+
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>",
10211+
"smithy.api#required": {}
1021110212
}
1021210213
},
1021310214
"userPoolConfig": {

tools/code-generation/smithy/api-descriptions/gamelift.json

Lines changed: 172 additions & 73 deletions
Large diffs are not rendered by default.

tools/code-generation/smithy/api-descriptions/mediaconnect.json

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,21 @@
10331033
}
10341034
}
10351035
},
1036+
"com.amazonaws.mediaconnect#AudioMonitoringSetting": {
1037+
"type": "structure",
1038+
"members": {
1039+
"SilentAudio": {
1040+
"target": "com.amazonaws.mediaconnect#SilentAudio",
1041+
"traits": {
1042+
"smithy.api#documentation": "Detects periods of silence.",
1043+
"smithy.api#jsonName": "silentAudio"
1044+
}
1045+
}
1046+
},
1047+
"traits": {
1048+
"smithy.api#documentation": "Specifies the configuration for audio stream metrics monitoring."
1049+
}
1050+
},
10361051
"com.amazonaws.mediaconnect#BadRequestException": {
10371052
"type": "structure",
10381053
"members": {
@@ -1052,6 +1067,28 @@
10521067
"smithy.api#httpError": 400
10531068
}
10541069
},
1070+
"com.amazonaws.mediaconnect#BlackFrames": {
1071+
"type": "structure",
1072+
"members": {
1073+
"State": {
1074+
"target": "com.amazonaws.mediaconnect#State",
1075+
"traits": {
1076+
"smithy.api#documentation": "Indicates whether the BlackFrames metric is enabled or disabled.",
1077+
"smithy.api#jsonName": "state"
1078+
}
1079+
},
1080+
"ThresholdSeconds": {
1081+
"target": "com.amazonaws.mediaconnect#__integer",
1082+
"traits": {
1083+
"smithy.api#documentation": "Specifies the number of consecutive seconds of black frames that triggers an event or alert.",
1084+
"smithy.api#jsonName": "thresholdSeconds"
1085+
}
1086+
}
1087+
},
1088+
"traits": {
1089+
"smithy.api#documentation": "Configures settings for the BlackFrames metric."
1090+
}
1091+
},
10551092
"com.amazonaws.mediaconnect#Bridge": {
10561093
"type": "structure",
10571094
"members": {
@@ -1546,6 +1583,23 @@
15461583
}
15471584
}
15481585
},
1586+
"com.amazonaws.mediaconnect#ContentQualityAnalysisState": {
1587+
"type": "enum",
1588+
"members": {
1589+
"ENABLED": {
1590+
"target": "smithy.api#Unit",
1591+
"traits": {
1592+
"smithy.api#enumValue": "ENABLED"
1593+
}
1594+
},
1595+
"DISABLED": {
1596+
"target": "smithy.api#Unit",
1597+
"traits": {
1598+
"smithy.api#enumValue": "DISABLED"
1599+
}
1600+
}
1601+
}
1602+
},
15491603
"com.amazonaws.mediaconnect#CreateBridge": {
15501604
"type": "operation",
15511605
"input": {
@@ -3691,6 +3745,28 @@
36913745
"smithy.api#documentation": "The frame resolution used by the video stream."
36923746
}
36933747
},
3748+
"com.amazonaws.mediaconnect#FrozenFrames": {
3749+
"type": "structure",
3750+
"members": {
3751+
"State": {
3752+
"target": "com.amazonaws.mediaconnect#State",
3753+
"traits": {
3754+
"smithy.api#documentation": "Indicates whether the FrozenFrames metric is enabled or disabled.",
3755+
"smithy.api#jsonName": "state"
3756+
}
3757+
},
3758+
"ThresholdSeconds": {
3759+
"target": "com.amazonaws.mediaconnect#__integer",
3760+
"traits": {
3761+
"smithy.api#documentation": "Specifies the number of consecutive seconds of a static image that triggers an event or alert.",
3762+
"smithy.api#jsonName": "thresholdSeconds"
3763+
}
3764+
}
3765+
},
3766+
"traits": {
3767+
"smithy.api#documentation": "Configures settings for the FrozenFrames metric."
3768+
}
3769+
},
36943770
"com.amazonaws.mediaconnect#Gateway": {
36953771
"type": "structure",
36963772
"members": {
@@ -6600,6 +6676,27 @@
66006676
"smithy.api#documentation": "The state of thumbnail monitoring.",
66016677
"smithy.api#jsonName": "thumbnailState"
66026678
}
6679+
},
6680+
"AudioMonitoringSettings": {
6681+
"target": "com.amazonaws.mediaconnect#__listOfAudioMonitoringSetting",
6682+
"traits": {
6683+
"smithy.api#documentation": "Contains the settings for audio stream metrics monitoring.",
6684+
"smithy.api#jsonName": "audioMonitoringSettings"
6685+
}
6686+
},
6687+
"ContentQualityAnalysisState": {
6688+
"target": "com.amazonaws.mediaconnect#ContentQualityAnalysisState",
6689+
"traits": {
6690+
"smithy.api#documentation": "Indicates whether content quality analysis is enabled or disabled.",
6691+
"smithy.api#jsonName": "contentQualityAnalysisState"
6692+
}
6693+
},
6694+
"VideoMonitoringSettings": {
6695+
"target": "com.amazonaws.mediaconnect#__listOfVideoMonitoringSetting",
6696+
"traits": {
6697+
"smithy.api#documentation": "Contains the settings for video stream metrics monitoring.",
6698+
"smithy.api#jsonName": "videoMonitoringSettings"
6699+
}
66036700
}
66046701
},
66056702
"traits": {
@@ -8067,6 +8164,28 @@
80678164
"smithy.api#documentation": "The settings for the source of the flow."
80688165
}
80698166
},
8167+
"com.amazonaws.mediaconnect#SilentAudio": {
8168+
"type": "structure",
8169+
"members": {
8170+
"State": {
8171+
"target": "com.amazonaws.mediaconnect#State",
8172+
"traits": {
8173+
"smithy.api#documentation": "Indicates whether the SilentAudio metric is enabled or disabled.",
8174+
"smithy.api#jsonName": "state"
8175+
}
8176+
},
8177+
"ThresholdSeconds": {
8178+
"target": "com.amazonaws.mediaconnect#__integer",
8179+
"traits": {
8180+
"smithy.api#documentation": "Specifies the number of consecutive seconds of silence that triggers an event or alert.",
8181+
"smithy.api#jsonName": "thresholdSeconds"
8182+
}
8183+
}
8184+
},
8185+
"traits": {
8186+
"smithy.api#documentation": "Configures settings for the SilentAudio metric."
8187+
}
8188+
},
80708189
"com.amazonaws.mediaconnect#Source": {
80718190
"type": "structure",
80728191
"members": {
@@ -10404,6 +10523,28 @@
1040410523
"smithy.api#documentation": "Update maintenance setting for a flow"
1040510524
}
1040610525
},
10526+
"com.amazonaws.mediaconnect#VideoMonitoringSetting": {
10527+
"type": "structure",
10528+
"members": {
10529+
"BlackFrames": {
10530+
"target": "com.amazonaws.mediaconnect#BlackFrames",
10531+
"traits": {
10532+
"smithy.api#documentation": "Detects video frames that are black.",
10533+
"smithy.api#jsonName": "blackFrames"
10534+
}
10535+
},
10536+
"FrozenFrames": {
10537+
"target": "com.amazonaws.mediaconnect#FrozenFrames",
10538+
"traits": {
10539+
"smithy.api#documentation": "Detects video frames that have not changed.",
10540+
"smithy.api#jsonName": "frozenFrames"
10541+
}
10542+
}
10543+
},
10544+
"traits": {
10545+
"smithy.api#documentation": "Specifies the configuration for video stream metrics monitoring."
10546+
}
10547+
},
1040710548
"com.amazonaws.mediaconnect#VpcInterface": {
1040810549
"type": "structure",
1040910550
"members": {
@@ -10565,6 +10706,12 @@
1056510706
"target": "com.amazonaws.mediaconnect#AddOutputRequest"
1056610707
}
1056710708
},
10709+
"com.amazonaws.mediaconnect#__listOfAudioMonitoringSetting": {
10710+
"type": "list",
10711+
"member": {
10712+
"target": "com.amazonaws.mediaconnect#AudioMonitoringSetting"
10713+
}
10714+
},
1056810715
"com.amazonaws.mediaconnect#__listOfBridgeOutput": {
1056910716
"type": "list",
1057010717
"member": {
@@ -10727,6 +10874,12 @@
1072710874
"target": "com.amazonaws.mediaconnect#TransportStreamProgram"
1072810875
}
1072910876
},
10877+
"com.amazonaws.mediaconnect#__listOfVideoMonitoringSetting": {
10878+
"type": "list",
10879+
"member": {
10880+
"target": "com.amazonaws.mediaconnect#VideoMonitoringSetting"
10881+
}
10882+
},
1073010883
"com.amazonaws.mediaconnect#__listOfVpcInterface": {
1073110884
"type": "list",
1073210885
"member": {

tools/code-generation/smithy/api-descriptions/mediaconvert.json

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10463,6 +10463,13 @@
1046310463
"smithy.api#documentation": "Inserts timecode for each frame as 4 bytes of an unregistered SEI message.",
1046410464
"smithy.api#jsonName": "unregisteredSeiTimecode"
1046510465
}
10466+
},
10467+
"WriteMp4PackagingType": {
10468+
"target": "com.amazonaws.mediaconvert#H264WriteMp4PackagingType",
10469+
"traits": {
10470+
"smithy.api#documentation": "Specify how SPS and PPS NAL units are written in your output MP4 container, according to ISO/IEC 14496-15. If the location of these parameters doesn't matter in your workflow: Keep the default value, AVC1. MediaConvert writes SPS and PPS NAL units in the sample description ('stsd') box (but not into samples directly). To write SPS and PPS NAL units directly into samples (but not in the 'stsd' box): Choose AVC3. When you do, note that your output might not play properly with some downstream systems or players.",
10471+
"smithy.api#jsonName": "writeMp4PackagingType"
10472+
}
1046610473
}
1046710474
},
1046810475
"traits": {
@@ -10595,6 +10602,26 @@
1059510602
"smithy.api#documentation": "Inserts timecode for each frame as 4 bytes of an unregistered SEI message."
1059610603
}
1059710604
},
10605+
"com.amazonaws.mediaconvert#H264WriteMp4PackagingType": {
10606+
"type": "enum",
10607+
"members": {
10608+
"AVC1": {
10609+
"target": "smithy.api#Unit",
10610+
"traits": {
10611+
"smithy.api#enumValue": "AVC1"
10612+
}
10613+
},
10614+
"AVC3": {
10615+
"target": "smithy.api#Unit",
10616+
"traits": {
10617+
"smithy.api#enumValue": "AVC3"
10618+
}
10619+
}
10620+
},
10621+
"traits": {
10622+
"smithy.api#documentation": "Specify how SPS and PPS NAL units are written in your output MP4 container, according to ISO/IEC 14496-15. If the location of these parameters doesn't matter in your workflow: Keep the default value, AVC1. MediaConvert writes SPS and PPS NAL units in the sample description ('stsd') box (but not into samples directly). To write SPS and PPS NAL units directly into samples (but not in the 'stsd' box): Choose AVC3. When you do, note that your output might not play properly with some downstream systems or players."
10623+
}
10624+
},
1059810625
"com.amazonaws.mediaconvert#H265AdaptiveQuantization": {
1059910626
"type": "enum",
1060010627
"members": {
@@ -14061,7 +14088,7 @@
1406114088
"FollowSource": {
1406214089
"target": "com.amazonaws.mediaconvert#__integerMin1Max150",
1406314090
"traits": {
14064-
"smithy.api#documentation": "Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don't manually specify different output settings for. Enabling this setting will disable \"Follow source\" for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.",
14091+
"smithy.api#documentation": "Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don't manually specify different output settings for. Enabling this setting will disable \"Follow source\" for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.",
1406514092
"smithy.api#jsonName": "followSource"
1406614093
}
1406714094
},
@@ -14334,7 +14361,7 @@
1433414361
"FollowSource": {
1433514362
"target": "com.amazonaws.mediaconvert#__integerMin1Max150",
1433614363
"traits": {
14337-
"smithy.api#documentation": "Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don't manually specify different output settings for. Enabling this setting will disable \"Follow source\" for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.",
14364+
"smithy.api#documentation": "Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don't manually specify different output settings for. Enabling this setting will disable \"Follow source\" for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.",
1433814365
"smithy.api#jsonName": "followSource"
1433914366
}
1434014367
},
@@ -14417,7 +14444,7 @@
1441714444
}
1441814445
},
1441914446
"CredentialsSecretName": {
14420-
"target": "com.amazonaws.mediaconvert#__stringMin1Max2048PatternArnAwsAwsUsGovAwsCnSecretsmanagerUsGovApCaCnEuSaCentralNorthSouthEastWestDD12SecretAZAZ09",
14447+
"target": "com.amazonaws.mediaconvert#__stringMin1Max2048PatternArnAZSecretsmanagerWD12SecretAZAZ09",
1442114448
"traits": {
1442214449
"smithy.api#documentation": "Provide the name of the AWS Secrets Manager secret where your Kantar credentials are stored. Note that your MediaConvert service role must provide access to this secret. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/granting-permissions-for-mediaconvert-to-access-secrets-manager-secret.html. For instructions on creating a secret, see https://docs.aws.amazon.com/secretsmanager/latest/userguide/tutorials_basic.html, in the AWS Secrets Manager User Guide.",
1442314450
"smithy.api#jsonName": "credentialsSecretName"
@@ -27668,14 +27695,14 @@
2766827695
}
2766927696
}
2767027697
},
27671-
"com.amazonaws.mediaconvert#__stringMin1Max2048PatternArnAwsAwsUsGovAwsCnSecretsmanagerUsGovApCaCnEuSaCentralNorthSouthEastWestDD12SecretAZAZ09": {
27698+
"com.amazonaws.mediaconvert#__stringMin1Max2048PatternArnAZSecretsmanagerWD12SecretAZAZ09": {
2767227699
"type": "string",
2767327700
"traits": {
2767427701
"smithy.api#length": {
2767527702
"min": 1,
2767627703
"max": 2048
2767727704
},
27678-
"smithy.api#pattern": "^(arn:(aws|aws-us-gov|aws-cn):secretsmanager:(us(-gov)?|ap|ca|cn|eu|sa)-(central|(north|south)?(east|west)?)-\\d:\\d{12}:secret:)?[a-zA-Z0-9_\\/_+=.@-]*$"
27705+
"smithy.api#pattern": "^(arn:[a-z-]+:secretsmanager:[\\w-]+:\\d{12}:secret:)?[a-zA-Z0-9_\\/_+=.@-]*$"
2767927706
}
2768027707
},
2768127708
"com.amazonaws.mediaconvert#__stringMin1Max256": {

0 commit comments

Comments
 (0)