@aws-sdk/client-api-gateway 3.36.1 → 3.40.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
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.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-api-gateway
20
+
21
+
22
+
23
+
24
+
25
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
26
+
27
+
28
+ ### Features
29
+
30
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
31
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
32
+
33
+
34
+
35
+
36
+
37
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
38
+
39
+
40
+ ### Features
41
+
42
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
43
+
44
+
45
+
46
+
47
+
6
48
  ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
49
 
8
50
 
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateApiKeyCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateAuthorizerCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateBasePathMappingCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateDeploymentCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateDocumentationPartCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateDocumentationVersionCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateDomainNameCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateModelCommand"), exports);
12
+ tslib_1.__exportStar(require("./CreateRequestValidatorCommand"), exports);
13
+ tslib_1.__exportStar(require("./CreateResourceCommand"), exports);
14
+ tslib_1.__exportStar(require("./CreateRestApiCommand"), exports);
15
+ tslib_1.__exportStar(require("./CreateStageCommand"), exports);
16
+ tslib_1.__exportStar(require("./CreateUsagePlanCommand"), exports);
17
+ tslib_1.__exportStar(require("./CreateUsagePlanKeyCommand"), exports);
18
+ tslib_1.__exportStar(require("./CreateVpcLinkCommand"), exports);
19
+ tslib_1.__exportStar(require("./DeleteApiKeyCommand"), exports);
20
+ tslib_1.__exportStar(require("./DeleteAuthorizerCommand"), exports);
21
+ tslib_1.__exportStar(require("./DeleteBasePathMappingCommand"), exports);
22
+ tslib_1.__exportStar(require("./DeleteClientCertificateCommand"), exports);
23
+ tslib_1.__exportStar(require("./DeleteDeploymentCommand"), exports);
24
+ tslib_1.__exportStar(require("./DeleteDocumentationPartCommand"), exports);
25
+ tslib_1.__exportStar(require("./DeleteDocumentationVersionCommand"), exports);
26
+ tslib_1.__exportStar(require("./DeleteDomainNameCommand"), exports);
27
+ tslib_1.__exportStar(require("./DeleteGatewayResponseCommand"), exports);
28
+ tslib_1.__exportStar(require("./DeleteIntegrationCommand"), exports);
29
+ tslib_1.__exportStar(require("./DeleteIntegrationResponseCommand"), exports);
30
+ tslib_1.__exportStar(require("./DeleteMethodCommand"), exports);
31
+ tslib_1.__exportStar(require("./DeleteMethodResponseCommand"), exports);
32
+ tslib_1.__exportStar(require("./DeleteModelCommand"), exports);
33
+ tslib_1.__exportStar(require("./DeleteRequestValidatorCommand"), exports);
34
+ tslib_1.__exportStar(require("./DeleteResourceCommand"), exports);
35
+ tslib_1.__exportStar(require("./DeleteRestApiCommand"), exports);
36
+ tslib_1.__exportStar(require("./DeleteStageCommand"), exports);
37
+ tslib_1.__exportStar(require("./DeleteUsagePlanCommand"), exports);
38
+ tslib_1.__exportStar(require("./DeleteUsagePlanKeyCommand"), exports);
39
+ tslib_1.__exportStar(require("./DeleteVpcLinkCommand"), exports);
40
+ tslib_1.__exportStar(require("./FlushStageAuthorizersCacheCommand"), exports);
41
+ tslib_1.__exportStar(require("./FlushStageCacheCommand"), exports);
42
+ tslib_1.__exportStar(require("./GenerateClientCertificateCommand"), exports);
43
+ tslib_1.__exportStar(require("./GetAccountCommand"), exports);
44
+ tslib_1.__exportStar(require("./GetApiKeyCommand"), exports);
45
+ tslib_1.__exportStar(require("./GetApiKeysCommand"), exports);
46
+ tslib_1.__exportStar(require("./GetAuthorizerCommand"), exports);
47
+ tslib_1.__exportStar(require("./GetAuthorizersCommand"), exports);
48
+ tslib_1.__exportStar(require("./GetBasePathMappingCommand"), exports);
49
+ tslib_1.__exportStar(require("./GetBasePathMappingsCommand"), exports);
50
+ tslib_1.__exportStar(require("./GetClientCertificateCommand"), exports);
51
+ tslib_1.__exportStar(require("./GetClientCertificatesCommand"), exports);
52
+ tslib_1.__exportStar(require("./GetDeploymentCommand"), exports);
53
+ tslib_1.__exportStar(require("./GetDeploymentsCommand"), exports);
54
+ tslib_1.__exportStar(require("./GetDocumentationPartCommand"), exports);
55
+ tslib_1.__exportStar(require("./GetDocumentationPartsCommand"), exports);
56
+ tslib_1.__exportStar(require("./GetDocumentationVersionCommand"), exports);
57
+ tslib_1.__exportStar(require("./GetDocumentationVersionsCommand"), exports);
58
+ tslib_1.__exportStar(require("./GetDomainNameCommand"), exports);
59
+ tslib_1.__exportStar(require("./GetDomainNamesCommand"), exports);
60
+ tslib_1.__exportStar(require("./GetExportCommand"), exports);
61
+ tslib_1.__exportStar(require("./GetGatewayResponseCommand"), exports);
62
+ tslib_1.__exportStar(require("./GetGatewayResponsesCommand"), exports);
63
+ tslib_1.__exportStar(require("./GetIntegrationCommand"), exports);
64
+ tslib_1.__exportStar(require("./GetIntegrationResponseCommand"), exports);
65
+ tslib_1.__exportStar(require("./GetMethodCommand"), exports);
66
+ tslib_1.__exportStar(require("./GetMethodResponseCommand"), exports);
67
+ tslib_1.__exportStar(require("./GetModelCommand"), exports);
68
+ tslib_1.__exportStar(require("./GetModelTemplateCommand"), exports);
69
+ tslib_1.__exportStar(require("./GetModelsCommand"), exports);
70
+ tslib_1.__exportStar(require("./GetRequestValidatorCommand"), exports);
71
+ tslib_1.__exportStar(require("./GetRequestValidatorsCommand"), exports);
72
+ tslib_1.__exportStar(require("./GetResourceCommand"), exports);
73
+ tslib_1.__exportStar(require("./GetResourcesCommand"), exports);
74
+ tslib_1.__exportStar(require("./GetRestApiCommand"), exports);
75
+ tslib_1.__exportStar(require("./GetRestApisCommand"), exports);
76
+ tslib_1.__exportStar(require("./GetSdkCommand"), exports);
77
+ tslib_1.__exportStar(require("./GetSdkTypeCommand"), exports);
78
+ tslib_1.__exportStar(require("./GetSdkTypesCommand"), exports);
79
+ tslib_1.__exportStar(require("./GetStageCommand"), exports);
80
+ tslib_1.__exportStar(require("./GetStagesCommand"), exports);
81
+ tslib_1.__exportStar(require("./GetTagsCommand"), exports);
82
+ tslib_1.__exportStar(require("./GetUsageCommand"), exports);
83
+ tslib_1.__exportStar(require("./GetUsagePlanCommand"), exports);
84
+ tslib_1.__exportStar(require("./GetUsagePlanKeyCommand"), exports);
85
+ tslib_1.__exportStar(require("./GetUsagePlanKeysCommand"), exports);
86
+ tslib_1.__exportStar(require("./GetUsagePlansCommand"), exports);
87
+ tslib_1.__exportStar(require("./GetVpcLinkCommand"), exports);
88
+ tslib_1.__exportStar(require("./GetVpcLinksCommand"), exports);
89
+ tslib_1.__exportStar(require("./ImportApiKeysCommand"), exports);
90
+ tslib_1.__exportStar(require("./ImportDocumentationPartsCommand"), exports);
91
+ tslib_1.__exportStar(require("./ImportRestApiCommand"), exports);
92
+ tslib_1.__exportStar(require("./PutGatewayResponseCommand"), exports);
93
+ tslib_1.__exportStar(require("./PutIntegrationCommand"), exports);
94
+ tslib_1.__exportStar(require("./PutIntegrationResponseCommand"), exports);
95
+ tslib_1.__exportStar(require("./PutMethodCommand"), exports);
96
+ tslib_1.__exportStar(require("./PutMethodResponseCommand"), exports);
97
+ tslib_1.__exportStar(require("./PutRestApiCommand"), exports);
98
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
99
+ tslib_1.__exportStar(require("./TestInvokeAuthorizerCommand"), exports);
100
+ tslib_1.__exportStar(require("./TestInvokeMethodCommand"), exports);
101
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
102
+ tslib_1.__exportStar(require("./UpdateAccountCommand"), exports);
103
+ tslib_1.__exportStar(require("./UpdateApiKeyCommand"), exports);
104
+ tslib_1.__exportStar(require("./UpdateAuthorizerCommand"), exports);
105
+ tslib_1.__exportStar(require("./UpdateBasePathMappingCommand"), exports);
106
+ tslib_1.__exportStar(require("./UpdateClientCertificateCommand"), exports);
107
+ tslib_1.__exportStar(require("./UpdateDeploymentCommand"), exports);
108
+ tslib_1.__exportStar(require("./UpdateDocumentationPartCommand"), exports);
109
+ tslib_1.__exportStar(require("./UpdateDocumentationVersionCommand"), exports);
110
+ tslib_1.__exportStar(require("./UpdateDomainNameCommand"), exports);
111
+ tslib_1.__exportStar(require("./UpdateGatewayResponseCommand"), exports);
112
+ tslib_1.__exportStar(require("./UpdateIntegrationCommand"), exports);
113
+ tslib_1.__exportStar(require("./UpdateIntegrationResponseCommand"), exports);
114
+ tslib_1.__exportStar(require("./UpdateMethodCommand"), exports);
115
+ tslib_1.__exportStar(require("./UpdateMethodResponseCommand"), exports);
116
+ tslib_1.__exportStar(require("./UpdateModelCommand"), exports);
117
+ tslib_1.__exportStar(require("./UpdateRequestValidatorCommand"), exports);
118
+ tslib_1.__exportStar(require("./UpdateResourceCommand"), exports);
119
+ tslib_1.__exportStar(require("./UpdateRestApiCommand"), exports);
120
+ tslib_1.__exportStar(require("./UpdateStageCommand"), exports);
121
+ tslib_1.__exportStar(require("./UpdateUsageCommand"), exports);
122
+ tslib_1.__exportStar(require("./UpdateUsagePlanCommand"), exports);
123
+ tslib_1.__exportStar(require("./UpdateVpcLinkCommand"), exports);
@@ -28,23 +28,89 @@ const partitionHash = {
28
28
  "us-west-1",
29
29
  "us-west-2",
30
30
  ],
