@aws-sdk/client-ram 3.53.0 → 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 (58) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/RAMClient.js +13 -13
  3. package/dist-cjs/commands/AcceptResourceShareInvitationCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateResourceShareCommand.js +3 -3
  5. package/dist-cjs/commands/AssociateResourceSharePermissionCommand.js +3 -3
  6. package/dist-cjs/commands/CreateResourceShareCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteResourceShareCommand.js +3 -3
  8. package/dist-cjs/commands/DisassociateResourceShareCommand.js +3 -3
  9. package/dist-cjs/commands/DisassociateResourceSharePermissionCommand.js +3 -3
  10. package/dist-cjs/commands/EnableSharingWithAwsOrganizationCommand.js +3 -3
  11. package/dist-cjs/commands/GetPermissionCommand.js +3 -3
  12. package/dist-cjs/commands/GetResourcePoliciesCommand.js +3 -3
  13. package/dist-cjs/commands/GetResourceShareAssociationsCommand.js +3 -3
  14. package/dist-cjs/commands/GetResourceShareInvitationsCommand.js +3 -3
  15. package/dist-cjs/commands/GetResourceSharesCommand.js +3 -3
  16. package/dist-cjs/commands/ListPendingInvitationResourcesCommand.js +3 -3
  17. package/dist-cjs/commands/ListPermissionVersionsCommand.js +3 -3
  18. package/dist-cjs/commands/ListPermissionsCommand.js +3 -3
  19. package/dist-cjs/commands/ListPrincipalsCommand.js +3 -3
  20. package/dist-cjs/commands/ListResourceSharePermissionsCommand.js +3 -3
  21. package/dist-cjs/commands/ListResourceTypesCommand.js +3 -3
  22. package/dist-cjs/commands/ListResourcesCommand.js +3 -3
  23. package/dist-cjs/commands/PromoteResourceShareCreatedFromPolicyCommand.js +3 -3
  24. package/dist-cjs/commands/RejectResourceShareInvitationCommand.js +3 -3
  25. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  26. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  27. package/dist-cjs/commands/UpdateResourceShareCommand.js +3 -3
  28. package/dist-cjs/endpoints.js +1 -1
  29. package/dist-cjs/protocols/Aws_restJson1.js +181 -181
  30. package/dist-cjs/runtimeConfig.browser.js +4 -4
  31. package/dist-cjs/runtimeConfig.js +9 -9
  32. package/dist-cjs/runtimeConfig.native.js +1 -1
  33. package/dist-es/RAM.js +25 -25
  34. package/dist-es/pagination/GetResourcePoliciesPaginator.js +4 -4
  35. package/dist-es/pagination/GetResourceShareAssociationsPaginator.js +4 -4
  36. package/dist-es/pagination/GetResourceShareInvitationsPaginator.js +4 -4
  37. package/dist-es/pagination/GetResourceSharesPaginator.js +4 -4
  38. package/dist-es/pagination/ListPendingInvitationResourcesPaginator.js +4 -4
  39. package/dist-es/pagination/ListPermissionVersionsPaginator.js +4 -4
  40. package/dist-es/pagination/ListPermissionsPaginator.js +4 -4
  41. package/dist-es/pagination/ListPrincipalsPaginator.js +4 -4
  42. package/dist-es/pagination/ListResourceSharePermissionsPaginator.js +4 -4
  43. package/dist-es/pagination/ListResourceTypesPaginator.js +4 -4
  44. package/dist-es/pagination/ListResourcesPaginator.js +4 -4
  45. package/dist-es/protocols/Aws_restJson1.js +25 -25
  46. package/dist-types/RAM.d.ts +3 -3
  47. package/dist-types/RAMClient.d.ts +2 -2
  48. package/dist-types/commands/ListResourcesCommand.d.ts +1 -1
  49. package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +2 -2
  50. package/dist-types/models/models_0.d.ts +12 -11
  51. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  52. package/dist-types/runtimeConfig.d.ts +1 -1
  53. package/dist-types/runtimeConfig.native.d.ts +3 -3
  54. package/dist-types/ts3.4/RAMClient.d.ts +2 -2
  55. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  56. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  57. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  58. package/package.json +34 -34
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListResourceTypesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListResourceTypesCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listResourceTypes.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listResourceTypes.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListResourceTypes(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof RAM)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof RAMClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListResourcesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListResourcesCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listResources.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listResources.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListResources(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof RAM)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof RAMClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -13,7 +13,7 @@ export var serializeAws_restJson1AcceptResourceShareInvitationCommand = function
13
13
  headers = {
14
14
  "content-type": "application/json",
15
15
  };
