@aws-sdk/client-ram 3.50.0 → 3.53.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 (64) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/RAMServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +289 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +437 -1523
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/RAMServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +266 -1
  9. package/dist-es/protocols/Aws_restJson1.js +779 -1646
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/RAMServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +156 -89
  13. package/dist-types/ts3.4/RAM.d.ts +130 -0
  14. package/dist-types/ts3.4/RAMClient.d.ts +98 -0
  15. package/dist-types/ts3.4/commands/AcceptResourceShareInvitationCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/AssociateResourceShareCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateResourceShareCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteResourceShareCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DisassociateResourceShareCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DisassociateResourceSharePermissionCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/EnableSharingWithAwsOrganizationCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetPermissionCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/GetResourceShareAssociationsCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/GetResourceShareInvitationsCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/GetResourceSharesCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/ListPendingInvitationResourcesCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/ListPermissionVersionsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/ListPrincipalsCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/ListResourceSharePermissionsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/ListResourceTypesCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/RejectResourceShareInvitationCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/UpdateResourceShareCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  41. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  42. package/dist-types/ts3.4/index.d.ts +6 -0
  43. package/dist-types/ts3.4/models/RAMServiceException.d.ts +6 -0
  44. package/dist-types/ts3.4/models/index.d.ts +1 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +953 -0
  46. package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +4 -0
  47. package/dist-types/ts3.4/pagination/GetResourceShareAssociationsPaginator.d.ts +4 -0
  48. package/dist-types/ts3.4/pagination/GetResourceShareInvitationsPaginator.d.ts +4 -0
  49. package/dist-types/ts3.4/pagination/GetResourceSharesPaginator.d.ts +4 -0
  50. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  51. package/dist-types/ts3.4/pagination/ListPendingInvitationResourcesPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/ListPermissionVersionsPaginator.d.ts +4 -0
  53. package/dist-types/ts3.4/pagination/ListPermissionsPaginator.d.ts +4 -0
  54. package/dist-types/ts3.4/pagination/ListPrincipalsPaginator.d.ts +4 -0
  55. package/dist-types/ts3.4/pagination/ListResourceSharePermissionsPaginator.d.ts +4 -0
  56. package/dist-types/ts3.4/pagination/ListResourceTypesPaginator.d.ts +4 -0
  57. package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +4 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +12 -0
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +77 -0
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  64. package/package.json +33 -33
@@ -3,3 +3,4 @@ export * from "./RAMClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { RAMServiceException } from "./models/RAMServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from RAM service.
4
+ */
5
+ export declare class RAMServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { RAMServiceException as __BaseException } from "./RAMServiceException";
2
3
  export interface AcceptResourceShareInvitationRequest {
3
4
  /**
4
5
  * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of the invitation that you want to accept.</p>
@@ -171,82 +172,112 @@ export declare namespace AcceptResourceShareInvitationResponse {
171
172
  * operation, but at least one of the other input parameters is different from the previous
172
173
  * call.</p>
173
174
  */
174
- export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer {
175
- name: "IdempotentParameterMismatchException";
176
- $fault: "client";
177
- message: string | undefined;
175
+ export declare class IdempotentParameterMismatchException extends __BaseException {
176
+ readonly name: "IdempotentParameterMismatchException";
177
+ readonly $fault: "client";
178
+ /**
179
+ * @internal
180
+ */
181
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
178
182
  }
179
183
  /**
180
184
  * <p>The client token is not valid.</p>
181
185
  */
182
- export interface InvalidClientTokenException extends __SmithyException, $MetadataBearer {
183
- name: "InvalidClientTokenException";
184
- $fault: "client";
185
- message: string | undefined;
186
+ export declare class InvalidClientTokenException extends __BaseException {
187
+ readonly name: "InvalidClientTokenException";
188
+ readonly $fault: "client";
189
+ /**
190
+ * @internal
191
+ */
192
+ constructor(opts: __ExceptionOptionType<InvalidClientTokenException, __BaseException>);
186
193
  }
187
194
  /**
188
195
  * <p>The format of an Amazon Resource Name (ARN) is not valid.</p>
189
196
  */
190
- export interface MalformedArnException extends __SmithyException, $MetadataBearer {
191
- name: "MalformedArnException";
192
- $fault: "client";
193
- message: string | undefined;
197
+ export declare class MalformedArnException extends __BaseException {
198
+ readonly name: "MalformedArnException";
199
+ readonly $fault: "client";
200
+ /**
201
+ * @internal
202
+ */
203
+ constructor(opts: __ExceptionOptionType<MalformedArnException, __BaseException>);
194
204
  }
195
205
  /**
196
206
  * <p>The requested operation is not permitted.</p>
197
207
  */
198
- export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
199
- name: "OperationNotPermittedException";
200
- $fault: "client";
201
- message: string | undefined;
208
+ export declare class OperationNotPermittedException extends __BaseException {
209
+ readonly name: "OperationNotPermittedException";
210
+ readonly $fault: "client";
211
+ /**
212
+ * @internal
213
+ */
214
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
202
215
  }
203
216
  /**
204
217
  * <p>The specified invitation was already accepted.</p>
205
218
  */
206
- export interface ResourceShareInvitationAlreadyAcceptedException extends __SmithyException, $MetadataBearer {
207
- name: "ResourceShareInvitationAlreadyAcceptedException";
208
- $fault: "client";
209
- message: string | undefined;
219
+ export declare class ResourceShareInvitationAlreadyAcceptedException extends __BaseException {
220
+ readonly name: "ResourceShareInvitationAlreadyAcceptedException";
221
+ readonly $fault: "client";
222
+ /**
223
+ * @internal
224
+ */
225
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyAcceptedException, __BaseException>);
210
226
  }
211
227
  /**
212
228
  * <p>The specified invitation was already rejected.</p>
213
229
  */
214
- export interface ResourceShareInvitationAlreadyRejectedException extends __SmithyException, $MetadataBearer {
215
- name: "ResourceShareInvitationAlreadyRejectedException";
216
- $fault: "client";
217
- message: string | undefined;
230
+ export declare class ResourceShareInvitationAlreadyRejectedException extends __BaseException {
231
+ readonly name: "ResourceShareInvitationAlreadyRejectedException";
232
+ readonly $fault: "client";
233
+ /**
234
+ * @internal
235
+ */
236
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyRejectedException, __BaseException>);
218
237
  }
219
238
  /**
220
239
  * <p>The specified Amazon Resource Name (ARN) for an invitation was not found.</p>
221
240
  */
222
- export interface ResourceShareInvitationArnNotFoundException extends __SmithyException, $MetadataBearer {
223
- name: "ResourceShareInvitationArnNotFoundException";
224
- $fault: "client";
225
- message: string | undefined;
241
+ export declare class ResourceShareInvitationArnNotFoundException extends __BaseException {
242
+ readonly name: "ResourceShareInvitationArnNotFoundException";
243
+ readonly $fault: "client";
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationArnNotFoundException, __BaseException>);
226
248
  }
227
249
  /**
228
250
  * <p>The specified invitation is expired.</p>
229
251
  */
230
- export interface ResourceShareInvitationExpiredException extends __SmithyException, $MetadataBearer {
231
- name: "ResourceShareInvitationExpiredException";
232
- $fault: "client";
233
- message: string | undefined;
252
+ export declare class ResourceShareInvitationExpiredException extends __BaseException {
253
+ readonly name: "ResourceShareInvitationExpiredException";
254
+ readonly $fault: "client";
255
+ /**
256
+ * @internal
257
+ */
258
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationExpiredException, __BaseException>);
234
259
  }
235
260
  /**
236
261
  * <p>The service could not respond to the request due to an internal problem.</p>
237
262
  */
238
- export interface ServerInternalException extends __SmithyException, $MetadataBearer {
239
- name: "ServerInternalException";
240
- $fault: "server";
241
- message: string | undefined;
263
+ export declare class ServerInternalException extends __BaseException {
264
+ readonly name: "ServerInternalException";
265
+ readonly $fault: "server";
266
+ /**
267
+ * @internal
268
+ */
269
+ constructor(opts: __ExceptionOptionType<ServerInternalException, __BaseException>);
242
270
  }
243
271
  /**
244
272
  * <p>The service is not available.</p>
245
273
  */
246
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
247
- name: "ServiceUnavailableException";
248
- $fault: "server";
249
- message: string | undefined;
274
+ export declare class ServiceUnavailableException extends __BaseException {
275
+ readonly name: "ServiceUnavailableException";
276
+ readonly $fault: "server";
277
+ /**
278
+ * @internal
279
+ */
280
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
250
281
  }
251
282
  export interface AssociateResourceShareRequest {
252
283
  /**
@@ -338,43 +369,58 @@ export declare namespace AssociateResourceShareResponse {
338
369
  /**
339
370
  * <p>A parameter is not valid.</p>
340
371
  */
341
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
342
- name: "InvalidParameterException";
343
- $fault: "client";
344
- message: string | undefined;
372
+ export declare class InvalidParameterException extends __BaseException {
373
+ readonly name: "InvalidParameterException";
374
+ readonly $fault: "client";
375
+ /**
376
+ * @internal
377
+ */
378
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
345
379
  }
346
380
  /**
347
381
  * <p>The requested state transition is not valid.</p>
348
382
  */
349
- export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
350
- name: "InvalidStateTransitionException";
351
- $fault: "client";
352
- message: string | undefined;
383
+ export declare class InvalidStateTransitionException extends __BaseException {
384
+ readonly name: "InvalidStateTransitionException";
385
+ readonly $fault: "client";
386
+ /**
387
+ * @internal
388
+ */
389
+ constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
353
390
  }
354
391
  /**
355
392
  * <p>This request would exceed the limit for resource shares for your account.</p>
356
393
  */
357
- export interface ResourceShareLimitExceededException extends __SmithyException, $MetadataBearer {
358
- name: "ResourceShareLimitExceededException";
359
- $fault: "client";
360
- message: string | undefined;
394
+ export declare class ResourceShareLimitExceededException extends __BaseException {
395
+ readonly name: "ResourceShareLimitExceededException";
396
+ readonly $fault: "client";
397
+ /**
398
+ * @internal
399
+ */
400
+ constructor(opts: __ExceptionOptionType<ResourceShareLimitExceededException, __BaseException>);
361
401
  }
362
402
  /**
363
403
  * <p>You exceeded the rate at which you are allowed to perform this operation. Please try
364
404
  * again later.</p>
365
405
  */
366
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
367
- name: "ThrottlingException";
368
- $fault: "client";
369
- message: string | undefined;
406
+ export declare class ThrottlingException extends __BaseException {
407
+ readonly name: "ThrottlingException";
408
+ readonly $fault: "client";
409
+ /**
410
+ * @internal
411
+ */
412
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
370
413
  }
371
414
  /**
372
415
  * <p>A specified resource was not found.</p>
373
416
  */
374
- export interface UnknownResourceException extends __SmithyException, $MetadataBearer {
375
- name: "UnknownResourceException";
376
- $fault: "client";
377
- message: string | undefined;
417
+ export declare class UnknownResourceException extends __BaseException {
418
+ readonly name: "UnknownResourceException";
419
+ readonly $fault: "client";
420
+ /**
421
+ * @internal
422
+ */
423
+ constructor(opts: __ExceptionOptionType<UnknownResourceException, __BaseException>);
378
424
  }
379
425
  export interface AssociateResourceSharePermissionRequest {
380
426
  /**
@@ -652,10 +698,13 @@ export declare namespace CreateResourceShareResponse {
652
698
  /**
653
699
  * <p>The specified tag key is a reserved word and can't be used.</p>
654
700
  */
655
- export interface TagPolicyViolationException extends __SmithyException, $MetadataBearer {
656
- name: "TagPolicyViolationException";
657
- $fault: "client";
658
- message: string | undefined;
701
+ export declare class TagPolicyViolationException extends __BaseException {
702
+ readonly name: "TagPolicyViolationException";
703
+ readonly $fault: "client";
704
+ /**
705
+ * @internal
706
+ */
707
+ constructor(opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>);
659
708
  }
660
709
  export interface DeleteResourceShareRequest {
661
710
  /**
@@ -996,18 +1045,24 @@ export declare namespace GetResourcePoliciesResponse {
996
1045
  /**
997
1046
  * <p>The specified value for <code>NextToken</code> is not valid.</p>
998
1047
  */
999
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
1000
- name: "InvalidNextTokenException";
1001
- $fault: "client";
1002
- message: string | undefined;
1048
+ export declare class InvalidNextTokenException extends __BaseException {
1049
+ readonly name: "InvalidNextTokenException";
1050
+ readonly $fault: "client";
1051
+ /**
1052
+ * @internal
1053
+ */
1054
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
1003
1055
  }
1004
1056
  /**
1005
1057
  * <p>The specified Amazon Resource Name (ARN) was not found.</p>
1006
1058
  */
1007
- export interface ResourceArnNotFoundException extends __SmithyException, $MetadataBearer {
1008
- name: "ResourceArnNotFoundException";
1009
- $fault: "client";
1010
- message: string | undefined;
1059
+ export declare class ResourceArnNotFoundException extends __BaseException {
1060
+ readonly name: "ResourceArnNotFoundException";
1061
+ readonly $fault: "client";
1062
+ /**
1063
+ * @internal
1064
+ */
1065
+ constructor(opts: __ExceptionOptionType<ResourceArnNotFoundException, __BaseException>);
1011
1066
  }
1012
1067
  export interface GetResourceShareAssociationsRequest {
1013
1068
  /**
@@ -1158,10 +1213,13 @@ export declare namespace GetResourceShareInvitationsResponse {
1158
1213
  /**
1159
1214
  * <p>The specified value for <code>MaxResults</code> is not valid.</p>
1160
1215
  */
1161
- export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
1162
- name: "InvalidMaxResultsException";
1163
- $fault: "client";
1164
- message: string | undefined;
1216
+ export declare class InvalidMaxResultsException extends __BaseException {
1217
+ readonly name: "InvalidMaxResultsException";
1218
+ readonly $fault: "client";
1219
+ /**
1220
+ * @internal
1221
+ */
1222
+ constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
1165
1223
  }
1166
1224
  export declare enum ResourceOwner {
1167
1225
  OTHER_ACCOUNTS = "OTHER-ACCOUNTS",
@@ -1433,10 +1491,13 @@ export declare namespace ListPendingInvitationResourcesResponse {
1433
1491
  /**
1434
1492
  * <p>A required input parameter is missing.</p>
1435
1493
  */
1436
- export interface MissingRequiredParameterException extends __SmithyException, $MetadataBearer {
1437
- name: "MissingRequiredParameterException";
1438
- $fault: "client";
1439
- message: string | undefined;
1494
+ export declare class MissingRequiredParameterException extends __BaseException {
1495
+ readonly name: "MissingRequiredParameterException";
1496
+ readonly $fault: "client";
1497
+ /**
1498
+ * @internal
1499
+ */
1500
+ constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
1440
1501
  }
1441
1502
  export interface ListPermissionsRequest {
1442
1503
  /**
@@ -1753,10 +1814,13 @@ export declare namespace ListPrincipalsResponse {
1753
1814
  /**
1754
1815
  * <p>The specified resource type is not valid.</p>
1755
1816
  */
1756
- export interface InvalidResourceTypeException extends __SmithyException, $MetadataBearer {
1757
- name: "InvalidResourceTypeException";
1758
- $fault: "client";
1759
- message: string | undefined;
1817
+ export declare class InvalidResourceTypeException extends __BaseException {
1818
+ readonly name: "InvalidResourceTypeException";
1819
+ readonly $fault: "client";
1820
+ /**
1821
+ * @internal
1822
+ */
1823
+ constructor(opts: __ExceptionOptionType<InvalidResourceTypeException, __BaseException>);
1760
1824
  }
1761
1825
  export interface ListResourcesRequest {
1762
1826
  /**
@@ -2102,10 +2166,13 @@ export declare namespace RejectResourceShareInvitationResponse {
2102
2166
  /**
2103
2167
  * <p>This request would exceed the limit for tags for your account.</p>
2104
2168
  */
2105
- export interface TagLimitExceededException extends __SmithyException, $MetadataBearer {
2106
- name: "TagLimitExceededException";
2107
- $fault: "client";
2108
- message: string | undefined;
2169
+ export declare class TagLimitExceededException extends __BaseException {
2170
+ readonly name: "TagLimitExceededException";
2171
+ readonly $fault: "client";
2172
+ /**
2173
+ * @internal
2174
+ */
2175
+ constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
2109
2176
  }
2110
2177
  export interface TagResourceRequest {
2111
2178
  /**
@@ -0,0 +1,130 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
3
+ import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
4
+ import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "./commands/AssociateResourceSharePermissionCommand";
5
+ import { CreateResourceShareCommandInput, CreateResourceShareCommandOutput } from "./commands/CreateResourceShareCommand";
6
+ import { DeleteResourceShareCommandInput, DeleteResourceShareCommandOutput } from "./commands/DeleteResourceShareCommand";
7
+ import { DisassociateResourceShareCommandInput, DisassociateResourceShareCommandOutput } from "./commands/DisassociateResourceShareCommand";
8
+ import { DisassociateResourceSharePermissionCommandInput, DisassociateResourceSharePermissionCommandOutput } from "./commands/DisassociateResourceSharePermissionCommand";
9
+ import { EnableSharingWithAwsOrganizationCommandInput, EnableSharingWithAwsOrganizationCommandOutput } from "./commands/EnableSharingWithAwsOrganizationCommand";
10
+ import { GetPermissionCommandInput, GetPermissionCommandOutput } from "./commands/GetPermissionCommand";
11
+ import { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "./commands/GetResourcePoliciesCommand";
12
+ import { GetResourceShareAssociationsCommandInput, GetResourceShareAssociationsCommandOutput } from "./commands/GetResourceShareAssociationsCommand";
13
+ import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCommandOutput } from "./commands/GetResourceShareInvitationsCommand";
14
+ import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "./commands/GetResourceSharesCommand";
15
+ import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
16
+ import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
17
+ import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "./commands/ListPermissionVersionsCommand";
18
+ import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
19
+ import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
20
+ import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
21
+ import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "./commands/ListResourceTypesCommand";
22
+ import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
23
+ import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "./commands/RejectResourceShareInvitationCommand";
24
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
25
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
26
+ import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
27
+ import { RAMClient } from "./RAMClient";
28
+
29
+ export declare class RAM extends RAMClient {
30
+
31
+ acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptResourceShareInvitationCommandOutput>;
32
+ acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
33
+ acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
34
+
35
+ associateResourceShare(args: AssociateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<AssociateResourceShareCommandOutput>;
36
+ associateResourceShare(args: AssociateResourceShareCommandInput, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
37
+ associateResourceShare(args: AssociateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
38
+
39
+ associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options?: __HttpHandlerOptions): Promise<AssociateResourceSharePermissionCommandOutput>;
40
+ associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
41
+ associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
42
+
43
+ createResourceShare(args: CreateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceShareCommandOutput>;
44
+ createResourceShare(args: CreateResourceShareCommandInput, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
45
+ createResourceShare(args: CreateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
46
+
47
+ deleteResourceShare(args: DeleteResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceShareCommandOutput>;
48
+ deleteResourceShare(args: DeleteResourceShareCommandInput, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
49
+ deleteResourceShare(args: DeleteResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
50
+
51
+ disassociateResourceShare(args: DisassociateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateResourceShareCommandOutput>;
52
+ disassociateResourceShare(args: DisassociateResourceShareCommandInput, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
53
+ disassociateResourceShare(args: DisassociateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
54
+
55
+ disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateResourceSharePermissionCommandOutput>;
56
+ disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
57
+ disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
58
+
59
+ enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<EnableSharingWithAwsOrganizationCommandOutput>;
60
+ enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
61
+ enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
62
+
63
+ getPermission(args: GetPermissionCommandInput, options?: __HttpHandlerOptions): Promise<GetPermissionCommandOutput>;
64
+ getPermission(args: GetPermissionCommandInput, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
65
+ getPermission(args: GetPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
66
+
67
+ getResourcePolicies(args: GetResourcePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePoliciesCommandOutput>;
68
+ getResourcePolicies(args: GetResourcePoliciesCommandInput, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
69
+ getResourcePolicies(args: GetResourcePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
70
+
71
+ getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceShareAssociationsCommandOutput>;
72
+ getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
73
+ getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
74
+
75
+ getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceShareInvitationsCommandOutput>;
76
+ getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
77
+ getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
78
+
79
+ getResourceShares(args: GetResourceSharesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceSharesCommandOutput>;
80
+ getResourceShares(args: GetResourceSharesCommandInput, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
81
+ getResourceShares(args: GetResourceSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
82
+
83
+ listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListPendingInvitationResourcesCommandOutput>;
84
+ listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
85
+ listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
86
+
87
+ listPermissions(args: ListPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionsCommandOutput>;
88
+ listPermissions(args: ListPermissionsCommandInput, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
89
+ listPermissions(args: ListPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
90
+
91
+ listPermissionVersions(args: ListPermissionVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionVersionsCommandOutput>;
92
+ listPermissionVersions(args: ListPermissionVersionsCommandInput, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
93
+ listPermissionVersions(args: ListPermissionVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
94
+
95
+ listPrincipals(args: ListPrincipalsCommandInput, options?: __HttpHandlerOptions): Promise<ListPrincipalsCommandOutput>;
96
+ listPrincipals(args: ListPrincipalsCommandInput, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
97
+ listPrincipals(args: ListPrincipalsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
98
+
99
+ listResources(args: ListResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesCommandOutput>;
100
+ listResources(args: ListResourcesCommandInput, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
101
+ listResources(args: ListResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
102
+
103
+ listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceSharePermissionsCommandOutput>;
104
+ listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
105
+ listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
106
+
107
+ listResourceTypes(args: ListResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceTypesCommandOutput>;
108
+ listResourceTypes(args: ListResourceTypesCommandInput, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
109
+ listResourceTypes(args: ListResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
110
+
111
+ promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PromoteResourceShareCreatedFromPolicyCommandOutput>;
112
+ promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
113
+ promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
114
+
115
+ rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options?: __HttpHandlerOptions): Promise<RejectResourceShareInvitationCommandOutput>;
116
+ rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
117
+ rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
118
+
119
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
120
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
121
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
122
+
123
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
124
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
125
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
126
+
127
+ updateResourceShare(args: UpdateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourceShareCommandOutput>;
128
+ updateResourceShare(args: UpdateResourceShareCommandInput, cb: (err: any, data?: UpdateResourceShareCommandOutput) => void): void;
129
+ updateResourceShare(args: UpdateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceShareCommandOutput) => void): void;
130
+ }
@@ -0,0 +1,98 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
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";
9
+ import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
10
+ import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
11
+ import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "./commands/AssociateResourceSharePermissionCommand";
12
+ import { CreateResourceShareCommandInput, CreateResourceShareCommandOutput } from "./commands/CreateResourceShareCommand";
13
+ import { DeleteResourceShareCommandInput, DeleteResourceShareCommandOutput } from "./commands/DeleteResourceShareCommand";
14
+ import { DisassociateResourceShareCommandInput, DisassociateResourceShareCommandOutput } from "./commands/DisassociateResourceShareCommand";
15
+ import { DisassociateResourceSharePermissionCommandInput, DisassociateResourceSharePermissionCommandOutput } from "./commands/DisassociateResourceSharePermissionCommand";
16
+ import { EnableSharingWithAwsOrganizationCommandInput, EnableSharingWithAwsOrganizationCommandOutput } from "./commands/EnableSharingWithAwsOrganizationCommand";
17
+ import { GetPermissionCommandInput, GetPermissionCommandOutput } from "./commands/GetPermissionCommand";
18
+ import { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "./commands/GetResourcePoliciesCommand";
19
+ import { GetResourceShareAssociationsCommandInput, GetResourceShareAssociationsCommandOutput } from "./commands/GetResourceShareAssociationsCommand";
20
+ import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCommandOutput } from "./commands/GetResourceShareInvitationsCommand";
21
+ import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "./commands/GetResourceSharesCommand";
22
+ import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
23
+ import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
24
+ import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "./commands/ListPermissionVersionsCommand";
25
+ import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
26
+ import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
27
+ import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
28
+ import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "./commands/ListResourceTypesCommand";
29
+ import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
30
+ import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "./commands/RejectResourceShareInvitationCommand";
31
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
32
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
33
+ import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
34
+ export declare type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreateResourceShareCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionVersionsCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
35
+ export declare type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreateResourceShareCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionVersionsCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
36
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
37
+
38
+ requestHandler?: __HttpHandler;
39
+
40
+ sha256?: __HashConstructor;
41
+
42
+ urlParser?: __UrlParser;
43
+
44
+ bodyLengthChecker?: (body: any) => number | undefined;
45
+
46
+ streamCollector?: __StreamCollector;
47
+
48
+ base64Decoder?: __Decoder;
49
+
50
+ base64Encoder?: __Encoder;
51
+
52
+ utf8Decoder?: __Decoder;
53
+
54
+ utf8Encoder?: __Encoder;
55
+
56
+ runtime?: string;
57
+
58
+ disableHostPrefix?: boolean;
59
+
60
+ maxAttempts?: number | __Provider<number>;
61
+
62
+ retryMode?: string | __Provider<string>;
63
+
64
+ logger?: __Logger;
65
+
66
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
67
+
68
+ useFipsEndpoint?: boolean | __Provider<boolean>;
69
+
70
+ serviceId?: string;
71
+
72
+ region?: string | __Provider<string>;
73
+
74
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
75
+
76
+ regionInfoProvider?: RegionInfoProvider;
77
+
78
+ defaultUserAgentProvider?: Provider<__UserAgent>;
79
+
80
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
81
+ }
82
+ declare type RAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
83
+
84
+ export interface RAMClientConfig extends RAMClientConfigType {
85
+ }
86
+ declare type RAMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
87
+
88
+ export interface RAMClientResolvedConfig extends RAMClientResolvedConfigType {
89
+ }
90
+
91
+ export declare class RAMClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RAMClientResolvedConfig> {
92
+
93
+ readonly config: RAMClientResolvedConfig;
94
+ constructor(configuration: RAMClientConfig);
95
+
96
+ destroy(): void;
97
+ }
98
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AcceptResourceShareInvitationRequest, AcceptResourceShareInvitationResponse } from "../models/models_0";
4
+ import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
5
+ export interface AcceptResourceShareInvitationCommandInput extends AcceptResourceShareInvitationRequest {
6
+ }
7
+ export interface AcceptResourceShareInvitationCommandOutput extends AcceptResourceShareInvitationResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class AcceptResourceShareInvitationCommand extends $Command<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput, RAMClientResolvedConfig> {
11
+ readonly input: AcceptResourceShareInvitationCommandInput;
12
+ constructor(input: AcceptResourceShareInvitationCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }