@intentius/chant-lexicon-aws 0.40.0 → 0.41.3
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/components/capability-plugin.d.ts +1 -1
- package/dist/components/capability-plugin.d.ts.map +1 -1
- package/dist/generated/index.d.ts +37 -3
- 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 +324 -31
- package/dist/spec/fetch.d.ts +27 -1
- package/dist/spec/fetch.d.ts.map +1 -1
- package/dist/spec/pin.d.ts.map +1 -1
- package/dist/spec/pinned-types.json +3 -0
- package/dist/types/index.d.ts +450 -25
- package/package.json +2 -2
- package/src/components/capability-plugin.test.ts +19 -0
- package/src/components/capability-plugin.ts +5 -2
- package/src/generated/index.d.ts +450 -25
- package/src/generated/index.ts +41 -7
- package/src/generated/lexicon-aws.json +324 -31
- package/src/spec/fetch.test.ts +101 -1
- package/src/spec/fetch.ts +144 -4
- package/src/spec/pin.test.ts +33 -18
- package/src/spec/pin.ts +19 -12
- package/src/spec/pinned-types.json +3 -0
|
@@ -12778,7 +12778,11 @@
|
|
|
12778
12778
|
"attrs": {
|
|
12779
12779
|
"Id": "Id",
|
|
12780
12780
|
"State": "State",
|
|
12781
|
-
"Code_SourceLocationArn": "Code.SourceLocationArn"
|
|
12781
|
+
"Code_SourceLocationArn": "Code.SourceLocationArn",
|
|
12782
|
+
"Replicas_*_VpcConfig_VpcId": "Replicas.*.VpcConfig.VpcId",
|
|
12783
|
+
"Replicas_*_CanaryState": "Replicas.*.CanaryState",
|
|
12784
|
+
"Replicas_*_LastModified": "Replicas.*.LastModified",
|
|
12785
|
+
"Replicas_*_ReplicationStatus": "Replicas.*.ReplicationStatus"
|
|
12782
12786
|
},
|
|
12783
12787
|
"propertyConstraints": {
|
|
12784
12788
|
"Name": {
|
|
@@ -12792,6 +12796,9 @@
|
|
|
12792
12796
|
"AUTOMATIC",
|
|
12793
12797
|
"OFF"
|
|
12794
12798
|
]
|
|
12799
|
+
},
|
|
12800
|
+
"KmsKeyArn": {
|
|
12801
|
+
"pattern": "^arn:[a-z0-9-]+:kms:[a-z0-9-]+:[0-9]{12}:(key/([a-f0-9-]{36}|mrk-[a-f0-9]{32})|alias/[a-zA-Z0-9:/_.-]+)$"
|
|
12795
12802
|
}
|
|
12796
12803
|
},
|
|
12797
12804
|
"createOnly": [
|
|
@@ -12808,7 +12815,10 @@
|
|
|
12808
12815
|
"RunConfig/EnvironmentVariables",
|
|
12809
12816
|
"VisualReference",
|
|
12810
12817
|
"VisualReferences",
|
|
12811
|
-
"DryRunAndUpdate"
|
|
12818
|
+
"DryRunAndUpdate",
|
|
12819
|
+
"Replicas/*/Tags",
|
|
12820
|
+
"Replicas/*/ResourcesToReplicateTags",
|
|
12821
|
+
"Replicas/*/KmsKeyArn"
|
|
12812
12822
|
],
|
|
12813
12823
|
"primaryIdentifier": [
|
|
12814
12824
|
"Name"
|
|
@@ -12853,6 +12863,16 @@
|
|
|
12853
12863
|
"kind": "property",
|
|
12854
12864
|
"lexicon": "aws"
|
|
12855
12865
|
},
|
|
12866
|
+
"Canary_Replica": {
|
|
12867
|
+
"resourceType": "AWS::Synthetics::Canary.Replica",
|
|
12868
|
+
"kind": "property",
|
|
12869
|
+
"lexicon": "aws"
|
|
12870
|
+
},
|
|
12871
|
+
"Canary_ReplicaReplicationStatus": {
|
|
12872
|
+
"resourceType": "AWS::Synthetics::Canary.ReplicaReplicationStatus",
|
|
12873
|
+
"kind": "property",
|
|
12874
|
+
"lexicon": "aws"
|
|
12875
|
+
},
|
|
12856
12876
|
"Canary_RetryConfig": {
|
|
12857
12877
|
"resourceType": "AWS::Synthetics::Canary.RetryConfig",
|
|
12858
12878
|
"kind": "property",
|
|
@@ -22236,11 +22256,6 @@
|
|
|
22236
22256
|
"kind": "property",
|
|
22237
22257
|
"lexicon": "aws"
|
|
22238
22258
|
},
|
|
22239
|
-
"CustomInstructions": {
|
|
22240
|
-
"resourceType": "AWS::QuickSight::Topic.CustomInstructions",
|
|
22241
|
-
"kind": "property",
|
|
22242
|
-
"lexicon": "aws"
|
|
22243
|
-
},
|
|
22244
22259
|
"CustomLineItem": {
|
|
22245
22260
|
"resourceType": "AWS::BillingConductor::CustomLineItem",
|
|
22246
22261
|
"kind": "resource",
|
|
@@ -23725,16 +23740,18 @@
|
|
|
23725
23740
|
"resourceType": "AWS::DMS::EventSubscription",
|
|
23726
23741
|
"kind": "resource",
|
|
23727
23742
|
"lexicon": "aws",
|
|
23728
|
-
"attrs": {
|
|
23729
|
-
"Id": "Id"
|
|
23730
|
-
},
|
|
23731
23743
|
"createOnly": [
|
|
23732
23744
|
"SubscriptionName",
|
|
23733
23745
|
"SourceIds"
|
|
23734
23746
|
],
|
|
23735
23747
|
"primaryIdentifier": [
|
|
23736
|
-
"
|
|
23737
|
-
]
|
|
23748
|
+
"SubscriptionName"
|
|
23749
|
+
],
|
|
23750
|
+
"tagging": {
|
|
23751
|
+
"taggable": true,
|
|
23752
|
+
"tagOnCreate": true,
|
|
23753
|
+
"tagUpdatable": true
|
|
23754
|
+
}
|
|
23738
23755
|
},
|
|
23739
23756
|
"DMSEventSubscription_Tag": {
|
|
23740
23757
|
"resourceType": "AWS::DMS::EventSubscription.Tag",
|
|
@@ -25885,6 +25902,16 @@
|
|
|
25885
25902
|
"kind": "property",
|
|
25886
25903
|
"lexicon": "aws"
|
|
25887
25904
|
},
|
|
25905
|
+
"DataSetRelation": {
|
|
25906
|
+
"resourceType": "AWS::QuickSight::TopicV2.DataSetRelation",
|
|
25907
|
+
"kind": "property",
|
|
25908
|
+
"lexicon": "aws"
|
|
25909
|
+
},
|
|
25910
|
+
"DataSetRelationEndpoint": {
|
|
25911
|
+
"resourceType": "AWS::QuickSight::TopicV2.DataSetRelationEndpoint",
|
|
25912
|
+
"kind": "property",
|
|
25913
|
+
"lexicon": "aws"
|
|
25914
|
+
},
|
|
25888
25915
|
"DataSetSchema": {
|
|
25889
25916
|
"resourceType": "AWS::QuickSight::Template.DataSetSchema",
|
|
25890
25917
|
"kind": "property",
|
|
@@ -30694,6 +30721,21 @@
|
|
|
30694
30721
|
"KmsKeyArn": {
|
|
30695
30722
|
"minLength": 1,
|
|
30696
30723
|
"maxLength": 2048
|
|
30724
|
+
},
|
|
30725
|
+
"PrivateConnectionName": {
|
|
30726
|
+
"pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?$",
|
|
30727
|
+
"minLength": 3,
|
|
30728
|
+
"maxLength": 30
|
|
30729
|
+
},
|
|
30730
|
+
"TargetUrlPrivateConnectionName": {
|
|
30731
|
+
"pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?$",
|
|
30732
|
+
"minLength": 3,
|
|
30733
|
+
"maxLength": 30
|
|
30734
|
+
},
|
|
30735
|
+
"ExchangeUrlPrivateConnectionName": {
|
|
30736
|
+
"pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?$",
|
|
30737
|
+
"minLength": 3,
|
|
30738
|
+
"maxLength": 30
|
|
30697
30739
|
}
|
|
30698
30740
|
},
|
|
30699
30741
|
"createOnly": [
|
|
@@ -30703,10 +30745,15 @@
|
|
|
30703
30745
|
"ServiceDetails/ServiceNow",
|
|
30704
30746
|
"ServiceDetails/PagerDuty",
|
|
30705
30747
|
"ServiceDetails/AzureIdentity",
|
|
30706
|
-
"KmsKeyArn"
|
|
30748
|
+
"KmsKeyArn",
|
|
30749
|
+
"PrivateConnectionName",
|
|
30750
|
+
"TargetUrlPrivateConnectionName",
|
|
30751
|
+
"ExchangeUrlPrivateConnectionName"
|
|
30707
30752
|
],
|
|
30708
30753
|
"writeOnly": [
|
|
30709
|
-
"ServiceDetails"
|
|
30754
|
+
"ServiceDetails",
|
|
30755
|
+
"TargetUrlPrivateConnectionName",
|
|
30756
|
+
"ExchangeUrlPrivateConnectionName"
|
|
30710
30757
|
],
|
|
30711
30758
|
"primaryIdentifier": [
|
|
30712
30759
|
"ServiceId"
|
|
@@ -49910,6 +49957,11 @@
|
|
|
49910
49957
|
"kind": "property",
|
|
49911
49958
|
"lexicon": "aws"
|
|
49912
49959
|
},
|
|
49960
|
+
"InstanceRuleStatement": {
|
|
49961
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.InstanceRuleStatement",
|
|
49962
|
+
"kind": "property",
|
|
49963
|
+
"lexicon": "aws"
|
|
49964
|
+
},
|
|
49913
49965
|
"InstanceSnapshot": {
|
|
49914
49966
|
"resourceType": "AWS::Lightsail::InstanceSnapshot",
|
|
49915
49967
|
"kind": "resource",
|
|
@@ -55068,6 +55120,74 @@
|
|
|
55068
55120
|
"tagUpdatable": true
|
|
55069
55121
|
}
|
|
55070
55122
|
},
|
|
55123
|
+
"LicenseAssetRule": {
|
|
55124
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.LicenseAssetRule",
|
|
55125
|
+
"kind": "property",
|
|
55126
|
+
"lexicon": "aws"
|
|
55127
|
+
},
|
|
55128
|
+
"LicenseAssetRuleSet": {
|
|
55129
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet",
|
|
55130
|
+
"kind": "resource",
|
|
55131
|
+
"lexicon": "aws",
|
|
55132
|
+
"attrs": {
|
|
55133
|
+
"LicenseAssetRulesetArn": "LicenseAssetRulesetArn"
|
|
55134
|
+
},
|
|
55135
|
+
"propertyConstraints": {
|
|
55136
|
+
"Name": {
|
|
55137
|
+
"maxLength": 128
|
|
55138
|
+
},
|
|
55139
|
+
"LicenseAssetRulesetArn": {
|
|
55140
|
+
"pattern": "^arn:aws[a-zA-Z-]*:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$",
|
|
55141
|
+
"maxLength": 2048
|
|
55142
|
+
},
|
|
55143
|
+
"Description": {
|
|
55144
|
+
"maxLength": 1024
|
|
55145
|
+
}
|
|
55146
|
+
},
|
|
55147
|
+
"primaryIdentifier": [
|
|
55148
|
+
"LicenseAssetRulesetArn"
|
|
55149
|
+
],
|
|
55150
|
+
"tagging": {
|
|
55151
|
+
"taggable": true,
|
|
55152
|
+
"tagOnCreate": true,
|
|
55153
|
+
"tagUpdatable": true
|
|
55154
|
+
}
|
|
55155
|
+
},
|
|
55156
|
+
"LicenseAssetRuleSet_InstanceRuleStatement": {
|
|
55157
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.InstanceRuleStatement",
|
|
55158
|
+
"kind": "property",
|
|
55159
|
+
"lexicon": "aws"
|
|
55160
|
+
},
|
|
55161
|
+
"LicenseAssetRuleSet_LicenseAssetRule": {
|
|
55162
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.LicenseAssetRule",
|
|
55163
|
+
"kind": "property",
|
|
55164
|
+
"lexicon": "aws"
|
|
55165
|
+
},
|
|
55166
|
+
"LicenseAssetRuleSet_LicenseConfigurationRuleStatement": {
|
|
55167
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.LicenseConfigurationRuleStatement",
|
|
55168
|
+
"kind": "property",
|
|
55169
|
+
"lexicon": "aws"
|
|
55170
|
+
},
|
|
55171
|
+
"LicenseAssetRuleSet_LicenseRuleStatement": {
|
|
55172
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.LicenseRuleStatement",
|
|
55173
|
+
"kind": "property",
|
|
55174
|
+
"lexicon": "aws"
|
|
55175
|
+
},
|
|
55176
|
+
"LicenseAssetRuleSet_RuleStatement": {
|
|
55177
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.RuleStatement",
|
|
55178
|
+
"kind": "property",
|
|
55179
|
+
"lexicon": "aws"
|
|
55180
|
+
},
|
|
55181
|
+
"LicenseAssetRuleSet_Tag": {
|
|
55182
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.Tag",
|
|
55183
|
+
"kind": "property",
|
|
55184
|
+
"lexicon": "aws"
|
|
55185
|
+
},
|
|
55186
|
+
"LicenseConfigurationRuleStatement": {
|
|
55187
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.LicenseConfigurationRuleStatement",
|
|
55188
|
+
"kind": "property",
|
|
55189
|
+
"lexicon": "aws"
|
|
55190
|
+
},
|
|
55071
55191
|
"LicenseEndpoint": {
|
|
55072
55192
|
"resourceType": "AWS::Deadline::LicenseEndpoint",
|
|
55073
55193
|
"kind": "resource",
|
|
@@ -55118,6 +55238,11 @@
|
|
|
55118
55238
|
"kind": "property",
|
|
55119
55239
|
"lexicon": "aws"
|
|
55120
55240
|
},
|
|
55241
|
+
"LicenseRuleStatement": {
|
|
55242
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.LicenseRuleStatement",
|
|
55243
|
+
"kind": "property",
|
|
55244
|
+
"lexicon": "aws"
|
|
55245
|
+
},
|
|
55121
55246
|
"License_BorrowConfiguration": {
|
|
55122
55247
|
"resourceType": "AWS::LicenseManager::License.BorrowConfiguration",
|
|
55123
55248
|
"kind": "property",
|
|
@@ -59608,6 +59733,11 @@
|
|
|
59608
59733
|
"kind": "property",
|
|
59609
59734
|
"lexicon": "aws"
|
|
59610
59735
|
},
|
|
59736
|
+
"ManagedVpcResource": {
|
|
59737
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.ManagedVpcResource",
|
|
59738
|
+
"kind": "property",
|
|
59739
|
+
"lexicon": "aws"
|
|
59740
|
+
},
|
|
59611
59741
|
"ManagedWordsConfig": {
|
|
59612
59742
|
"resourceType": "AWS::Bedrock::Guardrail.ManagedWordsConfig",
|
|
59613
59743
|
"kind": "property",
|
|
@@ -66523,7 +66653,8 @@
|
|
|
66523
66653
|
"CallbackUrl": "CallbackUrl",
|
|
66524
66654
|
"Oauth2ProviderConfigOutput": "Oauth2ProviderConfigOutput",
|
|
66525
66655
|
"CreatedTime": "CreatedTime",
|
|
66526
|
-
"LastUpdatedTime": "LastUpdatedTime"
|
|
66656
|
+
"LastUpdatedTime": "LastUpdatedTime",
|
|
66657
|
+
"Status": "Status"
|
|
66527
66658
|
},
|
|
66528
66659
|
"propertyConstraints": {
|
|
66529
66660
|
"Name": {
|
|
@@ -66578,6 +66709,17 @@
|
|
|
66578
66709
|
},
|
|
66579
66710
|
"LastUpdatedTime": {
|
|
66580
66711
|
"format": "date-time"
|
|
66712
|
+
},
|
|
66713
|
+
"Status": {
|
|
66714
|
+
"enum": [
|
|
66715
|
+
"CREATING",
|
|
66716
|
+
"CREATE_FAILED",
|
|
66717
|
+
"UPDATING",
|
|
66718
|
+
"UPDATE_FAILED",
|
|
66719
|
+
"READY",
|
|
66720
|
+
"DELETING",
|
|
66721
|
+
"DELETE_FAILED"
|
|
66722
|
+
]
|
|
66581
66723
|
}
|
|
66582
66724
|
},
|
|
66583
66725
|
"createOnly": [
|
|
@@ -66631,6 +66773,11 @@
|
|
|
66631
66773
|
"kind": "property",
|
|
66632
66774
|
"lexicon": "aws"
|
|
66633
66775
|
},
|
|
66776
|
+
"OAuth2CredentialProvider_ManagedVpcResource": {
|
|
66777
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.ManagedVpcResource",
|
|
66778
|
+
"kind": "property",
|
|
66779
|
+
"lexicon": "aws"
|
|
66780
|
+
},
|
|
66634
66781
|
"OAuth2CredentialProvider_MicrosoftOauth2ProviderConfigInput": {
|
|
66635
66782
|
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.MicrosoftOauth2ProviderConfigInput",
|
|
66636
66783
|
"kind": "property",
|
|
@@ -66661,6 +66808,26 @@
|
|
|
66661
66808
|
"kind": "property",
|
|
66662
66809
|
"lexicon": "aws"
|
|
66663
66810
|
},
|
|
66811
|
+
"OAuth2CredentialProvider_PrivateEndpoint": {
|
|
66812
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.PrivateEndpoint",
|
|
66813
|
+
"kind": "property",
|
|
66814
|
+
"lexicon": "aws"
|
|
66815
|
+
},
|
|
66816
|
+
"OAuth2CredentialProvider_PrivateEndpointOverride": {
|
|
66817
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.PrivateEndpointOverride",
|
|
66818
|
+
"kind": "property",
|
|
66819
|
+
"lexicon": "aws"
|
|
66820
|
+
},
|
|
66821
|
+
"OAuth2CredentialProvider_PrivateKeyJwtConfig": {
|
|
66822
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.PrivateKeyJwtConfig",
|
|
66823
|
+
"kind": "property",
|
|
66824
|
+
"lexicon": "aws"
|
|
66825
|
+
},
|
|
66826
|
+
"OAuth2CredentialProvider_PrivateKeySource": {
|
|
66827
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.PrivateKeySource",
|
|
66828
|
+
"kind": "property",
|
|
66829
|
+
"lexicon": "aws"
|
|
66830
|
+
},
|
|
66664
66831
|
"OAuth2CredentialProvider_SalesforceOauth2ProviderConfigInput": {
|
|
66665
66832
|
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.SalesforceOauth2ProviderConfigInput",
|
|
66666
66833
|
"kind": "property",
|
|
@@ -66671,6 +66838,11 @@
|
|
|
66671
66838
|
"kind": "property",
|
|
66672
66839
|
"lexicon": "aws"
|
|
66673
66840
|
},
|
|
66841
|
+
"OAuth2CredentialProvider_SelfManagedLatticeResource": {
|
|
66842
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.SelfManagedLatticeResource",
|
|
66843
|
+
"kind": "property",
|
|
66844
|
+
"lexicon": "aws"
|
|
66845
|
+
},
|
|
66674
66846
|
"OAuth2CredentialProvider_SlackOauth2ProviderConfigInput": {
|
|
66675
66847
|
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.SlackOauth2ProviderConfigInput",
|
|
66676
66848
|
"kind": "property",
|
|
@@ -73766,16 +73938,6 @@
|
|
|
73766
73938
|
"kind": "property",
|
|
73767
73939
|
"lexicon": "aws"
|
|
73768
73940
|
},
|
|
73769
|
-
"PrivateEndpoint": {
|
|
73770
|
-
"resourceType": "AWS::BedrockAgentCore::Harness.PrivateEndpoint",
|
|
73771
|
-
"kind": "property",
|
|
73772
|
-
"lexicon": "aws"
|
|
73773
|
-
},
|
|
73774
|
-
"PrivateEndpointOverride": {
|
|
73775
|
-
"resourceType": "AWS::BedrockAgentCore::Harness.PrivateEndpointOverride",
|
|
73776
|
-
"kind": "property",
|
|
73777
|
-
"lexicon": "aws"
|
|
73778
|
-
},
|
|
73779
73941
|
"PrivateGraphEndpoint": {
|
|
73780
73942
|
"resourceType": "AWS::NeptuneGraph::PrivateGraphEndpoint",
|
|
73781
73943
|
"kind": "resource",
|
|
@@ -73810,6 +73972,16 @@
|
|
|
73810
73972
|
"kind": "property",
|
|
73811
73973
|
"lexicon": "aws"
|
|
73812
73974
|
},
|
|
73975
|
+
"PrivateKeyJwtConfig": {
|
|
73976
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.PrivateKeyJwtConfig",
|
|
73977
|
+
"kind": "property",
|
|
73978
|
+
"lexicon": "aws"
|
|
73979
|
+
},
|
|
73980
|
+
"PrivateKeySource": {
|
|
73981
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.PrivateKeySource",
|
|
73982
|
+
"kind": "property",
|
|
73983
|
+
"lexicon": "aws"
|
|
73984
|
+
},
|
|
73813
73985
|
"PrivateRegistryAccess": {
|
|
73814
73986
|
"resourceType": "AWS::Lightsail::Container.PrivateRegistryAccess",
|
|
73815
73987
|
"kind": "property",
|
|
@@ -79953,6 +80125,11 @@
|
|
|
79953
80125
|
"kind": "property",
|
|
79954
80126
|
"lexicon": "aws"
|
|
79955
80127
|
},
|
|
80128
|
+
"Replica": {
|
|
80129
|
+
"resourceType": "AWS::Synthetics::Canary.Replica",
|
|
80130
|
+
"kind": "property",
|
|
80131
|
+
"lexicon": "aws"
|
|
80132
|
+
},
|
|
79956
80133
|
"ReplicaGlobalSecondaryIndexSpecification": {
|
|
79957
80134
|
"resourceType": "AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification",
|
|
79958
80135
|
"kind": "property",
|
|
@@ -80005,6 +80182,11 @@
|
|
|
80005
80182
|
"kind": "property",
|
|
80006
80183
|
"lexicon": "aws"
|
|
80007
80184
|
},
|
|
80185
|
+
"ReplicaReplicationStatus": {
|
|
80186
|
+
"resourceType": "AWS::Synthetics::Canary.ReplicaReplicationStatus",
|
|
80187
|
+
"kind": "property",
|
|
80188
|
+
"lexicon": "aws"
|
|
80189
|
+
},
|
|
80008
80190
|
"ReplicaSSESpecification": {
|
|
80009
80191
|
"resourceType": "AWS::DynamoDB::GlobalTable.ReplicaSSESpecification",
|
|
80010
80192
|
"kind": "property",
|
|
@@ -84462,6 +84644,11 @@
|
|
|
84462
84644
|
"kind": "property",
|
|
84463
84645
|
"lexicon": "aws"
|
|
84464
84646
|
},
|
|
84647
|
+
"RuleStatement": {
|
|
84648
|
+
"resourceType": "AWS::LicenseManager::LicenseAssetRuleSet.RuleStatement",
|
|
84649
|
+
"kind": "property",
|
|
84650
|
+
"lexicon": "aws"
|
|
84651
|
+
},
|
|
84465
84652
|
"RuleTriggerEventSource": {
|
|
84466
84653
|
"resourceType": "AWS::Connect::Rule.RuleTriggerEventSource",
|
|
84467
84654
|
"kind": "property",
|
|
@@ -89713,6 +89900,11 @@
|
|
|
89713
89900
|
"kind": "property",
|
|
89714
89901
|
"lexicon": "aws"
|
|
89715
89902
|
},
|
|
89903
|
+
"SelfManagedLatticeResource": {
|
|
89904
|
+
"resourceType": "AWS::BedrockAgentCore::OAuth2CredentialProvider.SelfManagedLatticeResource",
|
|
89905
|
+
"kind": "property",
|
|
89906
|
+
"lexicon": "aws"
|
|
89907
|
+
},
|
|
89716
89908
|
"SemanticChunkingConfiguration": {
|
|
89717
89909
|
"resourceType": "AWS::Bedrock::DataSource.SemanticChunkingConfiguration",
|
|
89718
89910
|
"kind": "property",
|
|
@@ -92262,6 +92454,32 @@
|
|
|
92262
92454
|
"kind": "property",
|
|
92263
92455
|
"lexicon": "aws"
|
|
92264
92456
|
},
|
|
92457
|
+
"SnapshotSchedule": {
|
|
92458
|
+
"resourceType": "AWS::Redshift::SnapshotSchedule",
|
|
92459
|
+
"kind": "resource",
|
|
92460
|
+
"lexicon": "aws",
|
|
92461
|
+
"attrs": {
|
|
92462
|
+
"Arn": "Arn",
|
|
92463
|
+
"AssociatedClusterCount": "AssociatedClusterCount"
|
|
92464
|
+
},
|
|
92465
|
+
"createOnly": [
|
|
92466
|
+
"ScheduleIdentifier",
|
|
92467
|
+
"ScheduleDescription"
|
|
92468
|
+
],
|
|
92469
|
+
"primaryIdentifier": [
|
|
92470
|
+
"Arn"
|
|
92471
|
+
],
|
|
92472
|
+
"tagging": {
|
|
92473
|
+
"taggable": true,
|
|
92474
|
+
"tagOnCreate": true,
|
|
92475
|
+
"tagUpdatable": true
|
|
92476
|
+
}
|
|
92477
|
+
},
|
|
92478
|
+
"SnapshotSchedule_Tag": {
|
|
92479
|
+
"resourceType": "AWS::Redshift::SnapshotSchedule.Tag",
|
|
92480
|
+
"kind": "property",
|
|
92481
|
+
"lexicon": "aws"
|
|
92482
|
+
},
|
|
92265
92483
|
"SnowflakeBufferingHints": {
|
|
92266
92484
|
"resourceType": "AWS::KinesisFirehose::DeliveryStream.SnowflakeBufferingHints",
|
|
92267
92485
|
"kind": "property",
|
|
@@ -93371,13 +93589,11 @@
|
|
|
93371
93589
|
"resourceType": "AWS::AppStream::StackFleetAssociation",
|
|
93372
93590
|
"kind": "resource",
|
|
93373
93591
|
"lexicon": "aws",
|
|
93374
|
-
"
|
|
93375
|
-
"
|
|
93376
|
-
|
|
93377
|
-
],
|
|
93592
|
+
"attrs": {
|
|
93593
|
+
"Id": "Id"
|
|
93594
|
+
},
|
|
93378
93595
|
"primaryIdentifier": [
|
|
93379
|
-
"
|
|
93380
|
-
"StackName"
|
|
93596
|
+
"Id"
|
|
93381
93597
|
]
|
|
93382
93598
|
},
|
|
93383
93599
|
"StackInstances": {
|
|
@@ -98586,6 +98802,83 @@
|
|
|
98586
98802
|
"kind": "property",
|
|
98587
98803
|
"lexicon": "aws"
|
|
98588
98804
|
},
|
|
98805
|
+
"TopicV2": {
|
|
98806
|
+
"resourceType": "AWS::QuickSight::TopicV2",
|
|
98807
|
+
"kind": "resource",
|
|
98808
|
+
"lexicon": "aws",
|
|
98809
|
+
"attrs": {
|
|
98810
|
+
"Arn": "Arn"
|
|
98811
|
+
},
|
|
98812
|
+
"propertyConstraints": {
|
|
98813
|
+
"AwsAccountId": {
|
|
98814
|
+
"pattern": "^[0-9]{12}$",
|
|
98815
|
+
"minLength": 12,
|
|
98816
|
+
"maxLength": 12
|
|
98817
|
+
},
|
|
98818
|
+
"Description": {
|
|
98819
|
+
"minLength": 0,
|
|
98820
|
+
"maxLength": 256
|
|
98821
|
+
},
|
|
98822
|
+
"Name": {
|
|
98823
|
+
"minLength": 1,
|
|
98824
|
+
"maxLength": 128
|
|
98825
|
+
},
|
|
98826
|
+
"TopicId": {
|
|
98827
|
+
"pattern": "^[A-Za-z0-9-_.\\\\+]*$",
|
|
98828
|
+
"minLength": 0,
|
|
98829
|
+
"maxLength": 256
|
|
98830
|
+
}
|
|
98831
|
+
},
|
|
98832
|
+
"createOnly": [
|
|
98833
|
+
"AwsAccountId",
|
|
98834
|
+
"FolderArns",
|
|
98835
|
+
"TopicId",
|
|
98836
|
+
"Tags"
|
|
98837
|
+
],
|
|
98838
|
+
"writeOnly": [
|
|
98839
|
+
"FolderArns",
|
|
98840
|
+
"DataSets/*/DataSetName"
|
|
98841
|
+
],
|
|
98842
|
+
"primaryIdentifier": [
|
|
98843
|
+
"AwsAccountId",
|
|
98844
|
+
"TopicId"
|
|
98845
|
+
],
|
|
98846
|
+
"tagging": {
|
|
98847
|
+
"taggable": true,
|
|
98848
|
+
"tagOnCreate": true,
|
|
98849
|
+
"tagUpdatable": false
|
|
98850
|
+
}
|
|
98851
|
+
},
|
|
98852
|
+
"TopicV2_CustomInstructions": {
|
|
98853
|
+
"resourceType": "AWS::QuickSight::TopicV2.CustomInstructions",
|
|
98854
|
+
"kind": "property",
|
|
98855
|
+
"lexicon": "aws"
|
|
98856
|
+
},
|
|
98857
|
+
"TopicV2_DataSetReference": {
|
|
98858
|
+
"resourceType": "AWS::QuickSight::TopicV2.DataSetReference",
|
|
98859
|
+
"kind": "property",
|
|
98860
|
+
"lexicon": "aws"
|
|
98861
|
+
},
|
|
98862
|
+
"TopicV2_DataSetRelation": {
|
|
98863
|
+
"resourceType": "AWS::QuickSight::TopicV2.DataSetRelation",
|
|
98864
|
+
"kind": "property",
|
|
98865
|
+
"lexicon": "aws"
|
|
98866
|
+
},
|
|
98867
|
+
"TopicV2_DataSetRelationEndpoint": {
|
|
98868
|
+
"resourceType": "AWS::QuickSight::TopicV2.DataSetRelationEndpoint",
|
|
98869
|
+
"kind": "property",
|
|
98870
|
+
"lexicon": "aws"
|
|
98871
|
+
},
|
|
98872
|
+
"TopicV2_ResourcePermission": {
|
|
98873
|
+
"resourceType": "AWS::QuickSight::TopicV2.ResourcePermission",
|
|
98874
|
+
"kind": "property",
|
|
98875
|
+
"lexicon": "aws"
|
|
98876
|
+
},
|
|
98877
|
+
"TopicV2_Tag": {
|
|
98878
|
+
"resourceType": "AWS::QuickSight::TopicV2.Tag",
|
|
98879
|
+
"kind": "property",
|
|
98880
|
+
"lexicon": "aws"
|
|
98881
|
+
},
|
|
98589
98882
|
"Topic_LoggingConfig": {
|
|
98590
98883
|
"resourceType": "AWS::SNS::Topic.LoggingConfig",
|
|
98591
98884
|
"kind": "property",
|
package/src/spec/fetch.test.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { describe, test, expect } from "vitest";
|
|
2
|
-
import {
|
|
2
|
+
import { mkdtempSync, rmSync, writeFileSync, mkdirSync } from "fs";
|
|
3
|
+
import { tmpdir } from "os";
|
|
4
|
+
import { join } from "path";
|
|
5
|
+
import { fetchSchemaZip, loadPinnedSchemas, pinAssetName, pinAssetUrl } from "./fetch";
|
|
6
|
+
import { specContentDigest } from "./pin";
|
|
3
7
|
|
|
4
8
|
describe("fetchSchemaZip", () => {
|
|
5
9
|
test("exports fetchSchemaZip function", () => {
|
|
@@ -25,3 +29,99 @@ describe("fetchSchemaZip", () => {
|
|
|
25
29
|
}
|
|
26
30
|
});
|
|
27
31
|
});
|
|
32
|
+
|
|
33
|
+
// #1511 — the pinned release asset is the deterministic source: verified
|
|
34
|
+
// content loads (from local cache or the download), a digest mismatch refuses
|
|
35
|
+
// loudly wherever the bytes came from, and an unreachable asset falls back to
|
|
36
|
+
// the live path by returning undefined.
|
|
37
|
+
describe("loadPinnedSchemas (#1511)", () => {
|
|
38
|
+
const schemaA = Buffer.from(JSON.stringify({ typeName: "AWS::Test::A", properties: {} }));
|
|
39
|
+
const schemaB = Buffer.from(JSON.stringify({ typeName: "AWS::Test::B", properties: {} }));
|
|
40
|
+
|
|
41
|
+
async function makeZip(): Promise<{ zip: Buffer; digest: string }> {
|
|
42
|
+
const { zipSync } = await import("fflate");
|
|
43
|
+
const zip = Buffer.from(zipSync({ "aws-test-a.json": schemaA, "aws-test-b.json": schemaB }));
|
|
44
|
+
const digest = specContentDigest(
|
|
45
|
+
new Map([
|
|
46
|
+
["AWS::Test::A", schemaA],
|
|
47
|
+
["AWS::Test::B", schemaB],
|
|
48
|
+
]),
|
|
49
|
+
);
|
|
50
|
+
return { zip, digest };
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
test("a downloaded asset that digests to the pin loads, and is cached only after verifying", async () => {
|
|
54
|
+
const dir = mkdtempSync(join(tmpdir(), "chant-spec-pin-"));
|
|
55
|
+
try {
|
|
56
|
+
const { zip, digest } = await makeZip();
|
|
57
|
+
const pin = { digest, resources: 2, accepted: "2026-08-05" };
|
|
58
|
+
let downloads = 0;
|
|
59
|
+
const download = async () => (downloads++, zip);
|
|
60
|
+
|
|
61
|
+
const first = await loadPinnedSchemas({ pin, cacheDir: dir, download });
|
|
62
|
+
expect([...first!.keys()].sort()).toEqual(["AWS::Test::A", "AWS::Test::B"]);
|
|
63
|
+
expect(downloads).toBe(1);
|
|
64
|
+
|
|
65
|
+
// Second load: served from the verified local cache, no download.
|
|
66
|
+
const second = await loadPinnedSchemas({ pin, cacheDir: dir, download });
|
|
67
|
+
expect(second!.size).toBe(2);
|
|
68
|
+
expect(downloads).toBe(1);
|
|
69
|
+
} finally {
|
|
70
|
+
rmSync(dir, { recursive: true, force: true });
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
test("content that does not digest to the pin throws, naming both digests — and is never cached", async () => {
|
|
75
|
+
const dir = mkdtempSync(join(tmpdir(), "chant-spec-pin-"));
|
|
76
|
+
try {
|
|
77
|
+
const { zip } = await makeZip();
|
|
78
|
+
const pin = { digest: "sha256:" + "0".repeat(64), resources: 2, accepted: "2026-08-05" };
|
|
79
|
+
let downloads = 0;
|
|
80
|
+
const download = async () => (downloads++, zip);
|
|
81
|
+
|
|
82
|
+
await expect(loadPinnedSchemas({ pin, cacheDir: dir, download })).rejects.toThrow(
|
|
83
|
+
/extracts to sha256:.*declares sha256:0{8}/s,
|
|
84
|
+
);
|
|
85
|
+
// A second call downloads again: the bad copy must not have been cached.
|
|
86
|
+
await expect(loadPinnedSchemas({ pin, cacheDir: dir, download })).rejects.toThrow();
|
|
87
|
+
expect(downloads).toBe(2);
|
|
88
|
+
} finally {
|
|
89
|
+
rmSync(dir, { recursive: true, force: true });
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
test("a corrupted local cache copy refuses the same way — cache is not more trusted than the network", async () => {
|
|
94
|
+
const dir = mkdtempSync(join(tmpdir(), "chant-spec-pin-"));
|
|
95
|
+
try {
|
|
96
|
+
const { zip, digest } = await makeZip();
|
|
97
|
+
const pin = { digest, resources: 2, accepted: "2026-08-05" };
|
|
98
|
+
mkdirSync(dir, { recursive: true });
|
|
99
|
+
// A DIFFERENT zip planted at the pin's cache path.
|
|
100
|
+
const { zipSync } = await import("fflate");
|
|
101
|
+
const wrong = Buffer.from(zipSync({ "other.json": Buffer.from(JSON.stringify({ typeName: "AWS::Test::Other" })) }));
|
|
102
|
+
writeFileSync(join(dir, pinAssetName(pin)), wrong);
|
|
103
|
+
|
|
104
|
+
await expect(loadPinnedSchemas({ pin, cacheDir: dir, download: async () => zip })).rejects.toThrow(/extracts to/);
|
|
105
|
+
} finally {
|
|
106
|
+
rmSync(dir, { recursive: true, force: true });
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
test("unreachable asset: undefined, so the caller falls back to the live fetch", async () => {
|
|
111
|
+
const dir = mkdtempSync(join(tmpdir(), "chant-spec-pin-"));
|
|
112
|
+
try {
|
|
113
|
+
const pin = { digest: "sha256:" + "1".repeat(64), resources: 2, accepted: "2026-08-05" };
|
|
114
|
+
const schemas = await loadPinnedSchemas({ pin, cacheDir: dir, download: async () => undefined });
|
|
115
|
+
expect(schemas).toBeUndefined();
|
|
116
|
+
} finally {
|
|
117
|
+
rmSync(dir, { recursive: true, force: true });
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
test("the asset URL is public, content-addressed, and on the dedicated pin release", () => {
|
|
122
|
+
const pin = { digest: "sha256:" + "ab".repeat(32), resources: 1, accepted: "2026-08-05" };
|
|
123
|
+
expect(pinAssetUrl(pin)).toBe(
|
|
124
|
+
"https://github.com/INTENTIUS/chant/releases/download/aws-spec-pin/abababababab.zip",
|
|
125
|
+
);
|
|
126
|
+
});
|
|
127
|
+
});
|