@aws-sdk/client-appintegrations 3.54.1 → 3.55.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 (27) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/AppIntegrationsClient.js +13 -13
  3. package/dist-cjs/commands/CreateDataIntegrationCommand.js +3 -3
  4. package/dist-cjs/commands/CreateEventIntegrationCommand.js +3 -3
  5. package/dist-cjs/commands/DeleteDataIntegrationCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteEventIntegrationCommand.js +3 -3
  7. package/dist-cjs/commands/GetDataIntegrationCommand.js +3 -3
  8. package/dist-cjs/commands/GetEventIntegrationCommand.js +3 -3
  9. package/dist-cjs/commands/ListDataIntegrationAssociationsCommand.js +3 -3
  10. package/dist-cjs/commands/ListDataIntegrationsCommand.js +3 -3
  11. package/dist-cjs/commands/ListEventIntegrationAssociationsCommand.js +3 -3
  12. package/dist-cjs/commands/ListEventIntegrationsCommand.js +3 -3
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  14. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  15. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  16. package/dist-cjs/commands/UpdateDataIntegrationCommand.js +3 -3
  17. package/dist-cjs/commands/UpdateEventIntegrationCommand.js +3 -3
  18. package/dist-cjs/endpoints.js +1 -1
  19. package/dist-cjs/protocols/Aws_restJson1.js +94 -94
  20. package/dist-cjs/runtimeConfig.browser.js +4 -4
  21. package/dist-cjs/runtimeConfig.js +9 -9
  22. package/dist-cjs/runtimeConfig.native.js +1 -1
  23. package/dist-es/AppIntegrations.js +15 -15
  24. package/dist-es/protocols/Aws_restJson1.js +15 -15
  25. package/dist-types/runtimeConfig.native.d.ts +2 -2
  26. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  27. package/package.json +34 -34
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- 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),
45
- 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),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,
@@ -27,7 +27,7 @@ var AppIntegrations = (function (_super) {
27
27
  }
28
28
  else if (typeof cb === "function") {
29
29
  if (typeof optionsOrCb !== "object")
30
- throw new Error("Expect http options but get " + typeof optionsOrCb);
30
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
31
31
  this.send(command, optionsOrCb || {}, cb);
32
32
  }
33
33
  else {
@@ -41,7 +41,7 @@ var AppIntegrations = (function (_super) {
41
41
  }
42
42
  else if (typeof cb === "function") {
43
43
  if (typeof optionsOrCb !== "object")
44
- throw new Error("Expect http options but get " + typeof optionsOrCb);
44
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
45
45
  this.send(command, optionsOrCb || {}, cb);
46
46
  }
47
47
  else {
@@ -55,7 +55,7 @@ var AppIntegrations = (function (_super) {
55
55
  }
56
56
  else if (typeof cb === "function") {
57
57
  if (typeof optionsOrCb !== "object")
58
- throw new Error("Expect http options but get " + typeof optionsOrCb);
58
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
59
59
  this.send(command, optionsOrCb || {}, cb);
60
60
  }
61
61
  else {
@@ -69,7 +69,7 @@ var AppIntegrations = (function (_super) {
69
69
  }
70
70
  else if (typeof cb === "function") {
71
71
  if (typeof optionsOrCb !== "object")
72
- throw new Error("Expect http options but get " + typeof optionsOrCb);
72
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
73
73
  this.send(command, optionsOrCb || {}, cb);
74
74
  }
75
75
  else {
@@ -83,7 +83,7 @@ var AppIntegrations = (function (_super) {
83
83
  }
84
84
  else if (typeof cb === "function") {
85
85
  if (typeof optionsOrCb !== "object")
86
- throw new Error("Expect http options but get " + typeof optionsOrCb);
86
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
87
87
  this.send(command, optionsOrCb || {}, cb);
88
88
  }
89
89
  else {
@@ -97,7 +97,7 @@ var AppIntegrations = (function (_super) {
97
97
  }
98
98
  else if (typeof cb === "function") {
99
99
  if (typeof optionsOrCb !== "object")
100
- throw new Error("Expect http options but get " + typeof optionsOrCb);
100
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
101
101
  this.send(command, optionsOrCb || {}, cb);
102
102
  }
103
103
  else {
@@ -111,7 +111,7 @@ var AppIntegrations = (function (_super) {
111
111
  }
112
112
  else if (typeof cb === "function") {
113
113
  if (typeof optionsOrCb !== "object")
114
- throw new Error("Expect http options but get " + typeof optionsOrCb);
114
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
115
115
  this.send(command, optionsOrCb || {}, cb);
116
116
  }
117
117
  else {
@@ -125,7 +125,7 @@ var AppIntegrations = (function (_super) {
125
125
  }
126
126
  else if (typeof cb === "function") {
127
127
  if (typeof optionsOrCb !== "object")
128
- throw new Error("Expect http options but get " + typeof optionsOrCb);
128
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
129
129
  this.send(command, optionsOrCb || {}, cb);
130
130
  }
131
131
  else {
@@ -139,7 +139,7 @@ var AppIntegrations = (function (_super) {
139
139
  }
140
140
  else if (typeof cb === "function") {
141
141
  if (typeof optionsOrCb !== "object")
142
- throw new Error("Expect http options but get " + typeof optionsOrCb);
142
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
143
143
  this.send(command, optionsOrCb || {}, cb);
144
144
  }
145
145
  else {
@@ -153,7 +153,7 @@ var AppIntegrations = (function (_super) {
153
153
  }
154
154
  else if (typeof cb === "function") {
155
155
  if (typeof optionsOrCb !== "object")
156
- throw new Error("Expect http options but get " + typeof optionsOrCb);
156
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
157
157
  this.send(command, optionsOrCb || {}, cb);
158
158
  }
159
159
  else {
@@ -167,7 +167,7 @@ var AppIntegrations = (function (_super) {
167
167
  }
168
168
  else if (typeof cb === "function") {
169
169
  if (typeof optionsOrCb !== "object")
170
- throw new Error("Expect http options but get " + typeof optionsOrCb);
170
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
171
171
  this.send(command, optionsOrCb || {}, cb);
172
172
  }
173
173
  else {
@@ -181,7 +181,7 @@ var AppIntegrations = (function (_super) {
181
181
  }
182
182
  else if (typeof cb === "function") {
183
183
  if (typeof optionsOrCb !== "object")
184
- throw new Error("Expect http options but get " + typeof optionsOrCb);
184
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
185
185
  this.send(command, optionsOrCb || {}, cb);
186
186
  }
187
187
  else {
@@ -195,7 +195,7 @@ var AppIntegrations = (function (_super) {
195
195
  }
196
196
  else if (typeof cb === "function") {
197
197
  if (typeof optionsOrCb !== "object")
198
- throw new Error("Expect http options but get " + typeof optionsOrCb);
198
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
199
199
  this.send(command, optionsOrCb || {}, cb);
200
200
  }
201
201
  else {
@@ -209,7 +209,7 @@ var AppIntegrations = (function (_super) {
209
209
  }
210
210
  else if (typeof cb === "function") {
211
211
  if (typeof optionsOrCb !== "object")
212
- throw new Error("Expect http options but get " + typeof optionsOrCb);
212
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
213
213
  this.send(command, optionsOrCb || {}, cb);
214
214
  }
215
215
  else {
@@ -223,7 +223,7 @@ var AppIntegrations = (function (_super) {
223
223
  }
224
224
  else if (typeof cb === "function") {
225
225
  if (typeof optionsOrCb !== "object")
226
- throw new Error("Expect http options but get " + typeof optionsOrCb);
226
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
227
227
  this.send(command, optionsOrCb || {}, cb);
228
228
  }
229
229
  else {
@@ -15,7 +15,7 @@ export var serializeAws_restJson1CreateDataIntegrationCommand = function (input,
15
15
  headers = {
16
16
  "content-type": "application/json",
17
17
  };
18
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataIntegrations";
18
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataIntegrations";
19
19
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.KmsKey !== undefined && input.KmsKey !== null && { KmsKey: input.KmsKey })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ScheduleConfig !== undefined &&
20
20
  input.ScheduleConfig !== null && {
21
21
  ScheduleConfig: serializeAws_restJson1ScheduleConfiguration(input.ScheduleConfig, context),
@@ -43,7 +43,7 @@ export var serializeAws_restJson1CreateEventIntegrationCommand = function (input
43
43
  headers = {
44
44
  "content-type": "application/json",
45
45
  };
46
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations";
46
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations";
47
47
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.EventBridgeBus !== undefined &&
48
48
  input.EventBridgeBus !== null && { EventBridgeBus: input.EventBridgeBus })), (input.EventFilter !== undefined &&
49
49
  input.EventFilter !== null && { EventFilter: serializeAws_restJson1EventFilter(input.EventFilter, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
@@ -67,7 +67,7 @@ export var serializeAws_restJson1DeleteDataIntegrationCommand = function (input,
67
67
  case 1:
68
68
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
69
69
  headers = {};
70
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
70
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
71
71
  "/dataIntegrations/{DataIntegrationIdentifier}";
72
72
  if (input.DataIntegrationIdentifier !== undefined) {
73
73
  labelValue = input.DataIntegrationIdentifier;
@@ -99,7 +99,7 @@ export var serializeAws_restJson1DeleteEventIntegrationCommand = function (input
99
99
  case 1:
100
100
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
101
101
  headers = {};
102
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations/{Name}";
102
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations/{Name}";
103
103
  if (input.Name !== undefined) {
104
104
  labelValue = input.Name;
105
105
  if (labelValue.length <= 0) {
@@ -130,7 +130,7 @@ export var serializeAws_restJson1GetDataIntegrationCommand = function (input, co
130
130
  case 1:
131
131
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
132
132
  headers = {};
133
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataIntegrations/{Identifier}";
133
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataIntegrations/{Identifier}";
134
134
  if (input.Identifier !== undefined) {
135
135
  labelValue = input.Identifier;
136
136
  if (labelValue.length <= 0) {
@@ -161,7 +161,7 @@ export var serializeAws_restJson1GetEventIntegrationCommand = function (input, c
161
161
  case 1:
162
162
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
163
163
  headers = {};
164
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations/{Name}";
164
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations/{Name}";
165
165
  if (input.Name !== undefined) {
166
166
  labelValue = input.Name;
167
167
  if (labelValue.length <= 0) {
@@ -192,7 +192,7 @@ export var serializeAws_restJson1ListDataIntegrationAssociationsCommand = functi
192
192
  case 1:
193
193
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
194
194
  headers = {};
195
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
195
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
196
196
  "/dataIntegrations/{DataIntegrationIdentifier}/associations";
197
197
  if (input.DataIntegrationIdentifier !== undefined) {
198
198
  labelValue = input.DataIntegrationIdentifier;
@@ -226,7 +226,7 @@ export var serializeAws_restJson1ListDataIntegrationsCommand = function (input,
226
226
  case 1:
227
227
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
228
228
  headers = {};
229
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataIntegrations";
229
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataIntegrations";
230
230
  query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
231
231
  return [2, new __HttpRequest({
232
232
  protocol: protocol,
@@ -249,7 +249,7 @@ export var serializeAws_restJson1ListEventIntegrationAssociationsCommand = funct
249
249
  case 1:
250
250
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
251
251
  headers = {};
252
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
252
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
253
253
  "/eventIntegrations/{EventIntegrationName}/associations";
254
254
  if (input.EventIntegrationName !== undefined) {
255
255
  labelValue = input.EventIntegrationName;
@@ -283,7 +283,7 @@ export var serializeAws_restJson1ListEventIntegrationsCommand = function (input,
283
283
  case 1:
284
284
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
285
285
  headers = {};
286
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations";
286
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations";
287
287
  query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
288
288
  return [2, new __HttpRequest({
289
289
  protocol: protocol,
@@ -306,7 +306,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
306
306
  case 1:
307
307
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
308
308
  headers = {};
309
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
309
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
310
310
  if (input.resourceArn !== undefined) {
311
311
  labelValue = input.resourceArn;
312
312
  if (labelValue.length <= 0) {
@@ -339,7 +339,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
339
339
  headers = {
340
340
  "content-type": "application/json",
341
341
  };
342
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
342
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
343
343
  if (input.resourceArn !== undefined) {
344
344
  labelValue = input.resourceArn;
345
345
  if (labelValue.length <= 0) {
@@ -371,7 +371,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
371
371
  case 1:
372
372
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
373
373
  headers = {};
374
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
374
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
375
375
  if (input.resourceArn !== undefined) {
376
376
  labelValue = input.resourceArn;
377
377
  if (labelValue.length <= 0) {
@@ -406,7 +406,7 @@ export var serializeAws_restJson1UpdateDataIntegrationCommand = function (input,
406
406
  headers = {
407
407
  "content-type": "application/json",
408
408
  };
409
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataIntegrations/{Identifier}";
409
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataIntegrations/{Identifier}";
410
410
  if (input.Identifier !== undefined) {
411
411
  labelValue = input.Identifier;
412
412
  if (labelValue.length <= 0) {
@@ -440,7 +440,7 @@ export var serializeAws_restJson1UpdateEventIntegrationCommand = function (input
440
440
  headers = {
441
441
  "content-type": "application/json",
442
442
  };
443
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations/{Name}";
443
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations/{Name}";
444
444
  if (input.Name !== undefined) {
445
445
  labelValue = input.Name;
446
446
  if (labelValue.length <= 0) {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: AppIntegrationsClientConfig) =>
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: AppIntegrationsClientConfig) =>
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appintegrations",
3
3
  "description": "AWS SDK for JavaScript Appintegrations Client for Node.js, Browser and React Native",
4
- "version": "3.54.1",
4
+ "version": "3.55.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,41 +18,41 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.1",
22
- "@aws-sdk/config-resolver": "3.54.1",
23
- "@aws-sdk/credential-provider-node": "3.54.1",
24
- "@aws-sdk/fetch-http-handler": "3.54.1",
25
- "@aws-sdk/hash-node": "3.54.1",
26
- "@aws-sdk/invalid-dependency": "3.54.1",
27
- "@aws-sdk/middleware-content-length": "3.54.1",
28
- "@aws-sdk/middleware-host-header": "3.54.1",
29
- "@aws-sdk/middleware-logger": "3.54.1",
30
- "@aws-sdk/middleware-retry": "3.54.1",
31
- "@aws-sdk/middleware-serde": "3.54.1",
32
- "@aws-sdk/middleware-signing": "3.54.1",
33
- "@aws-sdk/middleware-stack": "3.54.1",
34
- "@aws-sdk/middleware-user-agent": "3.54.1",
35
- "@aws-sdk/node-config-provider": "3.54.1",
36
- "@aws-sdk/node-http-handler": "3.54.1",
37
- "@aws-sdk/protocol-http": "3.54.1",
38
- "@aws-sdk/smithy-client": "3.54.1",
39
- "@aws-sdk/types": "3.54.1",
40
- "@aws-sdk/url-parser": "3.54.1",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
- "@aws-sdk/util-user-agent-browser": "3.54.1",
48
- "@aws-sdk/util-user-agent-node": "3.54.1",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0",
21
+ "@aws-sdk/client-sts": "3.55.0",
22
+ "@aws-sdk/config-resolver": "3.55.0",
23
+ "@aws-sdk/credential-provider-node": "3.55.0",
24
+ "@aws-sdk/fetch-http-handler": "3.55.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.55.0",
28
+ "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.55.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.55.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.55.0",
35
+ "@aws-sdk/node-config-provider": "3.55.0",
36
+ "@aws-sdk/node-http-handler": "3.55.0",
37
+ "@aws-sdk/protocol-http": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.55.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.55.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
48
+ "@aws-sdk/util-user-agent-node": "3.55.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
56
56
  "@tsconfig/recommended": "1.0.1",
57
57
  "@types/node": "^12.7.5",
58
58
  "@types/uuid": "^8.3.0",
@@ -60,7 +60,7 @@
60
60
  "downlevel-dts": "0.7.0",
61
61
  "rimraf": "3.0.2",
62
62
  "typedoc": "0.19.2",
63
- "typescript": "~4.3.5"
63
+ "typescript": "~4.6.2"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=12.0.0"