Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-cpp-automation committed Jan 2, 2025
1 parent ef515b3 commit f4e7fa0
Show file tree
Hide file tree
Showing 7 changed files with 416 additions and 97 deletions.
3 changes: 2 additions & 1 deletion tools/code-generation/smithy/api-descriptions/appsync.json
Original file line number Diff line number Diff line change
Expand Up @@ -10207,7 +10207,8 @@
"authenticationType": {
"target": "com.amazonaws.appsync#AuthenticationType",
"traits": {
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>"
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>",
"smithy.api#required": {}
}
},
"userPoolConfig": {
Expand Down
245 changes: 172 additions & 73 deletions tools/code-generation/smithy/api-descriptions/gamelift.json

Large diffs are not rendered by default.

153 changes: 153 additions & 0 deletions tools/code-generation/smithy/api-descriptions/mediaconnect.json
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,21 @@
}
}
},
"com.amazonaws.mediaconnect#AudioMonitoringSetting": {
"type": "structure",
"members": {
"SilentAudio": {
"target": "com.amazonaws.mediaconnect#SilentAudio",
"traits": {
"smithy.api#documentation": "Detects periods of silence.",
"smithy.api#jsonName": "silentAudio"
}
}
},
"traits": {
"smithy.api#documentation": "Specifies the configuration for audio stream metrics monitoring."
}
},
"com.amazonaws.mediaconnect#BadRequestException": {
"type": "structure",
"members": {
Expand All @@ -1052,6 +1067,28 @@
"smithy.api#httpError": 400
}
},
"com.amazonaws.mediaconnect#BlackFrames": {
"type": "structure",
"members": {
"State": {
"target": "com.amazonaws.mediaconnect#State",
"traits": {
"smithy.api#documentation": "Indicates whether the BlackFrames metric is enabled or disabled.",
"smithy.api#jsonName": "state"
}
},
"ThresholdSeconds": {
"target": "com.amazonaws.mediaconnect#__integer",
"traits": {
"smithy.api#documentation": "Specifies the number of consecutive seconds of black frames that triggers an event or alert.",
"smithy.api#jsonName": "thresholdSeconds"
}
}
},
"traits": {
"smithy.api#documentation": "Configures settings for the BlackFrames metric."
}
},
"com.amazonaws.mediaconnect#Bridge": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -1546,6 +1583,23 @@
}
}
},
"com.amazonaws.mediaconnect#ContentQualityAnalysisState": {
"type": "enum",
"members": {
"ENABLED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ENABLED"
}
},
"DISABLED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DISABLED"
}
}
}
},
"com.amazonaws.mediaconnect#CreateBridge": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -3691,6 +3745,28 @@
"smithy.api#documentation": "The frame resolution used by the video stream."
}
},
"com.amazonaws.mediaconnect#FrozenFrames": {
"type": "structure",
"members": {
"State": {
"target": "com.amazonaws.mediaconnect#State",
"traits": {
"smithy.api#documentation": "Indicates whether the FrozenFrames metric is enabled or disabled.",
"smithy.api#jsonName": "state"
}
},
"ThresholdSeconds": {
"target": "com.amazonaws.mediaconnect#__integer",
"traits": {
"smithy.api#documentation": "Specifies the number of consecutive seconds of a static image that triggers an event or alert.",
"smithy.api#jsonName": "thresholdSeconds"
}
}
},
"traits": {
"smithy.api#documentation": "Configures settings for the FrozenFrames metric."
}
},
"com.amazonaws.mediaconnect#Gateway": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -6600,6 +6676,27 @@
"smithy.api#documentation": "The state of thumbnail monitoring.",
"smithy.api#jsonName": "thumbnailState"
}
},
"AudioMonitoringSettings": {
"target": "com.amazonaws.mediaconnect#__listOfAudioMonitoringSetting",
"traits": {
"smithy.api#documentation": "Contains the settings for audio stream metrics monitoring.",
"smithy.api#jsonName": "audioMonitoringSettings"
}
},
"ContentQualityAnalysisState": {
"target": "com.amazonaws.mediaconnect#ContentQualityAnalysisState",
"traits": {
"smithy.api#documentation": "Indicates whether content quality analysis is enabled or disabled.",
"smithy.api#jsonName": "contentQualityAnalysisState"
}
},
"VideoMonitoringSettings": {
"target": "com.amazonaws.mediaconnect#__listOfVideoMonitoringSetting",
"traits": {
"smithy.api#documentation": "Contains the settings for video stream metrics monitoring.",
"smithy.api#jsonName": "videoMonitoringSettings"
}
}
},
"traits": {
Expand Down Expand Up @@ -8067,6 +8164,28 @@
"smithy.api#documentation": "The settings for the source of the flow."
}
},
"com.amazonaws.mediaconnect#SilentAudio": {
"type": "structure",
"members": {
"State": {
"target": "com.amazonaws.mediaconnect#State",
"traits": {
"smithy.api#documentation": "Indicates whether the SilentAudio metric is enabled or disabled.",
"smithy.api#jsonName": "state"
}
},
"ThresholdSeconds": {
"target": "com.amazonaws.mediaconnect#__integer",
"traits": {
"smithy.api#documentation": "Specifies the number of consecutive seconds of silence that triggers an event or alert.",
"smithy.api#jsonName": "thresholdSeconds"
}
}
},
"traits": {
"smithy.api#documentation": "Configures settings for the SilentAudio metric."
}
},
"com.amazonaws.mediaconnect#Source": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -10404,6 +10523,28 @@
"smithy.api#documentation": "Update maintenance setting for a flow"
}
},
"com.amazonaws.mediaconnect#VideoMonitoringSetting": {
"type": "structure",
"members": {
"BlackFrames": {
"target": "com.amazonaws.mediaconnect#BlackFrames",
"traits": {
"smithy.api#documentation": "Detects video frames that are black.",
"smithy.api#jsonName": "blackFrames"
}
},
"FrozenFrames": {
"target": "com.amazonaws.mediaconnect#FrozenFrames",
"traits": {
"smithy.api#documentation": "Detects video frames that have not changed.",
"smithy.api#jsonName": "frozenFrames"
}
}
},
"traits": {
"smithy.api#documentation": "Specifies the configuration for video stream metrics monitoring."
}
},
"com.amazonaws.mediaconnect#VpcInterface": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -10565,6 +10706,12 @@
"target": "com.amazonaws.mediaconnect#AddOutputRequest"
}
},
"com.amazonaws.mediaconnect#__listOfAudioMonitoringSetting": {
"type": "list",
"member": {
"target": "com.amazonaws.mediaconnect#AudioMonitoringSetting"
}
},
"com.amazonaws.mediaconnect#__listOfBridgeOutput": {
"type": "list",
"member": {
Expand Down Expand Up @@ -10727,6 +10874,12 @@
"target": "com.amazonaws.mediaconnect#TransportStreamProgram"
}
},
"com.amazonaws.mediaconnect#__listOfVideoMonitoringSetting": {
"type": "list",
"member": {
"target": "com.amazonaws.mediaconnect#VideoMonitoringSetting"
}
},
"com.amazonaws.mediaconnect#__listOfVpcInterface": {
"type": "list",
"member": {
Expand Down
37 changes: 32 additions & 5 deletions tools/code-generation/smithy/api-descriptions/mediaconvert.json
Original file line number Diff line number Diff line change
Expand Up @@ -10463,6 +10463,13 @@
"smithy.api#documentation": "Inserts timecode for each frame as 4 bytes of an unregistered SEI message.",
"smithy.api#jsonName": "unregisteredSeiTimecode"
}
},
"WriteMp4PackagingType": {
"target": "com.amazonaws.mediaconvert#H264WriteMp4PackagingType",
"traits": {
"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.",
"smithy.api#jsonName": "writeMp4PackagingType"
}
}
},
"traits": {
Expand Down Expand Up @@ -10595,6 +10602,26 @@
"smithy.api#documentation": "Inserts timecode for each frame as 4 bytes of an unregistered SEI message."
}
},
"com.amazonaws.mediaconvert#H264WriteMp4PackagingType": {
"type": "enum",
"members": {
"AVC1": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AVC1"
}
},
"AVC3": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AVC3"
}
}
},
"traits": {
"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."
}
},
"com.amazonaws.mediaconvert#H265AdaptiveQuantization": {
"type": "enum",
"members": {
Expand Down Expand Up @@ -14061,7 +14088,7 @@
"FollowSource": {
"target": "com.amazonaws.mediaconvert#__integerMin1Max150",
"traits": {
"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.",
"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.",
"smithy.api#jsonName": "followSource"
}
},
Expand Down Expand Up @@ -14334,7 +14361,7 @@
"FollowSource": {
"target": "com.amazonaws.mediaconvert#__integerMin1Max150",
"traits": {
"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.",
"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.",
"smithy.api#jsonName": "followSource"
}
},
Expand Down Expand Up @@ -14417,7 +14444,7 @@
}
},
"CredentialsSecretName": {
"target": "com.amazonaws.mediaconvert#__stringMin1Max2048PatternArnAwsAwsUsGovAwsCnSecretsmanagerUsGovApCaCnEuSaCentralNorthSouthEastWestDD12SecretAZAZ09",
"target": "com.amazonaws.mediaconvert#__stringMin1Max2048PatternArnAZSecretsmanagerWD12SecretAZAZ09",
"traits": {
"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.",
"smithy.api#jsonName": "credentialsSecretName"
Expand Down Expand Up @@ -27668,14 +27695,14 @@
}
}
},
"com.amazonaws.mediaconvert#__stringMin1Max2048PatternArnAwsAwsUsGovAwsCnSecretsmanagerUsGovApCaCnEuSaCentralNorthSouthEastWestDD12SecretAZAZ09": {
"com.amazonaws.mediaconvert#__stringMin1Max2048PatternArnAZSecretsmanagerWD12SecretAZAZ09": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2048
},
"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_\\/_+=.@-]*$"
"smithy.api#pattern": "^(arn:[a-z-]+:secretsmanager:[\\w-]+:\\d{12}:secret:)?[a-zA-Z0-9_\\/_+=.@-]*$"
}
},
"com.amazonaws.mediaconvert#__stringMin1Max256": {
Expand Down
Loading

0 comments on commit f4e7fa0

Please sign in to comment.