@aws-sdk/client-bedrock-agentcore-control 3.958.0 → 3.964.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 +25 -25
- package/dist-es/waiters/waitForMemoryCreated.js +4 -4
- package/dist-es/waiters/waitForPolicyActive.js +5 -5
- package/dist-es/waiters/waitForPolicyDeleted.js +3 -3
- package/dist-es/waiters/waitForPolicyEngineActive.js +5 -5
- package/dist-es/waiters/waitForPolicyEngineDeleted.js +3 -3
- package/dist-es/waiters/waitForPolicyGenerationCompleted.js +5 -5
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -4370,10 +4370,10 @@ const paginateListWorkloadIdentities = core.createPaginator(BedrockAgentCoreCont
|
|
|
4370
4370
|
const checkState$5 = async (client, input) => {
|
|
4371
4371
|
let reason;
|
|
4372
4372
|
try {
|
|
4373
|
-
|
|
4373
|
+
let result = await client.send(new GetMemoryCommand(input));
|
|
4374
4374
|
reason = result;
|
|
4375
4375
|
try {
|
|
4376
|
-
|
|
4376
|
+
const returnComparator = () => {
|
|
4377
4377
|
return result.memory.status;
|
|
4378
4378
|
};
|
|
4379
4379
|
if (returnComparator() === "CREATING") {
|
|
@@ -4382,7 +4382,7 @@ const checkState$5 = async (client, input) => {
|
|
|
4382
4382
|
}
|
|
4383
4383
|
catch (e) { }
|
|
4384
4384
|
try {
|
|
4385
|
-
|
|
4385
|
+
const returnComparator = () => {
|
|
4386
4386
|
return result.memory.status;
|
|
4387
4387
|
};
|
|
4388
4388
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -4391,7 +4391,7 @@ const checkState$5 = async (client, input) => {
|
|
|
4391
4391
|
}
|
|
4392
4392
|
catch (e) { }
|
|
4393
4393
|
try {
|
|
4394
|
-
|
|
4394
|
+
const returnComparator = () => {
|
|
4395
4395
|
return result.memory.status;
|
|
4396
4396
|
};
|
|
4397
4397
|
if (returnComparator() === "FAILED") {
|
|
@@ -4418,10 +4418,10 @@ const waitUntilMemoryCreated = async (params, input) => {
|
|
|
4418
4418
|
const checkState$4 = async (client, input) => {
|
|
4419
4419
|
let reason;
|
|
4420
4420
|
try {
|
|
4421
|
-
|
|
4421
|
+
let result = await client.send(new GetPolicyCommand(input));
|
|
4422
4422
|
reason = result;
|
|
4423
4423
|
try {
|
|
4424
|
-
|
|
4424
|
+
const returnComparator = () => {
|
|
4425
4425
|
return result.status;
|
|
4426
4426
|
};
|
|
4427
4427
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -4430,7 +4430,7 @@ const checkState$4 = async (client, input) => {
|
|
|
4430
4430
|
}
|
|
4431
4431
|
catch (e) { }
|
|
4432
4432
|
try {
|
|
4433
|
-
|
|
4433
|
+
const returnComparator = () => {
|
|
4434
4434
|
return result.status;
|
|
4435
4435
|
};
|
|
4436
4436
|
if (returnComparator() === "CREATE_FAILED") {
|
|
@@ -4439,7 +4439,7 @@ const checkState$4 = async (client, input) => {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
catch (e) { }
|
|
4441
4441
|
try {
|
|
4442
|
-
|
|
4442
|
+
const returnComparator = () => {
|
|
4443
4443
|
return result.status;
|
|
4444
4444
|
};
|
|
4445
4445
|
if (returnComparator() === "UPDATE_FAILED") {
|
|
@@ -4448,7 +4448,7 @@ const checkState$4 = async (client, input) => {
|
|
|
4448
4448
|
}
|
|
4449
4449
|
catch (e) { }
|
|
4450
4450
|
try {
|
|
4451
|
-
|
|
4451
|
+
const returnComparator = () => {
|
|
4452
4452
|
return result.status;
|
|
4453
4453
|
};
|
|
4454
4454
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -4475,10 +4475,10 @@ const waitUntilPolicyActive = async (params, input) => {
|
|
|
4475
4475
|
const checkState$3 = async (client, input) => {
|
|
4476
4476
|
let reason;
|
|
4477
4477
|
try {
|
|
4478
|
-
|
|
4478
|
+
let result = await client.send(new GetPolicyCommand(input));
|
|
4479
4479
|
reason = result;
|
|
4480
4480
|
try {
|
|
4481
|
-
|
|
4481
|
+
const returnComparator = () => {
|
|
4482
4482
|
return result.status;
|
|
4483
4483
|
};
|
|
4484
4484
|
if (returnComparator() === "DELETING") {
|
|
@@ -4487,7 +4487,7 @@ const checkState$3 = async (client, input) => {
|
|
|
4487
4487
|
}
|
|
4488
4488
|
catch (e) { }
|
|
4489
4489
|
try {
|
|
4490
|
-
|
|
4490
|
+
const returnComparator = () => {
|
|
4491
4491
|
return result.status;
|
|
4492
4492
|
};
|
|
4493
4493
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -4517,10 +4517,10 @@ const waitUntilPolicyDeleted = async (params, input) => {
|
|
|
4517
4517
|
const checkState$2 = async (client, input) => {
|
|
4518
4518
|
let reason;
|
|
4519
4519
|
try {
|
|
4520
|
-
|
|
4520
|
+
let result = await client.send(new GetPolicyEngineCommand(input));
|
|
4521
4521
|
reason = result;
|
|
4522
4522
|
try {
|
|
4523
|
-
|
|
4523
|
+
const returnComparator = () => {
|
|
4524
4524
|
return result.status;
|
|
4525
4525
|
};
|
|
4526
4526
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -4529,7 +4529,7 @@ const checkState$2 = async (client, input) => {
|
|
|
4529
4529
|
}
|
|
4530
4530
|
catch (e) { }
|
|
4531
4531
|
try {
|
|
4532
|
-
|
|
4532
|
+
const returnComparator = () => {
|
|
4533
4533
|
return result.status;
|
|
4534
4534
|
};
|
|
4535
4535
|
if (returnComparator() === "CREATE_FAILED") {
|
|
@@ -4538,7 +4538,7 @@ const checkState$2 = async (client, input) => {
|
|
|
4538
4538
|
}
|
|
4539
4539
|
catch (e) { }
|
|
4540
4540
|
try {
|
|
4541
|
-
|
|
4541
|
+
const returnComparator = () => {
|
|
4542
4542
|
return result.status;
|
|
4543
4543
|
};
|
|
4544
4544
|
if (returnComparator() === "UPDATE_FAILED") {
|
|
@@ -4547,7 +4547,7 @@ const checkState$2 = async (client, input) => {
|
|
|
4547
4547
|
}
|
|
4548
4548
|
catch (e) { }
|
|
4549
4549
|
try {
|
|
4550
|
-
|
|
4550
|
+
const returnComparator = () => {
|
|
4551
4551
|
return result.status;
|
|
4552
4552
|
};
|
|
4553
4553
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -4574,10 +4574,10 @@ const waitUntilPolicyEngineActive = async (params, input) => {
|
|
|
4574
4574
|
const checkState$1 = async (client, input) => {
|
|
4575
4575
|
let reason;
|
|
4576
4576
|
try {
|
|
4577
|
-
|
|
4577
|
+
let result = await client.send(new GetPolicyEngineCommand(input));
|
|
4578
4578
|
reason = result;
|
|
4579
4579
|
try {
|
|
4580
|
-
|
|
4580
|
+
const returnComparator = () => {
|
|
4581
4581
|
return result.status;
|
|
4582
4582
|
};
|
|
4583
4583
|
if (returnComparator() === "DELETING") {
|
|
@@ -4586,7 +4586,7 @@ const checkState$1 = async (client, input) => {
|
|
|
4586
4586
|
}
|
|
4587
4587
|
catch (e) { }
|
|
4588
4588
|
try {
|
|
4589
|
-
|
|
4589
|
+
const returnComparator = () => {
|
|
4590
4590
|
return result.status;
|
|
4591
4591
|
};
|
|
4592
4592
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -4616,10 +4616,10 @@ const waitUntilPolicyEngineDeleted = async (params, input) => {
|
|
|
4616
4616
|
const checkState = async (client, input) => {
|
|
4617
4617
|
let reason;
|
|
4618
4618
|
try {
|
|
4619
|
-
|
|
4619
|
+
let result = await client.send(new GetPolicyGenerationCommand(input));
|
|
4620
4620
|
reason = result;
|
|
4621
4621
|
try {
|
|
4622
|
-
|
|
4622
|
+
const returnComparator = () => {
|
|
4623
4623
|
return result.status;
|
|
4624
4624
|
};
|
|
4625
4625
|
if (returnComparator() === "GENERATED") {
|
|
@@ -4628,7 +4628,7 @@ const checkState = async (client, input) => {
|
|
|
4628
4628
|
}
|
|
4629
4629
|
catch (e) { }
|
|
4630
4630
|
try {
|
|
4631
|
-
|
|
4631
|
+
const returnComparator = () => {
|
|
4632
4632
|
return result.status;
|
|
4633
4633
|
};
|
|
4634
4634
|
if (returnComparator() === "GENERATING") {
|
|
@@ -4637,7 +4637,7 @@ const checkState = async (client, input) => {
|
|
|
4637
4637
|
}
|
|
4638
4638
|
catch (e) { }
|
|
4639
4639
|
try {
|
|
4640
|
-
|
|
4640
|
+
const returnComparator = () => {
|
|
4641
4641
|
return result.status;
|
|
4642
4642
|
};
|
|
4643
4643
|
if (returnComparator() === "GENERATE_FAILED") {
|
|
@@ -4646,7 +4646,7 @@ const checkState = async (client, input) => {
|
|
|
4646
4646
|
}
|
|
4647
4647
|
catch (e) { }
|
|
4648
4648
|
try {
|
|
4649
|
-
|
|
4649
|
+
const returnComparator = () => {
|
|
4650
4650
|
return result.status;
|
|
4651
4651
|
};
|
|
4652
4652
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { GetMemoryCommand } from "../commands/GetMemoryCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetMemoryCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.memory.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "CREATING") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.memory.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.memory.status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "FAILED") {
|
|
@@ -3,10 +3,10 @@ import { GetPolicyCommand } from "../commands/GetPolicyCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetPolicyCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "CREATE_FAILED") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "UPDATE_FAILED") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
const returnComparator = () => {
|
|
37
37
|
return result.status;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { GetPolicyCommand } from "../commands/GetPolicyCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetPolicyCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DELETING") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { GetPolicyEngineCommand } from "../commands/GetPolicyEngineCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetPolicyEngineCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "CREATE_FAILED") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "UPDATE_FAILED") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
const returnComparator = () => {
|
|
37
37
|
return result.status;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { GetPolicyEngineCommand } from "../commands/GetPolicyEngineCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetPolicyEngineCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DELETING") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { GetPolicyGenerationCommand } from "../commands/GetPolicyGenerationComma
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetPolicyGenerationCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "GENERATED") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "GENERATING") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "GENERATE_FAILED") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
const returnComparator = () => {
|
|
37
37
|
return result.status;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "DELETE_FAILED") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.964.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore-control",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.964.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.964.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.964.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
31
31
|
"@aws-sdk/types": "3.957.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.957.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.964.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.5",
|
|
36
36
|
"@smithy/core": "^3.20.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.8",
|