31
- hostname: "apigateway.{region}.amazonaws.com",
31
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
32
+ variants: [
33
+ {
34
+ hostname: "apigateway.{region}.amazonaws.com",
35
+ tags: [],
36
+ },
37
+ {
38
+ hostname: "apigateway-fips.{region}.amazonaws.com",
39
+ tags: ["fips"],
40
+ },
41
+ {
42
+ hostname: "apigateway-fips.{region}.api.aws",
43
+ tags: ["dualstack", "fips"],
44
+ },
45
+ {
46
+ hostname: "apigateway.{region}.api.aws",
47
+ tags: ["dualstack"],
48
+ },
49
+ ],
32
50
  },
33
51
  "aws-cn": {
34
52
  regions: ["cn-north-1", "cn-northwest-1"],
35
- hostname: "apigateway.{region}.amazonaws.com.cn",
53
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
54
+ variants: [
55
+ {
56
+ hostname: "apigateway.{region}.amazonaws.com.cn",
57
+ tags: [],
58
+ },
59
+ {
60
+ hostname: "apigateway-fips.{region}.amazonaws.com.cn",
61
+ tags: ["fips"],
62
+ },
63
+ {
64
+ hostname: "apigateway-fips.{region}.api.amazonwebservices.com.cn",
65
+ tags: ["dualstack", "fips"],
66
+ },
67
+ {
68
+ hostname: "apigateway.{region}.api.amazonwebservices.com.cn",
69
+ tags: ["dualstack"],
70
+ },
71
+ ],
36
72
  },
