@aws-sdk/client-rolesanywhere 3.933.0 → 3.935.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.
package/dist-cjs/index.js CHANGED
@@ -129,11 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends RolesAnywhereS
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
131
  };
132
- const CertificateField = {
133
- x509Issuer: "x509Issuer",
134
- x509SAN: "x509SAN",
135
- x509Subject: "x509Subject",
136
- };
137
132
  let ValidationException$1 = class ValidationException extends RolesAnywhereServiceException$1 {
138
133
  name = "ValidationException";
139
134
  $fault = "client";
@@ -146,18 +141,6 @@ let ValidationException$1 = class ValidationException extends RolesAnywhereServi
146
141
  Object.setPrototypeOf(this, ValidationException.prototype);
147
142
  }
148
143
  };
149
- const NotificationChannel = {
150
- ALL: "ALL",
151
- };
152
- const NotificationEvent = {
153
- CA_CERTIFICATE_EXPIRY: "CA_CERTIFICATE_EXPIRY",
154
- END_ENTITY_CERTIFICATE_EXPIRY: "END_ENTITY_CERTIFICATE_EXPIRY",
155
- };
156
- const TrustAnchorType = {
157
- AWS_ACM_PCA: "AWS_ACM_PCA",
158
- CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE",
159
- SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY",
160
- };
161
144
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends RolesAnywhereServiceException$1 {
162
145
  name = "ResourceNotFoundException";
163
146
  $fault = "client";
@@ -1366,7 +1349,6 @@ Object.defineProperty(exports, "__Client", {
1366
1349
  get: function () { return smithyClient.Client; }
1367
1350
  });
1368
1351
  exports.AccessDeniedException = AccessDeniedException$1;
1369
- exports.CertificateField = CertificateField;
1370
1352
  exports.CreateProfileCommand = CreateProfileCommand;
1371
1353
  exports.CreateTrustAnchorCommand = CreateTrustAnchorCommand;
1372
1354
  exports.DeleteAttributeMappingCommand = DeleteAttributeMappingCommand;
@@ -1389,8 +1371,6 @@ exports.ListProfilesCommand = ListProfilesCommand;
1389
1371
  exports.ListSubjectsCommand = ListSubjectsCommand;
1390
1372
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1391
1373
  exports.ListTrustAnchorsCommand = ListTrustAnchorsCommand;
1392
- exports.NotificationChannel = NotificationChannel;
1393
- exports.NotificationEvent = NotificationEvent;
1394
1374
  exports.PutAttributeMappingCommand = PutAttributeMappingCommand;
1395
1375
  exports.PutNotificationSettingsCommand = PutNotificationSettingsCommand;
1396
1376
  exports.ResetNotificationSettingsCommand = ResetNotificationSettingsCommand;
@@ -1400,7 +1380,6 @@ exports.RolesAnywhereClient = RolesAnywhereClient;
1400
1380
  exports.RolesAnywhereServiceException = RolesAnywhereServiceException$1;
1401
1381
  exports.TagResourceCommand = TagResourceCommand;
1402
1382
  exports.TooManyTagsException = TooManyTagsException$1;
1403
- exports.TrustAnchorType = TrustAnchorType;
1404
1383
  exports.UntagResourceCommand = UntagResourceCommand;
1405
1384
  exports.UpdateCrlCommand = UpdateCrlCommand;
1406
1385
  exports.UpdateProfileCommand = UpdateProfileCommand;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./RolesAnywhereClient";
2
2
  export * from "./RolesAnywhere";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { RolesAnywhereServiceException } from "./models/RolesAnywhereServiceException";
@@ -0,0 +1,49 @@
1
+ import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ValidationException extends __BaseException {
15
+ name = "ValidationException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "ValidationException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, ValidationException.prototype);
24
+ }
25
+ }
26
+ export class ResourceNotFoundException extends __BaseException {
27
+ name = "ResourceNotFoundException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "ResourceNotFoundException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
36
+ }
37
+ }
38
+ export class TooManyTagsException extends __BaseException {
39
+ name = "TooManyTagsException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "TooManyTagsException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
48
+ }
49
+ }
@@ -1,33 +1,8 @@
1
- import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
1
  export const CertificateField = {
15
2
  x509Issuer: "x509Issuer",
16
3
  x509SAN: "x509SAN",
17
4
  x509Subject: "x509Subject",
18
5
  };
19
- export class ValidationException extends __BaseException {
20
- name = "ValidationException";
21
- $fault = "client";
22
- constructor(opts) {
23
- super({
24
- name: "ValidationException",
25
- $fault: "client",
26
- ...opts,
27
- });
28
- Object.setPrototypeOf(this, ValidationException.prototype);
29
- }
30
- }
31
6
  export const NotificationChannel = {
32
7
  ALL: "ALL",
33
8
  };
@@ -40,27 +15,3 @@ export const TrustAnchorType = {
40
15
  CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE",
41
16
  SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY",
42
17
  };
