@jjrawlins/cdk-ami-builder 0.0.53 → 0.0.54

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 (173) hide show
  1. package/.jsii +11 -11
  2. package/cdk-ami-builder/go.mod +1 -1
  3. package/cdk-ami-builder/jsii/jsii.go +2 -2
  4. package/cdk-ami-builder/version +1 -1
  5. package/lib/ImagePipeline/ImagePipeline.js +1 -1
  6. package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
  7. package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
  8. package/node_modules/@aws-sdk/client-ec2/README.md +8 -0
  9. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +175 -78
  10. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +2 -0
  11. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CopyVolumesCommand.js +22 -0
  12. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +1 -0
  13. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_1.js +22 -9
  14. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_2.js +0 -20
  15. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_3.js +7 -4
  16. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_4.js +4 -4
  17. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_5.js +5 -5
  18. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_6.js +5 -0
  19. package/node_modules/@aws-sdk/client-ec2/dist-es/protocols/Aws_ec2.js +113 -36
  20. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +7 -0
  21. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +3 -2
  22. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +137 -0
  23. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +3 -1
  24. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +1 -2
  25. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumeStatusCommand.d.ts +3 -2
  26. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesCommand.d.ts +1 -0
  27. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetManagedPrefixListEntriesCommand.d.ts +2 -1
  28. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +1 -2
  29. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +1 -0
  31. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +309 -115
  32. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +104 -227
  33. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +45 -83
  34. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +83 -30
  35. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +37 -32
  36. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +32 -46
  37. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +52 -43
  38. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +44 -7
  39. package/node_modules/@aws-sdk/client-ec2/dist-types/protocols/Aws_ec2.d.ts +9 -0
  40. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +17 -0
  41. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +6 -0
  42. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CopyVolumesCommand.d.ts +47 -0
  43. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +2 -1
  44. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +4 -2
  45. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
  46. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetManagedPrefixListEntriesCommand.d.ts +2 -4
  47. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +4 -2
  48. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +1 -0
  50. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +67 -31
  51. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +18 -57
  52. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +14 -15
  53. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +13 -10
  54. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +13 -14
  55. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +13 -12
  56. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +12 -11
  57. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +12 -1
  58. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  59. package/node_modules/@aws-sdk/client-ec2/package.json +35 -35
  60. package/node_modules/@aws-sdk/client-ecs/package.json +34 -34
  61. package/node_modules/@aws-sdk/client-kms/dist-types/models/models_0.d.ts +3 -3
  62. package/node_modules/@aws-sdk/client-kms/package.json +33 -33
  63. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +4 -4
  64. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  65. package/node_modules/@aws-sdk/client-secrets-manager/package.json +33 -33
  66. package/node_modules/@aws-sdk/client-sfn/package.json +33 -33
  67. package/node_modules/@aws-sdk/client-sns/package.json +33 -33
  68. package/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts +1 -1
  69. package/node_modules/@aws-sdk/client-sqs/package.json +35 -35
  70. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  71. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  72. package/node_modules/@aws-sdk/core/dist-cjs/index.js +5 -5
  73. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +5 -5
  74. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
  75. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
  76. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
  77. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  78. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +1 -1
  79. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +4 -4
  80. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +7 -7
  81. package/node_modules/@aws-sdk/core/package.json +11 -11
  82. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  83. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  84. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  85. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  86. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  87. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  88. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  89. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +334 -450
  90. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  91. package/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +30 -60
  92. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  93. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
  94. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +35 -63
  95. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  96. package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +26 -57
  97. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  98. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +44 -75
  99. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  100. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +19 -48
  101. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  102. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
  103. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  104. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
  105. package/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +65 -92
  106. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  107. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  108. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  109. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +59 -95
  110. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  111. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  112. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  113. package/node_modules/@aws-sdk/types/dist-cjs/index.js +18 -290
  114. package/node_modules/@aws-sdk/types/package.json +2 -2
  115. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +395 -469
  116. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  117. package/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js +30 -58
  118. package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
  119. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  120. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  121. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +106 -160
  122. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  123. package/node_modules/@smithy/abort-controller/package.json +2 -2
  124. package/node_modules/@smithy/config-resolver/package.json +4 -4
  125. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +74 -61
  126. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +16 -9
  127. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +2 -2
  128. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +0 -2
  129. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +6 -0
  130. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -2
  131. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +5 -0
  132. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -2
  133. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +5 -0
  134. package/node_modules/@smithy/core/package.json +7 -7
  135. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  136. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  137. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  138. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  139. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  140. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  141. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  142. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  143. package/node_modules/@smithy/hash-node/package.json +2 -2
  144. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  145. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  146. package/node_modules/@smithy/md5-js/package.json +2 -2
  147. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  148. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  149. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  150. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  151. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  152. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  153. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  154. package/node_modules/@smithy/property-provider/package.json +2 -2
  155. package/node_modules/@smithy/protocol-http/package.json +2 -2
  156. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  157. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  158. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  159. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  160. package/node_modules/@smithy/signature-v4/package.json +4 -4
  161. package/node_modules/@smithy/smithy-client/package.json +7 -7
  162. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +1 -1
  163. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +2 -2
  164. package/node_modules/@smithy/types/package.json +1 -1
  165. package/node_modules/@smithy/url-parser/package.json +3 -3
  166. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  167. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  168. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  169. package/node_modules/@smithy/util-middleware/package.json +2 -2
  170. package/node_modules/@smithy/util-retry/package.json +3 -3
  171. package/node_modules/@smithy/util-stream/package.json +4 -4
  172. package/node_modules/@smithy/util-waiter/package.json +3 -3
  173. package/package.json +13 -13
