@aws-sdk/client-codecatalyst 3.234.0 → 3.236.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/endpoint/ruleset.js +4 -211
- package/dist-es/endpoint/ruleset.js +4 -211
- package/package.json +3 -3
|
@@ -1,214 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
builtIn: "AWS::UseFIPS",
|
|
9
|
-
required: true,
|
|
10
|
-
default: false,
|
|
11
|
-
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
12
|
-
type: "Boolean",
|
|
13
|
-
},
|
|
14
|
-
Region: {
|
|
15
|
-
builtIn: "AWS::Region",
|
|
16
|
-
required: false,
|
|
17
|
-
documentation: "The AWS region used to dispatch the request.",
|
|
18
|
-
type: "String",
|
|
19
|
-
},
|
|
20
|
-
Endpoint: {
|
|
21
|
-
builtIn: "SDK::Endpoint",
|
|
22
|
-
required: false,
|
|
23
|
-
documentation: "Override the endpoint used to send this request",
|
|
24
|
-
type: "String",
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
rules: [
|
|
28
|
-
{
|
|
29
|
-
conditions: [],
|
|
30
|
-
type: "tree",
|
|
31
|
-
rules: [
|
|
32
|
-
{
|
|
33
|
-
conditions: [
|
|
34
|
-
{
|
|
35
|
-
fn: "isSet",
|
|
36
|
-
argv: [
|
|
37
|
-
{
|
|
38
|
-
ref: "Endpoint",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
endpoint: {
|
|
44
|
-
url: {
|
|
45
|
-
ref: "Endpoint",
|
|
46
|
-
},
|
|
47
|
-
properties: {},
|
|
48
|
-
headers: {},
|
|
49
|
-
},
|
|
50
|
-
type: "endpoint",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
conditions: [
|
|
54
|
-
{
|
|
55
|
-
fn: "not",
|
|
56
|
-
argv: [
|
|
57
|
-
{
|
|
58
|
-
fn: "isSet",
|
|
59
|
-
argv: [
|
|
60
|
-
{
|
|
61
|
-
ref: "Region",
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
fn: "aws.partition",
|
|
69
|
-
argv: ["us-west-2"],
|
|
70
|
-
assign: "PartitionResult",
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
type: "tree",
|
|
74
|
-
rules: [
|
|
75
|
-
{
|
|
76
|
-
conditions: [
|
|
77
|
-
{
|
|
78
|
-
fn: "booleanEquals",
|
|
79
|
-
argv: [
|
|
80
|
-
{
|
|
81
|
-
ref: "UseFIPS",
|
|
82
|
-
},
|
|
83
|
-
true,
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
type: "tree",
|
|
88
|
-
rules: [
|
|
89
|
-
{
|
|
90
|
-
conditions: [
|
|
91
|
-
{
|
|
92
|
-
fn: "booleanEquals",
|
|
93
|
-
argv: [
|
|
94
|
-
{
|
|
95
|
-
fn: "getAttr",
|
|
96
|
-
argv: [
|
|
97
|
-
{
|
|
98
|
-
ref: "PartitionResult",
|
|
99
|
-
},
|
|
100
|
-
"supportsFIPS",
|
|
101
|
-
],
|
|
102
|
-
},
|
|
103
|
-
false,
|
|
104
|
-
],
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
error: "Partition does not support FIPS.",
|
|
108
|
-
type: "error",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
conditions: [],
|
|
112
|
-
endpoint: {
|
|
113
|
-
url: "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",
|
|
114
|
-
properties: {},
|
|
115
|
-
headers: {},
|
|
116
|
-
},
|
|
117
|
-
type: "endpoint",
|
|
118
|
-
},
|
|
119
|
-
],
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
conditions: [],
|
|
123
|
-
endpoint: {
|
|
124
|
-
url: "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",
|
|
125
|
-
properties: {},
|
|
126
|
-
headers: {},
|
|
127
|
-
},
|
|
128
|
-
type: "endpoint",
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
conditions: [
|
|
134
|
-
{
|
|
135
|
-
fn: "isSet",
|
|
136
|
-
argv: [
|
|
137
|
-
{
|
|
138
|
-
ref: "Region",
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
fn: "aws.partition",
|
|
144
|
-
argv: [
|
|
145
|
-
{
|
|
146
|
-
ref: "Region",
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
assign: "PartitionResult",
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
type: "tree",
|
|
153
|
-
rules: [
|
|
154
|
-
{
|
|
155
|
-
conditions: [
|
|
156
|
-
{
|
|
157
|
-
fn: "booleanEquals",
|
|
158
|
-
argv: [
|
|
159
|
-
{
|
|
160
|
-
ref: "UseFIPS",
|
|
161
|
-
},
|
|
162
|
-
true,
|
|
163
|
-
],
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
type: "tree",
|
|
167
|
-
rules: [
|
|
168
|
-
{
|
|
169
|
-
conditions: [
|
|
170
|
-
{
|
|
171
|
-
fn: "booleanEquals",
|
|
172
|
-
argv: [
|
|
173
|
-
{
|
|
174
|
-
fn: "getAttr",
|
|
175
|
-
argv: [
|
|
176
|
-
{
|
|
177
|
-
ref: "PartitionResult",
|
|
178
|
-
},
|
|
179
|
-
"supportsFIPS",
|
|
180
|
-
],
|
|
181
|
-
},
|
|
182
|
-
false,
|
|
183
|
-
],
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
error: "Partition does not support FIPS.",
|
|
187
|
-
type: "error",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
conditions: [],
|
|
191
|
-
endpoint: {
|
|
192
|
-
url: "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",
|
|
193
|
-
properties: {},
|
|
194
|
-
headers: {},
|
|
195
|
-
},
|
|
196
|
-
type: "endpoint",
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
conditions: [],
|
|
202
|
-
endpoint: {
|
|
203
|
-
url: "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",
|
|
204
|
-
properties: {},
|
|
205
|
-
headers: {},
|
|
206
|
-
},
|
|
207
|
-
type: "endpoint",
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
},
|
|
211
|
-
],
|
|
212
|
-
},
|
|
213
|
-
],
|
|
214
|
-
};
|
|
4
|
+
const n = "type", o = "conditions", p = "argv", q = "ref", r = "properties", s = "headers";
|
|
5
|
+
const a = true, b = false, c = "tree", d = "isSet", e = "endpoint", f = "aws.partition", g = "PartitionResult", h = { "required": false, [n]: "String" }, i = { [q]: "Endpoint" }, j = {}, k = { "fn": d, [p]: [{ [q]: "Region" }] }, l = [{ [q]: "Region" }], m = [{ [o]: [{ "fn": "booleanEquals", [p]: [{ [q]: "UseFIPS" }, true] }], [n]: c, "rules": [{ [o]: [{ "fn": "booleanEquals", [p]: [{ "fn": "getAttr", [p]: [{ [q]: g }, "supportsFIPS"] }, false] }], "error": "Partition does not support FIPS.", [n]: "error" }, { [e]: { "url": "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}", [r]: {}, [s]: {} }, [n]: e }] }, { [e]: { "url": "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}", [r]: {}, [s]: {} }, [n]: e }];
|
|
6
|
+
const _data = { version: "1.3", parameters: { UseFIPS: { required: a, default: b, [n]: "Boolean" }, Region: h, Endpoint: h }, rules: [{ [n]: c, rules: [{ [o]: [{ fn: d, [p]: [i] }], endpoint: { url: i, [r]: j, [s]: j }, [n]: e }, { [o]: [{ fn: "not", [p]: [k] }, { fn: f, [p]: ["us-west-2"], assign: g }], [n]: c, rules: m }, { [o]: [k, { fn: f, [p]: l, assign: g }], [n]: c, rules: m }] }] };
|
|
7
|
+
exports.ruleSet = _data;
|
|
@@ -1,211 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
builtIn: "AWS::UseFIPS",
|
|
6
|
-
required: true,
|
|
7
|
-
default: false,
|
|
8
|
-
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
9
|
-
type: "Boolean",
|
|
10
|
-
},
|
|
11
|
-
Region: {
|
|
12
|
-
builtIn: "AWS::Region",
|
|
13
|
-
required: false,
|
|
14
|
-
documentation: "The AWS region used to dispatch the request.",
|
|
15
|
-
type: "String",
|
|
16
|
-
},
|
|
17
|
-
Endpoint: {
|
|
18
|
-
builtIn: "SDK::Endpoint",
|
|
19
|
-
required: false,
|
|
20
|
-
documentation: "Override the endpoint used to send this request",
|
|
21
|
-
type: "String",
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
rules: [
|
|
25
|
-
{
|
|
26
|
-
conditions: [],
|
|
27
|
-
type: "tree",
|
|
28
|
-
rules: [
|
|
29
|
-
{
|
|
30
|
-
conditions: [
|
|
31
|
-
{
|
|
32
|
-
fn: "isSet",
|
|
33
|
-
argv: [
|
|
34
|
-
{
|
|
35
|
-
ref: "Endpoint",
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
endpoint: {
|
|
41
|
-
url: {
|
|
42
|
-
ref: "Endpoint",
|
|
43
|
-
},
|
|
44
|
-
properties: {},
|
|
45
|
-
headers: {},
|
|
46
|
-
},
|
|
47
|
-
type: "endpoint",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
conditions: [
|
|
51
|
-
{
|
|
52
|
-
fn: "not",
|
|
53
|
-
argv: [
|
|
54
|
-
{
|
|
55
|
-
fn: "isSet",
|
|
56
|
-
argv: [
|
|
57
|
-
{
|
|
58
|
-
ref: "Region",
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
fn: "aws.partition",
|
|
66
|
-
argv: ["us-west-2"],
|
|
67
|
-
assign: "PartitionResult",
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
type: "tree",
|
|
71
|
-
rules: [
|
|
72
|
-
{
|
|
73
|
-
conditions: [
|
|
74
|
-
{
|
|
75
|
-
fn: "booleanEquals",
|
|
76
|
-
argv: [
|
|
77
|
-
{
|
|
78
|
-
ref: "UseFIPS",
|
|
79
|
-
},
|
|
80
|
-
true,
|
|
81
|
-
],
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
type: "tree",
|
|
85
|
-
rules: [
|
|
86
|
-
{
|
|
87
|
-
conditions: [
|
|
88
|
-
{
|
|
89
|
-
fn: "booleanEquals",
|
|
90
|
-
argv: [
|
|
91
|
-
{
|
|
92
|
-
fn: "getAttr",
|
|
93
|
-
argv: [
|
|
94
|
-
{
|
|
95
|
-
ref: "PartitionResult",
|
|
96
|
-
},
|
|
97
|
-
"supportsFIPS",
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
false,
|
|
101
|
-
],
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
error: "Partition does not support FIPS.",
|
|
105
|
-
type: "error",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
conditions: [],
|
|
109
|
-
endpoint: {
|
|
110
|
-
url: "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",
|
|
111
|
-
properties: {},
|
|
112
|
-
headers: {},
|
|
113
|
-
},
|
|
114
|
-
type: "endpoint",
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
conditions: [],
|
|
120
|
-
endpoint: {
|
|
121
|
-
url: "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",
|
|
122
|
-
properties: {},
|
|
123
|
-
headers: {},
|
|
124
|
-
},
|
|
125
|
-
type: "endpoint",
|
|
126
|
-
},
|
|
127
|
-
],
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
conditions: [
|
|
131
|
-
{
|
|
132
|
-
fn: "isSet",
|
|
133
|
-
argv: [
|
|
134
|
-
{
|
|
135
|
-
ref: "Region",
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
fn: "aws.partition",
|
|
141
|
-
argv: [
|
|
142
|
-
{
|
|
143
|
-
ref: "Region",
|
|
144
|
-
},
|
|
145
|
-
],
|
|
146
|
-
assign: "PartitionResult",
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
type: "tree",
|
|
150
|
-
rules: [
|
|
151
|
-
{
|
|
152
|
-
conditions: [
|
|
153
|
-
{
|
|
154
|
-
fn: "booleanEquals",
|
|
155
|
-
argv: [
|
|
156
|
-
{
|
|
157
|
-
ref: "UseFIPS",
|
|
158
|
-
},
|
|
159
|
-
true,
|
|
160
|
-
],
|
|
161
|
-
},
|
|
162
|
-
],
|
|
163
|
-
type: "tree",
|
|
164
|
-
rules: [
|
|
165
|
-
{
|
|
166
|
-
conditions: [
|
|
167
|
-
{
|
|
168
|
-
fn: "booleanEquals",
|
|
169
|
-
argv: [
|
|
170
|
-
{
|
|
171
|
-
fn: "getAttr",
|
|
172
|
-
argv: [
|
|
173
|
-
{
|
|
174
|
-
ref: "PartitionResult",
|
|
175
|
-
},
|
|
176
|
-
"supportsFIPS",
|
|
177
|
-
],
|
|
178
|
-
},
|
|
179
|
-
false,
|
|
180
|
-
],
|
|
181
|
-
},
|
|
182
|
-
],
|
|
183
|
-
error: "Partition does not support FIPS.",
|
|
184
|
-
type: "error",
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
conditions: [],
|
|
188
|
-
endpoint: {
|
|
189
|
-
url: "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",
|
|
190
|
-
properties: {},
|
|
191
|
-
headers: {},
|
|
192
|
-
},
|
|
193
|
-
type: "endpoint",
|
|
194
|
-
},
|
|
195
|
-
],
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
conditions: [],
|
|
199
|
-
endpoint: {
|
|
200
|
-
url: "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",
|
|
201
|
-
properties: {},
|
|
202
|
-
headers: {},
|
|
203
|
-
},
|
|
204
|
-
type: "endpoint",
|
|
205
|
-
},
|
|
206
|
-
],
|
|
207
|
-
},
|
|
208
|
-
],
|
|
209
|
-
},
|
|
210
|
-
],
|
|
211
|
-
};
|
|
1
|
+
const n = "type", o = "conditions", p = "argv", q = "ref", r = "properties", s = "headers";
|
|
2
|
+
const a = true, b = false, c = "tree", d = "isSet", e = "endpoint", f = "aws.partition", g = "PartitionResult", h = { "required": false, [n]: "String" }, i = { [q]: "Endpoint" }, j = {}, k = { "fn": d, [p]: [{ [q]: "Region" }] }, l = [{ [q]: "Region" }], m = [{ [o]: [{ "fn": "booleanEquals", [p]: [{ [q]: "UseFIPS" }, true] }], [n]: c, "rules": [{ [o]: [{ "fn": "booleanEquals", [p]: [{ "fn": "getAttr", [p]: [{ [q]: g }, "supportsFIPS"] }, false] }], "error": "Partition does not support FIPS.", [n]: "error" }, { [e]: { "url": "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}", [r]: {}, [s]: {} }, [n]: e }] }, { [e]: { "url": "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}", [r]: {}, [s]: {} }, [n]: e }];
|
|
3
|
+
const _data = { version: "1.3", parameters: { UseFIPS: { required: a, default: b, [n]: "Boolean" }, Region: h, Endpoint: h }, rules: [{ [n]: c, rules: [{ [o]: [{ fn: d, [p]: [i] }], endpoint: { url: i, [r]: j, [s]: j }, [n]: e }, { [o]: [{ fn: "not", [p]: [k] }, { fn: f, [p]: ["us-west-2"], assign: g }], [n]: c, rules: m }, { [o]: [k, { fn: f, [p]: l, assign: g }], [n]: c, rules: m }] }] };
|
|
4
|
+
export const ruleSet = _data;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codecatalyst",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codecatalyst Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.236.0",
|
|
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",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.226.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.226.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.226.0",
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.235.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.226.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.226.0",
|
|
34
|
-
"@aws-sdk/middleware-token": "3.
|
|
34
|
+
"@aws-sdk/middleware-token": "3.236.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.226.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.226.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.226.0",
|