16
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/acceptresourceshareinvitation";
16
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/acceptresourceshareinvitation";
17
17
  body = JSON.stringify(__assign(__assign({}, (input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken })), (input.resourceShareInvitationArn !== undefined &&
18
18
  input.resourceShareInvitationArn !== null && { resourceShareInvitationArn: input.resourceShareInvitationArn })));
19
19
  return [2, new __HttpRequest({
@@ -38,7 +38,7 @@ export var serializeAws_restJson1AssociateResourceShareCommand = function (input
38
38
  headers = {
39
39
  "content-type": "application/json",
40
40
  };
41
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/associateresourceshare";
41
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/associateresourceshare";
42
42
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken })), (input.principals !== undefined &&
43
43
  input.principals !== null && {
44
44
  principals: serializeAws_restJson1PrincipalArnOrIdList(input.principals, context),
@@ -69,7 +69,7 @@ export var serializeAws_restJson1AssociateResourceSharePermissionCommand = funct
69
69
  headers = {
70
70
  "content-type": "application/json",
71
71
  };
72
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/associateresourcesharepermission";
72
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/associateresourcesharepermission";
73
73
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken })), (input.permissionArn !== undefined && input.permissionArn !== null && { permissionArn: input.permissionArn })), (input.permissionVersion !== undefined &&
74
74
  input.permissionVersion !== null && { permissionVersion: input.permissionVersion })), (input.replace !== undefined && input.replace !== null && { replace: input.replace })), (input.resourceShareArn !== undefined &&
75
75
  input.resourceShareArn !== null && { resourceShareArn: input.resourceShareArn })));
