@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
|
@@ -2849,6 +2849,9 @@
|
|
|
2849
2849
|
},
|
|
2850
2850
|
"AlgorithmDescription": {
|
|
2851
2851
|
"maxLength": 1024
|
|
2852
|
+
},
|
|
2853
|
+
"CreationTime": {
|
|
2854
|
+
"format": "date-time"
|
|
2852
2855
|
}
|
|
2853
2856
|
},
|
|
2854
2857
|
"createOnly": [
|
|
@@ -37829,6 +37832,61 @@
|
|
|
37829
37832
|
"kind": "property",
|
|
37830
37833
|
"lexicon": "aws"
|
|
37831
37834
|
},
|
|
37835
|
+
"ExperimentTrialComponent": {
|
|
37836
|
+
"resourceType": "AWS::SageMaker::ExperimentTrialComponent",
|
|
37837
|
+
"kind": "resource",
|
|
37838
|
+
"lexicon": "aws",
|
|
37839
|
+
"attrs": {
|
|
37840
|
+
"Arn": "Arn",
|
|
37841
|
+
"CreationTime": "CreationTime",
|
|
37842
|
+
"LastModifiedTime": "LastModifiedTime",
|
|
37843
|
+
"LineageGroupArn": "LineageGroupArn"
|
|
37844
|
+
},
|
|
37845
|
+
"propertyConstraints": {
|
|
37846
|
+
"TrialComponentName": {
|
|
37847
|
+
"pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}$",
|
|
37848
|
+
"minLength": 1,
|
|
37849
|
+
"maxLength": 120
|
|
37850
|
+
},
|
|
37851
|
+
"Arn": {
|
|
37852
|
+
"pattern": "^arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:experiment-trial-component/",
|
|
37853
|
+
"maxLength": 256
|
|
37854
|
+
},
|
|
37855
|
+
"DisplayName": {
|
|
37856
|
+
"pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}$",
|
|
37857
|
+
"minLength": 1,
|
|
37858
|
+
"maxLength": 120
|
|
37859
|
+
},
|
|
37860
|
+
"StartTime": {
|
|
37861
|
+
"format": "date-time"
|
|
37862
|
+
},
|
|
37863
|
+
"EndTime": {
|
|
37864
|
+
"format": "date-time"
|
|
37865
|
+
},
|
|
37866
|
+
"CreationTime": {
|
|
37867
|
+
"format": "date-time"
|
|
37868
|
+
},
|
|
37869
|
+
"LastModifiedTime": {
|
|
37870
|
+
"format": "date-time"
|
|
37871
|
+
},
|
|
37872
|
+
"LineageGroupArn": {
|
|
37873
|
+
"pattern": "^arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:lineage-group/",
|
|
37874
|
+
"maxLength": 256
|
|
37875
|
+
}
|
|
37876
|
+
},
|
|
37877
|
+
"createOnly": [
|
|
37878
|
+
"TrialComponentName",
|
|
37879
|
+
"MetadataProperties"
|
|
37880
|
+
],
|
|
37881
|
+
"primaryIdentifier": [
|
|
37882
|
+
"Arn"
|
|
37883
|
+
],
|
|
37884
|
+
"tagging": {
|
|
37885
|
+
"taggable": true,
|
|
37886
|
+
"tagOnCreate": true,
|
|
37887
|
+
"tagUpdatable": true
|
|
37888
|
+
}
|
|
37889
|
+
},
|
|
37832
37890
|
"ExpirationDataRule": {
|
|
37833
37891
|
"resourceType": "AWS::S3Files::FileSystem.ExpirationDataRule",
|
|
37834
37892
|
"kind": "property",
|
|
@@ -62371,6 +62429,11 @@
|
|
|
62371
62429
|
"kind": "property",
|
|
62372
62430
|
"lexicon": "aws"
|
|
62373
62431
|
},
|
|
62432
|
+
"ModelDashboardIndicatorAction": {
|
|
62433
|
+
"resourceType": "AWS::SageMaker::MonitoringScheduleAlert.ModelDashboardIndicatorAction",
|
|
62434
|
+
"kind": "property",
|
|
62435
|
+
"lexicon": "aws"
|
|
62436
|
+
},
|
|
62374
62437
|
"ModelDataQuality": {
|
|
62375
62438
|
"resourceType": "AWS::SageMaker::ModelPackage.ModelDataQuality",
|
|
62376
62439
|
"kind": "property",
|
|
@@ -62536,6 +62599,117 @@
|
|
|
62536
62599
|
"kind": "property",
|
|
62537
62600
|
"lexicon": "aws"
|
|
62538
62601
|
},
|
|
62602
|
+
"ModelInvocationJob": {
|
|
62603
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob",
|
|
62604
|
+
"kind": "resource",
|
|
62605
|
+
"lexicon": "aws",
|
|
62606
|
+
"attrs": {
|
|
62607
|
+
"JobArn": "JobArn",
|
|
62608
|
+
"JobName": "JobName",
|
|
62609
|
+
"ModelId": "ModelId",
|
|
62610
|
+
"RoleArn": "RoleArn",
|
|
62611
|
+
"InputDataConfig": "InputDataConfig",
|
|
62612
|
+
"OutputDataConfig": "OutputDataConfig",
|
|
62613
|
+
"VpcConfig": "VpcConfig",
|
|
62614
|
+
"TimeoutDurationInHours": "TimeoutDurationInHours",
|
|
62615
|
+
"Status": "Status",
|
|
62616
|
+
"SubmitTime": "SubmitTime",
|
|
62617
|
+
"LastModifiedTime": "LastModifiedTime",
|
|
62618
|
+
"JobExpirationTime": "JobExpirationTime",
|
|
62619
|
+
"Tags": "Tags"
|
|
62620
|
+
},
|
|
62621
|
+
"propertyConstraints": {
|
|
62622
|
+
"JobArn": {
|
|
62623
|
+
"pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-invocation-job/[a-z0-9]{12})$",
|
|
62624
|
+
"maxLength": 1011
|
|
62625
|
+
},
|
|
62626
|
+
"JobName": {
|
|
62627
|
+
"pattern": "^[a-zA-Z0-9]{1,63}(-*[a-zA-Z0-9\\+\\-\\.]){0,63}$",
|
|
62628
|
+
"minLength": 1,
|
|
62629
|
+
"maxLength": 63
|
|
62630
|
+
},
|
|
62631
|
+
"ModelId": {
|
|
62632
|
+
"pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-:]{1,63}/[a-z0-9]{12}$)|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)$)|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)$",
|
|
62633
|
+
"minLength": 1,
|
|
62634
|
+
"maxLength": 2048
|
|
62635
|
+
},
|
|
62636
|
+
"RoleArn": {
|
|
62637
|
+
"pattern": "^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+$",
|
|
62638
|
+
"maxLength": 2048
|
|
62639
|
+
},
|
|
62640
|
+
"TimeoutDurationInHours": {
|
|
62641
|
+
"minimum": 24,
|
|
62642
|
+
"maximum": 168
|
|
62643
|
+
},
|
|
62644
|
+
"SubmitTime": {
|
|
62645
|
+
"format": "date-time"
|
|
62646
|
+
},
|
|
62647
|
+
"LastModifiedTime": {
|
|
62648
|
+
"format": "date-time"
|
|
62649
|
+
},
|
|
62650
|
+
"JobExpirationTime": {
|
|
62651
|
+
"format": "date-time"
|
|
62652
|
+
}
|
|
62653
|
+
},
|
|
62654
|
+
"primaryIdentifier": [
|
|
62655
|
+
"JobArn"
|
|
62656
|
+
],
|
|
62657
|
+
"tagging": {
|
|
62658
|
+
"taggable": true,
|
|
62659
|
+
"tagOnCreate": false,
|
|
62660
|
+
"tagUpdatable": false
|
|
62661
|
+
}
|
|
62662
|
+
},
|
|
62663
|
+
"ModelInvocationJobInputDataConfig": {
|
|
62664
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.ModelInvocationJobInputDataConfig",
|
|
62665
|
+
"kind": "property",
|
|
62666
|
+
"lexicon": "aws"
|
|
62667
|
+
},
|
|
62668
|
+
"ModelInvocationJobOutputDataConfig": {
|
|
62669
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.ModelInvocationJobOutputDataConfig",
|
|
62670
|
+
"kind": "property",
|
|
62671
|
+
"lexicon": "aws"
|
|
62672
|
+
},
|
|
62673
|
+
"ModelInvocationJobS3InputDataConfig": {
|
|
62674
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.ModelInvocationJobS3InputDataConfig",
|
|
62675
|
+
"kind": "property",
|
|
62676
|
+
"lexicon": "aws"
|
|
62677
|
+
},
|
|
62678
|
+
"ModelInvocationJobS3OutputDataConfig": {
|
|
62679
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.ModelInvocationJobS3OutputDataConfig",
|
|
62680
|
+
"kind": "property",
|
|
62681
|
+
"lexicon": "aws"
|
|
62682
|
+
},
|
|
62683
|
+
"ModelInvocationJob_ModelInvocationJobInputDataConfig": {
|
|
62684
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.ModelInvocationJobInputDataConfig",
|
|
62685
|
+
"kind": "property",
|
|
62686
|
+
"lexicon": "aws"
|
|
62687
|
+
},
|
|
62688
|
+
"ModelInvocationJob_ModelInvocationJobOutputDataConfig": {
|
|
62689
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.ModelInvocationJobOutputDataConfig",
|
|
62690
|
+
"kind": "property",
|
|
62691
|
+
"lexicon": "aws"
|
|
62692
|
+
},
|
|
62693
|
+
"ModelInvocationJob_ModelInvocationJobS3InputDataConfig": {
|
|
62694
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.ModelInvocationJobS3InputDataConfig",
|
|
62695
|
+
"kind": "property",
|
|
62696
|
+
"lexicon": "aws"
|
|
62697
|
+
},
|
|
62698
|
+
"ModelInvocationJob_ModelInvocationJobS3OutputDataConfig": {
|
|
62699
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.ModelInvocationJobS3OutputDataConfig",
|
|
62700
|
+
"kind": "property",
|
|
62701
|
+
"lexicon": "aws"
|
|
62702
|
+
},
|
|
62703
|
+
"ModelInvocationJob_Tag": {
|
|
62704
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.Tag",
|
|
62705
|
+
"kind": "property",
|
|
62706
|
+
"lexicon": "aws"
|
|
62707
|
+
},
|
|
62708
|
+
"ModelInvocationJob_VpcConfig": {
|
|
62709
|
+
"resourceType": "AWS::Bedrock::ModelInvocationJob.VpcConfig",
|
|
62710
|
+
"kind": "property",
|
|
62711
|
+
"lexicon": "aws"
|
|
62712
|
+
},
|
|
62539
62713
|
"ModelManifest": {
|
|
62540
62714
|
"resourceType": "AWS::IoTFleetWise::ModelManifest",
|
|
62541
62715
|
"kind": "resource",
|
|
@@ -63111,6 +63285,11 @@
|
|
|
63111
63285
|
"kind": "property",
|
|
63112
63286
|
"lexicon": "aws"
|
|
63113
63287
|
},
|
|
63288
|
+
"MonitoringAlertActions": {
|
|
63289
|
+
"resourceType": "AWS::SageMaker::MonitoringScheduleAlert.MonitoringAlertActions",
|
|
63290
|
+
"kind": "property",
|
|
63291
|
+
"lexicon": "aws"
|
|
63292
|
+
},
|
|
63114
63293
|
"MonitoringAppSpecification": {
|
|
63115
63294
|
"resourceType": "AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification",
|
|
63116
63295
|
"kind": "property",
|
|
@@ -63160,6 +63339,72 @@
|
|
|
63160
63339
|
"MonitoringScheduleArn"
|
|
63161
63340
|
]
|
|
63162
63341
|
},
|
|
63342
|
+
"MonitoringScheduleAlert": {
|
|
63343
|
+
"resourceType": "AWS::SageMaker::MonitoringScheduleAlert",
|
|
63344
|
+
"kind": "resource",
|
|
63345
|
+
"lexicon": "aws",
|
|
63346
|
+
"attrs": {
|
|
63347
|
+
"Arn": "Arn",
|
|
63348
|
+
"AlertStatus": "AlertStatus",
|
|
63349
|
+
"CreationTime": "CreationTime",
|
|
63350
|
+
"LastModifiedTime": "LastModifiedTime",
|
|
63351
|
+
"Actions": "Actions"
|
|
63352
|
+
},
|
|
63353
|
+
"propertyConstraints": {
|
|
63354
|
+
"Arn": {
|
|
63355
|
+
"maxLength": 256
|
|
63356
|
+
},
|
|
63357
|
+
"MonitoringScheduleName": {
|
|
63358
|
+
"pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}$",
|
|
63359
|
+
"minLength": 1,
|
|
63360
|
+
"maxLength": 63
|
|
63361
|
+
},
|
|
63362
|
+
"MonitoringAlertName": {
|
|
63363
|
+
"pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}$",
|
|
63364
|
+
"minLength": 1,
|
|
63365
|
+
"maxLength": 63
|
|
63366
|
+
},
|
|
63367
|
+
"DatapointsToAlert": {
|
|
63368
|
+
"minimum": 1,
|
|
63369
|
+
"maximum": 100
|
|
63370
|
+
},
|
|
63371
|
+
"EvaluationPeriod": {
|
|
63372
|
+
"minimum": 1,
|
|
63373
|
+
"maximum": 100
|
|
63374
|
+
},
|
|
63375
|
+
"AlertStatus": {
|
|
63376
|
+
"enum": [
|
|
63377
|
+
"InAlert",
|
|
63378
|
+
"OK"
|
|
63379
|
+
]
|
|
63380
|
+
},
|
|
63381
|
+
"CreationTime": {
|
|
63382
|
+
"format": "date-time"
|
|
63383
|
+
},
|
|
63384
|
+
"LastModifiedTime": {
|
|
63385
|
+
"format": "date-time"
|
|
63386
|
+
}
|
|
63387
|
+
},
|
|
63388
|
+
"createOnly": [
|
|
63389
|
+
"DatapointsToAlert",
|
|
63390
|
+
"EvaluationPeriod",
|
|
63391
|
+
"MonitoringAlertName",
|
|
63392
|
+
"MonitoringScheduleName"
|
|
63393
|
+
],
|
|
63394
|
+
"primaryIdentifier": [
|
|
63395
|
+
"Arn"
|
|
63396
|
+
]
|
|
63397
|
+
},
|
|
63398
|
+
"MonitoringScheduleAlert_ModelDashboardIndicatorAction": {
|
|
63399
|
+
"resourceType": "AWS::SageMaker::MonitoringScheduleAlert.ModelDashboardIndicatorAction",
|
|
63400
|
+
"kind": "property",
|
|
63401
|
+
"lexicon": "aws"
|
|
63402
|
+
},
|
|
63403
|
+
"MonitoringScheduleAlert_MonitoringAlertActions": {
|
|
63404
|
+
"resourceType": "AWS::SageMaker::MonitoringScheduleAlert.MonitoringAlertActions",
|
|
63405
|
+
"kind": "property",
|
|
63406
|
+
"lexicon": "aws"
|
|
63407
|
+
},
|
|
63163
63408
|
"MonitoringScheduleConfig": {
|
|
63164
63409
|
"resourceType": "AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig",
|
|
63165
63410
|
"kind": "property",
|
|
@@ -85733,6 +85978,12 @@
|
|
|
85733
85978
|
"UpdateFailed",
|
|
85734
85979
|
"DeleteFailed"
|
|
85735
85980
|
]
|
|
85981
|
+
},
|
|
85982
|
+
"CreationTime": {
|
|
85983
|
+
"format": "date-time"
|
|
85984
|
+
},
|
|
85985
|
+
"LastModifiedTime": {
|
|
85986
|
+
"format": "date-time"
|
|
85736
85987
|
}
|
|
85737
85988
|
},
|
|
85738
85989
|
"createOnly": [
|
|
@@ -91278,6 +91529,12 @@
|
|
|
91278
91529
|
"SpendingLimit": {
|
|
91279
91530
|
"pattern": "^\\d+(\\.\\d{1,2})?$",
|
|
91280
91531
|
"minLength": 1
|
|
91532
|
+
},
|
|
91533
|
+
"CreatedAt": {
|
|
91534
|
+
"format": "date-time"
|
|
91535
|
+
},
|
|
91536
|
+
"UpdatedAt": {
|
|
91537
|
+
"format": "date-time"
|
|
91281
91538
|
}
|
|
91282
91539
|
},
|
|
91283
91540
|
"createOnly": [
|
package/src/plugin.ts
CHANGED
|
@@ -579,14 +579,16 @@ aws cloudformation wait stack-update-complete --stack-name my-app-prod`,
|
|
|
579
579
|
|
|
580
580
|
async exportResources(options: {
|
|
581
581
|
environment: string;
|
|
582
|
+
stack?: string;
|
|
582
583
|
selector?: ResourceSelector;
|
|
583
584
|
owned?: boolean;
|
|
584
585
|
}): Promise<ExportedTemplate> {
|
|
585
586
|
const { getRuntime } = await import("@intentius/chant/runtime-adapter");
|
|
586
587
|
const rt = getRuntime();
|
|
587
588
|
|
|
588
|
-
// Same stack-name convention as describeResources
|
|
589
|
-
|
|
589
|
+
// Same stack-name convention as describeResources: an explicit multi-stack
|
|
590
|
+
// stack name (#932), else the stack named after the environment.
|
|
591
|
+
const stackName = options.stack ?? `${options.environment}`;
|
|
590
592
|
|
|
591
593
|
const result = await rt.spawn(applyAwsEndpointArgv([
|
|
592
594
|
"aws", "cloudformation", "get-template",
|
|
@@ -616,8 +618,8 @@ aws cloudformation wait stack-update-complete --stack-name my-app-prod`,
|
|
|
616
618
|
// describe-stack-resources is too thin; the deployed template (exportResources)
|
|
617
619
|
// carries the references. Resolve its `{Ref}`/`{Fn::GetAtt}` intrinsics to bare
|
|
618
620
|
// logical ids so the reference resolver matches them.
|
|
619
|
-
async enrichLiveAttrs(options: { environment: string; owned?: boolean }): Promise<Record<string, Record<string, unknown>>> {
|
|
620
|
-
const template = await this.exportResources!({ environment: options.environment, owned: options.owned });
|
|
621
|
+
async enrichLiveAttrs(options: { environment: string; stack?: string; owned?: boolean }): Promise<Record<string, Record<string, unknown>>> {
|
|
622
|
+
const template = await this.exportResources!({ environment: options.environment, stack: options.stack, owned: options.owned });
|
|
621
623
|
return resolveTemplateAttrs(template);
|
|
622
624
|
},
|
|
623
625
|
|