43
- export class ResourceNotFoundException extends __BaseException {
44
- name = "ResourceNotFoundException";
45
- $fault = "client";
46
- constructor(opts) {
47
- super({
48
- name: "ResourceNotFoundException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
53
- }
54
- }
55
- export class TooManyTagsException extends __BaseException {
56
- name = "TooManyTagsException";
57
- $fault = "client";
58
- constructor(opts) {
59
- super({
60
- name: "TooManyTagsException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
65
- }
66
- }
@@ -164,7 +164,7 @@ const _xCD = "x509CertificateData";
164
164
  const _xS = "x509Subject";
165
165
  const n0 = "com.amazonaws.rolesanywhere";
166
166
  import { TypeRegistry } from "@smithy/core/schema";
167
- import { AccessDeniedException as __AccessDeniedException, ResourceNotFoundException as __ResourceNotFoundException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/index";
167
+ import { AccessDeniedException as __AccessDeniedException, ResourceNotFoundException as __ResourceNotFoundException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/errors";
168
168
  import { RolesAnywhereServiceException as __RolesAnywhereServiceException } from "../models/RolesAnywhereServiceException";
169
169
  export var TagKey = [0, n0, _TK, 8, 0];
170
170
  export var TagValue = [0, n0, _TV, 8, 0];
@@ -24,5 +24,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
24
24
  export type { RolesAnywhereExtensionConfiguration } from "./extensionConfiguration";
25
25
  export * from "./commands";
26
26
  export * from "./pagination";
27
- export * from "./models";
27
+ export * from "./models/errors";
28
+ export type * from "./models/models_0";
28
29
  export { RolesAnywhereServiceException } from "./models/RolesAnywhereServiceException";
@@ -0,0 +1,50 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>Validation exception error.</p>
17
+ * @public
18
+ */
19
+ export declare class ValidationException extends __BaseException {
20
+ readonly name: "ValidationException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The resource could not be found.</p>
29
+ * @public
30
+ */
31
+ export declare class ResourceNotFoundException extends __BaseException {
32
+ readonly name: "ResourceNotFoundException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>Too many tags.</p>
41
+ * @public
42
+ */
43
+ export declare class TooManyTagsException extends __BaseException {
44
+ readonly name: "TooManyTagsException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
50
+ }
@@ -1,17 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
15
1
  /**
16
2
  * @public
17
3
  * @enum
@@ -208,18 +194,6 @@ export interface ProfileDetailResponse {
208
194
  */
209
195
  profile?: ProfileDetail | undefined;
210
196
  }
211
- /**
212
- * <p>Validation exception error.</p>
213
- * @public
214
- */
215
- export declare class ValidationException extends __BaseException {
216
- readonly name: "ValidationException";
217
- readonly $fault: "client";
218
- /**
219
- * @internal
220
- */
221
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
222
- }
223
197
  /**
224
198
  * @public
225
199
  * @enum
@@ -572,18 +546,6 @@ export interface CrlDetailResponse {
572
546
  */
573
547
  crl: CrlDetail | undefined;
574
548
  }
575
- /**
576
- * <p>The resource could not be found.</p>
577
- * @public
578
- */
579
- export declare class ResourceNotFoundException extends __BaseException {
580
- readonly name: "ResourceNotFoundException";
581
- readonly $fault: "client";
582
- /**
583
- * @internal
584
- */
585
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
586
- }
587
549
  /**
588
550
  * @public
589
551
  */
@@ -1084,18 +1046,6 @@ export interface TagResourceRequest {
1084
1046
  */
1085
1047
  export interface TagResourceResponse {
1086
1048
  }
1087
- /**
1088
- * <p>Too many tags.</p>
1089
- * @public
1090
- */
1091
- export declare class TooManyTagsException extends __BaseException {
1092
- readonly name: "TooManyTagsException";
1093
- readonly $fault: "client";
1094
- /**
1095
- * @internal
1096
- */
1097
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1098
- }
1099
1049
  /**
1100
1050
  * @public
1101
1051
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { RolesAnywhereExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { RolesAnywhereServiceException } from "./models/RolesAnywhereServiceException";
@@ -0,0 +1,30 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ValidationException extends __BaseException {
11
+ readonly name: "ValidationException";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
15
+ );
16
+ }
17
+ export declare class ResourceNotFoundException extends __BaseException {
18
+ readonly name: "ResourceNotFoundException";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
22
+ );
23
+ }
24
+ export declare class TooManyTagsException extends __BaseException {
25
+ readonly name: "TooManyTagsException";
26
+ readonly $fault: "client";
27
+ constructor(
28
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
29
+ );
30
+ }
@@ -1,12 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
1
  export declare const CertificateField: {
11
2
  readonly x509Issuer: "x509Issuer";
12
3
  readonly x509SAN: "x509SAN";
@@ -55,13 +46,6 @@ export interface ProfileDetail {
55
46
  export interface ProfileDetailResponse {
56
47
  profile?: ProfileDetail | undefined;
57
48
  }
58
- export declare class ValidationException extends __BaseException {
59
- readonly name: "ValidationException";
60
- readonly $fault: "client";
61
- constructor(
62
- opts: __ExceptionOptionType<ValidationException, __BaseException>
63
- );
64
- }
65
49
  export declare const NotificationChannel: {
66
50
  readonly ALL: "ALL";
67
51
  };
@@ -164,13 +148,6 @@ export interface CrlDetail {
164
148
  export interface CrlDetailResponse {
165
149
  crl: CrlDetail | undefined;
166
150
  }
167
- export declare class ResourceNotFoundException extends __BaseException {
168
- readonly name: "ResourceNotFoundException";
169
- readonly $fault: "client";
170
- constructor(
171
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
172
- );
173
- }
174
151
  export interface ScalarCrlRequest {
175
152
  crlId: string | undefined;
176
153
  }
@@ -297,13 +274,6 @@ export interface TagResourceRequest {
297
274
  tags: Tag[] | undefined;
298
275
  }
299
276
  export interface TagResourceResponse {}
300
- export declare class TooManyTagsException extends __BaseException {
301
- readonly name: "TooManyTagsException";
302
- readonly $fault: "client";
303
- constructor(
304
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
305
- );
306
- }
307
277
  export interface UpdateTrustAnchorRequest {
308
278
  trustAnchorId: string | undefined;
309
279
  name?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rolesanywhere",
3
3
  "description": "AWS SDK for JavaScript Rolesanywhere Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rolesanywhere",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";