@aws-sdk/client-lambda 3.39.0 → 3.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +62 -3
  3. package/dist-cjs/endpoints.js +140 -23
  4. package/dist-cjs/models/models_0.js +18 -4
  5. package/dist-cjs/protocols/Aws_restJson1.js +70 -0
  6. package/dist-cjs/runtimeConfig.browser.js +6 -3
  7. package/dist-cjs/runtimeConfig.js +5 -3
  8. package/dist-es/endpoints.js +140 -23
  9. package/dist-es/models/models_0.js +10 -0
  10. package/dist-es/protocols/Aws_restJson1.js +68 -4
  11. package/dist-es/runtimeConfig.browser.js +3 -2
  12. package/dist-es/runtimeConfig.js +3 -3
  13. package/dist-types/Lambda.d.ts +189 -13
  14. package/dist-types/LambdaClient.d.ts +70 -3
  15. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +1 -1
  16. package/dist-types/commands/AddPermissionCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +50 -11
  20. package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +1 -1
  30. package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -1
  31. package/dist-types/commands/GetAliasCommand.d.ts +1 -1
  32. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -1
  33. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -1
  34. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -1
  35. package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  36. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -1
  37. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
  38. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -1
  39. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
  40. package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
  41. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -1
  42. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  43. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +1 -1
  44. package/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
  45. package/dist-types/commands/InvokeCommand.d.ts +1 -1
  46. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  47. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -1
  49. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
  50. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -1
  51. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
  52. package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -1
  53. package/dist-types/commands/ListLayersCommand.d.ts +1 -1
  54. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +1 -1
  55. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  56. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
  57. package/dist-types/commands/PublishLayerVersionCommand.d.ts +1 -1
  58. package/dist-types/commands/PublishVersionCommand.d.ts +1 -1
  59. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -1
  60. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
  61. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -1
  62. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +1 -1
  63. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +1 -1
  64. package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  65. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  66. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -1
  69. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +79 -1
  70. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +1 -1
  73. package/dist-types/models/models_0.d.ts +98 -15
  74. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  75. package/dist-types/runtimeConfig.d.ts +2 -0
  76. package/dist-types/runtimeConfig.native.d.ts +2 -0
  77. package/dist-types/ts3.4/LambdaClient.d.ts +4 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +26 -0
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  82. package/package.json +24 -24
package/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-lambda
20
+
21
+
22
+
23
+
24
+
25
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
26
+
27
+
28
+ ### Features
29
+
30
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
31
+
32
+
33
+
34
+
35
+
36
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
37
+
38
+
39
+ ### Features
40
+
41
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
48
 
8
49
  **Note:** Version bump only for package @aws-sdk/client-lambda
package/README.md CHANGED
@@ -12,9 +12,68 @@ AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native.
12
12
  <p>
13
13
  <b>Overview</b>
14
14
  </p>
15
- <p>This is the <i>Lambda API Reference</i>. The Lambda Developer Guide provides additional
16
- information. For the service overview, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is
17
- Lambda</a>, and for information about how the service works, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html">Lambda: How it Works</a> in the <b>Lambda Developer Guide</b>.</p>
15
+ <p>Lambda is a compute service that lets you run code without provisioning or managing servers.
16
+ Lambda runs your code on a high-availability compute infrastructure and performs all of the
17
+ administration of the compute resources, including server and operating system maintenance, capacity provisioning
18
+ and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any
19
+ type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p>
20
+ <p>The <i>Lambda API Reference</i> provides information about
21
+ each of the API methods, including details about the parameters in each API request and
22
+ response. </p>
23
+ <p></p>
24
+ <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command
25
+ line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
26
+ Amazon Web Services</a>. </p>
27
+ <p>For a list of Region-specific endpoints that Lambda supports,
28
+ see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda
29
+ endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
30
+ <p>When making the API calls, you will need to
31
+ authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
32
+ see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the
33
+ <i>Amazon Web Services General Reference.</i>. </p>
34
+ <p>
35
+ <b>CA certificates</b>
36
+ </p>
37
+
38
+ <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers
39
+ can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your
40
+ computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate
41
+ environment and do not manage your own computer, you might need to ask an administrator to assist with the
42
+ update process. The following list shows minimum operating system and Java versions:</p>
43
+ <ul>
44
+ <li>
45
+ <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one
46
+ of the required CAs in their trust list. </p>
47
+ </li>
48
+ <li>
49
+ <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and
50
+ later versions contain at least one of the required CAs in their trust list. </p>
51
+ </li>
52
+ <li>
53
+ <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the
54
+ required CAs in their default trusted CA list. </p>
55
+ </li>
56
+ <li>
57
+ <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December
58
+ 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p>
59
+ </li>
60
+ </ul>
61
+ <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or
62
+ programmatically, you will need to ensure your client machines support any of the following CAs: </p>
63
+ <ul>
64
+ <li>
65
+ <p>Amazon Root CA 1</p>
66
+ </li>
67
+ <li>
68
+ <p>Starfield Services Root Certificate Authority - G2</p>
69
+ </li>
70
+ <li>
71
+ <p>Starfield Class 2 Certification Authority</p>
72
+ </li>
73
+ </ul>
74
+ <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer
75
+ up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a>
76
+ </p>
18
77
 
