@aws-sdk/client-route53-recovery-control-config 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 +15 -14
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +14 -0
- package/dist-es/models/errors.js +99 -0
- package/dist-es/models/models_0.js +1 -113
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +38 -0
- package/dist-types/models/errors.d.ts +93 -0
- package/dist-types/models/models_0.d.ts +1 -131
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +17 -0
- package/dist-types/ts3.4/models/errors.d.ts +56 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -73
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -118,20 +118,6 @@ let Route53RecoveryControlConfigServiceException$1 = class Route53RecoveryContro
|
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
const NetworkType = {
|
|
122
|
-
DUALSTACK: "DUALSTACK",
|
|
123
|
-
IPV4: "IPV4",
|
|
124
|
-
};
|
|
125
|
-
const Status = {
|
|
126
|
-
DEPLOYED: "DEPLOYED",
|
|
127
|
-
PENDING: "PENDING",
|
|
128
|
-
PENDING_DELETION: "PENDING_DELETION",
|
|
129
|
-
};
|
|
130
|
-
const RuleType = {
|
|
131
|
-
AND: "AND",
|
|
132
|
-
ATLEAST: "ATLEAST",
|
|
133
|
-
OR: "OR",
|
|
134
|
-
};
|
|
135
121
|
let AccessDeniedException$1 = class AccessDeniedException extends Route53RecoveryControlConfigServiceException$1 {
|
|
136
122
|
name = "AccessDeniedException";
|
|
137
123
|
$fault = "client";
|
|
@@ -1656,6 +1642,21 @@ const waitUntilRoutingControlDeleted = async (params, input) => {
|
|
|
1656
1642
|
return utilWaiter.checkExceptions(result);
|
|
1657
1643
|
};
|
|
1658
1644
|
|
|
1645
|
+
const NetworkType = {
|
|
1646
|
+
DUALSTACK: "DUALSTACK",
|
|
1647
|
+
IPV4: "IPV4",
|
|
1648
|
+
};
|
|
1649
|
+
const Status = {
|
|
1650
|
+
DEPLOYED: "DEPLOYED",
|
|
1651
|
+
PENDING: "PENDING",
|
|
1652
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
1653
|
+
};
|
|
1654
|
+
const RuleType = {
|
|
1655
|
+
AND: "AND",
|
|
1656
|
+
ATLEAST: "ATLEAST",
|
|
1657
|
+
OR: "OR",
|
|
1658
|
+
};
|
|
1659
|
+
|
|
1659
1660
|
Object.defineProperty(exports, "$Command", {
|
|
1660
1661
|
enumerable: true,
|
|
1661
1662
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./Route53RecoveryControlConfig";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./waiters";
|
|
6
|
-
export * from "./models";
|
|
6
|
+
export * from "./models/enums";
|
|
7
|
+
export * from "./models/errors";
|
|
7
8
|
export { Route53RecoveryControlConfigServiceException } from "./models/Route53RecoveryControlConfigServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const NetworkType = {
|
|
2
|
+
DUALSTACK: "DUALSTACK",
|
|
3
|
+
IPV4: "IPV4",
|
|
4
|
+
};
|
|
5
|
+
export const Status = {
|
|
6
|
+
DEPLOYED: "DEPLOYED",
|
|
7
|
+
PENDING: "PENDING",
|
|
8
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
9
|
+
};
|
|
10
|
+
export const RuleType = {
|
|
11
|
+
AND: "AND",
|
|
12
|
+
ATLEAST: "ATLEAST",
|
|
13
|
+
OR: "OR",
|
|
14
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Route53RecoveryControlConfigServiceException as __BaseException } from "./Route53RecoveryControlConfigServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConflictException extends __BaseException {
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InternalServerException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
45
|
+
name = "ResourceNotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ResourceNotFoundException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
59
|
+
name = "ServiceQuotaExceededException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ServiceQuotaExceededException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ThrottlingException extends __BaseException {
|
|
73
|
+
name = "ThrottlingException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ThrottlingException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ValidationException extends __BaseException {
|
|
87
|
+
name = "ValidationException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Message;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ValidationException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
97
|
+
this.Message = opts.Message;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -1,113 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const NetworkType = {
|
|
3
|
-
DUALSTACK: "DUALSTACK",
|
|
4
|
-
IPV4: "IPV4",
|
|
5
|
-
};
|
|
6
|
-
export const Status = {
|
|
7
|
-
DEPLOYED: "DEPLOYED",
|
|
8
|
-
PENDING: "PENDING",
|
|
9
|
-
PENDING_DELETION: "PENDING_DELETION",
|
|
10
|
-
};
|
|
11
|
-
export const RuleType = {
|
|
12
|
-
AND: "AND",
|
|
13
|
-
ATLEAST: "ATLEAST",
|
|
14
|
-
OR: "OR",
|
|
15
|
-
};
|
|
16
|
-
export class AccessDeniedException extends __BaseException {
|
|
17
|
-
name = "AccessDeniedException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "AccessDeniedException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class ConflictException extends __BaseException {
|
|
31
|
-
name = "ConflictException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
Message;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "ConflictException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
41
|
-
this.Message = opts.Message;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export class InternalServerException extends __BaseException {
|
|
45
|
-
name = "InternalServerException";
|
|
46
|
-
$fault = "server";
|
|
47
|
-
Message;
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "InternalServerException",
|
|
51
|
-
$fault: "server",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
55
|
-
this.Message = opts.Message;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
59
|
-
name = "ResourceNotFoundException";
|
|
60
|
-
$fault = "client";
|
|
61
|
-
Message;
|
|
62
|
-
constructor(opts) {
|
|
63
|
-
super({
|
|
64
|
-
name: "ResourceNotFoundException",
|
|
65
|
-
$fault: "client",
|
|
66
|
-
...opts,
|
|
67
|
-
});
|
|
68
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
69
|
-
this.Message = opts.Message;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
73
|
-
name = "ServiceQuotaExceededException";
|
|
74
|
-
$fault = "client";
|
|
75
|
-
Message;
|
|
76
|
-
constructor(opts) {
|
|
77
|
-
super({
|
|
78
|
-
name: "ServiceQuotaExceededException",
|
|
79
|
-
$fault: "client",
|
|
80
|
-
...opts,
|
|
81
|
-
});
|
|
82
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
83
|
-
this.Message = opts.Message;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
export class ThrottlingException extends __BaseException {
|
|
87
|
-
name = "ThrottlingException";
|
|
88
|
-
$fault = "client";
|
|
89
|
-
Message;
|
|
90
|
-
constructor(opts) {
|
|
91
|
-
super({
|
|
92
|
-
name: "ThrottlingException",
|
|
93
|
-
$fault: "client",
|
|
94
|
-
...opts,
|
|
95
|
-
});
|
|
96
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
97
|
-
this.Message = opts.Message;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
export class ValidationException extends __BaseException {
|
|
101
|
-
name = "ValidationException";
|
|
102
|
-
$fault = "client";
|
|
103
|
-
Message;
|
|
104
|
-
constructor(opts) {
|
|
105
|
-
super({
|
|
106
|
-
name: "ValidationException",
|
|
107
|
-
$fault: "client",
|
|
108
|
-
...opts,
|
|
109
|
-
});
|
|
110
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
111
|
-
this.Message = opts.Message;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
1
|
+
export {};
|
|
@@ -146,7 +146,7 @@ const _s = "server";
|
|
|
146
146
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.route53recoverycontrolconfig";
|
|
147
147
|
const n0 = "com.amazonaws.route53recoverycontrolconfig";
|
|
148
148
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
149
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
149
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
150
150
|
import { Route53RecoveryControlConfigServiceException as __Route53RecoveryControlConfigServiceException } from "../models/Route53RecoveryControlConfigServiceException";
|
|
151
151
|
export var AccessDeniedException = [
|
|
152
152
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export type { Route53RecoveryControlConfigExtensionConfiguration } from "./exten
|
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
13
|
export * from "./waiters";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
15
17
|
export { Route53RecoveryControlConfigServiceException } from "./models/Route53RecoveryControlConfigServiceException";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const NetworkType: {
|
|
6
|
+
readonly DUALSTACK: "DUALSTACK";
|
|
7
|
+
readonly IPV4: "IPV4";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const Status: {
|
|
18
|
+
readonly DEPLOYED: "DEPLOYED";
|
|
19
|
+
readonly PENDING: "PENDING";
|
|
20
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const RuleType: {
|
|
31
|
+
readonly AND: "AND";
|
|
32
|
+
readonly ATLEAST: "ATLEAST";
|
|
33
|
+
readonly OR: "OR";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type RuleType = (typeof RuleType)[keyof typeof RuleType];
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { Route53RecoveryControlConfigServiceException as __BaseException } from "./Route53RecoveryControlConfigServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>403 response - 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
|
+
Message: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>409 response - ConflictException. You might be using a predefined variable.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
readonly name: "ConflictException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
Message: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>500 response - InternalServiceError. Temporary service error. Retry the request.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class InternalServerException extends __BaseException {
|
|
34
|
+
readonly name: "InternalServerException";
|
|
35
|
+
readonly $fault: "server";
|
|
36
|
+
Message: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>404 response - MalformedQueryString. The query string contains a syntax error or resource not found.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
47
|
+
readonly name: "ResourceNotFoundException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
Message: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>402 response - You attempted to create more resources than the service allows based on service quotas.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
60
|
+
readonly name: "ServiceQuotaExceededException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
Message: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>429 response - LimitExceededException or TooManyRequestsException.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class ThrottlingException extends __BaseException {
|
|
73
|
+
readonly name: "ThrottlingException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
Message: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* <p>400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class ValidationException extends __BaseException {
|
|
86
|
+
readonly name: "ValidationException";
|
|
87
|
+
readonly $fault: "client";
|
|
88
|
+
Message: string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
93
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Route53RecoveryControlConfigServiceException as __BaseException } from "./Route53RecoveryControlConfigServiceException";
|
|
1
|
+
import { NetworkType, RuleType, Status } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* <p>A cluster endpoint. Specify an endpoint when you want to set or retrieve a routing control state in the cluster.</p>
|
|
5
4
|
* @public
|
|
@@ -16,31 +15,6 @@ export interface ClusterEndpoint {
|
|
|
16
15
|
*/
|
|
17
16
|
Region?: string | undefined;
|
|
18
17
|
}
|
|
19
|
-
/**
|
|
20
|
-
* @public
|
|
21
|
-
* @enum
|
|
22
|
-
*/
|
|
23
|
-
export declare const NetworkType: {
|
|
24
|
-
readonly DUALSTACK: "DUALSTACK";
|
|
25
|
-
readonly IPV4: "IPV4";
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @public
|
|
29
|
-
*/
|
|
30
|
-
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
31
|
-
/**
|
|
32
|
-
* @public
|
|
33
|
-
* @enum
|
|
34
|
-
*/
|
|
35
|
-
export declare const Status: {
|
|
36
|
-
readonly DEPLOYED: "DEPLOYED";
|
|
37
|
-
readonly PENDING: "PENDING";
|
|
38
|
-
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* @public
|
|
42
|
-
*/
|
|
43
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
44
18
|
/**
|
|
45
19
|
* <p>A set of five redundant Regional endpoints against which you can execute API calls to update or get the state of routing controls. You can host multiple control panels and routing controls on one cluster.</p>
|
|
46
20
|
* @public
|
|
@@ -149,19 +123,6 @@ export interface RoutingControl {
|
|
|
149
123
|
*/
|
|
150
124
|
Owner?: string | undefined;
|
|
151
125
|
}
|
|
152
|
-
/**
|
|
153
|
-
* @public
|
|
154
|
-
* @enum
|
|
155
|
-
*/
|
|
156
|
-
export declare const RuleType: {
|
|
157
|
-
readonly AND: "AND";
|
|
158
|
-
readonly ATLEAST: "ATLEAST";
|
|
159
|
-
readonly OR: "OR";
|
|
160
|
-
};
|
|
161
|
-
/**
|
|
162
|
-
* @public
|
|
163
|
-
*/
|
|
164
|
-
export type RuleType = (typeof RuleType)[keyof typeof RuleType];
|
|
165
126
|
/**
|
|
166
127
|
* <p>The rule configuration for an assertion rule. That is, the criteria that you set for specific assertion controls (routing controls) that specify how many control states must be ON after a transaction completes.</p>
|
|
167
128
|
* @public
|
|
@@ -296,19 +257,6 @@ export interface Rule {
|
|
|
296
257
|
*/
|
|
297
258
|
GATING?: GatingRule | undefined;
|
|
298
259
|
}
|
|
299
|
-
/**
|
|
300
|
-
* <p>403 response - You do not have sufficient access to perform this action.</p>
|
|
301
|
-
* @public
|
|
302
|
-
*/
|
|
303
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
304
|
-
readonly name: "AccessDeniedException";
|
|
305
|
-
readonly $fault: "client";
|
|
306
|
-
Message: string | undefined;
|
|
307
|
-
/**
|
|
308
|
-
* @internal
|
|
309
|
-
*/
|
|
310
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
311
|
-
}
|
|
312
260
|
/**
|
|
313
261
|
* <p>An update to an assertion rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.</p>
|
|
314
262
|
* @public
|
|
@@ -330,19 +278,6 @@ export interface AssertionRuleUpdate {
|
|
|
330
278
|
*/
|
|
331
279
|
WaitPeriodMs: number | undefined;
|
|
332
280
|
}
|
|
333
|
-
/**
|
|
334
|
-
* <p>409 response - ConflictException. You might be using a predefined variable.</p>
|
|
335
|
-
* @public
|
|
336
|
-
*/
|
|
337
|
-
export declare class ConflictException extends __BaseException {
|
|
338
|
-
readonly name: "ConflictException";
|
|
339
|
-
readonly $fault: "client";
|
|
340
|
-
Message: string | undefined;
|
|
341
|
-
/**
|
|
342
|
-
* @internal
|
|
343
|
-
*/
|
|
344
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
345
|
-
}
|
|
346
281
|
/**
|
|
347
282
|
* <p>Creates a cluster.</p>
|
|
348
283
|
* @public
|
|
@@ -379,71 +314,6 @@ export interface CreateClusterResponse {
|
|
|
379
314
|
*/
|
|
380
315
|
Cluster?: Cluster | undefined;
|
|
381
316
|
}
|
|
382
|
-
/**
|
|
383
|
-
* <p>500 response - InternalServiceError. Temporary service error. Retry the request.</p>
|
|
384
|
-
* @public
|
|
385
|
-
*/
|
|
386
|
-
export declare class InternalServerException extends __BaseException {
|
|
387
|
-
readonly name: "InternalServerException";
|
|
388
|
-
readonly $fault: "server";
|
|
389
|
-
Message: string | undefined;
|
|
390
|
-
/**
|
|
391
|
-
* @internal
|
|
392
|
-
*/
|
|
393
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* <p>404 response - MalformedQueryString. The query string contains a syntax error or resource not found.</p>
|
|
397
|
-
* @public
|
|
398
|
-
*/
|
|
399
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
400
|
-
readonly name: "ResourceNotFoundException";
|
|
401
|
-
readonly $fault: "client";
|
|
402
|
-
Message: string | undefined;
|
|
403
|
-
/**
|
|
404
|
-
* @internal
|
|
405
|
-
*/
|
|
406
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
* <p>402 response - You attempted to create more resources than the service allows based on service quotas.</p>
|
|
410
|
-
* @public
|
|
411
|
-
*/
|
|
412
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
413
|
-
readonly name: "ServiceQuotaExceededException";
|
|
414
|
-
readonly $fault: "client";
|
|
415
|
-
Message: string | undefined;
|
|
416
|
-
/**
|
|
417
|
-
* @internal
|
|
418
|
-
*/
|
|
419
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
420
|
-
}
|
|
421
|
-
/**
|
|
422
|
-
* <p>429 response - LimitExceededException or TooManyRequestsException.</p>
|
|
423
|
-
* @public
|
|
424
|
-
*/
|
|
425
|
-
export declare class ThrottlingException extends __BaseException {
|
|
426
|
-
readonly name: "ThrottlingException";
|
|
427
|
-
readonly $fault: "client";
|
|
428
|
-
Message: string | undefined;
|
|
429
|
-
/**
|
|
430
|
-
* @internal
|
|
431
|
-
*/
|
|
432
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
433
|
-
}
|
|
434
|
-
/**
|
|
435
|
-
* <p>400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.</p>
|
|
436
|
-
* @public
|
|
437
|
-
*/
|
|
438
|
-
export declare class ValidationException extends __BaseException {
|
|
439
|
-
readonly name: "ValidationException";
|
|
440
|
-
readonly $fault: "client";
|
|
441
|
-
Message: string | undefined;
|
|
442
|
-
/**
|
|
443
|
-
* @internal
|
|
444
|
-
*/
|
|
445
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
446
|
-
}
|
|
447
317
|
/**
|
|
448
318
|
* <p>The details of the control panel that you're creating.</p>
|
|
449
319
|
* @public
|
|
@@ -6,5 +6,7 @@ export { Route53RecoveryControlConfigExtensionConfiguration } from "./extensionC
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./waiters";
|
|
9
|
-
export * from "./models";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
10
12
|
export { Route53RecoveryControlConfigServiceException } from "./models/Route53RecoveryControlConfigServiceException";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const NetworkType: {
|
|
2
|
+
readonly DUALSTACK: "DUALSTACK";
|
|
3
|
+
readonly IPV4: "IPV4";
|
|
4
|
+
};
|
|
5
|
+
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
6
|
+
export declare const Status: {
|
|
7
|
+
readonly DEPLOYED: "DEPLOYED";
|
|
8
|
+
readonly PENDING: "PENDING";
|
|
9
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
10
|
+
};
|
|
11
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
12
|
+
export declare const RuleType: {
|
|
13
|
+
readonly AND: "AND";
|
|
14
|
+
readonly ATLEAST: "ATLEAST";
|
|
15
|
+
readonly OR: "OR";
|
|
16
|
+
};
|
|
17
|
+
export type RuleType = (typeof RuleType)[keyof typeof RuleType];
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { Route53RecoveryControlConfigServiceException as __BaseException } from "./Route53RecoveryControlConfigServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ConflictException extends __BaseException {
|
|
12
|
+
readonly name: "ConflictException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message: string | undefined;
|
|
15
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
export declare class InternalServerException extends __BaseException {
|
|
18
|
+
readonly name: "InternalServerException";
|
|
19
|
+
readonly $fault: "server";
|
|
20
|
+
Message: string | undefined;
|
|
21
|
+
constructor(
|
|
22
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
26
|
+
readonly name: "ResourceNotFoundException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
Message: string | undefined;
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
34
|
+
readonly name: "ServiceQuotaExceededException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message: string | undefined;
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export declare class ThrottlingException extends __BaseException {
|
|
42
|
+
readonly name: "ThrottlingException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
Message: string | undefined;
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
export declare class ValidationException extends __BaseException {
|
|
50
|
+
readonly name: "ValidationException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
Message: string | undefined;
|
|
53
|
+
constructor(
|
|
54
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Route53RecoveryControlConfigServiceException as __BaseException } from "./Route53RecoveryControlConfigServiceException";
|
|
1
|
+
import { NetworkType, RuleType, Status } from "./enums";
|
|
3
2
|
export interface ClusterEndpoint {
|
|
4
3
|
Endpoint?: string | undefined;
|
|
5
4
|
Region?: string | undefined;
|
|
6
5
|
}
|
|
7
|
-
export declare const NetworkType: {
|
|
8
|
-
readonly DUALSTACK: "DUALSTACK";
|
|
9
|
-
readonly IPV4: "IPV4";
|
|
10
|
-
};
|
|
11
|
-
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
12
|
-
export declare const Status: {
|
|
13
|
-
readonly DEPLOYED: "DEPLOYED";
|
|
14
|
-
readonly PENDING: "PENDING";
|
|
15
|
-
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
16
|
-
};
|
|
17
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
18
6
|
export interface Cluster {
|
|
19
7
|
ClusterArn?: string | undefined;
|
|
20
8
|
ClusterEndpoints?: ClusterEndpoint[] | undefined;
|
|
@@ -39,12 +27,6 @@ export interface RoutingControl {
|
|
|
39
27
|
Status?: Status | undefined;
|
|
40
28
|
Owner?: string | undefined;
|
|
41
29
|
}
|
|
42
|
-
export declare const RuleType: {
|
|
43
|
-
readonly AND: "AND";
|
|
44
|
-
readonly ATLEAST: "ATLEAST";
|
|
45
|
-
readonly OR: "OR";
|
|
46
|
-
};
|
|
47
|
-
export type RuleType = (typeof RuleType)[keyof typeof RuleType];
|
|
48
30
|
export interface RuleConfig {
|
|
49
31
|
Inverted: boolean | undefined;
|
|
50
32
|
Threshold: number | undefined;
|
|
@@ -75,25 +57,11 @@ export interface Rule {
|
|
|
75
57
|
ASSERTION?: AssertionRule | undefined;
|
|
76
58
|
GATING?: GatingRule | undefined;
|
|
77
59
|
}
|
|
78
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
79
|
-
readonly name: "AccessDeniedException";
|
|
80
|
-
readonly $fault: "client";
|
|
81
|
-
Message: string | undefined;
|
|
82
|
-
constructor(
|
|
83
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
60
|
export interface AssertionRuleUpdate {
|
|
87
61
|
Name: string | undefined;
|
|
88
62
|
SafetyRuleArn: string | undefined;
|
|
89
63
|
WaitPeriodMs: number | undefined;
|
|
90
64
|
}
|
|
91
|
-
export declare class ConflictException extends __BaseException {
|
|
92
|
-
readonly name: "ConflictException";
|
|
93
|
-
readonly $fault: "client";
|
|
94
|
-
Message: string | undefined;
|
|
95
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
96
|
-
}
|
|
97
65
|
export interface CreateClusterRequest {
|
|
98
66
|
ClientToken?: string | undefined;
|
|
99
67
|
ClusterName: string | undefined;
|
|
@@ -103,46 +71,6 @@ export interface CreateClusterRequest {
|
|
|
103
71
|
export interface CreateClusterResponse {
|
|
104
72
|
Cluster?: Cluster | undefined;
|
|
105
73
|
}
|
|
106
|
-
export declare class InternalServerException extends __BaseException {
|
|
107
|
-
readonly name: "InternalServerException";
|
|
108
|
-
readonly $fault: "server";
|
|
109
|
-
Message: string | undefined;
|
|
110
|
-
constructor(
|
|
111
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
115
|
-
readonly name: "ResourceNotFoundException";
|
|
116
|
-
readonly $fault: "client";
|
|
117
|
-
Message: string | undefined;
|
|
118
|
-
constructor(
|
|
119
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
123
|
-
readonly name: "ServiceQuotaExceededException";
|
|
124
|
-
readonly $fault: "client";
|
|
125
|
-
Message: string | undefined;
|
|
126
|
-
constructor(
|
|
127
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
128
|
-
);
|
|
129
|
-
}
|
|
130
|
-
export declare class ThrottlingException extends __BaseException {
|
|
131
|
-
readonly name: "ThrottlingException";
|
|
132
|
-
readonly $fault: "client";
|
|
133
|
-
Message: string | undefined;
|
|
134
|
-
constructor(
|
|
135
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
export declare class ValidationException extends __BaseException {
|
|
139
|
-
readonly name: "ValidationException";
|
|
140
|
-
readonly $fault: "client";
|
|
141
|
-
Message: string | undefined;
|
|
142
|
-
constructor(
|
|
143
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
144
|
-
);
|
|
145
|
-
}
|
|
146
74
|
export interface CreateControlPanelRequest {
|
|
147
75
|
ClientToken?: string | undefined;
|
|
148
76
|
ClusterArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route53-recovery-control-config",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route53 Recovery Control Config Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-route53-recovery-control-config",
|
|
@@ -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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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.
|
|
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.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
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.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
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.
|
|
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.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|