37
73
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
39
- hostname: "apigateway.{region}.c2s.ic.gov",
74
+ regions: ["us-iso-east-1", "us-iso-west-1"],
75
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
76
+ variants: [
77
+ {
78
+ hostname: "apigateway.{region}.c2s.ic.gov",
79
+ tags: [],
80
+ },
81
+ ],
40
82
  },
41
83
  "aws-iso-b": {
42
84
  regions: ["us-isob-east-1"],
43
- hostname: "apigateway.{region}.sc2s.sgov.gov",
85
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
86
+ variants: [
87
+ {
88
+ hostname: "apigateway.{region}.sc2s.sgov.gov",
89
+ tags: [],
90
+ },
91
+ ],
44
92
  },
45
93
  "aws-us-gov": {
46
94
  regions: ["us-gov-east-1", "us-gov-west-1"],
47
- hostname: "apigateway.{region}.amazonaws.com",
95
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
96
+ variants: [
97
+ {
98
+ hostname: "apigateway.{region}.amazonaws.com",
99
+ tags: [],
100
+ },
101
+ {
102
+ hostname: "apigateway-fips.{region}.amazonaws.com",
103
+ tags: ["fips"],
104
+ },
105
+ {
106
+ hostname: "apigateway-fips.{region}.api.aws",
107
+ tags: ["dualstack", "fips"],
108
+ },
109
+ {
110
+ hostname: "apigateway.{region}.api.aws",
111
+ tags: ["dualstack"],
112
+ },
113
+ ],
48
114
  },