@@ -95,7 +95,7 @@ export var serializeAws_restJson1CreateResourceShareCommand = function (input, c
95
95
  headers = {
96
96
  "content-type": "application/json",
97
97
  };
98
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/createresourceshare";
98
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/createresourceshare";
99
99
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.allowExternalPrincipals !== undefined &&
100
100
  input.allowExternalPrincipals !== null && { allowExternalPrincipals: input.allowExternalPrincipals })), (input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.permissionArns !== undefined &&
101
101
  input.permissionArns !== null && {
@@ -128,7 +128,7 @@ export var serializeAws_restJson1DeleteResourceShareCommand = function (input, c
128
128
  case 1:
129
129
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
130
130
  headers = {};
131
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/deleteresourceshare";
131
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/deleteresourceshare";
132
132
  query = __assign(__assign({}, (input.resourceShareArn !== undefined && { resourceShareArn: input.resourceShareArn })), (input.clientToken !== undefined && { clientToken: input.clientToken }));
133
133
  return [2, new __HttpRequest({
134
134
  protocol: protocol,
@@ -153,7 +153,7 @@ export var serializeAws_restJson1DisassociateResourceShareCommand = function (in
153
153
  headers = {
154
154
  "content-type": "application/json",
155
155
  };
156
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/disassociateresourceshare";
156
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/disassociateresourceshare";
157
157
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken })), (input.principals !== undefined &&
158
158
  input.principals !== null && {
159
159
  principals: serializeAws_restJson1PrincipalArnOrIdList(input.principals, context),
@@ -184,7 +184,7 @@ export var serializeAws_restJson1DisassociateResourceSharePermissionCommand = fu
184
184
  headers = {
185
185
  "content-type": "application/json",
186
186
  };
187
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/disassociateresourcesharepermission";
187
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/disassociateresourcesharepermission";
188
188
  body = JSON.stringify(__assign(__assign(__assign({}, (input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken })), (input.permissionArn !== undefined && input.permissionArn !== null && { permissionArn: input.permissionArn })), (input.resourceShareArn !== undefined &&
189
189
  input.resourceShareArn !== null && { resourceShareArn: input.resourceShareArn })));
190
190
  return [2, new __HttpRequest({
@@ -209,7 +209,7 @@ export var serializeAws_restJson1EnableSharingWithAwsOrganizationCommand = funct
209
209
  headers = {
210
210
  "content-type": "application/json",
211
211
  };
212
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/enablesharingwithawsorganization";
212
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/enablesharingwithawsorganization";
213
213
  body = "";
214
214
  return [2, new __HttpRequest({
215
215
  protocol: protocol,
@@ -233,7 +233,7 @@ export var serializeAws_restJson1GetPermissionCommand = function (input, context
233
233
  headers = {
234
234
  "content-type": "application/json",
235
235
  };
236
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getpermission";
236
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getpermission";
237
237
  body = JSON.stringify(__assign(__assign({}, (input.permissionArn !== undefined && input.permissionArn !== null && { permissionArn: input.permissionArn })), (input.permissionVersion !== undefined &&
238
238
  input.permissionVersion !== null && { permissionVersion: input.permissionVersion })));
239
239
  return [2, new __HttpRequest({
@@ -258,7 +258,7 @@ export var serializeAws_restJson1GetResourcePoliciesCommand = function (input, c
258
258
  headers = {
259
259
  "content-type": "application/json",
260
260
  };
261
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getresourcepolicies";
261
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getresourcepolicies";
262
262
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.principal !== undefined && input.principal !== null && { principal: input.principal })), (input.resourceArns !== undefined &&
263
263
  input.resourceArns !== null && {
264
264
  resourceArns: serializeAws_restJson1ResourceArnList(input.resourceArns, context),
@@ -285,7 +285,7 @@ export var serializeAws_restJson1GetResourceShareAssociationsCommand = function
285
285
  headers = {
286
286
  "content-type": "application/json",
287
287
  };
288
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getresourceshareassociations";
288
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getresourceshareassociations";
289
289
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.associationStatus !== undefined &&
290
290
  input.associationStatus !== null && { associationStatus: input.associationStatus })), (input.associationType !== undefined &&
291
291
  input.associationType !== null && { associationType: input.associationType })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.principal !== undefined && input.principal !== null && { principal: input.principal })), (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })), (input.resourceShareArns !== undefined &&
@@ -314,7 +314,7 @@ export var serializeAws_restJson1GetResourceShareInvitationsCommand = function (
314
314
  headers = {
315
315
  "content-type": "application/json",
316
316
  };
317
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getresourceshareinvitations";
317
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getresourceshareinvitations";
318
318
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resourceShareArns !== undefined &&
319
319
  input.resourceShareArns !== null && {
320
320
  resourceShareArns: serializeAws_restJson1ResourceShareArnList(input.resourceShareArns, context),
@@ -344,7 +344,7 @@ export var serializeAws_restJson1GetResourceSharesCommand = function (input, con
344
344
  headers = {
345
345
  "content-type": "application/json",
346
346
  };
347
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getresourceshares";
347
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getresourceshares";
348
348
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.permissionArn !== undefined && input.permissionArn !== null && { permissionArn: input.permissionArn })), (input.resourceOwner !== undefined && input.resourceOwner !== null && { resourceOwner: input.resourceOwner })), (input.resourceShareArns !== undefined &&
349
349
  input.resourceShareArns !== null && {
350
350
  resourceShareArns: serializeAws_restJson1ResourceShareArnList(input.resourceShareArns, context),
@@ -373,7 +373,7 @@ export var serializeAws_restJson1ListPendingInvitationResourcesCommand = functio
373
373
  headers = {
374
374
  "content-type": "application/json",
375
375
  };
376
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listpendinginvitationresources";
376
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listpendinginvitationresources";
377
377
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resourceRegionScope !== undefined &&
378
378
  input.resourceRegionScope !== null && { resourceRegionScope: input.resourceRegionScope })), (input.resourceShareInvitationArn !== undefined &&
379
379
  input.resourceShareInvitationArn !== null && { resourceShareInvitationArn: input.resourceShareInvitationArn })));
@@ -399,7 +399,7 @@ export var serializeAws_restJson1ListPermissionsCommand = function (input, conte
399
399
  headers = {
400
400
  "content-type": "application/json",
401
401
  };
402
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listpermissions";
402
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listpermissions";
403
403
  body = JSON.stringify(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType })));
404
404
  return [2, new __HttpRequest({
405
405
  protocol: protocol,
@@ -423,7 +423,7 @@ export var serializeAws_restJson1ListPermissionVersionsCommand = function (input
423
423
  headers = {
424
424
  "content-type": "application/json",
425
425
  };
426
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listpermissionversions";
426
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listpermissionversions";
427
427
  body = JSON.stringify(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.permissionArn !== undefined && input.permissionArn !== null && { permissionArn: input.permissionArn })));
428
428
  return [2, new __HttpRequest({
429
429
  protocol: protocol,
@@ -447,7 +447,7 @@ export var serializeAws_restJson1ListPrincipalsCommand = function (input, contex
447
447
  headers = {
448
448
  "content-type": "application/json",
449
449
  };
450
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listprincipals";
450
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listprincipals";
451
451
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.principals !== undefined &&
452
452
  input.principals !== null && {
453
453
  principals: serializeAws_restJson1PrincipalArnOrIdList(input.principals, context),
@@ -477,7 +477,7 @@ export var serializeAws_restJson1ListResourcesCommand = function (input, context
477
477
  headers = {
478
478
  "content-type": "application/json",
479
479
  };
480
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listresources";
480
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listresources";
481
481
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.principal !== undefined && input.principal !== null && { principal: input.principal })), (input.resourceArns !== undefined &&
482
482
  input.resourceArns !== null && {
483
483
  resourceArns: serializeAws_restJson1ResourceArnList(input.resourceArns, context),
@@ -508,7 +508,7 @@ export var serializeAws_restJson1ListResourceSharePermissionsCommand = function
508
508
  headers = {
509
509
  "content-type": "application/json",
510
510
  };
511
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listresourcesharepermissions";
511
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listresourcesharepermissions";
512
512
  body = JSON.stringify(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resourceShareArn !== undefined &&
513
513
  input.resourceShareArn !== null && { resourceShareArn: input.resourceShareArn })));
514
514
  return [2, new __HttpRequest({
@@ -533,7 +533,7 @@ export var serializeAws_restJson1ListResourceTypesCommand = function (input, con
533
533
  headers = {
534
534
  "content-type": "application/json",
535
535
  };
536
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listresourcetypes";
536
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listresourcetypes";
537
537
  body = JSON.stringify(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resourceRegionScope !== undefined &&
538
538
  input.resourceRegionScope !== null && { resourceRegionScope: input.resourceRegionScope })));
539
539
  return [2, new __HttpRequest({
@@ -556,7 +556,7 @@ export var serializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand =
556
556
  case 1:
557
557
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
558
558
  headers = {};
559
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/promoteresourcesharecreatedfrompolicy";
559
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/promoteresourcesharecreatedfrompolicy";
560
560
  query = __assign({}, (input.resourceShareArn !== undefined && { resourceShareArn: input.resourceShareArn }));
561
561
  return [2, new __HttpRequest({
562
562
  protocol: protocol,
@@ -581,7 +581,7 @@ export var serializeAws_restJson1RejectResourceShareInvitationCommand = function
581
581
  headers = {
582
582
  "content-type": "application/json",
583
583
  };
584
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rejectresourceshareinvitation";
584
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rejectresourceshareinvitation";
585
585
  body = JSON.stringify(__assign(__assign({}, (input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken })), (input.resourceShareInvitationArn !== undefined &&
586
586
  input.resourceShareInvitationArn !== null && { resourceShareInvitationArn: input.resourceShareInvitationArn })));
587
587
  return [2, new __HttpRequest({
@@ -606,7 +606,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
606
606
  headers = {
607
607
  "content-type": "application/json",
608
608
  };
609
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tagresource";
609
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tagresource";
610
610
  body = JSON.stringify(__assign(__assign({}, (input.resourceShareArn !== undefined &&
611
611
  input.resourceShareArn !== null && { resourceShareArn: input.resourceShareArn })), (input.tags !== undefined &&
612
612
  input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
@@ -632,7 +632,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
632
632
  headers = {
633
633
  "content-type": "application/json",
634
634
  };
635
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/untagresource";
635
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/untagresource";
636
636
  body = JSON.stringify(__assign(__assign({}, (input.resourceShareArn !== undefined &&
637
637
  input.resourceShareArn !== null && { resourceShareArn: input.resourceShareArn })), (input.tagKeys !== undefined &&
638
638
  input.tagKeys !== null && { tagKeys: serializeAws_restJson1TagKeyList(input.tagKeys, context) })));
@@ -658,7 +658,7 @@ export var serializeAws_restJson1UpdateResourceShareCommand = function (input, c
658
658
  headers = {
659
659
  "content-type": "application/json",
660
660
  };
661
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/updateresourceshare";
661
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/updateresourceshare";
662
662
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.allowExternalPrincipals !== undefined &&
663
663
  input.allowExternalPrincipals !== null && { allowExternalPrincipals: input.allowExternalPrincipals })), (input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.resourceShareArn !== undefined &&
664
664
  input.resourceShareArn !== null && { resourceShareArn: input.resourceShareArn })));
@@ -184,7 +184,7 @@ export declare class RAM extends RAMClient {
184
184
  listPrincipals(args: ListPrincipalsCommandInput, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
185
185
  listPrincipals(args: ListPrincipalsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
186
186
  /**
187
- * <p>Lists the resources that you added to a resource shares or the resources that are shared with
187
+ * <p>Lists the resources that you added to a resource share or the resources that are shared with
188
188
  * you.</p>
189
189
  */
190
190
  listResources(args: ListResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesCommandOutput>;
@@ -204,8 +204,8 @@ export declare class RAM extends RAMClient {
204
204
  listResourceTypes(args: ListResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
205
205
  /**
206
206
  * <p>When you attach a resource-based permission policy to a resource, it automatically
207
- * creates a resource share. However, resource shares created this way are visible only to the resource share
208
- * owner, and the resource share can't be modified in RAM.</p>
207
+ * creates a resource share. However, resource shares created this way are visible only to the resource share owner, and
208
+ * the resource share can't be modified in RAM.</p>
209
209
  * <p>You can use this operation to promote the resource share to a full RAM resource share. When you promote
210
210
  * a resource share, you can then manage the resource share in RAM and it becomes visible to all of the
211
211
  * principals you shared it with.</p>
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
10
10
  import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
11
11
  import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "./commands/AssociateResourceSharePermissionCommand";
@@ -53,7 +53,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
53
53
  * A function that can calculate the length of a request body.
54
54
  * @internal
55
55
  */
56
- bodyLengthChecker?: (body: any) => number | undefined;
56
+ bodyLengthChecker?: __BodyLengthCalculator;
57
57
  /**
58
58
  * A function that converts a stream into an array of bytes.
59
59
  * @internal
@@ -7,7 +7,7 @@ export interface ListResourcesCommandInput extends ListResourcesRequest {
7
7
  export interface ListResourcesCommandOutput extends ListResourcesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the resources that you added to a resource shares or the resources that are shared with
10
+ * <p>Lists the resources that you added to a resource share or the resources that are shared with
11
11
  * you.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,8 +8,8 @@ export interface PromoteResourceShareCreatedFromPolicyCommandOutput extends Prom
8
8
  }
9
9
  /**
10
10
  * <p>When you attach a resource-based permission policy to a resource, it automatically
11
- * creates a resource share. However, resource shares created this way are visible only to the resource share
12
- * owner, and the resource share can't be modified in RAM.</p>
11
+ * creates a resource share. However, resource shares created this way are visible only to the resource share owner, and
12
+ * the resource share can't be modified in RAM.</p>
13
13
  * <p>You can use this operation to promote the resource share to a full RAM resource share. When you promote
14
14
  * a resource share, you can then manage the resource share in RAM and it becomes visible to all of the
15
15
  * principals you shared it with.</p>
@@ -1264,15 +1264,15 @@ export interface GetResourceSharesRequest {
1264
1264
  * <p>
1265
1265
  * <b>
1266
1266
  * <code>SELF</code>
1267
- * </b> – resources that you
1268
- * are sharing</p>
1267
+ * </b> – resource shares that your
1268
+ * account shares with other accounts</p>
1269
1269
  * </li>
1270
1270
  * <li>
1271
1271
  * <p>
1272
1272
  * <b>
1273
1273
  * <code>OTHER-ACCOUNTS</code>
1274
- * </b> –
1275
- * resources that other accounts share with you</p>
1274
+ * </b> – resource shares
1275
+ * that other accounts share with your account</p>
1276
1276
  * </li>
1277
1277
  * </ul>
1278
1278
  */
@@ -1667,15 +1667,15 @@ export interface ListPrincipalsRequest {
1667
1667
  * <p>
1668
1668
  * <b>
1669
1669
  * <code>SELF</code>
1670
- * </b> – resources that you
1671
- * are sharing</p>
1670
+ * </b> – principals that
1671
+ * your account is sharing resources with</p>
1672
1672
  * </li>
1673
1673
  * <li>
1674
1674
  * <p>
1675
1675
  * <b>
1676
1676
  * <code>OTHER-ACCOUNTS</code>
1677
1677
  * </b> –
1678
- * resources that other accounts share with you</p>
1678
+ * principals that are sharing resources with your account</p>
1679
1679
  * </li>
1680
1680
  * </ul>
1681
1681
  */
@@ -1724,7 +1724,8 @@ export interface ListPrincipalsRequest {
1724
1724
  /**
1725
1725
  * <p>Specifies that you want to list information for only principals associated with resource shares
1726
1726
  * that include the specified resource type.</p>
1727
- * <p>For a list of valid values, query the <a>ListResourceTypes</a> operation.</p>
1727
+ * <p>For a list of valid values, query the <a>ListResourceTypes</a>
1728
+ * operation.</p>
1728
1729
  */
1729
1730
  resourceType?: string;
1730
1731
  /**
@@ -1830,15 +1831,15 @@ export interface ListResourcesRequest {
1830
1831
  * <p>
1831
1832
  * <b>
1832
1833
  * <code>SELF</code>
1833
- * </b> – resources that you
1834
- * are sharing</p>
1834
+ * </b> – resources that
1835
+ * your account shares with other accounts</p>
1835
1836
  * </li>
1836
1837
  * <li>
1837
1838
  * <p>
1838
1839
  * <b>
1839
1840
  * <code>OTHER-ACCOUNTS</code>
1840
1841
  * </b> –
1841
- * resources that other accounts share with you</p>
1842
+ * resources that other accounts share with your account</p>
1842
1843
  * </li>
1843
1844
  * </ul>
1844
1845
  */
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
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;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
10
10
  import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
11
11
  import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "./commands/AssociateResourceSharePermissionCommand";
@@ -41,7 +41,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
41
41
 
42
42
  urlParser?: __UrlParser;
43
43
 
44
- bodyLengthChecker?: (body: any) => number | undefined;
44
+ bodyLengthChecker?: __BodyLengthCalculator;
45
45
 
46
46
  streamCollector?: __StreamCollector;
47
47
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
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;