@aws-sdk/client-ram 3.52.0 → 3.54.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.
@@ -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
  resourceShareInvitationArn: string | undefined;
@@ -73,64 +74,74 @@ export declare namespace AcceptResourceShareInvitationResponse {
73
74
  const filterSensitiveLog: (obj: AcceptResourceShareInvitationResponse) => any;
74
75
  }
75
76
 
76
- export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer {
77
- name: "IdempotentParameterMismatchException";
78
- $fault: "client";
79
- message: string | undefined;
77
+ export declare class IdempotentParameterMismatchException extends __BaseException {
78
+ readonly name: "IdempotentParameterMismatchException";
79
+ readonly $fault: "client";
80
+
81
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
80
82
  }
81
83
 
82
- export interface InvalidClientTokenException extends __SmithyException, $MetadataBearer {
83
- name: "InvalidClientTokenException";
84
- $fault: "client";
85
- message: string | undefined;
84
+ export declare class InvalidClientTokenException extends __BaseException {
85
+ readonly name: "InvalidClientTokenException";
86
+ readonly $fault: "client";
87
+
88
+ constructor(opts: __ExceptionOptionType<InvalidClientTokenException, __BaseException>);
86
89
  }
87
90
 
88
- export interface MalformedArnException extends __SmithyException, $MetadataBearer {
89
- name: "MalformedArnException";
90
- $fault: "client";
91
- message: string | undefined;
91
+ export declare class MalformedArnException extends __BaseException {
92
+ readonly name: "MalformedArnException";
93
+ readonly $fault: "client";
94
+
95
+ constructor(opts: __ExceptionOptionType<MalformedArnException, __BaseException>);
92
96
  }
93
97
 
94
- export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
95
- name: "OperationNotPermittedException";
96
- $fault: "client";
97
- message: string | undefined;
98
+ export declare class OperationNotPermittedException extends __BaseException {
99
+ readonly name: "OperationNotPermittedException";
100
+ readonly $fault: "client";
101
+
102
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
98
103
  }
99
104
 
100
- export interface ResourceShareInvitationAlreadyAcceptedException extends __SmithyException, $MetadataBearer {
101
- name: "ResourceShareInvitationAlreadyAcceptedException";
102
- $fault: "client";
103
- message: string | undefined;
105
+ export declare class ResourceShareInvitationAlreadyAcceptedException extends __BaseException {
106
+ readonly name: "ResourceShareInvitationAlreadyAcceptedException";
107
+ readonly $fault: "client";
108
+
109
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyAcceptedException, __BaseException>);
104
110
  }
105
111
 
106
- export interface ResourceShareInvitationAlreadyRejectedException extends __SmithyException, $MetadataBearer {
107
- name: "ResourceShareInvitationAlreadyRejectedException";
108
- $fault: "client";
109
- message: string | undefined;
112
+ export declare class ResourceShareInvitationAlreadyRejectedException extends __BaseException {
113
+ readonly name: "ResourceShareInvitationAlreadyRejectedException";
114
+ readonly $fault: "client";
115
+
116
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyRejectedException, __BaseException>);
110
117
  }
111
118
 
112
- export interface ResourceShareInvitationArnNotFoundException extends __SmithyException, $MetadataBearer {
113
- name: "ResourceShareInvitationArnNotFoundException";
114
- $fault: "client";
115
- message: string | undefined;
119
+ export declare class ResourceShareInvitationArnNotFoundException extends __BaseException {
120
+ readonly name: "ResourceShareInvitationArnNotFoundException";
121
+ readonly $fault: "client";
122
+
123
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationArnNotFoundException, __BaseException>);
116
124
  }
117
125
 
118
- export interface ResourceShareInvitationExpiredException extends __SmithyException, $MetadataBearer {
119
- name: "ResourceShareInvitationExpiredException";
120
- $fault: "client";
121
- message: string | undefined;
126
+ export declare class ResourceShareInvitationExpiredException extends __BaseException {
127
+ readonly name: "ResourceShareInvitationExpiredException";
128
+ readonly $fault: "client";
129
+
130
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationExpiredException, __BaseException>);
122
131
  }
123
132
 
124
- export interface ServerInternalException extends __SmithyException, $MetadataBearer {
125
- name: "ServerInternalException";
126
- $fault: "server";
127
- message: string | undefined;
133
+ export declare class ServerInternalException extends __BaseException {
134
+ readonly name: "ServerInternalException";
135
+ readonly $fault: "server";
136
+
137
+ constructor(opts: __ExceptionOptionType<ServerInternalException, __BaseException>);
128
138
  }
129
139
 
130
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
131
- name: "ServiceUnavailableException";
132
- $fault: "server";
133
- message: string | undefined;
140
+ export declare class ServiceUnavailableException extends __BaseException {
141
+ readonly name: "ServiceUnavailableException";
142
+ readonly $fault: "server";
143
+
144
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
134
145
  }
135
146
  export interface AssociateResourceShareRequest {
136
147
 
@@ -157,34 +168,39 @@ export declare namespace AssociateResourceShareResponse {
157
168
  const filterSensitiveLog: (obj: AssociateResourceShareResponse) => any;
158
169
  }
159
170
 
160
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
161
- name: "InvalidParameterException";
162
- $fault: "client";
163
- message: string | undefined;
171
+ export declare class InvalidParameterException extends __BaseException {
172
+ readonly name: "InvalidParameterException";
173
+ readonly $fault: "client";
174
+
175
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
164
176
  }
165
177
 
166
- export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
167
- name: "InvalidStateTransitionException";
168
- $fault: "client";
169
- message: string | undefined;
178
+ export declare class InvalidStateTransitionException extends __BaseException {
179
+ readonly name: "InvalidStateTransitionException";
180
+ readonly $fault: "client";
181
+
182
+ constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
170
183
  }
171
184
 
172
- export interface ResourceShareLimitExceededException extends __SmithyException, $MetadataBearer {
173
- name: "ResourceShareLimitExceededException";
174
- $fault: "client";
175
- message: string | undefined;
185
+ export declare class ResourceShareLimitExceededException extends __BaseException {
186
+ readonly name: "ResourceShareLimitExceededException";
187
+ readonly $fault: "client";
188
+
189
+ constructor(opts: __ExceptionOptionType<ResourceShareLimitExceededException, __BaseException>);
176
190
  }
177
191
 
178
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
179
- name: "ThrottlingException";
180
- $fault: "client";
181
- message: string | undefined;
192
+ export declare class ThrottlingException extends __BaseException {
193
+ readonly name: "ThrottlingException";
194
+ readonly $fault: "client";
195
+
196
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
182
197
  }
183
198
 
184
- export interface UnknownResourceException extends __SmithyException, $MetadataBearer {
185
- name: "UnknownResourceException";
186
- $fault: "client";
187
- message: string | undefined;
199
+ export declare class UnknownResourceException extends __BaseException {
200
+ readonly name: "UnknownResourceException";
201
+ readonly $fault: "client";
202
+
203
+ constructor(opts: __ExceptionOptionType<UnknownResourceException, __BaseException>);
188
204
  }
189
205
  export interface AssociateResourceSharePermissionRequest {
190
206
 
@@ -283,10 +299,11 @@ export declare namespace CreateResourceShareResponse {
283
299
  const filterSensitiveLog: (obj: CreateResourceShareResponse) => any;
284
300
  }
285
301
 
286
- export interface TagPolicyViolationException extends __SmithyException, $MetadataBearer {
287
- name: "TagPolicyViolationException";
288
- $fault: "client";
289
- message: string | undefined;
302
+ export declare class TagPolicyViolationException extends __BaseException {
303
+ readonly name: "TagPolicyViolationException";
304
+ readonly $fault: "client";
305
+
306
+ constructor(opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>);
290
307
  }
291
308
  export interface DeleteResourceShareRequest {
292
309
 
@@ -436,16 +453,18 @@ export declare namespace GetResourcePoliciesResponse {
436
453
  const filterSensitiveLog: (obj: GetResourcePoliciesResponse) => any;
437
454
  }
438
455
 
439
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
440
- name: "InvalidNextTokenException";
441
- $fault: "client";
442
- message: string | undefined;
456
+ export declare class InvalidNextTokenException extends __BaseException {
457
+ readonly name: "InvalidNextTokenException";
458
+ readonly $fault: "client";
459
+
460
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
443
461
  }
444
462
 
445
- export interface ResourceArnNotFoundException extends __SmithyException, $MetadataBearer {
446
- name: "ResourceArnNotFoundException";
447
- $fault: "client";
448
- message: string | undefined;
463
+ export declare class ResourceArnNotFoundException extends __BaseException {
464
+ readonly name: "ResourceArnNotFoundException";
465
+ readonly $fault: "client";
466
+
467
+ constructor(opts: __ExceptionOptionType<ResourceArnNotFoundException, __BaseException>);
449
468
  }
450
469
  export interface GetResourceShareAssociationsRequest {
451
470
 
@@ -502,10 +521,11 @@ export declare namespace GetResourceShareInvitationsResponse {
502
521
  const filterSensitiveLog: (obj: GetResourceShareInvitationsResponse) => any;
503
522
  }
504
523
 
505
- export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
506
- name: "InvalidMaxResultsException";
507
- $fault: "client";
508
- message: string | undefined;
524
+ export declare class InvalidMaxResultsException extends __BaseException {
525
+ readonly name: "InvalidMaxResultsException";
526
+ readonly $fault: "client";
527
+
528
+ constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
509
529
  }
510
530
  export declare enum ResourceOwner {
511
531
  OTHER_ACCOUNTS = "OTHER-ACCOUNTS",
@@ -614,10 +634,11 @@ export declare namespace ListPendingInvitationResourcesResponse {
614
634
  const filterSensitiveLog: (obj: ListPendingInvitationResourcesResponse) => any;
615
635
  }
616
636
 
617
- export interface MissingRequiredParameterException extends __SmithyException, $MetadataBearer {
618
- name: "MissingRequiredParameterException";
619
- $fault: "client";
620
- message: string | undefined;
637
+ export declare class MissingRequiredParameterException extends __BaseException {
638
+ readonly name: "MissingRequiredParameterException";
639
+ readonly $fault: "client";
640
+
641
+ constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
621
642
  }
622
643
  export interface ListPermissionsRequest {
623
644
 
@@ -736,10 +757,11 @@ export declare namespace ListPrincipalsResponse {
736
757
  const filterSensitiveLog: (obj: ListPrincipalsResponse) => any;
737
758
  }
738
759
 
739
- export interface InvalidResourceTypeException extends __SmithyException, $MetadataBearer {
740
- name: "InvalidResourceTypeException";
741
- $fault: "client";
742
- message: string | undefined;
760
+ export declare class InvalidResourceTypeException extends __BaseException {
761
+ readonly name: "InvalidResourceTypeException";
762
+ readonly $fault: "client";
763
+
764
+ constructor(opts: __ExceptionOptionType<InvalidResourceTypeException, __BaseException>);
743
765
  }
744
766
  export interface ListResourcesRequest {
745
767
 
@@ -867,10 +889,11 @@ export declare namespace RejectResourceShareInvitationResponse {
867
889
  const filterSensitiveLog: (obj: RejectResourceShareInvitationResponse) => any;
868
890
  }
869
891
 
870
- export interface TagLimitExceededException extends __SmithyException, $MetadataBearer {
871
- name: "TagLimitExceededException";
872
- $fault: "client";
873
- message: string | undefined;
892
+ export declare class TagLimitExceededException extends __BaseException {
893
+ readonly name: "TagLimitExceededException";
894
+ readonly $fault: "client";
895
+
896
+ constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
874
897
  }
875
898
  export interface TagResourceRequest {
876
899
 
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.52.0",
4
+ "version": "3.54.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"