@aws-sdk/client-ram 3.43.0 → 3.47.1

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 (43) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +5 -6
  3. package/dist-cjs/endpoints.js +1 -20
  4. package/dist-cjs/models/models_0.js +13 -128
  5. package/dist-cjs/protocols/Aws_restJson1.js +29 -0
  6. package/dist-cjs/runtimeConfig.browser.js +7 -2
  7. package/dist-cjs/runtimeConfig.js +9 -3
  8. package/dist-es/endpoints.js +1 -20
  9. package/dist-es/models/models_0.js +11 -84
  10. package/dist-es/protocols/Aws_restJson1.js +65 -36
  11. package/dist-es/runtimeConfig.browser.js +12 -3
  12. package/dist-es/runtimeConfig.js +13 -6
  13. package/dist-types/RAM.d.ts +55 -41
  14. package/dist-types/RAMClient.d.ts +10 -7
  15. package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +3 -1
  16. package/dist-types/commands/AssociateResourceShareCommand.d.ts +3 -1
  17. package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +4 -1
  18. package/dist-types/commands/CreateResourceShareCommand.d.ts +3 -3
  19. package/dist-types/commands/DeleteResourceShareCommand.d.ts +3 -1
  20. package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +3 -1
  21. package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +9 -2
  22. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +2 -1
  23. package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +1 -1
  24. package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +1 -1
  25. package/dist-types/commands/GetResourceSharesCommand.d.ts +1 -1
  26. package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +3 -2
  27. package/dist-types/commands/ListPermissionsCommand.d.ts +2 -1
  28. package/dist-types/commands/ListPrincipalsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListResourceTypesCommand.d.ts +1 -1
  30. package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +6 -13
  31. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  32. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateResourceShareCommand.d.ts +1 -1
  34. package/dist-types/models/models_0.d.ts +841 -388
  35. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  36. package/dist-types/runtimeConfig.d.ts +4 -3
  37. package/dist-types/runtimeConfig.native.d.ts +1 -0
  38. package/dist-types/ts3.4/RAMClient.d.ts +3 -1
  39. package/dist-types/ts3.4/models/models_0.d.ts +24 -83
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  43. package/package.json +39 -46
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { RAMClientConfig } from "./RAMClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: RAMClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { RAMClientConfig } from "./RAMClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: RAMClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
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
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
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
9
  import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
10
10
  import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
@@ -75,6 +75,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
75
75
  regionInfoProvider?: RegionInfoProvider;
76
76
 
77
77
  defaultUserAgentProvider?: Provider<__UserAgent>;
78
+
79
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
78
80
  }
79
81
  declare type RAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
80
82
 
@@ -78,100 +78,60 @@ export interface IdempotentParameterMismatchException extends __SmithyException,
78
78
  $fault: "client";
79
79
  message: string | undefined;
80
80
  }
81
- export declare namespace IdempotentParameterMismatchException {
82
-
83
- const filterSensitiveLog: (obj: IdempotentParameterMismatchException) => any;
84
- }
85
81
 
86
82
  export interface InvalidClientTokenException extends __SmithyException, $MetadataBearer {
87
83
  name: "InvalidClientTokenException";
88
84
  $fault: "client";
89
85
  message: string | undefined;
90
86
  }
91
- export declare namespace InvalidClientTokenException {
92
-
93
- const filterSensitiveLog: (obj: InvalidClientTokenException) => any;
94
- }
95
87
 
96
88
  export interface MalformedArnException extends __SmithyException, $MetadataBearer {
97
89
  name: "MalformedArnException";
98
90
  $fault: "client";
99
91
  message: string | undefined;
100
92
  }
101
- export declare namespace MalformedArnException {
102
-
103
- const filterSensitiveLog: (obj: MalformedArnException) => any;
104
- }
105
93
 
106
94
  export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
107
95
  name: "OperationNotPermittedException";
108
96
  $fault: "client";
109
97
  message: string | undefined;
110
98
  }
111
- export declare namespace OperationNotPermittedException {
112
-
113
- const filterSensitiveLog: (obj: OperationNotPermittedException) => any;
114
- }
115
99
 
116
100
  export interface ResourceShareInvitationAlreadyAcceptedException extends __SmithyException, $MetadataBearer {
117
101
  name: "ResourceShareInvitationAlreadyAcceptedException";
118
102
  $fault: "client";
119
103
  message: string | undefined;
120
104
  }
