Skip to content

Commit bbebcf4

Browse files
authored
Merge pull request #1881 from aws/zoewangg-patch-7
Update sdk-default-configuration.json
2 parents faaef83 + fd71b8d commit bbebcf4

File tree

1 file changed

+55
-2
lines changed

1 file changed

+55
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,55 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<Error><Code>AuthorizationQueryParametersError</Code><Message>Error parsing the X-Amz-Credential parameter; the region 'us-east-1' is wrong; expecting 'us-west-2'</Message><Region>us-west-2</Region><RequestId>XSG1ZV19PRE71EGE</RequestId><HostId>4LgQvX4fFKwO9UmpNswCZib4QXe0YJRlaH2BXH5xdaKSkgy/INCuoCaGlXSyGD8J2nbeMglAcVs=</HostId></Error>
1+
{
2+
"version": 1,
3+
"base": {
4+
"retryMode": "standard",
5+
"stsRegionalEndpoints": "regional",
6+
"s3UsEast1RegionalEndpoints": "regional",
7+
"connectTimeoutInMillis": 1100,
8+
"tlsNegotiationTimeoutInMillis": 1100
9+
},
10+
"modes": {
11+
"standard": {
12+
"connectTimeoutInMillis": {
13+
"override": 3100
14+
},
15+
"tlsNegotiationTimeoutInMillis": {
16+
"override": 3100
17+
}
18+
},
19+
"in-region": {
20+
},
21+
"cross-region": {
22+
"connectTimeoutInMillis": {
23+
"override": 3100
24+
},
25+
"tlsNegotiationTimeoutInMillis": {
26+
"override": 3100
27+
}
28+
},
29+
"mobile": {
30+
"connectTimeoutInMillis": {
31+
"override": 30000
32+
},
33+
"tlsNegotiationTimeoutInMillis": {
34+
"override": 30000
35+
}
36+
}
37+
},
38+
"documentation": {
39+
"modes": {
40+
"standard": "<p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>",
41+
"in-region": "<p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>",
42+
"cross-region": "<p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>",
43+
"mobile": "<p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>",
44+
"auto": "<p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html\">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p>",
45+
"legacy": "<p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p>"
46+
},
47+
"configuration": {
48+
"retryMode": "<p>A retry mode specifies how the SDK attempts retries. See <a href=\"https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-retry_mode.html\">Retry Mode</a></p>",
49+
"stsRegionalEndpoints": "<p>Specifies how the SDK determines the AWS service endpoint that it uses to talk to the AWS Security Token Service (AWS STS). See <a href=\"https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-sts_regional_endpoints.html\">Setting STS Regional endpoints</a></p>",
50+
"s3UsEast1RegionalEndpoints": "<p>Specifies how the SDK determines the AWS service endpoint that it uses to talk to the Amazon S3 for the us-east-1 region</p>",
51+
"connectTimeoutInMillis": "<p>The amount of time after making an initial connection attempt on a socket, where if the client does not receive a completion of the connect handshake, the client gives up and fails the operation</p>",
52+
"tlsNegotiationTimeoutInMillis": "<p>The maximum amount of time that a TLS handshake is allowed to take from the time the CLIENT HELLO message is sent to ethe time the client and server have fully negotiated ciphers and exchanged keys</p>"
53+
}
54+
}
55+
}

0 commit comments

Comments
 (0)