@aws-sdk/client-bedrock-agentcore-control 3.1000.0 → 3.1002.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 +7 -6
- package/dist-cjs/schemas/schemas_0.js +50 -28
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +44 -23
- package/dist-es/waiters/waitForPolicyActive.js +2 -2
- package/dist-es/waiters/waitForPolicyEngineActive.js +2 -2
- package/dist-es/waiters/waitForPolicyGenerationCompleted.js +2 -2
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +1 -1
- package/dist-types/commands/CreatePolicyCommand.d.ts +8 -0
- package/dist-types/commands/CreatePolicyEngineCommand.d.ts +5 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeletePolicyEngineCommand.d.ts +1 -0
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +4 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +4 -0
- package/dist-types/commands/GetPolicyEngineCommand.d.ts +1 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +4 -0
- package/dist-types/commands/ListPolicyEnginesCommand.d.ts +1 -0
- package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +4 -0
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +4 -1
- package/dist-types/commands/UpdatePolicyCommand.d.ts +11 -1
- package/dist-types/commands/UpdatePolicyEngineCommand.d.ts +4 -1
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +97 -93
- package/dist-types/models/models_1.d.ts +94 -3
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +29 -22
- package/dist-types/ts3.4/models/models_1.d.ts +24 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +13 -13
|
@@ -309,6 +309,9 @@ export interface GetAgentRuntimeRequest {
|
|
|
309
309
|
agentRuntimeId: string | undefined;
|
|
310
310
|
agentRuntimeVersion?: string | undefined;
|
|
311
311
|
}
|
|
312
|
+
export interface RuntimeMetadataConfiguration {
|
|
313
|
+
requireMMDSV2: boolean | undefined;
|
|
314
|
+
}
|
|
312
315
|
export interface GetAgentRuntimeResponse {
|
|
313
316
|
agentRuntimeArn: string | undefined;
|
|
314
317
|
agentRuntimeName: string | undefined;
|
|
@@ -328,6 +331,7 @@ export interface GetAgentRuntimeResponse {
|
|
|
328
331
|
environmentVariables?: Record<string, string> | undefined;
|
|
329
332
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
330
333
|
requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
|
|
334
|
+
metadataConfiguration?: RuntimeMetadataConfiguration | undefined;
|
|
331
335
|
}
|
|
332
336
|
export interface ListAgentRuntimesRequest {
|
|
333
337
|
maxResults?: number | undefined;
|
|
@@ -365,6 +369,7 @@ export interface UpdateAgentRuntimeRequest {
|
|
|
365
369
|
requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
|
|
366
370
|
protocolConfiguration?: ProtocolConfiguration | undefined;
|
|
367
371
|
lifecycleConfiguration?: LifecycleConfiguration | undefined;
|
|
372
|
+
metadataConfiguration?: RuntimeMetadataConfiguration | undefined;
|
|
368
373
|
environmentVariables?: Record<string, string> | undefined;
|
|
369
374
|
clientToken?: string | undefined;
|
|
370
375
|
}
|
|
@@ -2617,6 +2622,8 @@ export interface CreatePolicyEngineRequest {
|
|
|
2617
2622
|
name: string | undefined;
|
|
2618
2623
|
description?: string | undefined;
|
|
2619
2624
|
clientToken?: string | undefined;
|
|
2625
|
+
encryptionKeyArn?: string | undefined;
|
|
2626
|
+
tags?: Record<string, string> | undefined;
|
|
2620
2627
|
}
|
|
2621
2628
|
export interface CreatePolicyEngineResponse {
|
|
2622
2629
|
policyEngineId: string | undefined;
|
|
@@ -2627,6 +2634,7 @@ export interface CreatePolicyEngineResponse {
|
|
|
2627
2634
|
policyEngineArn: string | undefined;
|
|
2628
2635
|
status: PolicyEngineStatus | undefined;
|
|
2629
2636
|
statusReasons: string[] | undefined;
|
|
2637
|
+
encryptionKeyArn?: string | undefined;
|
|
2630
2638
|
}
|
|
2631
2639
|
export interface DeletePolicyEngineRequest {
|
|
2632
2640
|
policyEngineId: string | undefined;
|
|
@@ -2640,6 +2648,7 @@ export interface DeletePolicyEngineResponse {
|
|
|
2640
2648
|
policyEngineArn: string | undefined;
|
|
2641
2649
|
status: PolicyEngineStatus | undefined;
|
|
2642
2650
|
statusReasons: string[] | undefined;
|
|
2651
|
+
encryptionKeyArn?: string | undefined;
|
|
2643
2652
|
}
|
|
2644
2653
|
export interface GetPolicyEngineRequest {
|
|
2645
2654
|
policyEngineId: string | undefined;
|
|
@@ -2653,6 +2662,7 @@ export interface GetPolicyEngineResponse {
|
|
|
2653
2662
|
policyEngineArn: string | undefined;
|
|
2654
2663
|
status: PolicyEngineStatus | undefined;
|
|
2655
2664
|
statusReasons: string[] | undefined;
|
|
2665
|
+
encryptionKeyArn?: string | undefined;
|
|
2656
2666
|
}
|
|
2657
2667
|
export interface ListPolicyEnginesRequest {
|
|
2658
2668
|
nextToken?: string | undefined;
|
|
@@ -2667,14 +2677,18 @@ export interface PolicyEngine {
|
|
|
2667
2677
|
policyEngineArn: string | undefined;
|
|
2668
2678
|
status: PolicyEngineStatus | undefined;
|
|
2669
2679
|
statusReasons: string[] | undefined;
|
|
2680
|
+
encryptionKeyArn?: string | undefined;
|
|
2670
2681
|
}
|
|
2671
2682
|
export interface ListPolicyEnginesResponse {
|
|
2672
2683
|
policyEngines: PolicyEngine[] | undefined;
|
|
2673
2684
|
nextToken?: string | undefined;
|
|
2674
2685
|
}
|
|
2686
|
+
export interface UpdatedDescription {
|
|
2687
|
+
optionalValue?: string | undefined;
|
|
2688
|
+
}
|
|
2675
2689
|
export interface UpdatePolicyEngineRequest {
|
|
2676
2690
|
policyEngineId: string | undefined;
|
|
2677
|
-
description?:
|
|
2691
|
+
description?: UpdatedDescription | undefined;
|
|
2678
2692
|
}
|
|
2679
2693
|
export interface UpdatePolicyEngineResponse {
|
|
2680
2694
|
policyEngineId: string | undefined;
|
|
@@ -2685,6 +2699,7 @@ export interface UpdatePolicyEngineResponse {
|
|
|
2685
2699
|
policyEngineArn: string | undefined;
|
|
2686
2700
|
status: PolicyEngineStatus | undefined;
|
|
2687
2701
|
statusReasons: string[] | undefined;
|
|
2702
|
+
encryptionKeyArn?: string | undefined;
|
|
2688
2703
|
}
|
|
2689
2704
|
export interface GetPolicyGenerationRequest {
|
|
2690
2705
|
policyGenerationId: string | undefined;
|
|
@@ -2726,20 +2741,33 @@ export interface ListPolicyGenerationAssetsRequest {
|
|
|
2726
2741
|
export interface CedarPolicy {
|
|
2727
2742
|
statement: string | undefined;
|
|
2728
2743
|
}
|
|
2744
|
+
export interface PolicyGenerationDetails {
|
|
2745
|
+
policyGenerationId: string | undefined;
|
|
2746
|
+
policyGenerationAssetId: string | undefined;
|
|
2747
|
+
}
|
|
2729
2748
|
export type PolicyDefinition =
|
|
2730
2749
|
| PolicyDefinition.CedarMember
|
|
2750
|
+
| PolicyDefinition.PolicyGenerationMember
|
|
2731
2751
|
| PolicyDefinition.$UnknownMember;
|
|
2732
2752
|
export declare namespace PolicyDefinition {
|
|
2733
2753
|
interface CedarMember {
|
|
2734
2754
|
cedar: CedarPolicy;
|
|
2755
|
+
policyGeneration?: never;
|
|
2756
|
+
$unknown?: never;
|
|
2757
|
+
}
|
|
2758
|
+
interface PolicyGenerationMember {
|
|
2759
|
+
cedar?: never;
|
|
2760
|
+
policyGeneration: PolicyGenerationDetails;
|
|
2735
2761
|
$unknown?: never;
|
|
2736
2762
|
}
|
|
2737
2763
|
interface $UnknownMember {
|
|
2738
2764
|
cedar?: never;
|
|
2765
|
+
policyGeneration?: never;
|
|
2739
2766
|
$unknown: [string, any];
|
|
2740
2767
|
}
|
|
2741
2768
|
interface Visitor<T> {
|
|
2742
2769
|
cedar: (value: CedarPolicy) => T;
|
|
2770
|
+
policyGeneration: (value: PolicyGenerationDetails) => T;
|
|
2743
2771
|
_: (name: string, value: any) => T;
|
|
2744
2772
|
}
|
|
2745
2773
|
}
|
|
@@ -2757,24 +2785,3 @@ export interface ListPolicyGenerationAssetsResponse {
|
|
|
2757
2785
|
policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
|
|
2758
2786
|
nextToken?: string | undefined;
|
|
2759
2787
|
}
|
|
2760
|
-
export interface ListPolicyGenerationsRequest {
|
|
2761
|
-
nextToken?: string | undefined;
|
|
2762
|
-
maxResults?: number | undefined;
|
|
2763
|
-
policyEngineId: string | undefined;
|
|
2764
|
-
}
|
|
2765
|
-
export interface PolicyGeneration {
|
|
2766
|
-
policyEngineId: string | undefined;
|
|
2767
|
-
policyGenerationId: string | undefined;
|
|
2768
|
-
name: string | undefined;
|
|
2769
|
-
policyGenerationArn: string | undefined;
|
|
2770
|
-
resource: Resource | undefined;
|
|
2771
|
-
createdAt: Date | undefined;
|
|
2772
|
-
updatedAt: Date | undefined;
|
|
2773
|
-
status: PolicyGenerationStatus | undefined;
|
|
2774
|
-
statusReasons: string[] | undefined;
|
|
2775
|
-
findings?: string | undefined;
|
|
2776
|
-
}
|
|
2777
|
-
export interface ListPolicyGenerationsResponse {
|
|
2778
|
-
policyGenerations: PolicyGeneration[] | undefined;
|
|
2779
|
-
nextToken?: string | undefined;
|
|
2780
|
-
}
|
|
@@ -10,12 +10,34 @@ import {
|
|
|
10
10
|
MetadataConfiguration,
|
|
11
11
|
PolicyDefinition,
|
|
12
12
|
Resource,
|
|
13
|
+
UpdatedDescription,
|
|
13
14
|
ApiGatewayTargetConfiguration,
|
|
14
15
|
ApiSchemaConfiguration,
|
|
15
16
|
CredentialProviderConfiguration,
|
|
16
17
|
McpServerTargetConfiguration,
|
|
17
18
|
S3Configuration,
|
|
18
19
|
} from "./models_0";
|
|
20
|
+
export interface ListPolicyGenerationsRequest {
|
|
21
|
+
nextToken?: string | undefined;
|
|
22
|
+
maxResults?: number | undefined;
|
|
23
|
+
policyEngineId: string | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface PolicyGeneration {
|
|
26
|
+
policyEngineId: string | undefined;
|
|
27
|
+
policyGenerationId: string | undefined;
|
|
28
|
+
name: string | undefined;
|
|
29
|
+
policyGenerationArn: string | undefined;
|
|
30
|
+
resource: Resource | undefined;
|
|
31
|
+
createdAt: Date | undefined;
|
|
32
|
+
updatedAt: Date | undefined;
|
|
33
|
+
status: PolicyGenerationStatus | undefined;
|
|
34
|
+
statusReasons: string[] | undefined;
|
|
35
|
+
findings?: string | undefined;
|
|
36
|
+
}
|
|
37
|
+
export interface ListPolicyGenerationsResponse {
|
|
38
|
+
policyGenerations: PolicyGeneration[] | undefined;
|
|
39
|
+
nextToken?: string | undefined;
|
|
40
|
+
}
|
|
19
41
|
export type Content = Content.RawTextMember | Content.$UnknownMember;
|
|
20
42
|
export declare namespace Content {
|
|
21
43
|
interface RawTextMember {
|
|
@@ -127,8 +149,8 @@ export interface ListPoliciesResponse {
|
|
|
127
149
|
export interface UpdatePolicyRequest {
|
|
128
150
|
policyEngineId: string | undefined;
|
|
129
151
|
policyId: string | undefined;
|
|
130
|
-
description?:
|
|
131
|
-
definition
|
|
152
|
+
description?: UpdatedDescription | undefined;
|
|
153
|
+
definition?: PolicyDefinition | undefined;
|
|
132
154
|
validationMode?: PolicyValidationMode | undefined;
|
|
133
155
|
}
|
|
134
156
|
export interface UpdatePolicyResponse {
|
|
@@ -249,11 +249,13 @@ export declare var Policy$: StaticStructureSchema;
|
|
|
249
249
|
export declare var PolicyEngine$: StaticStructureSchema;
|
|
250
250
|
export declare var PolicyGeneration$: StaticStructureSchema;
|
|
251
251
|
export declare var PolicyGenerationAsset$: StaticStructureSchema;
|
|
252
|
+
export declare var PolicyGenerationDetails$: StaticStructureSchema;
|
|
252
253
|
export declare var ProtocolConfiguration$: StaticStructureSchema;
|
|
253
254
|
export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
254
255
|
export declare var PutResourcePolicyResponse$: StaticStructureSchema;
|
|
255
256
|
export declare var RecordingConfig$: StaticStructureSchema;
|
|
256
257
|
export declare var Rule$: StaticStructureSchema;
|
|
258
|
+
export declare var RuntimeMetadataConfiguration$: StaticStructureSchema;
|
|
257
259
|
export declare var S3Configuration$: StaticStructureSchema;
|
|
258
260
|
export declare var S3Location$: StaticStructureSchema;
|
|
259
261
|
export declare var SalesforceOauth2ProviderConfigInput$: StaticStructureSchema;
|
|
@@ -299,6 +301,7 @@ export declare var UpdateAgentRuntimeRequest$: StaticStructureSchema;
|
|
|
299
301
|
export declare var UpdateAgentRuntimeResponse$: StaticStructureSchema;
|
|
300
302
|
export declare var UpdateApiKeyCredentialProviderRequest$: StaticStructureSchema;
|
|
301
303
|
export declare var UpdateApiKeyCredentialProviderResponse$: StaticStructureSchema;
|
|
304
|
+
export declare var UpdatedDescription$: StaticStructureSchema;
|
|
302
305
|
export declare var UpdateEvaluatorRequest$: StaticStructureSchema;
|
|
303
306
|
export declare var UpdateEvaluatorResponse$: StaticStructureSchema;
|
|
304
307
|
export declare var UpdateGatewayRequest$: StaticStructureSchema;
|
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.1002.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,38 +21,38 @@
|
|
|
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.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.17",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.16",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.6",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.6",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.6",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.17",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.6",
|
|
31
31
|
"@aws-sdk/types": "^3.973.4",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.3",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.6",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.9",
|
|
36
|
-
"@smithy/core": "^3.23.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
36
|
+
"@smithy/core": "^3.23.7",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.12",
|
|
38
38
|
"@smithy/hash-node": "^4.2.10",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.10",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.10",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.21",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.38",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.11",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.10",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.10",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.13",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.10",
|
|
48
|
-
"@smithy/smithy-client": "^4.12.
|
|
48
|
+
"@smithy/smithy-client": "^4.12.1",
|
|
49
49
|
"@smithy/types": "^4.13.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.10",
|
|
51
51
|
"@smithy/util-base64": "^4.3.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.2",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.37",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.40",
|
|
56
56
|
"@smithy/util-endpoints": "^3.3.1",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.10",
|
|
58
58
|
"@smithy/util-retry": "^4.2.10",
|