121
- export declare namespace ResourceShareInvitationAlreadyAcceptedException {
122
-
123
- const filterSensitiveLog: (obj: ResourceShareInvitationAlreadyAcceptedException) => any;
124
- }
125
105
 
126
106
  export interface ResourceShareInvitationAlreadyRejectedException extends __SmithyException, $MetadataBearer {
127
107
  name: "ResourceShareInvitationAlreadyRejectedException";
128
108
  $fault: "client";
129
109
  message: string | undefined;
130
110
  }
131
- export declare namespace ResourceShareInvitationAlreadyRejectedException {
132
-
133
- const filterSensitiveLog: (obj: ResourceShareInvitationAlreadyRejectedException) => any;
134
- }
135
111
 
136
112
  export interface ResourceShareInvitationArnNotFoundException extends __SmithyException, $MetadataBearer {
137
113
  name: "ResourceShareInvitationArnNotFoundException";
138
114
  $fault: "client";
139
115
  message: string | undefined;
140
116
  }
141
- export declare namespace ResourceShareInvitationArnNotFoundException {
142
-
143
- const filterSensitiveLog: (obj: ResourceShareInvitationArnNotFoundException) => any;
144
- }
145
117
 
146
118
  export interface ResourceShareInvitationExpiredException extends __SmithyException, $MetadataBearer {
147
119
  name: "ResourceShareInvitationExpiredException";
148
120
  $fault: "client";
149
121
  message: string | undefined;
150
122
  }
151
- export declare namespace ResourceShareInvitationExpiredException {
152
-
153
- const filterSensitiveLog: (obj: ResourceShareInvitationExpiredException) => any;
154
- }
155
123
 
156
124
  export interface ServerInternalException extends __SmithyException, $MetadataBearer {
157
125
  name: "ServerInternalException";
158
126
  $fault: "server";
159
127
  message: string | undefined;
160
128
  }
161
- export declare namespace ServerInternalException {
162
-
163
- const filterSensitiveLog: (obj: ServerInternalException) => any;
164
- }
165
129
 
166
130
  export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
167
131
  name: "ServiceUnavailableException";
168
132
  $fault: "server";
169
133
  message: string | undefined;
170
134
  }
171
- export declare namespace ServiceUnavailableException {
172
-
173
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
174
- }
175
135
  export interface AssociateResourceShareRequest {
176
136
 
177
137
  resourceShareArn: string | undefined;
@@ -202,29 +162,23 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
202
162
  $fault: "client";
203
163
  message: string | undefined;
204
164
  }
205
- export declare namespace InvalidParameterException {
206
-
207
- const filterSensitiveLog: (obj: InvalidParameterException) => any;
208
- }
209
165
 
210
166
  export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
211
167
  name: "InvalidStateTransitionException";
212
168
  $fault: "client";
213
169
  message: string | undefined;
214
170
  }
215
- export declare namespace InvalidStateTransitionException {
216
-
217
- const filterSensitiveLog: (obj: InvalidStateTransitionException) => any;
218
- }
219
171
 
220
172
  export interface ResourceShareLimitExceededException extends __SmithyException, $MetadataBearer {
221
173
  name: "ResourceShareLimitExceededException";
222
174
  $fault: "client";
223
175
  message: string | undefined;
224
176
  }
