You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const_data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[r]:"aws.partition",[s]:[{[t]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[r]:"isSet",[s]:o},{[r]:"parseURL",[s]:o,assign:"url"}],type:e,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:p,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://polly-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:q,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://polly.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]};
const_data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://polly-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://polly.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]};
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/polly.json
+32-11Lines changed: 32 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@
103
103
}
104
104
],
105
105
"traits": {
106
-
"smithy.api#documentation": "<p>Returns the list of voices that are available for use when\n requesting speech synthesis. Each voice speaks a specified language, is\n either male or female, and is identified by an ID, which is the ASCII\n version of the voice name. </p>\n\n <p>When synthesizing speech ( <code>SynthesizeSpeech</code> ), you\n provide the voice ID for the voice you want from the list of voices\n returned by <code>DescribeVoices</code>.</p>\n\n <p>For example, you want your news reader application to read news in\n a specific language, but giving a user the option to choose the voice.\n Using the <code>DescribeVoices</code> operation you can provide the user\n with a list of available voices to select from.</p>\n\n <p> You can optionally specify a language code to filter the available\n voices. For example, if you specify <code>en-US</code>, the operation\n returns a list of all available US English voices. </p>\n <p>This operation requires permissions to perform the\n <code>polly:DescribeVoices</code> action.</p>",
106
+
"smithy.api#documentation": "<p>Returns the list of voices that are available for use when\n requesting speech synthesis. Each voice speaks a specified language, is\n either male or female, and is identified by an ID, which is the ASCII\n version of the voice name. </p>\n <p>When synthesizing speech ( <code>SynthesizeSpeech</code> ), you\n provide the voice ID for the voice you want from the list of voices\n returned by <code>DescribeVoices</code>.</p>\n <p>For example, you want your news reader application to read news in\n a specific language, but giving a user the option to choose the voice.\n Using the <code>DescribeVoices</code> operation you can provide the user\n with a list of available voices to select from.</p>\n <p> You can optionally specify a language code to filter the available\n voices. For example, if you specify <code>en-US</code>, the operation\n returns a list of all available US English voices. </p>\n <p>This operation requires permissions to perform the\n <code>polly:DescribeVoices</code> action.</p>",
107
107
"smithy.api#http": {
108
108
"method": "GET",
109
109
"uri": "/v1/voices",
@@ -1163,15 +1163,6 @@
1163
1163
"ref": "Endpoint"
1164
1164
}
1165
1165
]
1166
-
},
1167
-
{
1168
-
"fn": "parseURL",
1169
-
"argv": [
1170
-
{
1171
-
"ref": "Endpoint"
1172
-
}
1173
-
],
1174
-
"assign": "url"
1175
1166
}
1176
1167
],
1177
1168
"type": "tree",
@@ -3030,7 +3021,7 @@
3030
3021
"Engine": {
3031
3022
"target": "com.amazonaws.polly#Engine",
3032
3023
"traits": {
3033
-
"smithy.api#documentation": "<p>Specifies the engine (<code>standard</code> or <code>neural</code>)\n for Amazon Polly to use when processing input text for speech synthesis. For\n information on Amazon Polly voices and which voices are available in\n standard-only, NTTS-only, and both standard and NTTS formats, see <a href=\"https://docs.aws.amazon.com/polly/latest/dg/voicelist.html\">Available Voices</a>.</p>\n <p>\n <b>NTTS-only voices</b>\n </p>\n <p>When using NTTS-only voices such as Kevin (en-US), this parameter is\n required and must be set to <code>neural</code>. If the engine is not\n specified, or is set to <code>standard</code>, this will result in an\n error. </p>\n <p>Type: String</p>\n <p>Valid Values: <code>standard</code> | <code>neural</code>\n </p>\n <p>Required: Yes</p>\n\n <p>\n <b>Standard voices</b>\n </p>\n <p>For standard voices, this is not required; the engine parameter\n defaults to <code>standard</code>. If the engine is not specified, or is\n set to <code>standard</code> and an NTTS-only voice is selected, this will\n result in an error. </p>"
3024
+
"smithy.api#documentation": "<p>Specifies the engine (<code>standard</code> or <code>neural</code>)\n for Amazon Polly to use when processing input text for speech synthesis. For\n information on Amazon Polly voices and which voices are available in\n standard-only, NTTS-only, and both standard and NTTS formats, see <a href=\"https://docs.aws.amazon.com/polly/latest/dg/voicelist.html\">Available Voices</a>.</p>\n <p>\n <b>NTTS-only voices</b>\n </p>\n <p>When using NTTS-only voices such as Kevin (en-US), this parameter is\n required and must be set to <code>neural</code>. If the engine is not\n specified, or is set to <code>standard</code>, this will result in an\n error. </p>\n <p>Type: String</p>\n <p>Valid Values: <code>standard</code> | <code>neural</code>\n </p>\n <p>Required: Yes</p>\n <p>\n <b>Standard voices</b>\n </p>\n <p>For standard voices, this is not required; the engine parameter\n defaults to <code>standard</code>. If the engine is not specified, or is\n set to <code>standard</code> and an NTTS-only voice is selected, this will\n result in an error. </p>"
0 commit comments