@@ -1,486 +1,412 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- ConditionObject: () => import_util_endpoints.ConditionObject,
25
- DeprecatedObject: () => import_util_endpoints.DeprecatedObject,
26
- EndpointError: () => import_util_endpoints.EndpointError,
27
- EndpointObject: () => import_util_endpoints.EndpointObject,
28
- EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders,
29
- EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties,
30
- EndpointParams: () => import_util_endpoints.EndpointParams,
31
- EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions,
32
- EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject,
33
- ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject,
34
- EvaluateOptions: () => import_util_endpoints.EvaluateOptions,
35
- Expression: () => import_util_endpoints.Expression,
36
- FunctionArgv: () => import_util_endpoints.FunctionArgv,
37
- FunctionObject: () => import_util_endpoints.FunctionObject,
38
- FunctionReturn: () => import_util_endpoints.FunctionReturn,
39
- ParameterObject: () => import_util_endpoints.ParameterObject,
40
- ReferenceObject: () => import_util_endpoints.ReferenceObject,
41
- ReferenceRecord: () => import_util_endpoints.ReferenceRecord,
42
- RuleSetObject: () => import_util_endpoints.RuleSetObject,
43
- RuleSetRules: () => import_util_endpoints.RuleSetRules,
44
- TreeRuleObject: () => import_util_endpoints.TreeRuleObject,
45
- awsEndpointFunctions: () => awsEndpointFunctions,
46
- getUserAgentPrefix: () => getUserAgentPrefix,
47
- isIpAddress: () => import_util_endpoints.isIpAddress,
48
- partition: () => partition,
49
- resolveDefaultAwsRegionalEndpointsConfig: () => resolveDefaultAwsRegionalEndpointsConfig,
50
- resolveEndpoint: () => import_util_endpoints.resolveEndpoint,
51
- setPartitionInfo: () => setPartitionInfo,
52
- toEndpointV1: () => toEndpointV1,
53
- useDefaultPartitionInfo: () => useDefaultPartitionInfo
54
- });
55
- module.exports = __toCommonJS(index_exports);
56
-
57
- // src/aws.ts
58
-
59
-
60
- // src/lib/aws/isVirtualHostableS3Bucket.ts
61
-
62
-
63
- // src/lib/isIpAddress.ts
64
- var import_util_endpoints = require("@smithy/util-endpoints");
65
-
66
- // src/lib/aws/isVirtualHostableS3Bucket.ts
67
- var isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => {
68
- if (allowSubDomains) {
69
- for (const label of value.split(".")) {
70
- if (!isVirtualHostableS3Bucket(label)) {
71
- return false;
72
- }
73
- }
74
- return true;
75
- }
76
- if (!(0, import_util_endpoints.isValidHostLabel)(value)) {
77
- return false;
78
- }
79
- if (value.length < 3 || value.length > 63) {
80
- return false;
81
- }
82
- if (value !== value.toLowerCase()) {
83
- return false;
84
- }
85
- if ((0, import_util_endpoints.isIpAddress)(value)) {
86
- return false;
87
- }
88
- return true;
89
- }, "isVirtualHostableS3Bucket");
1
+ 'use strict';
90
2
 
