@intentius/chant-lexicon-aws 0.18.21 → 0.18.23
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/composites/agentcore-agent.d.ts +36 -2
- package/dist/composites/agentcore-agent.d.ts.map +1 -1
- package/dist/generated/index.d.ts +17 -0
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/integrity.json +4 -4
- package/dist/manifest.json +1 -1
- package/dist/meta.json +257 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/types/index.d.ts +222 -0
- package/package.json +2 -2
- package/src/composites/agentcore-agent.test.ts +57 -0
- package/src/composites/agentcore-agent.ts +76 -7
- package/src/generated/index.d.ts +222 -0
- package/src/generated/index.ts +17 -0
- package/src/generated/lexicon-aws.json +257 -0
- package/src/plugin.ts +6 -4
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
import { Role, Role_Policy, Runtime, RuntimeEndpoint, Memory, BedrockAgentCoreGateway, GatewayTarget, WorkloadIdentity } from "../generated/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Managed language runtimes AgentCore can run a code-config zip on. Inlined
|
|
4
|
+
* from the generated `Runtime_AgentManagedRuntimeType` CFN enum (which the
|
|
5
|
+
* generated barrel exports as a type declaration only), matching how
|
|
6
|
+
* `protocolConfiguration`/`gatewayAuthorizerType` inline their enums below.
|
|
7
|
+
*/
|
|
8
|
+
export type AgentManagedRuntime = "NODE_22" | "PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13" | "PYTHON_3_14";
|
|
9
|
+
/**
|
|
10
|
+
* Managed-runtime code artifact — the S3-zip alternative to `containerUri`.
|
|
11
|
+
* Mirrors CFN `Runtime.CodeConfiguration`: AgentCore runs a zipped agent on
|
|
12
|
+
* a managed language runtime, no container image to build or host. This is
|
|
13
|
+
* how a Strands agent actually ships (a Python zip in S3), which is why the
|
|
14
|
+
* composite offers it alongside the container path.
|
|
15
|
+
*/
|
|
16
|
+
export interface AgentCoreCodeArtifact {
|
|
17
|
+
/** S3 bucket holding the agent's zipped code. */
|
|
18
|
+
s3Bucket: string;
|
|
19
|
+
/** S3 key (or prefix) of the zip within `s3Bucket`. */
|
|
20
|
+
s3Prefix: string;
|
|
21
|
+
/** Optional S3 object version id, pinning a specific upload. */
|
|
22
|
+
s3VersionId?: string;
|
|
23
|
+
/** Managed runtime the zip runs on, e.g. `"PYTHON_3_12"`. Mirrors the generated CFN enum. */
|
|
24
|
+
runtime: AgentManagedRuntime;
|
|
25
|
+
/** Entry point, 1-2 items — e.g. `["app.py"]` or `["python", "app.py"]` (CFN bounds the list to 2). */
|
|
26
|
+
entryPoint: string[];
|
|
27
|
+
}
|
|
2
28
|
export interface AgentCoreAgentProps {
|
|
3
29
|
/**
|
|
4
30
|
* Base name for the agent's resources. `toRuntimeIdentifier(name)` derives
|
|
@@ -6,8 +32,16 @@ export interface AgentCoreAgentProps {
|
|
|
6
32
|
* WorkloadIdentity use `name` as-is (hyphens are valid there).
|
|
7
33
|
*/
|
|
8
34
|
name: string;
|
|
9
|
-
/**
|
|
10
|
-
|
|
35
|
+
/**
|
|
36
|
+
* ECR image URI the Runtime runs, e.g. `"123456789012.dkr.ecr.us-east-1.amazonaws.com/agent:latest"`.
|
|
37
|
+
* Supply exactly one of `containerUri` or `code`.
|
|
38
|
+
*/
|
|
39
|
+
containerUri?: string;
|
|
40
|
+
/**
|
|
41
|
+
* S3-zip code artifact run on a managed runtime — the alternative to
|
|
42
|
+
* `containerUri`. Supply exactly one of the two.
|
|
43
|
+
*/
|
|
44
|
+
code?: AgentCoreCodeArtifact;
|
|
11
45
|
/** Runtime network mode. Default: "PUBLIC". */
|
|
12
46
|
networkMode?: "PUBLIC" | "VPC";
|
|
13
47
|
/** Subnets for the Runtime's ENIs. Required when `networkMode` is "VPC". */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcore-agent.d.ts","sourceRoot":"","sources":["../../src/composites/agentcore-agent.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,EACJ,WAAW,EACX,OAAO,
|
|
1
|
+
{"version":3,"file":"agentcore-agent.d.ts","sourceRoot":"","sources":["../../src/composites/agentcore-agent.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,EACJ,WAAW,EACX,OAAO,EAOP,eAAe,EACf,MAAM,EACN,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAEtB;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,aAAa,GACb,aAAa,GACb,aAAa,GACb,aAAa,GACb,aAAa,CAAC;AAmBlB;;;;;;GAMG;AACH,MAAM,WAAW,qBAAqB;IACpC,iDAAiD;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,uDAAuD;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6FAA6F;IAC7F,OAAO,EAAE,mBAAmB,CAAC;IAC7B,uGAAuG;IACvG,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,+CAA+C;IAC/C,WAAW,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC/B,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,oFAAoF;IACpF,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,mHAAmH;IACnH,qBAAqB,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;IACxD,6DAA6D;IAC7D,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9C,8HAA8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H;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC;IAChC,WAAW,EAAE,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC;IACvC,OAAO,EAAE,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC;IACtC,QAAQ,EAAE,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;IAC/C,MAAM,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IACpC,gBAAgB,EAAE,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;IACxD,OAAO,EAAE,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAC;IACtD,aAAa,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;CACnD,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,cAAc,2FAqHP,CAAC"}
|
|
@@ -539,6 +539,7 @@ export declare const EvidentlySegment: new (props: Record<string, unknown>, attr
|
|
|
539
539
|
export declare const EVSEnvironment: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
540
540
|
export declare const ExecutionPlan: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
541
541
|
export declare const ExperimentTemplate: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
542
|
+
export declare const ExperimentTrialComponent: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
542
543
|
export declare const Export: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
543
544
|
export declare const ExpressGatewayService: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
544
545
|
export declare const Extension: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
@@ -908,6 +909,7 @@ export declare const ModelBiasJobDefinition: new (props: Record<string, unknown>
|
|
|
908
909
|
export declare const ModelCard: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
909
910
|
export declare const ModelCardExportJob: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
910
911
|
export declare const ModelExplainabilityJobDefinition: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
912
|
+
export declare const ModelInvocationJob: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
911
913
|
export declare const ModelManifest: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
912
914
|
export declare const ModelPackage: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
913
915
|
export declare const ModelPackageGroup: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
@@ -915,6 +917,7 @@ export declare const ModelQualityJobDefinition: new (props: Record<string, unkno
|
|
|
915
917
|
export declare const ModuleDefaultVersion: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
916
918
|
export declare const ModuleVersion: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
917
919
|
export declare const MonitoringSchedule: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
920
|
+
export declare const MonitoringScheduleAlert: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
918
921
|
export declare const MonitoringSubscription: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
919
922
|
export declare const MPAIdentitySource: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
920
923
|
export declare const MSKCluster: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("packages/core/src").Declarable & Record<string, string>;
|
|
@@ -7049,6 +7052,7 @@ export declare const ModelCardExportArtifacts: new (props: Record<string, unknow
|
|
|
7049
7052
|
export declare const ModelCardExportJob_ModelCardExportArtifacts: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7050
7053
|
export declare const ModelCardExportJob_ModelCardExportOutputConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7051
7054
|
export declare const ModelCardExportOutputConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7055
|
+
export declare const ModelDashboardIndicatorAction: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7052
7056
|
export declare const ModelDataQuality: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7053
7057
|
export declare const ModelEnforcement: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7054
7058
|
export declare const ModelExplainabilityAppSpecification: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
@@ -7073,6 +7077,16 @@ export declare const ModelExplainabilityJobInput: new (props: Record<string, unk
|
|
|
7073
7077
|
export declare const ModelInferencePaymentConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7074
7078
|
export declare const ModelInfrastructureConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7075
7079
|
export declare const ModelInput: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7080
|
+
export declare const ModelInvocationJob_ModelInvocationJobInputDataConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7081
|
+
export declare const ModelInvocationJob_ModelInvocationJobOutputDataConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7082
|
+
export declare const ModelInvocationJob_ModelInvocationJobS3InputDataConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7083
|
+
export declare const ModelInvocationJob_ModelInvocationJobS3OutputDataConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7084
|
+
export declare const ModelInvocationJob_Tag: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7085
|
+
export declare const ModelInvocationJob_VpcConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7086
|
+
export declare const ModelInvocationJobInputDataConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7087
|
+
export declare const ModelInvocationJobOutputDataConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7088
|
+
export declare const ModelInvocationJobS3InputDataConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7089
|
+
export declare const ModelInvocationJobS3OutputDataConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7076
7090
|
export declare const ModelManifest_Tag: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7077
7091
|
export declare const ModelMetrics: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7078
7092
|
export declare const ModelOverview: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
@@ -7140,6 +7154,7 @@ export declare const Monitor: new (props: Record<string, unknown>) => Record<str
|
|
|
7140
7154
|
export declare const MonitorDeployment: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7141
7155
|
export declare const MonitoredRequestCountMetric: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7142
7156
|
export declare const Monitoring: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7157
|
+
export declare const MonitoringAlertActions: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7143
7158
|
export declare const MonitoringAppSpecification: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7144
7159
|
export declare const MonitoringExecutionSummary: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7145
7160
|
export declare const MonitoringJobDefinition: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
@@ -7154,6 +7169,8 @@ export declare const MonitoringSchedule_NetworkConfig: new (props: Record<string
|
|
|
7154
7169
|
export declare const MonitoringSchedule_ScheduleConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7155
7170
|
export declare const MonitoringSchedule_StoppingCondition: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7156
7171
|
export declare const MonitoringSchedule_Tag: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7172
|
+
export declare const MonitoringScheduleAlert_ModelDashboardIndicatorAction: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7173
|
+
export declare const MonitoringScheduleAlert_MonitoringAlertActions: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7157
7174
|
export declare const MonitoringScheduleConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7158
7175
|
export declare const MonitoringSubscription_MonitoringSubscription: new (props: Record<string, unknown>) => Record<string, unknown>;
|
|
7159
7176
|
export declare const MonitoringSubscription_RealtimeMetricsSubscriptionConfig: new (props: Record<string, unknown>) => Record<string, unknown>;
|