Skip to content

Commit fc229d4

Browse files
Update generated code (#1408)
* update generated code * Update src/Service/Iot/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <[email protected]>
1 parent eefbfa2 commit fc229d4

File tree

6 files changed

+22
-19
lines changed

6 files changed

+22
-19
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.270.0"
3+
"${LATEST}": "3.271.0"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/Iot/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- AWS enhancement: Documentation updates.
8+
- AWS api-change: Change endpoint for some regions
89

910
## 0.1.0
1011

src/Service/Iot/src/IotClient.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -487,64 +487,64 @@ protected function getEndpointMetadata(?string $region): array
487487
return [
488488
'endpoint' => "https://iot.$region.amazonaws.com.cn",
489489
'signRegion' => $region,
490-
'signService' => 'execute-api',
490+
'signService' => 'iot',
491491
'signVersions' => ['v4'],
492492
];
493493
case 'fips-ca-central-1':
494494
return [
495495
'endpoint' => 'https://iot-fips.ca-central-1.amazonaws.com',
496496
'signRegion' => 'fips-ca-central-1',
497-
'signService' => 'execute-api',
497+
'signService' => 'iot',
498498
'signVersions' => ['v4'],
499499
];
500500
case 'fips-us-east-1':
501501
return [
502502
'endpoint' => 'https://iot-fips.us-east-1.amazonaws.com',
503503
'signRegion' => 'fips-us-east-1',
504-
'signService' => 'execute-api',
504+
'signService' => 'iot',
505505
'signVersions' => ['v4'],
506506
];
507507
case 'fips-us-east-2':
508508
return [
509509
'endpoint' => 'https://iot-fips.us-east-2.amazonaws.com',
510510
'signRegion' => 'fips-us-east-2',
511-
'signService' => 'execute-api',
511+
'signService' => 'iot',
512512
'signVersions' => ['v4'],
513513
];
514514
case 'fips-us-west-1':
515515
return [
516516
'endpoint' => 'https://iot-fips.us-west-1.amazonaws.com',
517517
'signRegion' => 'fips-us-west-1',
518-
'signService' => 'execute-api',
518+
'signService' => 'iot',
519519
'signVersions' => ['v4'],
520520
];
521521
case 'fips-us-west-2':
522522
return [
523523
'endpoint' => 'https://iot-fips.us-west-2.amazonaws.com',
524524
'signRegion' => 'fips-us-west-2',
525-
'signService' => 'execute-api',
525+
'signService' => 'iot',
526526
'signVersions' => ['v4'],
527527
];
528528
case 'fips-us-gov-east-1':
529529
return [
530530
'endpoint' => 'https://iot-fips.us-gov-east-1.amazonaws.com',
531531
'signRegion' => 'fips-us-gov-east-1',
532-
'signService' => 'execute-api',
532+
'signService' => 'iot',
533533
'signVersions' => ['v4'],
534534
];
535535
case 'fips-us-gov-west-1':
536536
return [
537537
'endpoint' => 'https://iot-fips.us-gov-west-1.amazonaws.com',
538538
'signRegion' => 'fips-us-gov-west-1',
539-
'signService' => 'execute-api',
539+
'signService' => 'iot',
540540
'signVersions' => ['v4'],
541541
];
542542
}
543543

544544
return [
545545
'endpoint' => "https://iot.$region.amazonaws.com",
546546
'signRegion' => $region,
547-
'signService' => 'execute-api',
547+
'signService' => 'iot',
548548
'signVersions' => ['v4'],
549549
];
550550
}

src/Service/Translate/src/Exception/UnsupportedLanguagePairException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
/**
99
* Amazon Translate does not support translation from the language of the source text into the requested target
10-
* language. For more information, see Error messages.
10+
* language. For more information, see Supported languages.
1111
*
12-
* @see https://docs.aws.amazon.com/translate/latest/dg/how-to-error-msg.html
12+
* @see https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
1313
*/
1414
final class UnsupportedLanguagePairException extends ClientException
1515
{

src/Service/Translate/src/Input/TranslateTextRequest.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ final class TranslateTextRequest extends Input
2222
private $text;
2323

2424
/**
25-
* The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most
26-
* in a `TranslateText` request. Terminology lists can contain a maximum of 256 terms.
25+
* The name of a terminology list file to add to the translation job. This file provides source terms and the desired
26+
* translation for each term. A terminology list can contain a maximum of 256 terms. You can use one custom terminology
27+
* resource in your translation request.
2728
*
2829
* @var string[]|null
2930
*/
3031
private $terminologyNames;
3132

3233
/**
33-
* The language code for the language of the source text. The language must be a language supported by Amazon Translate.
34-
* For a list of language codes, see Supported languages.
34+
* The language code for the language of the source text. For a list of language codes, see Supported languages.
3535
*
3636
* @see https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
3737
*
@@ -42,8 +42,10 @@ final class TranslateTextRequest extends Input
4242
private $sourceLanguageCode;
4343

4444
/**
45-
* The language code requested for the language of the target text. The language must be a language supported by Amazon
46-
* Translate.
45+
* The language code requested for the language of the target text. For a list of language codes, see Supported
46+
* languages.
47+
*
48+
* @see https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
4749
*
4850
* @required
4951
*

src/Service/Translate/src/Result/TranslateTextResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TranslateTextResponse extends Result
3131
private $appliedTerminologies;
3232

3333
/**
34-
* Settings that configure the translation output.
34+
* Optional settings that modify the translation output.
3535
*/
3636
private $appliedSettings;
3737

0 commit comments

Comments
 (0)