91
- // src/lib/aws/parseArn.ts
92
- var ARN_DELIMITER = ":";
93
- var RESOURCE_DELIMITER = "/";
94
- var parseArn = /* @__PURE__ */ __name((value) => {
95
- const segments = value.split(ARN_DELIMITER);
96
- if (segments.length < 6) return null;
97
- const [arn, partition2, service, region, accountId, ...resourcePath] = segments;
98
- if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") return null;
99
- const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
100
- return {
101
- partition: partition2,
102
- service,
103
- region,
104
- accountId,
105
- resourceId
106
- };
107
- }, "parseArn");
3
+ var utilEndpoints = require('@smithy/util-endpoints');
4
+ var urlParser = require('@smithy/url-parser');
108
5
 
109
- // src/lib/aws/partitions.json
110
- var partitions_default = {
111
- partitions: [{
112
- id: "aws",
113
- outputs: {
114
- dnsSuffix: "amazonaws.com",
115
- dualStackDnsSuffix: "api.aws",
116
- implicitGlobalRegion: "us-east-1",
117
- name: "aws",
118
- supportsDualStack: true,
119
- supportsFIPS: true
120
- },
121
- regionRegex: "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
122
- regions: {
123
- "af-south-1": {
124
- description: "Africa (Cape Town)"
125
- },
126
- "ap-east-1": {
127
- description: "Asia Pacific (Hong Kong)"
128
- },
129
- "ap-east-2": {
130
- description: "Asia Pacific (Taipei)"
131
- },
132
- "ap-northeast-1": {
133
- description: "Asia Pacific (Tokyo)"
134
- },
135
- "ap-northeast-2": {
136
- description: "Asia Pacific (Seoul)"
137
- },
138
- "ap-northeast-3": {
139
- description: "Asia Pacific (Osaka)"
140
- },
141
- "ap-south-1": {
142
- description: "Asia Pacific (Mumbai)"
143
- },
144
- "ap-south-2": {
145
- description: "Asia Pacific (Hyderabad)"
146
- },
147
- "ap-southeast-1": {
148
- description: "Asia Pacific (Singapore)"
149
- },
150
- "ap-southeast-2": {
151
- description: "Asia Pacific (Sydney)"
152
- },
153
- "ap-southeast-3": {
154
- description: "Asia Pacific (Jakarta)"
155
- },
156
- "ap-southeast-4": {
157
- description: "Asia Pacific (Melbourne)"
158
- },
159
- "ap-southeast-5": {
160
- description: "Asia Pacific (Malaysia)"
161
- },
162
- "ap-southeast-6": {
163
- description: "Asia Pacific (New Zealand)"
164
- },
165
- "ap-southeast-7": {
166
- description: "Asia Pacific (Thailand)"
167
- },
168
- "aws-global": {
169
- description: "aws global region"
170
- },
171
- "ca-central-1": {
172
- description: "Canada (Central)"
173
- },
174
- "ca-west-1": {
175
- description: "Canada West (Calgary)"
176
- },
177
- "eu-central-1": {
178
- description: "Europe (Frankfurt)"
179
- },
180
- "eu-central-2": {
181
- description: "Europe (Zurich)"
182
- },
183
- "eu-north-1": {
184
- description: "Europe (Stockholm)"
185
- },
186
- "eu-south-1": {
187
- description: "Europe (Milan)"
188
- },
189
- "eu-south-2": {
190
- description: "Europe (Spain)"
191
- },
192
- "eu-west-1": {
193
- description: "Europe (Ireland)"
194
- },
195
- "eu-west-2": {
196
- description: "Europe (London)"
197
- },
198
- "eu-west-3": {
199
- description: "Europe (Paris)"
200
- },
201
- "il-central-1": {
202
- description: "Israel (Tel Aviv)"
203
- },
204
- "me-central-1": {
205
- description: "Middle East (UAE)"
206
- },
207
- "me-south-1": {
208
- description: "Middle East (Bahrain)"
209
- },
210
- "mx-central-1": {
211
- description: "Mexico (Central)"
212
- },
213
- "sa-east-1": {
214
- description: "South America (Sao Paulo)"
215
- },
216
- "us-east-1": {
217
- description: "US East (N. Virginia)"
218
- },
219
- "us-east-2": {
220
- description: "US East (Ohio)"
221
- },
222
- "us-west-1": {
223
- description: "US West (N. California)"
224
- },
225
- "us-west-2": {
226
- description: "US West (Oregon)"
227
- }
6
+ const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
7
+ if (allowSubDomains) {
8
+ for (const label of value.split(".")) {
9
+ if (!isVirtualHostableS3Bucket(label)) {
10
+ return false;
11
+ }
12
+ }
13
+ return true;
228
14
  }
229
- }, {
230
- id: "aws-cn",
231
- outputs: {
232
- dnsSuffix: "amazonaws.com.cn",
233
- dualStackDnsSuffix: "api.amazonwebservices.com.cn",
234
- implicitGlobalRegion: "cn-northwest-1",
235
- name: "aws-cn",
236
- supportsDualStack: true,
237
- supportsFIPS: true
238
- },
239
- regionRegex: "^cn\\-\\w+\\-\\d+$",
240
- regions: {
241
- "aws-cn-global": {
242
- description: "aws-cn global region"
243
- },
244
- "cn-north-1": {
245
- description: "China (Beijing)"
246
- },
247
- "cn-northwest-1": {
248
- description: "China (Ningxia)"
249
- }
250
- }
251
- }, {
252
- id: "aws-eusc",
253
- outputs: {
254
- dnsSuffix: "amazonaws.eu",
255
- dualStackDnsSuffix: "api.amazonwebservices.eu",
256
- implicitGlobalRegion: "eusc-de-east-1",
257
- name: "aws-eusc",
258
- supportsDualStack: true,
259
- supportsFIPS: true
260
- },
261
- regionRegex: "^eusc\\-(de)\\-\\w+\\-\\d+$",
262
- regions: {
263
- "eusc-de-east-1": {
264
- description: "EU (Germany)"
265
- }
266
- }
267
- }, {
268
- id: "aws-iso",
269
- outputs: {
270
- dnsSuffix: "c2s.ic.gov",
271
- dualStackDnsSuffix: "api.aws.ic.gov",
272
- implicitGlobalRegion: "us-iso-east-1",
273
- name: "aws-iso",
274
- supportsDualStack: true,
275
- supportsFIPS: true
276
- },
277
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
278
- regions: {
279
- "aws-iso-global": {
280
- description: "aws-iso global region"
281
- },
282
- "us-iso-east-1": {
283
- description: "US ISO East"
284
- },
285
- "us-iso-west-1": {
286
- description: "US ISO WEST"
287
- }
288
- }
289
- }, {
290
- id: "aws-iso-b",
291
- outputs: {
292
- dnsSuffix: "sc2s.sgov.gov",
293
- dualStackDnsSuffix: "api.aws.scloud",
294
- implicitGlobalRegion: "us-isob-east-1",
295
- name: "aws-iso-b",
296
- supportsDualStack: true,
297
- supportsFIPS: true
298
- },
299
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
300
- regions: {
301
- "aws-iso-b-global": {
302
- description: "aws-iso-b global region"
303
- },
304
- "us-isob-east-1": {
305
- description: "US ISOB East (Ohio)"
306
- }
15
+ if (!utilEndpoints.isValidHostLabel(value)) {
16
+ return false;
307
17
  }
308
- }, {
309
- id: "aws-iso-e",
310
- outputs: {
311
- dnsSuffix: "cloud.adc-e.uk",
312
- dualStackDnsSuffix: "api.cloud-aws.adc-e.uk",
313
- implicitGlobalRegion: "eu-isoe-west-1",
314
- name: "aws-iso-e",
315
- supportsDualStack: true,
316
- supportsFIPS: true
317
- },
318
- regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$",
319
- regions: {
320
- "aws-iso-e-global": {
321
- description: "aws-iso-e global region"
322
- },
323
- "eu-isoe-west-1": {
324
- description: "EU ISOE West"
325
- }
18
+ if (value.length < 3 || value.length > 63) {
19
+ return false;
326
20
  }
327
- }, {
328
- id: "aws-iso-f",
329
- outputs: {
330
- dnsSuffix: "csp.hci.ic.gov",
331
- dualStackDnsSuffix: "api.aws.hci.ic.gov",
332
- implicitGlobalRegion: "us-isof-south-1",
333
- name: "aws-iso-f",
334
- supportsDualStack: true,
335
- supportsFIPS: true
336
- },
337
- regionRegex: "^us\\-isof\\-\\w+\\-\\d+$",
338
- regions: {
339
- "aws-iso-f-global": {
340
- description: "aws-iso-f global region"
341
- },
342
- "us-isof-east-1": {
343
- description: "US ISOF EAST"
344
- },
345
- "us-isof-south-1": {
346
- description: "US ISOF SOUTH"
347
- }
21
+ if (value !== value.toLowerCase()) {
22
+ return false;
348
23
  }
349
- }, {
350
- id: "aws-us-gov",
351
- outputs: {
352
- dnsSuffix: "amazonaws.com",
353
- dualStackDnsSuffix: "api.aws",
354
- implicitGlobalRegion: "us-gov-west-1",
355
- name: "aws-us-gov",
356
- supportsDualStack: true,
357
- supportsFIPS: true
358
- },
359
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
360
- regions: {
361
- "aws-us-gov-global": {
362
- description: "aws-us-gov global region"
363
- },
364
- "us-gov-east-1": {
365
- description: "AWS GovCloud (US-East)"
366
- },
367
- "us-gov-west-1": {
368
- description: "AWS GovCloud (US-West)"
369
- }
24
+ if (utilEndpoints.isIpAddress(value)) {
25
+ return false;
370
26
  }
371
- }],
372
- version: "1.1"
27
+ return true;
373
28
  };
374
29
 
375
- // src/lib/aws/partition.ts
376
- var selectedPartitionsInfo = partitions_default;
377
- var selectedUserAgentPrefix = "";
378
- var partition = /* @__PURE__ */ __name((value) => {
379
- const { partitions } = selectedPartitionsInfo;
380
- for (const partition2 of partitions) {
381
- const { regions, outputs } = partition2;
382
- for (const [region, regionData] of Object.entries(regions)) {
383
- if (region === value) {
384
- return {
385
- ...outputs,
386
- ...regionData
387
- };
388
- }
389
- }
390
- }
391
- for (const partition2 of partitions) {
392
- const { regionRegex, outputs } = partition2;
393
- if (new RegExp(regionRegex).test(value)) {
394
- return {
395
- ...outputs
396
- };
397
- }
398
- }
399
- const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === "aws");
400
- if (!DEFAULT_PARTITION) {
401
- throw new Error(
402
- "Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist."
403
- );
404
- }
405
- return {
406
- ...DEFAULT_PARTITION.outputs
407
- };
408
- }, "partition");
409
- var setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = "") => {
410
- selectedPartitionsInfo = partitionsInfo;
411
- selectedUserAgentPrefix = userAgentPrefix;
412
- }, "setPartitionInfo");
413
- var useDefaultPartitionInfo = /* @__PURE__ */ __name(() => {
414
- setPartitionInfo(partitions_default, "");
415
- }, "useDefaultPartitionInfo");
416
- var getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, "getUserAgentPrefix");
30
+ const ARN_DELIMITER = ":";
31
+ const RESOURCE_DELIMITER = "/";
32
+ const parseArn = (value) => {
33
+ const segments = value.split(ARN_DELIMITER);
34
+ if (segments.length < 6)
35
+ return null;
36
+ const [arn, partition, service, region, accountId, ...resourcePath] = segments;
37
+ if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
38
+ return null;
39
+ const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
40
+ return {
41
+ partition,
42
+ service,
43
+ region,
44
+ accountId,
45
+ resourceId,
46
+ };
47
+ };
417
48
 
418
- // src/aws.ts
419
- var awsEndpointFunctions = {
420
- isVirtualHostableS3Bucket,
421
- parseArn,
422
- partition
49
+ var partitions = [
50
+ {
51
+ id: "aws",
52
+ outputs: {
53
+ dnsSuffix: "amazonaws.com",
54
+ dualStackDnsSuffix: "api.aws",
55
+ implicitGlobalRegion: "us-east-1",
56
+ name: "aws",
57
+ supportsDualStack: true,
58
+ supportsFIPS: true
59
+ },
60
+ regionRegex: "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
61
+ regions: {
62
+ "af-south-1": {
63
+ description: "Africa (Cape Town)"
64
+ },
65
+ "ap-east-1": {
66
+ description: "Asia Pacific (Hong Kong)"
67
+ },
68
+ "ap-east-2": {
69
+ description: "Asia Pacific (Taipei)"
70
+ },
71
+ "ap-northeast-1": {
72
+ description: "Asia Pacific (Tokyo)"
73
+ },
74
+ "ap-northeast-2": {
75
+ description: "Asia Pacific (Seoul)"
76
+ },
77
+ "ap-northeast-3": {
78
+ description: "Asia Pacific (Osaka)"
79
+ },
80
+ "ap-south-1": {
81
+ description: "Asia Pacific (Mumbai)"
82
+ },
83
+ "ap-south-2": {
84
+ description: "Asia Pacific (Hyderabad)"
85
+ },
86
+ "ap-southeast-1": {
87
+ description: "Asia Pacific (Singapore)"
88
+ },
89
+ "ap-southeast-2": {
90
+ description: "Asia Pacific (Sydney)"
91
+ },
92
+ "ap-southeast-3": {
93
+ description: "Asia Pacific (Jakarta)"
94
+ },
95
+ "ap-southeast-4": {
96
+ description: "Asia Pacific (Melbourne)"
97
+ },
98
+ "ap-southeast-5": {
99
+ description: "Asia Pacific (Malaysia)"
100
+ },
101
+ "ap-southeast-6": {
102
+ description: "Asia Pacific (New Zealand)"
103
+ },
104
+ "ap-southeast-7": {
105
+ description: "Asia Pacific (Thailand)"
106
+ },
107
+ "aws-global": {
108
+ description: "aws global region"
109
+ },
110
+ "ca-central-1": {
111
+ description: "Canada (Central)"
112
+ },
113
+ "ca-west-1": {
114
+ description: "Canada West (Calgary)"
115
+ },
116
+ "eu-central-1": {
117
+ description: "Europe (Frankfurt)"
118
+ },
119
+ "eu-central-2": {
120
+ description: "Europe (Zurich)"
121
+ },
122
+ "eu-north-1": {
123
+ description: "Europe (Stockholm)"
124
+ },
125
+ "eu-south-1": {
126
+ description: "Europe (Milan)"
127
+ },
128
+ "eu-south-2": {
129
+ description: "Europe (Spain)"
130
+ },
131
+ "eu-west-1": {
132
+ description: "Europe (Ireland)"
133
+ },
134
+ "eu-west-2": {
135
+ description: "Europe (London)"
136
+ },
137
+ "eu-west-3": {
138
+ description: "Europe (Paris)"
139
+ },
140
+ "il-central-1": {
141
+ description: "Israel (Tel Aviv)"
142
+ },
143
+ "me-central-1": {
144
+ description: "Middle East (UAE)"
145
+ },
146
+ "me-south-1": {
147
+ description: "Middle East (Bahrain)"
148
+ },
149
+ "mx-central-1": {
150
+ description: "Mexico (Central)"
151
+ },
152
+ "sa-east-1": {
153
+ description: "South America (Sao Paulo)"
154
+ },
155
+ "us-east-1": {
156
+ description: "US East (N. Virginia)"
157
+ },
158
+ "us-east-2": {
159
+ description: "US East (Ohio)"
160
+ },
161
+ "us-west-1": {
162
+ description: "US West (N. California)"
163
+ },
164
+ "us-west-2": {
165
+ description: "US West (Oregon)"
166
+ }
167
+ }
168
+ },
169
+ {
170
+ id: "aws-cn",
171
+ outputs: {
172
+ dnsSuffix: "amazonaws.com.cn",
173
+ dualStackDnsSuffix: "api.amazonwebservices.com.cn",
174
+ implicitGlobalRegion: "cn-northwest-1",
175
+ name: "aws-cn",
176
+ supportsDualStack: true,
177
+ supportsFIPS: true
178
+ },
179
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
180
+ regions: {
181
+ "aws-cn-global": {
182
+ description: "aws-cn global region"
183
+ },
184
+ "cn-north-1": {
185
+ description: "China (Beijing)"
186
+ },
187
+ "cn-northwest-1": {
188
+ description: "China (Ningxia)"
189
+ }
190
+ }
191
+ },
192
+ {
193
+ id: "aws-eusc",
194
+ outputs: {
195
+ dnsSuffix: "amazonaws.eu",
196
+ dualStackDnsSuffix: "api.amazonwebservices.eu",
197
+ implicitGlobalRegion: "eusc-de-east-1",
198
+ name: "aws-eusc",
199
+ supportsDualStack: true,
200
+ supportsFIPS: true
201
+ },
202
+ regionRegex: "^eusc\\-(de)\\-\\w+\\-\\d+$",
203
+ regions: {
204
+ "eusc-de-east-1": {
205
+ description: "EU (Germany)"
206
+ }
207
+ }
208
+ },
209
+ {
210
+ id: "aws-iso",
211
+ outputs: {
212
+ dnsSuffix: "c2s.ic.gov",
213
+ dualStackDnsSuffix: "api.aws.ic.gov",
214
+ implicitGlobalRegion: "us-iso-east-1",
215
+ name: "aws-iso",
216
+ supportsDualStack: true,
217
+ supportsFIPS: true
218
+ },
219
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
220
+ regions: {
221
+ "aws-iso-global": {
222
+ description: "aws-iso global region"
223
+ },
224
+ "us-iso-east-1": {
225
+ description: "US ISO East"
226
+ },
227
+ "us-iso-west-1": {
228
+ description: "US ISO WEST"
229
+ }
230
+ }
231
+ },
232
+ {
233
+ id: "aws-iso-b",
234
+ outputs: {
235
+ dnsSuffix: "sc2s.sgov.gov",
236
+ dualStackDnsSuffix: "api.aws.scloud",
237
+ implicitGlobalRegion: "us-isob-east-1",
238
+ name: "aws-iso-b",
239
+ supportsDualStack: true,
240
+ supportsFIPS: true
241
+ },
242
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
243
+ regions: {
244
+ "aws-iso-b-global": {
245
+ description: "aws-iso-b global region"
246
+ },
247
+ "us-isob-east-1": {
248
+ description: "US ISOB East (Ohio)"
249
+ }
250
+ }
251
+ },
252
+ {
253
+ id: "aws-iso-e",
254
+ outputs: {
255
+ dnsSuffix: "cloud.adc-e.uk",
256
+ dualStackDnsSuffix: "api.cloud-aws.adc-e.uk",
257
+ implicitGlobalRegion: "eu-isoe-west-1",
258
+ name: "aws-iso-e",
259
+ supportsDualStack: true,
260
+ supportsFIPS: true
261
+ },
262
+ regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$",
263
+ regions: {
264
+ "aws-iso-e-global": {
265
+ description: "aws-iso-e global region"
266
+ },
267
+ "eu-isoe-west-1": {
268
+ description: "EU ISOE West"
269
+ }
270
+ }
271
+ },
272
+ {
273
+ id: "aws-iso-f",
274
+ outputs: {
275
+ dnsSuffix: "csp.hci.ic.gov",
276
+ dualStackDnsSuffix: "api.aws.hci.ic.gov",
277
+ implicitGlobalRegion: "us-isof-south-1",
278
+ name: "aws-iso-f",
279
+ supportsDualStack: true,
280
+ supportsFIPS: true
281
+ },
282
+ regionRegex: "^us\\-isof\\-\\w+\\-\\d+$",
283
+ regions: {
284
+ "aws-iso-f-global": {
285
+ description: "aws-iso-f global region"
286
+ },
287
+ "us-isof-east-1": {
288
+ description: "US ISOF EAST"
289
+ },
290
+ "us-isof-south-1": {
291
+ description: "US ISOF SOUTH"
292
+ }
293
+ }
294
+ },
295
+ {
296
+ id: "aws-us-gov",
297
+ outputs: {
298
+ dnsSuffix: "amazonaws.com",
299
+ dualStackDnsSuffix: "api.aws",
300
+ implicitGlobalRegion: "us-gov-west-1",
301
+ name: "aws-us-gov",
302
+ supportsDualStack: true,
303
+ supportsFIPS: true
304
+ },
305
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
306
+ regions: {
307
+ "aws-us-gov-global": {
308
+ description: "aws-us-gov global region"
309
+ },
310
+ "us-gov-east-1": {
311
+ description: "AWS GovCloud (US-East)"
312
+ },
313
+ "us-gov-west-1": {
314
+ description: "AWS GovCloud (US-West)"
315
+ }
316
+ }
317
+ }
318
+ ];
319
+ var version = "1.1";
320
+ var partitionsInfo = {
321
+ partitions: partitions,
322
+ version: version
423
323
  };
424
- import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
425
324
 
426
- // src/resolveDefaultAwsRegionalEndpointsConfig.ts
427
- var import_url_parser = require("@smithy/url-parser");
428
- var resolveDefaultAwsRegionalEndpointsConfig = /* @__PURE__ */ __name((input) => {
429
- if (typeof input.endpointProvider !== "function") {
430
- throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");
431
- }
432
- const { endpoint } = input;
433
- if (endpoint === void 0) {
434
- input.endpoint = async () => {
435
- return toEndpointV1(
436
- input.endpointProvider(
437
- {
438
- Region: typeof input.region === "function" ? await input.region() : input.region,
439
- UseDualStack: typeof input.useDualstackEndpoint === "function" ? await input.useDualstackEndpoint() : input.useDualstackEndpoint,
440
- UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint,
441
- Endpoint: void 0
442
- },
443
- { logger: input.logger }
444
- )
445
- );
325
+ let selectedPartitionsInfo = partitionsInfo;
326
+ let selectedUserAgentPrefix = "";
327
+ const partition = (value) => {
328
+ const { partitions } = selectedPartitionsInfo;
329
+ for (const partition of partitions) {
330
+ const { regions, outputs } = partition;
331
+ for (const [region, regionData] of Object.entries(regions)) {
332
+ if (region === value) {
333
+ return {
334
+ ...outputs,
335
+ ...regionData,
336
+ };
337
+ }
338
+ }
339
+ }
340
+ for (const partition of partitions) {
341
+ const { regionRegex, outputs } = partition;
342
+ if (new RegExp(regionRegex).test(value)) {
343
+ return {
344
+ ...outputs,
345
+ };
346
+ }
347
+ }
348
+ const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
349
+ if (!DEFAULT_PARTITION) {
350
+ throw new Error("Provided region was not found in the partition array or regex," +
351
+ " and default partition with id 'aws' doesn't exist.");
352
+ }
353
+ return {
354
+ ...DEFAULT_PARTITION.outputs,
446
355
  };
447
- }
448
- return input;
449
- }, "resolveDefaultAwsRegionalEndpointsConfig");
450
- var toEndpointV1 = /* @__PURE__ */ __name((endpoint) => (0, import_url_parser.parseUrl)(endpoint.url), "toEndpointV1");
451
-
452
- // src/resolveEndpoint.ts
453
-
454
-
455
- // src/types/EndpointError.ts
456
-
457
-
458
- // src/types/EndpointRuleObject.ts
459
-
460
-
461
- // src/types/ErrorRuleObject.ts
462
-
463
-
464
- // src/types/RuleSetObject.ts
465
-
466
-
467
- // src/types/TreeRuleObject.ts
468
-
356
+ };
357
+ const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => {
358
+ selectedPartitionsInfo = partitionsInfo;
359
+ selectedUserAgentPrefix = userAgentPrefix;
360
+ };
361
+ const useDefaultPartitionInfo = () => {
362
+ setPartitionInfo(partitionsInfo, "");
363
+ };
364
+ const getUserAgentPrefix = () => selectedUserAgentPrefix;
469
365
 
470
- // src/types/shared.ts
366
+ const awsEndpointFunctions = {
367
+ isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,
368
+ parseArn: parseArn,
369
+ partition: partition,
370
+ };
371
+ utilEndpoints.customEndpointFunctions.aws = awsEndpointFunctions;
471
372
 
472
- // Annotate the CommonJS export names for ESM import in node:
373
+ const resolveDefaultAwsRegionalEndpointsConfig = (input) => {
374
+ if (typeof input.endpointProvider !== "function") {
375
+ throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");
376
+ }
377
+ const { endpoint } = input;
378
+ if (endpoint === undefined) {
379
+ input.endpoint = async () => {
380
+ return toEndpointV1(input.endpointProvider({
381
+ Region: typeof input.region === "function" ? await input.region() : input.region,
382
+ UseDualStack: typeof input.useDualstackEndpoint === "function"
383
+ ? await input.useDualstackEndpoint()
384
+ : input.useDualstackEndpoint,
385
+ UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint,
386
+ Endpoint: undefined,
387
+ }, { logger: input.logger }));
388
+ };
389
+ }
390
+ return input;
391
+ };
392
+ const toEndpointV1 = (endpoint) => urlParser.parseUrl(endpoint.url);
473
393
 
474
- 0 && (module.exports = {
475
- awsEndpointFunctions,
476
- partition,
477
- setPartitionInfo,
478
- useDefaultPartitionInfo,
479
- getUserAgentPrefix,
480
- isIpAddress,
481
- resolveDefaultAwsRegionalEndpointsConfig,
482
- toEndpointV1,
483
- resolveEndpoint,
484
- EndpointError
394
+ Object.defineProperty(exports, "EndpointError", {
395
+ enumerable: true,
396
+ get: function () { return utilEndpoints.EndpointError; }
485
397
  });
486
-
398
+ Object.defineProperty(exports, "isIpAddress", {
399
+ enumerable: true,
400
+ get: function () { return utilEndpoints.isIpAddress; }
401
+ });
402
+ Object.defineProperty(exports, "resolveEndpoint", {
403
+ enumerable: true,
404
+ get: function () { return utilEndpoints.resolveEndpoint; }
405
+ });
406
+ exports.awsEndpointFunctions = awsEndpointFunctions;
407
+ exports.getUserAgentPrefix = getUserAgentPrefix;
408
+ exports.partition = partition;
409
+ exports.resolveDefaultAwsRegionalEndpointsConfig = resolveDefaultAwsRegionalEndpointsConfig;
410
+ exports.setPartitionInfo = setPartitionInfo;
411
+ exports.toEndpointV1 = toEndpointV1;
412
+ exports.useDefaultPartitionInfo = useDefaultPartitionInfo;