49
115
  };
50
116
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
package/dist-cjs/index.js CHANGED
@@ -1,139 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./APIGatewayClient"), exports);
5
4
  tslib_1.__exportStar(require("./APIGateway"), exports);
6
- tslib_1.__exportStar(require("./commands/CreateApiKeyCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CreateAuthorizerCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateBasePathMappingCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateDeploymentCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateDocumentationPartCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateDocumentationVersionCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreateDomainNameCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/CreateModelCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/CreateRequestValidatorCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/CreateResourceCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/CreateRestApiCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/CreateStageCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/CreateUsagePlanCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/CreateUsagePlanKeyCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/CreateVpcLinkCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DeleteApiKeyCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DeleteAuthorizerCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DeleteBasePathMappingCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DeleteClientCertificateCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/DeleteDeploymentCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/DeleteDocumentationPartCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/DeleteDocumentationVersionCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/DeleteDomainNameCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/DeleteGatewayResponseCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/DeleteIntegrationCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/DeleteIntegrationResponseCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/DeleteMethodCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/DeleteMethodResponseCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/DeleteModelCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/DeleteRequestValidatorCommand"), exports);
36
- tslib_1.__exportStar(require("./commands/DeleteResourceCommand"), exports);
37
- tslib_1.__exportStar(require("./commands/DeleteRestApiCommand"), exports);
38
- tslib_1.__exportStar(require("./commands/DeleteStageCommand"), exports);
39
- tslib_1.__exportStar(require("./commands/DeleteUsagePlanCommand"), exports);
40
- tslib_1.__exportStar(require("./commands/DeleteUsagePlanKeyCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/DeleteVpcLinkCommand"), exports);
42
- tslib_1.__exportStar(require("./commands/FlushStageAuthorizersCacheCommand"), exports);
43
- tslib_1.__exportStar(require("./commands/FlushStageCacheCommand"), exports);
44
- tslib_1.__exportStar(require("./commands/GenerateClientCertificateCommand"), exports);
45
- tslib_1.__exportStar(require("./commands/GetAccountCommand"), exports);
46
- tslib_1.__exportStar(require("./commands/GetApiKeyCommand"), exports);
47
- tslib_1.__exportStar(require("./commands/GetApiKeysCommand"), exports);
48
- tslib_1.__exportStar(require("./pagination/GetApiKeysPaginator"), exports);
49
- tslib_1.__exportStar(require("./commands/GetAuthorizerCommand"), exports);
50
- tslib_1.__exportStar(require("./commands/GetAuthorizersCommand"), exports);
51
- tslib_1.__exportStar(require("./commands/GetBasePathMappingCommand"), exports);
52
- tslib_1.__exportStar(require("./commands/GetBasePathMappingsCommand"), exports);
53
- tslib_1.__exportStar(require("./pagination/GetBasePathMappingsPaginator"), exports);
54
- tslib_1.__exportStar(require("./commands/GetClientCertificateCommand"), exports);
55
- tslib_1.__exportStar(require("./commands/GetClientCertificatesCommand"), exports);
56
- tslib_1.__exportStar(require("./pagination/GetClientCertificatesPaginator"), exports);
57
- tslib_1.__exportStar(require("./commands/GetDeploymentCommand"), exports);
58
- tslib_1.__exportStar(require("./commands/GetDeploymentsCommand"), exports);
59
- tslib_1.__exportStar(require("./pagination/GetDeploymentsPaginator"), exports);
60
- tslib_1.__exportStar(require("./commands/GetDocumentationPartCommand"), exports);
61
- tslib_1.__exportStar(require("./commands/GetDocumentationPartsCommand"), exports);
62
- tslib_1.__exportStar(require("./commands/GetDocumentationVersionCommand"), exports);
63
- tslib_1.__exportStar(require("./commands/GetDocumentationVersionsCommand"), exports);
64
- tslib_1.__exportStar(require("./commands/GetDomainNameCommand"), exports);
65
- tslib_1.__exportStar(require("./commands/GetDomainNamesCommand"), exports);
66
- tslib_1.__exportStar(require("./pagination/GetDomainNamesPaginator"), exports);
67
- tslib_1.__exportStar(require("./commands/GetExportCommand"), exports);
68
- tslib_1.__exportStar(require("./commands/GetGatewayResponseCommand"), exports);
69
- tslib_1.__exportStar(require("./commands/GetGatewayResponsesCommand"), exports);
70
- tslib_1.__exportStar(require("./commands/GetIntegrationCommand"), exports);
71
- tslib_1.__exportStar(require("./commands/GetIntegrationResponseCommand"), exports);
72
- tslib_1.__exportStar(require("./commands/GetMethodCommand"), exports);
73
- tslib_1.__exportStar(require("./commands/GetMethodResponseCommand"), exports);
74
- tslib_1.__exportStar(require("./commands/GetModelCommand"), exports);
75
- tslib_1.__exportStar(require("./commands/GetModelsCommand"), exports);
76
- tslib_1.__exportStar(require("./pagination/GetModelsPaginator"), exports);
77
- tslib_1.__exportStar(require("./commands/GetModelTemplateCommand"), exports);
78
- tslib_1.__exportStar(require("./commands/GetRequestValidatorCommand"), exports);
79
- tslib_1.__exportStar(require("./commands/GetRequestValidatorsCommand"), exports);
80
- tslib_1.__exportStar(require("./commands/GetResourceCommand"), exports);
81
- tslib_1.__exportStar(require("./commands/GetResourcesCommand"), exports);
82
- tslib_1.__exportStar(require("./pagination/GetResourcesPaginator"), exports);
83
- tslib_1.__exportStar(require("./commands/GetRestApiCommand"), exports);
84
- tslib_1.__exportStar(require("./commands/GetRestApisCommand"), exports);
85
- tslib_1.__exportStar(require("./pagination/GetRestApisPaginator"), exports);
86
- tslib_1.__exportStar(require("./commands/GetSdkCommand"), exports);
87
- tslib_1.__exportStar(require("./commands/GetSdkTypeCommand"), exports);
88
- tslib_1.__exportStar(require("./commands/GetSdkTypesCommand"), exports);
89
- tslib_1.__exportStar(require("./commands/GetStageCommand"), exports);
90
- tslib_1.__exportStar(require("./commands/GetStagesCommand"), exports);
91
- tslib_1.__exportStar(require("./commands/GetTagsCommand"), exports);
92
- tslib_1.__exportStar(require("./commands/GetUsageCommand"), exports);
93
- tslib_1.__exportStar(require("./pagination/GetUsagePaginator"), exports);
94
- tslib_1.__exportStar(require("./commands/GetUsagePlanCommand"), exports);
95
- tslib_1.__exportStar(require("./commands/GetUsagePlanKeyCommand"), exports);
96
- tslib_1.__exportStar(require("./commands/GetUsagePlanKeysCommand"), exports);
97
- tslib_1.__exportStar(require("./pagination/GetUsagePlanKeysPaginator"), exports);
98
- tslib_1.__exportStar(require("./commands/GetUsagePlansCommand"), exports);
99
- tslib_1.__exportStar(require("./pagination/GetUsagePlansPaginator"), exports);
100
- tslib_1.__exportStar(require("./commands/GetVpcLinkCommand"), exports);
101
- tslib_1.__exportStar(require("./commands/GetVpcLinksCommand"), exports);
102
- tslib_1.__exportStar(require("./pagination/GetVpcLinksPaginator"), exports);
103
- tslib_1.__exportStar(require("./commands/ImportApiKeysCommand"), exports);
104
- tslib_1.__exportStar(require("./commands/ImportDocumentationPartsCommand"), exports);
105
- tslib_1.__exportStar(require("./commands/ImportRestApiCommand"), exports);
106
- tslib_1.__exportStar(require("./commands/PutGatewayResponseCommand"), exports);
107
- tslib_1.__exportStar(require("./commands/PutIntegrationCommand"), exports);
108
- tslib_1.__exportStar(require("./commands/PutIntegrationResponseCommand"), exports);
109
- tslib_1.__exportStar(require("./commands/PutMethodCommand"), exports);
110
- tslib_1.__exportStar(require("./commands/PutMethodResponseCommand"), exports);
111
- tslib_1.__exportStar(require("./commands/PutRestApiCommand"), exports);
112
- tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
113
- tslib_1.__exportStar(require("./commands/TestInvokeAuthorizerCommand"), exports);
114
- tslib_1.__exportStar(require("./commands/TestInvokeMethodCommand"), exports);
115
- tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
116
- tslib_1.__exportStar(require("./commands/UpdateAccountCommand"), exports);
117
- tslib_1.__exportStar(require("./commands/UpdateApiKeyCommand"), exports);
118
- tslib_1.__exportStar(require("./commands/UpdateAuthorizerCommand"), exports);
119
- tslib_1.__exportStar(require("./commands/UpdateBasePathMappingCommand"), exports);
120
- tslib_1.__exportStar(require("./commands/UpdateClientCertificateCommand"), exports);
121
- tslib_1.__exportStar(require("./commands/UpdateDeploymentCommand"), exports);
122
- tslib_1.__exportStar(require("./commands/UpdateDocumentationPartCommand"), exports);
123
- tslib_1.__exportStar(require("./commands/UpdateDocumentationVersionCommand"), exports);
124
- tslib_1.__exportStar(require("./commands/UpdateDomainNameCommand"), exports);
125
- tslib_1.__exportStar(require("./commands/UpdateGatewayResponseCommand"), exports);
126
- tslib_1.__exportStar(require("./commands/UpdateIntegrationCommand"), exports);
127
- tslib_1.__exportStar(require("./commands/UpdateIntegrationResponseCommand"), exports);
128
- tslib_1.__exportStar(require("./commands/UpdateMethodCommand"), exports);
129
- tslib_1.__exportStar(require("./commands/UpdateMethodResponseCommand"), exports);
130
- tslib_1.__exportStar(require("./commands/UpdateModelCommand"), exports);
131
- tslib_1.__exportStar(require("./commands/UpdateRequestValidatorCommand"), exports);
132
- tslib_1.__exportStar(require("./commands/UpdateResourceCommand"), exports);
133
- tslib_1.__exportStar(require("./commands/UpdateRestApiCommand"), exports);
134
- tslib_1.__exportStar(require("./commands/UpdateStageCommand"), exports);
135
- tslib_1.__exportStar(require("./commands/UpdateUsageCommand"), exports);
136
- tslib_1.__exportStar(require("./commands/UpdateUsagePlanCommand"), exports);
137
- tslib_1.__exportStar(require("./commands/UpdateVpcLinkCommand"), exports);
138
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
139
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./APIGatewayClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./GetApiKeysPaginator"), exports);
5
+ tslib_1.__exportStar(require("./GetBasePathMappingsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./GetClientCertificatesPaginator"), exports);
7
+ tslib_1.__exportStar(require("./GetDeploymentsPaginator"), exports);
8
+ tslib_1.__exportStar(require("./GetDomainNamesPaginator"), exports);
9
+ tslib_1.__exportStar(require("./GetModelsPaginator"), exports);
10
+ tslib_1.__exportStar(require("./GetResourcesPaginator"), exports);
11
+ tslib_1.__exportStar(require("./GetRestApisPaginator"), exports);
12
+ tslib_1.__exportStar(require("./GetUsagePaginator"), exports);
13
+ tslib_1.__exportStar(require("./GetUsagePlanKeysPaginator"), exports);
14
+ tslib_1.__exportStar(require("./Interfaces"), exports);
15
+ tslib_1.__exportStar(require("./GetUsagePlansPaginator"), exports);
16
+ tslib_1.__exportStar(require("./GetVpcLinksPaginator"), exports);
@@ -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;
@@ -0,0 +1,120 @@
1
+ export * from "./CreateApiKeyCommand";
2
+ export * from "./CreateAuthorizerCommand";
3
+ export * from "./CreateBasePathMappingCommand";
4
+ export * from "./CreateDeploymentCommand";
5
+ export * from "./CreateDocumentationPartCommand";
6
+ export * from "./CreateDocumentationVersionCommand";
7
+ export * from "./CreateDomainNameCommand";
8
+ export * from "./CreateModelCommand";
9
+ export * from "./CreateRequestValidatorCommand";
10
+ export * from "./CreateResourceCommand";
11
+ export * from "./CreateRestApiCommand";
12
+ export * from "./CreateStageCommand";
13
+ export * from "./CreateUsagePlanCommand";
14
+ export * from "./CreateUsagePlanKeyCommand";
15
+ export * from "./CreateVpcLinkCommand";
16
+ export * from "./DeleteApiKeyCommand";
17
+ export * from "./DeleteAuthorizerCommand";
18
+ export * from "./DeleteBasePathMappingCommand";
19
+ export * from "./DeleteClientCertificateCommand";
20
+ export * from "./DeleteDeploymentCommand";
21
+ export * from "./DeleteDocumentationPartCommand";
22
+ export * from "./DeleteDocumentationVersionCommand";
23
+ export * from "./DeleteDomainNameCommand";
24
+ export * from "./DeleteGatewayResponseCommand";
25
+ export * from "./DeleteIntegrationCommand";
26
+ export * from "./DeleteIntegrationResponseCommand";
27
+ export * from "./DeleteMethodCommand";
28
+ export * from "./DeleteMethodResponseCommand";
29
+ export * from "./DeleteModelCommand";
30
+ export * from "./DeleteRequestValidatorCommand";
31
+ export * from "./DeleteResourceCommand";
32
+ export * from "./DeleteRestApiCommand";
33
+ export * from "./DeleteStageCommand";
34
+ export * from "./DeleteUsagePlanCommand";
35
+ export * from "./DeleteUsagePlanKeyCommand";
36
+ export * from "./DeleteVpcLinkCommand";
37
+ export * from "./FlushStageAuthorizersCacheCommand";
38
+ export * from "./FlushStageCacheCommand";
39
+ export * from "./GenerateClientCertificateCommand";
40
+ export * from "./GetAccountCommand";
41
+ export * from "./GetApiKeyCommand";
42
+ export * from "./GetApiKeysCommand";
43
+ export * from "./GetAuthorizerCommand";
44
+ export * from "./GetAuthorizersCommand";
45
+ export * from "./GetBasePathMappingCommand";
46
+ export * from "./GetBasePathMappingsCommand";
47
+ export * from "./GetClientCertificateCommand";
48
+ export * from "./GetClientCertificatesCommand";
49
+ export * from "./GetDeploymentCommand";
50
+ export * from "./GetDeploymentsCommand";
51
+ export * from "./GetDocumentationPartCommand";
52
+ export * from "./GetDocumentationPartsCommand";
53
+ export * from "./GetDocumentationVersionCommand";
54
+ export * from "./GetDocumentationVersionsCommand";
55
+ export * from "./GetDomainNameCommand";
56
+ export * from "./GetDomainNamesCommand";
57
+ export * from "./GetExportCommand";
58
+ export * from "./GetGatewayResponseCommand";
59
+ export * from "./GetGatewayResponsesCommand";
60
+ export * from "./GetIntegrationCommand";
61
+ export * from "./GetIntegrationResponseCommand";
62
+ export * from "./GetMethodCommand";
63
+ export * from "./GetMethodResponseCommand";
64
+ export * from "./GetModelCommand";
65
+ export * from "./GetModelTemplateCommand";
66
+ export * from "./GetModelsCommand";
67
+ export * from "./GetRequestValidatorCommand";
68
+ export * from "./GetRequestValidatorsCommand";
69
+ export * from "./GetResourceCommand";
70
+ export * from "./GetResourcesCommand";
71
+ export * from "./GetRestApiCommand";
72
+ export * from "./GetRestApisCommand";
73
+ export * from "./GetSdkCommand";
74
+ export * from "./GetSdkTypeCommand";
75
+ export * from "./GetSdkTypesCommand";
76
+ export * from "./GetStageCommand";
77
+ export * from "./GetStagesCommand";
78
+ export * from "./GetTagsCommand";
79
+ export * from "./GetUsageCommand";
80
+ export * from "./GetUsagePlanCommand";
81
+ export * from "./GetUsagePlanKeyCommand";
82
+ export * from "./GetUsagePlanKeysCommand";
83
+ export * from "./GetUsagePlansCommand";
84
+ export * from "./GetVpcLinkCommand";
85
+ export * from "./GetVpcLinksCommand";
86
+ export * from "./ImportApiKeysCommand";
87
+ export * from "./ImportDocumentationPartsCommand";
88
+ export * from "./ImportRestApiCommand";
89
+ export * from "./PutGatewayResponseCommand";
90
+ export * from "./PutIntegrationCommand";
91
+ export * from "./PutIntegrationResponseCommand";
92
+ export * from "./PutMethodCommand";
93
+ export * from "./PutMethodResponseCommand";
94
+ export * from "./PutRestApiCommand";
95
+ export * from "./TagResourceCommand";
96
+ export * from "./TestInvokeAuthorizerCommand";
97
+ export * from "./TestInvokeMethodCommand";
98
+ export * from "./UntagResourceCommand";
99
+ export * from "./UpdateAccountCommand";
100
+ export * from "./UpdateApiKeyCommand";
101
+ export * from "./UpdateAuthorizerCommand";
102
+ export * from "./UpdateBasePathMappingCommand";
103
+ export * from "./UpdateClientCertificateCommand";
104
+ export * from "./UpdateDeploymentCommand";
105
+ export * from "./UpdateDocumentationPartCommand";
106
+ export * from "./UpdateDocumentationVersionCommand";
107
+ export * from "./UpdateDomainNameCommand";
108
+ export * from "./UpdateGatewayResponseCommand";
109
+ export * from "./UpdateIntegrationCommand";
110
+ export * from "./UpdateIntegrationResponseCommand";
111
+ export * from "./UpdateMethodCommand";
112
+ export * from "./UpdateMethodResponseCommand";
113
+ export * from "./UpdateModelCommand";
114
+ export * from "./UpdateRequestValidatorCommand";
115
+ export * from "./UpdateResourceCommand";
116
+ export * from "./UpdateRestApiCommand";
117
+ export * from "./UpdateStageCommand";
118
+ export * from "./UpdateUsageCommand";
119
+ export * from "./UpdateUsagePlanCommand";
120
+ export * from "./UpdateVpcLinkCommand";