19
78
  ## Installing
20
79
 
@@ -3,29 +3,77 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
- "fips-us-east-1": {
7
- hostname: "lambda-fips.us-east-1.amazonaws.com",
8
- signingRegion: "us-east-1",
6
+ "us-east-1": {
7
+ variants: [
8
+ {
9
+ hostname: "lambda.us-east-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ {
13
+ hostname: "lambda-fips.us-east-1.amazonaws.com",
14
+ tags: ["fips"],
15
+ },
16
+ ],
9
17
  },
10
- "fips-us-east-2": {
11
- hostname: "lambda-fips.us-east-2.amazonaws.com",
12
- signingRegion: "us-east-2",
18
+ "us-east-2": {
19
+ variants: [
20
+ {
21
+ hostname: "lambda.us-east-2.amazonaws.com",
22
+ tags: [],
23
+ },
24
+ {
25
+ hostname: "lambda-fips.us-east-2.amazonaws.com",
26
+ tags: ["fips"],
27
+ },
28
+ ],
13
29
  },
14
- "fips-us-gov-east-1": {
15
- hostname: "lambda-fips.us-gov-east-1.amazonaws.com",
16
- signingRegion: "us-gov-east-1",
30
+ "us-gov-east-1": {
31
+ variants: [
32
+ {
33
+ hostname: "lambda.us-gov-east-1.amazonaws.com",
34
+ tags: [],
35
+ },
36
+ {
37
+ hostname: "lambda-fips.us-gov-east-1.amazonaws.com",
38
+ tags: ["fips"],
39
+ },
40
+ ],
17
41
  },
18
- "fips-us-gov-west-1": {
19
- hostname: "lambda-fips.us-gov-west-1.amazonaws.com",
20
- signingRegion: "us-gov-west-1",
42
+ "us-gov-west-1": {
43
+ variants: [
44
+ {
45
+ hostname: "lambda.us-gov-west-1.amazonaws.com",
46
+ tags: [],
47
+ },
48
+ {
49
+ hostname: "lambda-fips.us-gov-west-1.amazonaws.com",
50
+ tags: ["fips"],
51
+ },
52
+ ],
21
53
  },
22
- "fips-us-west-1": {
23
- hostname: "lambda-fips.us-west-1.amazonaws.com",
24
- signingRegion: "us-west-1",
54
+ "us-west-1": {
55
+ variants: [
56
+ {
57
+ hostname: "lambda.us-west-1.amazonaws.com",
58
+ tags: [],
59
+ },
60
+ {
61
+ hostname: "lambda-fips.us-west-1.amazonaws.com",
62
+ tags: ["fips"],
63
+ },
64
+ ],
25
65
  },
26
- "fips-us-west-2": {
27
- hostname: "lambda-fips.us-west-2.amazonaws.com",
28
- signingRegion: "us-west-2",
66
+ "us-west-2": {
67
+ variants: [
68
+ {
69
+ hostname: "lambda.us-west-2.amazonaws.com",
70
+ tags: [],
71
+ },
72
+ {
73
+ hostname: "lambda-fips.us-west-2.amazonaws.com",
74
+ tags: ["fips"],
75
+ },
76
+ ],
29
77
  },
30
78
  };
31
79
  const partitionHash = {
@@ -58,27 +106,96 @@ const partitionHash = {
58
106
  "us-west-2",
59
107
  ],
60
108
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
61
- hostname: "lambda.{region}.amazonaws.com",
109
+ variants: [
110
+ {
111
+ hostname: "lambda.{region}.amazonaws.com",
112
+ tags: [],
113
+ },
114
+ {
115
+ hostname: "lambda-fips.{region}.amazonaws.com",
116
+ tags: ["fips"],
117
+ },
118
+ {
119
+ hostname: "lambda-fips.{region}.api.aws",
120
+ tags: ["dualstack", "fips"],
121
+ },
122
+ {
123
+ hostname: "lambda.{region}.api.aws",
124
+ tags: ["dualstack"],
125
+ },
126
+ ],
62
127
  },
63
128
  "aws-cn": {
64
129
  regions: ["cn-north-1", "cn-northwest-1"],
65
130
  regionRegex: "^cn\\-\\w+\\-\\d+$",
66
- hostname: "lambda.{region}.amazonaws.com.cn",
131
+ variants: [
132
+ {
133
+ hostname: "lambda.{region}.amazonaws.com.cn",
134
+ tags: [],
135
+ },
136
+ {
137
+ hostname: "lambda-fips.{region}.amazonaws.com.cn",
138
+ tags: ["fips"],
139
+ },
140
+ {
141
+ hostname: "lambda-fips.{region}.api.amazonwebservices.com.cn",
142
+ tags: ["dualstack", "fips"],
143
+ },
144
+ {
145
+ hostname: "lambda.{region}.api.amazonwebservices.com.cn",
146
+ tags: ["dualstack"],
147
+ },
148
+ ],
67
149
  },
68
150
  "aws-iso": {
69
151
  regions: ["us-iso-east-1", "us-iso-west-1"],
70
152
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
71
- hostname: "lambda.{region}.c2s.ic.gov",
153
+ variants: [
154
+ {
155
+ hostname: "lambda.{region}.c2s.ic.gov",
156
+ tags: [],
157
+ },
158
+ {
159
+ hostname: "lambda-fips.{region}.c2s.ic.gov",
160
+ tags: ["fips"],
161
+ },
162
+ ],
72
163
  },
73
164
  "aws-iso-b": {
74
165
  regions: ["us-isob-east-1"],
75
166
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
76
- hostname: "lambda.{region}.sc2s.sgov.gov",
167
+ variants: [
168
+ {
169
+ hostname: "lambda.{region}.sc2s.sgov.gov",
170
+ tags: [],
171
+ },
172
+ {
173
+ hostname: "lambda-fips.{region}.sc2s.sgov.gov",
174
+ tags: ["fips"],
175
+ },
176
+ ],
77
177
  },
78
178
  "aws-us-gov": {
79
179
  regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
80
180
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
81
- hostname: "lambda.{region}.amazonaws.com",
181
+ variants: [
182
+ {
183
+ hostname: "lambda.{region}.amazonaws.com",
184
+ tags: [],
185
+ },
186
+ {
187
+ hostname: "lambda-fips.{region}.amazonaws.com",
188
+ tags: ["fips"],
189
+ },
190
+ {
191
+ hostname: "lambda-fips.{region}.api.aws",
192
+ tags: ["dualstack", "fips"],
193
+ },
194
+ {
195
+ hostname: "lambda.{region}.api.aws",
196
+ tags: ["dualstack"],
197
+ },
198
+ ],
82
199
  },
83
200
  };
84
201
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EnvironmentError = exports.CreateFunctionRequest = exports.VpcConfig = exports.TracingConfig = exports.TracingMode = exports.Runtime = exports.PackageType = exports.ImageConfig = exports.FileSystemConfig = exports.Environment = exports.DeadLetterConfig = exports.FunctionCode = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourceMappingConfiguration = exports.CreateEventSourceMappingRequest = exports.EventSourcePosition = exports.SourceAccessConfiguration = exports.SourceAccessType = exports.SelfManagedEventSource = exports.EndPointType = exports.FunctionResponseType = exports.DestinationConfig = exports.OnSuccess = exports.OnFailure = exports.CreateCodeSigningConfigResponse = exports.CodeSigningConfig = exports.CreateCodeSigningConfigRequest = exports.CodeSigningPolicies = exports.CodeSigningPolicy = exports.CreateAliasRequest = exports.Architecture = exports.AllowedPublishers = exports.AliasConfiguration = exports.AliasRoutingConfiguration = exports.AddPermissionResponse = exports.AddPermissionRequest = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = exports.AddLayerVersionPermissionResponse = exports.AddLayerVersionPermissionRequest = exports.AccountUsage = exports.AccountLimit = void 0;
4
- exports.ProvisionedConcurrencyStatusEnum = exports.GetProvisionedConcurrencyConfigRequest = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetLayerVersionPolicyResponse = exports.GetLayerVersionPolicyRequest = exports.GetLayerVersionByArnRequest = exports.GetLayerVersionResponse = exports.LayerVersionContentOutput = exports.GetLayerVersionRequest = exports.GetFunctionEventInvokeConfigRequest = exports.FunctionEventInvokeConfig = exports.GetFunctionConfigurationRequest = exports.GetFunctionConcurrencyResponse = exports.GetFunctionConcurrencyRequest = exports.GetFunctionCodeSigningConfigResponse = exports.GetFunctionCodeSigningConfigRequest = exports.GetFunctionResponse = exports.Concurrency = exports.FunctionCodeLocation = exports.GetFunctionRequest = exports.GetEventSourceMappingRequest = exports.GetCodeSigningConfigResponse = exports.GetCodeSigningConfigRequest = exports.GetAliasRequest = exports.GetAccountSettingsResponse = exports.GetAccountSettingsRequest = exports.DeleteProvisionedConcurrencyConfigRequest = exports.DeleteLayerVersionRequest = exports.DeleteFunctionEventInvokeConfigRequest = exports.DeleteFunctionConcurrencyRequest = exports.DeleteFunctionCodeSigningConfigRequest = exports.DeleteFunctionRequest = exports.ResourceInUseException = exports.DeleteEventSourceMappingRequest = exports.DeleteCodeSigningConfigResponse = exports.DeleteCodeSigningConfigRequest = exports.DeleteAliasRequest = exports.InvalidCodeSignatureException = exports.FunctionConfiguration = exports.VpcConfigResponse = exports.TracingConfigResponse = exports.StateReasonCode = exports.State = exports.Layer = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.ImageConfigResponse = exports.ImageConfigError = exports.EnvironmentResponse = void 0;
5
- exports.ProvisionedConcurrencyConfigListItem = exports.ListProvisionedConcurrencyConfigsRequest = exports.ListLayerVersionsResponse = exports.ListLayerVersionsRequest = exports.ListLayersResponse = exports.LayersListItem = exports.LayerVersionsListItem = exports.ListLayersRequest = exports.ListFunctionsByCodeSigningConfigResponse = exports.ListFunctionsByCodeSigningConfigRequest = exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.FunctionVersion = exports.ListFunctionEventInvokeConfigsResponse = exports.ListFunctionEventInvokeConfigsRequest = exports.ListEventSourceMappingsResponse = exports.ListEventSourceMappingsRequest = exports.ListCodeSigningConfigsResponse = exports.ListCodeSigningConfigsRequest = exports.ListAliasesResponse = exports.ListAliasesRequest = exports.InvokeAsyncResponse = exports.InvokeAsyncRequest = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.InvocationResponse = exports.InvocationRequest = exports.LogType = exports.InvocationType = exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.ProvisionedConcurrencyConfigNotFoundException = exports.GetProvisionedConcurrencyConfigResponse = void 0;
6
- exports.UpdateFunctionEventInvokeConfigRequest = exports.UpdateFunctionConfigurationRequest = exports.UpdateFunctionCodeRequest = exports.UpdateEventSourceMappingRequest = exports.UpdateCodeSigningConfigResponse = exports.UpdateCodeSigningConfigRequest = exports.UpdateAliasRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RemovePermissionRequest = exports.RemoveLayerVersionPermissionRequest = exports.PutProvisionedConcurrencyConfigResponse = exports.PutProvisionedConcurrencyConfigRequest = exports.PutFunctionEventInvokeConfigRequest = exports.PutFunctionConcurrencyRequest = exports.PutFunctionCodeSigningConfigResponse = exports.PutFunctionCodeSigningConfigRequest = exports.PublishVersionRequest = exports.PublishLayerVersionResponse = exports.PublishLayerVersionRequest = exports.LayerVersionContentInput = exports.ListVersionsByFunctionResponse = exports.ListVersionsByFunctionRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListProvisionedConcurrencyConfigsResponse = void 0;
3
+ exports.VpcConfig = exports.TracingConfig = exports.TracingMode = exports.Runtime = exports.PackageType = exports.ImageConfig = exports.FileSystemConfig = exports.Environment = exports.DeadLetterConfig = exports.FunctionCode = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourceMappingConfiguration = exports.CreateEventSourceMappingRequest = exports.EventSourcePosition = exports.SourceAccessConfiguration = exports.SourceAccessType = exports.SelfManagedEventSource = exports.EndPointType = exports.FunctionResponseType = exports.FilterCriteria = exports.Filter = exports.DestinationConfig = exports.OnSuccess = exports.OnFailure = exports.CreateCodeSigningConfigResponse = exports.CodeSigningConfig = exports.CreateCodeSigningConfigRequest = exports.CodeSigningPolicies = exports.CodeSigningPolicy = exports.CreateAliasRequest = exports.Architecture = exports.AllowedPublishers = exports.AliasConfiguration = exports.AliasRoutingConfiguration = exports.AddPermissionResponse = exports.AddPermissionRequest = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = exports.AddLayerVersionPermissionResponse = exports.AddLayerVersionPermissionRequest = exports.AccountUsage = exports.AccountLimit = void 0;
4
+ exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetLayerVersionPolicyResponse = exports.GetLayerVersionPolicyRequest = exports.GetLayerVersionByArnRequest = exports.GetLayerVersionResponse = exports.LayerVersionContentOutput = exports.GetLayerVersionRequest = exports.GetFunctionEventInvokeConfigRequest = exports.FunctionEventInvokeConfig = exports.GetFunctionConfigurationRequest = exports.GetFunctionConcurrencyResponse = exports.GetFunctionConcurrencyRequest = exports.GetFunctionCodeSigningConfigResponse = exports.GetFunctionCodeSigningConfigRequest = exports.GetFunctionResponse = exports.Concurrency = exports.FunctionCodeLocation = exports.GetFunctionRequest = exports.GetEventSourceMappingRequest = exports.GetCodeSigningConfigResponse = exports.GetCodeSigningConfigRequest = exports.GetAliasRequest = exports.GetAccountSettingsResponse = exports.GetAccountSettingsRequest = exports.DeleteProvisionedConcurrencyConfigRequest = exports.DeleteLayerVersionRequest = exports.DeleteFunctionEventInvokeConfigRequest = exports.DeleteFunctionConcurrencyRequest = exports.DeleteFunctionCodeSigningConfigRequest = exports.DeleteFunctionRequest = exports.ResourceInUseException = exports.DeleteEventSourceMappingRequest = exports.DeleteCodeSigningConfigResponse = exports.DeleteCodeSigningConfigRequest = exports.DeleteAliasRequest = exports.InvalidCodeSignatureException = exports.FunctionConfiguration = exports.VpcConfigResponse = exports.TracingConfigResponse = exports.StateReasonCode = exports.State = exports.Layer = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.ImageConfigResponse = exports.ImageConfigError = exports.EnvironmentResponse = exports.EnvironmentError = exports.CreateFunctionRequest = void 0;
5
+ exports.ListLayerVersionsResponse = exports.ListLayerVersionsRequest = exports.ListLayersResponse = exports.LayersListItem = exports.LayerVersionsListItem = exports.ListLayersRequest = exports.ListFunctionsByCodeSigningConfigResponse = exports.ListFunctionsByCodeSigningConfigRequest = exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.FunctionVersion = exports.ListFunctionEventInvokeConfigsResponse = exports.ListFunctionEventInvokeConfigsRequest = exports.ListEventSourceMappingsResponse = exports.ListEventSourceMappingsRequest = exports.ListCodeSigningConfigsResponse = exports.ListCodeSigningConfigsRequest = exports.ListAliasesResponse = exports.ListAliasesRequest = exports.InvokeAsyncResponse = exports.InvokeAsyncRequest = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.InvocationResponse = exports.InvocationRequest = exports.LogType = exports.InvocationType = exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.ProvisionedConcurrencyConfigNotFoundException = exports.GetProvisionedConcurrencyConfigResponse = exports.ProvisionedConcurrencyStatusEnum = exports.GetProvisionedConcurrencyConfigRequest = void 0;
6
+ exports.UpdateFunctionEventInvokeConfigRequest = exports.UpdateFunctionConfigurationRequest = exports.UpdateFunctionCodeRequest = exports.UpdateEventSourceMappingRequest = exports.UpdateCodeSigningConfigResponse = exports.UpdateCodeSigningConfigRequest = exports.UpdateAliasRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RemovePermissionRequest = exports.RemoveLayerVersionPermissionRequest = exports.PutProvisionedConcurrencyConfigResponse = exports.PutProvisionedConcurrencyConfigRequest = exports.PutFunctionEventInvokeConfigRequest = exports.PutFunctionConcurrencyRequest = exports.PutFunctionCodeSigningConfigResponse = exports.PutFunctionCodeSigningConfigRequest = exports.PublishVersionRequest = exports.PublishLayerVersionResponse = exports.PublishLayerVersionRequest = exports.LayerVersionContentInput = exports.ListVersionsByFunctionResponse = exports.ListVersionsByFunctionRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListProvisionedConcurrencyConfigsResponse = exports.ProvisionedConcurrencyConfigListItem = exports.ListProvisionedConcurrencyConfigsRequest = void 0;
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  var AccountLimit;
9
9
  (function (AccountLimit) {
@@ -167,6 +167,18 @@ var DestinationConfig;
167
167
  ...obj,
168
168
  });
169
169
  })(DestinationConfig = exports.DestinationConfig || (exports.DestinationConfig = {}));
170
+ var Filter;
171
+ (function (Filter) {
172
+ Filter.filterSensitiveLog = (obj) => ({
173
+ ...obj,
174
+ });
175
+ })(Filter = exports.Filter || (exports.Filter = {}));
176
+ var FilterCriteria;
177
+ (function (FilterCriteria) {
178
+ FilterCriteria.filterSensitiveLog = (obj) => ({
179
+ ...obj,
180
+ });
181
+ })(FilterCriteria = exports.FilterCriteria || (exports.FilterCriteria = {}));
170
182
  var FunctionResponseType;
171
183
  (function (FunctionResponseType) {
172
184
  FunctionResponseType["ReportBatchItemFailures"] = "ReportBatchItemFailures";
@@ -184,8 +196,10 @@ var SelfManagedEventSource;
184
196
  var SourceAccessType;
185
197
  (function (SourceAccessType) {
186
198
  SourceAccessType["BASIC_AUTH"] = "BASIC_AUTH";
199
+ SourceAccessType["CLIENT_CERTIFICATE_TLS_AUTH"] = "CLIENT_CERTIFICATE_TLS_AUTH";
187
200
  SourceAccessType["SASL_SCRAM_256_AUTH"] = "SASL_SCRAM_256_AUTH";
188
201
  SourceAccessType["SASL_SCRAM_512_AUTH"] = "SASL_SCRAM_512_AUTH";
202
+ SourceAccessType["SERVER_ROOT_CA_CERTIFICATE"] = "SERVER_ROOT_CA_CERTIFICATE";
189
203
  SourceAccessType["VIRTUAL_HOST"] = "VIRTUAL_HOST";
190
204
  SourceAccessType["VPC_SECURITY_GROUP"] = "VPC_SECURITY_GROUP";
191
205
  SourceAccessType["VPC_SUBNET"] = "VPC_SUBNET";
@@ -184,6 +184,10 @@ const serializeAws_restJson1CreateEventSourceMappingCommand = async (input, cont
184
184
  ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
185
185
  ...(input.EventSourceArn !== undefined &&
186
186
  input.EventSourceArn !== null && { EventSourceArn: input.EventSourceArn }),
187
+ ...(input.FilterCriteria !== undefined &&
188
+ input.FilterCriteria !== null && {
189
+ FilterCriteria: serializeAws_restJson1FilterCriteria(input.FilterCriteria, context),
190
+ }),
187
191
  ...(input.FunctionName !== undefined && input.FunctionName !== null && { FunctionName: input.FunctionName }),
188
192
  ...(input.FunctionResponseTypes !== undefined &&
189
193
  input.FunctionResponseTypes !== null && {
@@ -1852,6 +1856,10 @@ const serializeAws_restJson1UpdateEventSourceMappingCommand = async (input, cont
1852
1856
  DestinationConfig: serializeAws_restJson1DestinationConfig(input.DestinationConfig, context),
1853
1857
  }),
1854
1858
  ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
1859
+ ...(input.FilterCriteria !== undefined &&
1860
+ input.FilterCriteria !== null && {
1861
+ FilterCriteria: serializeAws_restJson1FilterCriteria(input.FilterCriteria, context),
1862
+ }),
1855
1863
  ...(input.FunctionName !== undefined && input.FunctionName !== null && { FunctionName: input.FunctionName }),
1856
1864
  ...(input.FunctionResponseTypes !== undefined &&
1857
1865
  input.FunctionResponseTypes !== null && {
@@ -2392,6 +2400,7 @@ const deserializeAws_restJson1CreateEventSourceMappingCommand = async (output, c
2392
2400
  BisectBatchOnFunctionError: undefined,
2393
2401
  DestinationConfig: undefined,
2394
2402
  EventSourceArn: undefined,
2403
+ FilterCriteria: undefined,
2395
2404
  FunctionArn: undefined,
2396
2405
  FunctionResponseTypes: undefined,
2397
2406
  LastModified: undefined,
@@ -2424,6 +2433,9 @@ const deserializeAws_restJson1CreateEventSourceMappingCommand = async (output, c
2424
2433
  if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
2425
2434
  contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
2426
2435
  }
2436
+ if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
2437
+ contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
2438
+ }
2427
2439
  if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
2428
2440
  contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
2429
2441
  }
@@ -2928,6 +2940,7 @@ const deserializeAws_restJson1DeleteEventSourceMappingCommand = async (output, c
2928
2940
  BisectBatchOnFunctionError: undefined,
2929
2941
  DestinationConfig: undefined,
2930
2942
  EventSourceArn: undefined,
2943
+ FilterCriteria: undefined,
2931
2944
  FunctionArn: undefined,
2932
2945
  FunctionResponseTypes: undefined,
2933
2946
  LastModified: undefined,
@@ -2960,6 +2973,9 @@ const deserializeAws_restJson1DeleteEventSourceMappingCommand = async (output, c
2960
2973
  if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
2961
2974
  contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
2962
2975
  }
2976
+ if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
2977
+ contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
2978
+ }
2963
2979
  if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
2964
2980
  contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
2965
2981
  }
@@ -3748,6 +3764,7 @@ const deserializeAws_restJson1GetEventSourceMappingCommand = async (output, cont
3748
3764
  BisectBatchOnFunctionError: undefined,
3749
3765
  DestinationConfig: undefined,
3750
3766
  EventSourceArn: undefined,
3767
+ FilterCriteria: undefined,
3751
3768
  FunctionArn: undefined,
3752
3769
  FunctionResponseTypes: undefined,
3753
3770
  LastModified: undefined,
@@ -3780,6 +3797,9 @@ const deserializeAws_restJson1GetEventSourceMappingCommand = async (output, cont
3780
3797
  if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
3781
3798
  contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
3782
3799
  }
3800
+ if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
3801
+ contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
3802
+ }
3783
3803
  if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
3784
3804
  contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
3785
3805
  }
@@ -7196,6 +7216,7 @@ const deserializeAws_restJson1UpdateEventSourceMappingCommand = async (output, c
7196
7216
  BisectBatchOnFunctionError: undefined,
7197
7217
  DestinationConfig: undefined,
7198
7218
  EventSourceArn: undefined,
7219
+ FilterCriteria: undefined,
7199
7220
  FunctionArn: undefined,
7200
7221
  FunctionResponseTypes: undefined,
7201
7222
  LastModified: undefined,
@@ -7228,6 +7249,9 @@ const deserializeAws_restJson1UpdateEventSourceMappingCommand = async (output, c
7228
7249
  if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
7229
7250
  contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
7230
7251
  }
7252
+ if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
7253
+ contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
7254
+ }
7231
7255
  if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
7232
7256
  contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
7233
7257
  }
@@ -8657,6 +8681,27 @@ const serializeAws_restJson1FileSystemConfigList = (input, context) => {
8657
8681
  return serializeAws_restJson1FileSystemConfig(entry, context);
8658
8682
  });
8659
8683
  };
8684
+ const serializeAws_restJson1Filter = (input, context) => {
8685
+ return {
8686
+ ...(input.Pattern !== undefined && input.Pattern !== null && { Pattern: input.Pattern }),
8687
+ };
8688
+ };
8689
+ const serializeAws_restJson1FilterCriteria = (input, context) => {
8690
+ return {
8691
+ ...(input.Filters !== undefined &&
8692
+ input.Filters !== null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) }),
8693
+ };
8694
+ };
8695
+ const serializeAws_restJson1FilterList = (input, context) => {
8696
+ return input
8697
+ .filter((e) => e != null)
8698
+ .map((entry) => {
8699
+ if (entry === null) {
8700
+ return null;
8701
+ }
8702
+ return serializeAws_restJson1Filter(entry, context);
8703
+ });
8704
+ };
8660
8705
  const serializeAws_restJson1FunctionCode = (input, context) => {
8661
8706
  return {
8662
8707
  ...(input.ImageUri !== undefined && input.ImageUri !== null && { ImageUri: input.ImageUri }),
@@ -9021,6 +9066,9 @@ const deserializeAws_restJson1EventSourceMappingConfiguration = (output, context
9021
9066
  ? deserializeAws_restJson1DestinationConfig(output.DestinationConfig, context)
9022
9067
  : undefined,
9023
9068
  EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
9069
+ FilterCriteria: output.FilterCriteria !== undefined && output.FilterCriteria !== null
9070
+ ? deserializeAws_restJson1FilterCriteria(output.FilterCriteria, context)
9071
+ : undefined,
9024
9072
  FunctionArn: smithy_client_1.expectString(output.FunctionArn),
9025
9073
  FunctionResponseTypes: output.FunctionResponseTypes !== undefined && output.FunctionResponseTypes !== null
9026
9074
  ? deserializeAws_restJson1FunctionResponseTypeList(output.FunctionResponseTypes, context)
@@ -9081,6 +9129,28 @@ const deserializeAws_restJson1FileSystemConfigList = (output, context) => {
9081
9129
  return deserializeAws_restJson1FileSystemConfig(entry, context);
9082
9130
  });
9083
9131
  };
9132
+ const deserializeAws_restJson1Filter = (output, context) => {
9133
+ return {
9134
+ Pattern: smithy_client_1.expectString(output.Pattern),
9135
+ };
9136
+ };
9137
+ const deserializeAws_restJson1FilterCriteria = (output, context) => {
9138
+ return {
9139
+ Filters: output.Filters !== undefined && output.Filters !== null
9140
+ ? deserializeAws_restJson1FilterList(output.Filters, context)
9141
+ : undefined,
9142
+ };
9143
+ };
9144
+ const deserializeAws_restJson1FilterList = (output, context) => {
9145
+ return (output || [])
9146
+ .filter((e) => e != null)
9147
+ .map((entry) => {
9148
+ if (entry === null) {
9149
+ return null;
9150
+ }
9151
+ return deserializeAws_restJson1Filter(entry, context);
9152
+ });
9153
+ };
9084
9154
  const deserializeAws_restJson1FunctionArnList = (output, context) => {
9085
9155
  return (output || [])
9086
9156
  .filter((e) => e != null)
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
31
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
35
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;