225
- export declare namespace ResourceShareLimitExceededException {
226
-
227
- const filterSensitiveLog: (obj: ResourceShareLimitExceededException) => any;
177
+
178
+ export interface ThrottlingException extends __SmithyException, $MetadataBearer {
179
+ name: "ThrottlingException";
180
+ $fault: "client";
181
+ message: string | undefined;
228
182
  }
229
183
 
230
184
  export interface UnknownResourceException extends __SmithyException, $MetadataBearer {
@@ -232,10 +186,6 @@ export interface UnknownResourceException extends __SmithyException, $MetadataBe
232
186
  $fault: "client";
233
187
  message: string | undefined;
234
188
  }
235
- export declare namespace UnknownResourceException {
236
-
237
- const filterSensitiveLog: (obj: UnknownResourceException) => any;
238
- }
239
189
  export interface AssociateResourceSharePermissionRequest {
240
190
 
241
191
  resourceShareArn: string | undefined;
@@ -338,10 +288,6 @@ export interface TagPolicyViolationException extends __SmithyException, $Metadat
338
288
  $fault: "client";
339
289
  message: string | undefined;
340
290
  }
341
- export declare namespace TagPolicyViolationException {
342
-
343
- const filterSensitiveLog: (obj: TagPolicyViolationException) => any;
344
- }
345
291
  export interface DeleteResourceShareRequest {
346
292
 
347
293
  resourceShareArn: string | undefined;
@@ -495,20 +441,12 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
495
441
  $fault: "client";
496
442
  message: string | undefined;
497
443
  }
498
- export declare namespace InvalidNextTokenException {
499
-
500
- const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
501
- }
502
444
 
503
445
  export interface ResourceArnNotFoundException extends __SmithyException, $MetadataBearer {
504
446
  name: "ResourceArnNotFoundException";
505
447
  $fault: "client";
506
448
  message: string | undefined;
507
449
  }
508
- export declare namespace ResourceArnNotFoundException {
509
-
510
- const filterSensitiveLog: (obj: ResourceArnNotFoundException) => any;
511
- }
512
450
  export interface GetResourceShareAssociationsRequest {
513
451
 
514
452
  associationType: ResourceShareAssociationType | string | undefined;
@@ -569,10 +507,6 @@ export interface InvalidMaxResultsException extends __SmithyException, $Metadata
569
507
  $fault: "client";
570
508
  message: string | undefined;
571
509
  }
572
- export declare namespace InvalidMaxResultsException {
573
-
574
- const filterSensitiveLog: (obj: InvalidMaxResultsException) => any;
575
- }
576
510
  export declare enum ResourceOwner {
577
511
  OTHER_ACCOUNTS = "OTHER-ACCOUNTS",
578
512
  SELF = "SELF"
@@ -620,6 +554,11 @@ export declare namespace GetResourceSharesResponse {
620
554
 
621
555
  const filterSensitiveLog: (obj: GetResourceSharesResponse) => any;
622
556
  }
557
+ export declare enum ResourceRegionScopeFilter {
558
+ ALL = "ALL",
559
+ GLOBAL = "GLOBAL",
560
+ REGIONAL = "REGIONAL"
561
+ }
623
562
  export interface ListPendingInvitationResourcesRequest {
624
563
 
625
564
  resourceShareInvitationArn: string | undefined;
@@ -627,11 +566,17 @@ export interface ListPendingInvitationResourcesRequest {
627
566
  nextToken?: string;
628
567
 
629
568
  maxResults?: number;
569
+
570
+ resourceRegionScope?: ResourceRegionScopeFilter | string;
630
571
  }
631
572
  export declare namespace ListPendingInvitationResourcesRequest {
632
573
 
633
574
  const filterSensitiveLog: (obj: ListPendingInvitationResourcesRequest) => any;
634
575
  }
576
+ export declare enum ResourceRegionScope {
577
+ GLOBAL = "GLOBAL",
578
+ REGIONAL = "REGIONAL"
579
+ }
635
580
  export declare type ResourceStatus = "AVAILABLE" | "LIMIT_EXCEEDED" | "PENDING" | "UNAVAILABLE" | "ZONAL_RESOURCE_INACCESSIBLE";
636
581
 
637
582
  export interface Resource {
@@ -651,6 +596,8 @@ export interface Resource {
651
596
  creationTime?: Date;
652
597
 
653
598
  lastUpdatedTime?: Date;
599
+
600
+ resourceRegionScope?: ResourceRegionScope | string;
654
601
  }
655
602
  export declare namespace Resource {
656
603
 
@@ -672,10 +619,6 @@ export interface MissingRequiredParameterException extends __SmithyException, $M
672
619
  $fault: "client";
673
620
  message: string | undefined;
674
621
  }
675
- export declare namespace MissingRequiredParameterException {
676
-
677
- const filterSensitiveLog: (obj: MissingRequiredParameterException) => any;
678
- }
679
622
  export interface ListPermissionsRequest {
680
623
 
681
624
  resourceType?: string;
@@ -776,10 +719,6 @@ export interface InvalidResourceTypeException extends __SmithyException, $Metada
776
719
  $fault: "client";
777
720
  message: string | undefined;
778
721
  }
779
- export declare namespace InvalidResourceTypeException {
780
-
781
- const filterSensitiveLog: (obj: InvalidResourceTypeException) => any;
782
- }
783
722
  export interface ListResourcesRequest {
784
723
 
785
724
  resourceOwner: ResourceOwner | string | undefined;
@@ -795,6 +734,8 @@ export interface ListResourcesRequest {
795
734
  nextToken?: string;
796
735
 
797
736
  maxResults?: number;
737
+
738
+ resourceRegionScope?: ResourceRegionScopeFilter | string;
798
739
  }
799
740
  export declare namespace ListResourcesRequest {
800
741
 
@@ -837,6 +778,8 @@ export interface ListResourceTypesRequest {
837
778
  nextToken?: string;
838
779
 
839
780
  maxResults?: number;
781
+
782
+ resourceRegionScope?: ResourceRegionScopeFilter | string;
840
783
  }
841
784
  export declare namespace ListResourceTypesRequest {
842
785
 
@@ -848,6 +791,8 @@ export interface ServiceNameAndResourceType {
848
791
  resourceType?: string;
849
792
 
850
793
  serviceName?: string;
794
+
795
+ resourceRegionScope?: ResourceRegionScope | string;
851
796
  }
852
797
  export declare namespace ServiceNameAndResourceType {
853
798
 
@@ -905,10 +850,6 @@ export interface TagLimitExceededException extends __SmithyException, $MetadataB
905
850
  $fault: "client";
906
851
  message: string | undefined;
907
852
  }
908
- export declare namespace TagLimitExceededException {
909
-
910
- const filterSensitiveLog: (obj: TagLimitExceededException) => any;
911
- }
912
853
  export interface TagResourceRequest {
913
854
 
914
855
  resourceShareArn: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { RAMClientConfig } from "./RAMClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: RAMClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { RAMClientConfig } from "./RAMClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: RAMClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
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
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ram",
3
3
  "description": "AWS SDK for JavaScript Ram Client for Node.js, Browser and React Native",
4
- "version": "3.43.0",
4
+ "version": "3.47.1",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,48 +18,44 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
21
+ "@aws-sdk/client-sts": "3.47.1",
22
+ "@aws-sdk/config-resolver": "3.47.1",
23
+ "@aws-sdk/credential-provider-node": "3.47.1",
24
+ "@aws-sdk/fetch-http-handler": "3.47.1",
25
+ "@aws-sdk/hash-node": "3.47.1",
26
+ "@aws-sdk/invalid-dependency": "3.47.1",
27
+ "@aws-sdk/middleware-content-length": "3.47.1",
28
+ "@aws-sdk/middleware-host-header": "3.47.1",
29
+ "@aws-sdk/middleware-logger": "3.47.1",
30
+ "@aws-sdk/middleware-retry": "3.47.1",
31
+ "@aws-sdk/middleware-serde": "3.47.1",
32
+ "@aws-sdk/middleware-signing": "3.47.1",
33
+ "@aws-sdk/middleware-stack": "3.47.1",
34
+ "@aws-sdk/middleware-user-agent": "3.47.1",
35
+ "@aws-sdk/node-config-provider": "3.47.1",
36
+ "@aws-sdk/node-http-handler": "3.47.1",
37
+ "@aws-sdk/protocol-http": "3.47.1",
38
+ "@aws-sdk/smithy-client": "3.47.1",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.1",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.1",
43
+ "@aws-sdk/util-body-length-browser": "3.47.1",
44
+ "@aws-sdk/util-body-length-node": "3.47.1",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.1",
48
+ "@aws-sdk/util-user-agent-node": "3.47.1",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.1",
52
51
  "tslib": "^2.3.0"
53
52
  },
54
53
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
- "@types/node": "^12.7.5",
57
- "downlevel-dts": "0.7.0",
58
- "jest": "^26.1.0",
59
- "rimraf": "^3.0.0",
60
- "ts-jest": "^26.4.1",
61
- "typedoc": "^0.19.2",
62
- "typescript": "~4.3.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
+ "@types/node": "^12.7.5"
63
56
  },
64
57
  "engines": {
65
- "node": ">=10.0.0"
58
+ "node": ">=12.0.0"
66
59
  },
67
60
  "typesVersions": {
68
61
  "<4.0": {