@intentius/chant-lexicon-aws 0.18.25 → 0.18.27
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/cloud-executor.d.ts +11 -0
- package/dist/components/cloud-executor.d.ts.map +1 -1
- package/dist/generated/index.d.ts +23 -4
- 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 +357 -20
- package/dist/plugin.d.ts.map +1 -1
- package/dist/types/index.d.ts +332 -29
- package/package.json +3 -3
- package/src/components/cloud-executor.test.ts +14 -1
- package/src/components/cloud-executor.ts +19 -1
- package/src/generated/index.d.ts +332 -29
- package/src/generated/index.ts +23 -4
- package/src/generated/lexicon-aws.json +357 -20
- package/src/lifecycle-integration.test.ts +34 -0
- package/src/plugin.ts +29 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -419,6 +419,36 @@ export declare class ACMPCAPermission {
|
|
|
419
419
|
}, attributes?: CFResourceAttributes);
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
+
export declare class Action {
|
|
423
|
+
constructor(props: {
|
|
424
|
+
/** The name of the action. Must be unique to your account in an AWS Region. */
|
|
425
|
+
ActionName: string;
|
|
426
|
+
/** The action type. */
|
|
427
|
+
ActionType: string;
|
|
428
|
+
/** The source type, ID, and URI. */
|
|
429
|
+
Source: Action_ActionSource;
|
|
430
|
+
/** The Amazon Resource Name (ARN) of the action. */
|
|
431
|
+
Arn?: string;
|
|
432
|
+
/** When the action was created. */
|
|
433
|
+
CreationTime?: string;
|
|
434
|
+
/** The description of the action. */
|
|
435
|
+
Description?: string;
|
|
436
|
+
/** When the action was last modified. */
|
|
437
|
+
LastModifiedTime?: string;
|
|
438
|
+
/** Metadata properties of the tracking entity, trial, or trial component. */
|
|
439
|
+
MetadataProperties?: Action_MetadataProperties;
|
|
440
|
+
/** A list of properties to add to the action. */
|
|
441
|
+
Properties?: Record<string, unknown>;
|
|
442
|
+
/** The status of the action. */
|
|
443
|
+
Status?: "Completed" | "Failed" | "InProgress" | "Stopped" | "Stopping" | "Unknown";
|
|
444
|
+
/** A list of tags to apply to the action. */
|
|
445
|
+
Tags?: Action_Tag[];
|
|
446
|
+
}, attributes?: CFResourceAttributes);
|
|
447
|
+
readonly Arn: string;
|
|
448
|
+
readonly CreationTime: string;
|
|
449
|
+
readonly LastModifiedTime: string;
|
|
450
|
+
}
|
|
451
|
+
|
|
422
452
|
export declare class ActionConnector {
|
|
423
453
|
constructor(props: {
|
|
424
454
|
ActionConnectorId: string;
|
|
@@ -7452,6 +7482,32 @@ export declare class ContainerRecipe {
|
|
|
7452
7482
|
readonly LatestVersion_Patch: string;
|
|
7453
7483
|
}
|
|
7454
7484
|
|
|
7485
|
+
export declare class Context {
|
|
7486
|
+
constructor(props: {
|
|
7487
|
+
/** The name of the context. Must be unique to your account in an AWS Region. */
|
|
7488
|
+
ContextName: string;
|
|
7489
|
+
/** The context type. */
|
|
7490
|
+
ContextType: string;
|
|
7491
|
+
/** The source type, ID, and URI. */
|
|
7492
|
+
Source: Record<string, unknown>;
|
|
7493
|
+
/** The Amazon Resource Name (ARN) of the context. */
|
|
7494
|
+
Arn?: string;
|
|
7495
|
+
/** When the context was created. */
|
|
7496
|
+
CreationTime?: string;
|
|
7497
|
+
/** The description of the context. */
|
|
7498
|
+
Description?: string;
|
|
7499
|
+
/** When the context was last modified. */
|
|
7500
|
+
LastModifiedTime?: string;
|
|
7501
|
+
/** A list of properties to add to the context. */
|
|
7502
|
+
Properties?: Record<string, unknown>;
|
|
7503
|
+
/** A list of tags to apply to the context. */
|
|
7504
|
+
Tags?: Record<string, unknown>[];
|
|
7505
|
+
}, attributes?: CFResourceAttributes);
|
|
7506
|
+
readonly Arn: string;
|
|
7507
|
+
readonly CreationTime: string;
|
|
7508
|
+
readonly LastModifiedTime: string;
|
|
7509
|
+
}
|
|
7510
|
+
|
|
7455
7511
|
export declare class ContinuousDeploymentPolicy {
|
|
7456
7512
|
constructor(props: {
|
|
7457
7513
|
/** Contains the configuration for a continuous deployment policy. */
|
|
@@ -27461,6 +27517,39 @@ export declare class QuickSightFlow {
|
|
|
27461
27517
|
readonly StepAliases: QuickSightFlow_StepAliasMapping[];
|
|
27462
27518
|
}
|
|
27463
27519
|
|
|
27520
|
+
export declare class QuickSightKnowledgeBase {
|
|
27521
|
+
constructor(props: {
|
|
27522
|
+
AwsAccountId: string;
|
|
27523
|
+
DataSourceArn: string;
|
|
27524
|
+
KnowledgeBaseConfiguration: QuickSightKnowledgeBase_KnowledgeBaseConfiguration;
|
|
27525
|
+
KnowledgeBaseId: string;
|
|
27526
|
+
Name: string;
|
|
27527
|
+
AccessControlConfiguration?: QuickSightKnowledgeBase_AccessControlConfiguration;
|
|
27528
|
+
CreatedAt?: string;
|
|
27529
|
+
Description?: string;
|
|
27530
|
+
DocumentCount?: number;
|
|
27531
|
+
IsEmailNotificationOptedForIngestionFailures?: boolean;
|
|
27532
|
+
KnowledgeBaseArn?: string;
|
|
27533
|
+
KnowledgeBaseSizeBytes?: number;
|
|
27534
|
+
MediaExtractionConfiguration?: QuickSightKnowledgeBase_MediaExtractionConfiguration;
|
|
27535
|
+
Permissions?: QuickSightKnowledgeBase_ResourcePermission[];
|
|
27536
|
+
PrimaryOwnerArn?: string;
|
|
27537
|
+
PrimaryOwnerUsername?: string;
|
|
27538
|
+
Status?: QuickSightKnowledgeBase_DataSetStatus;
|
|
27539
|
+
Tags?: QuickSightKnowledgeBase_Tag[];
|
|
27540
|
+
Type?: string;
|
|
27541
|
+
UpdatedAt?: string;
|
|
27542
|
+
}, attributes?: CFResourceAttributes);
|
|
27543
|
+
readonly CreatedAt: string;
|
|
27544
|
+
readonly DocumentCount: number;
|
|
27545
|
+
readonly KnowledgeBaseArn: string;
|
|
27546
|
+
readonly KnowledgeBaseSizeBytes: number;
|
|
27547
|
+
readonly PrimaryOwnerUsername: string;
|
|
27548
|
+
readonly Status: QuickSightKnowledgeBase_DataSetStatus;
|
|
27549
|
+
readonly Type: string;
|
|
27550
|
+
readonly UpdatedAt: string;
|
|
27551
|
+
}
|
|
27552
|
+
|
|
27464
27553
|
export declare class QuickSightTemplate {
|
|
27465
27554
|
constructor(props: {
|
|
27466
27555
|
AwsAccountId: string;
|
|
@@ -35305,6 +35394,55 @@ export declare class TransferWorkflow {
|
|
|
35305
35394
|
readonly WorkflowId: string;
|
|
35306
35395
|
}
|
|
35307
35396
|
|
|
35397
|
+
export declare class TransformJob {
|
|
35398
|
+
constructor(props: {
|
|
35399
|
+
/** The name of the model that you want to use for the transform job. */
|
|
35400
|
+
ModelName: string;
|
|
35401
|
+
/** Describes the input source and the way the transform job consumes it. */
|
|
35402
|
+
TransformInput: Record<string, unknown>;
|
|
35403
|
+
/** The name of the transform job. The name must be unique within an AWS Region in an AWS account. */
|
|
35404
|
+
TransformJobName: string;
|
|
35405
|
+
/** Describes the results of the transform job. */
|
|
35406
|
+
TransformOutput: Record<string, unknown>;
|
|
35407
|
+
/** Describes the resources, including ML instance types and ML instance count, to use for the transform job. */
|
|
35408
|
+
TransformResources: Record<string, unknown>;
|
|
35409
|
+
/** Specifies the number of records to include in a mini-batch for an HTTP inference request. */
|
|
35410
|
+
BatchStrategy?: "MultiRecord" | "SingleRecord";
|
|
35411
|
+
/** A timestamp that shows when the transform job was created. */
|
|
35412
|
+
CreationTime?: string;
|
|
35413
|
+
/** Configuration to control how SageMaker captures inference data. */
|
|
35414
|
+
DataCaptureConfig?: Record<string, unknown>;
|
|
35415
|
+
/** The data structure used to specify the data to be used for inference in a batch transform job. */
|
|
35416
|
+
DataProcessing?: Record<string, unknown>;
|
|
35417
|
+
/** The environment variables to set in the Docker container. */
|
|
35418
|
+
Environment?: Record<string, unknown>;
|
|
35419
|
+
/** Associates a SageMaker job as a trial component with an experiment and trial. */
|
|
35420
|
+
ExperimentConfig?: Record<string, unknown>;
|
|
35421
|
+
/** The maximum number of parallel requests that can be sent to each instance in a transform job. */
|
|
35422
|
+
MaxConcurrentTransforms?: number;
|
|
35423
|
+
/** The maximum allowed size of the payload, in MB. */
|
|
35424
|
+
MaxPayloadInMB?: number;
|
|
35425
|
+
/** Configures the timeout and maximum number of retries for processing a transform job invocation. */
|
|
35426
|
+
ModelClientConfig?: Record<string, unknown>;
|
|
35427
|
+
/** An array of key-value pairs. */
|
|
35428
|
+
Tags?: Record<string, unknown>[];
|
|
35429
|
+
/** Indicates when the transform job has been completed, or has stopped or failed. */
|
|
35430
|
+
TransformEndTime?: string;
|
|
35431
|
+
/** The Amazon Resource Name (ARN) of the transform job. */
|
|
35432
|
+
TransformJobArn?: string;
|
|
35433
|
+
/** The status of the transform job. */
|
|
35434
|
+
TransformJobStatus?: "Completed" | "Failed" | "InProgress" | "Stopped" | "Stopping";
|
|
35435
|
+
/** Indicates when the transform job starts on ML instances. */
|
|
35436
|
+
TransformStartTime?: string;
|
|
35437
|
+
}, attributes?: CFResourceAttributes);
|
|
35438
|
+
readonly CreationTime: string;
|
|
35439
|
+
readonly TransformEndTime: string;
|
|
35440
|
+
readonly TransformJobArn: string;
|
|
35441
|
+
readonly TransformJobName: string;
|
|
35442
|
+
readonly TransformJobStatus: "Completed" | "Failed" | "InProgress" | "Stopped" | "Stopping";
|
|
35443
|
+
readonly TransformStartTime: string;
|
|
35444
|
+
}
|
|
35445
|
+
|
|
35308
35446
|
export declare class TransitGateway {
|
|
35309
35447
|
constructor(props: {
|
|
35310
35448
|
AmazonSideAsn?: number;
|
|
@@ -38544,6 +38682,12 @@ export declare class AccessControlAllowOrigins {
|
|
|
38544
38682
|
});
|
|
38545
38683
|
}
|
|
38546
38684
|
|
|
38685
|
+
export declare class AccessControlConfiguration {
|
|
38686
|
+
constructor(props: {
|
|
38687
|
+
IsACLEnabled?: boolean;
|
|
38688
|
+
});
|
|
38689
|
+
}
|
|
38690
|
+
|
|
38547
38691
|
export declare class AccessControlExposeHeaders {
|
|
38548
38692
|
constructor(props: {
|
|
38549
38693
|
/** The list of HTTP headers. You can specify ``*`` to expose all headers. */
|
|
@@ -39051,6 +39195,39 @@ export declare class ACMPCACertificate_Validity {
|
|
|
39051
39195
|
});
|
|
39052
39196
|
}
|
|
39053
39197
|
|
|
39198
|
+
export declare class Action_ActionSource {
|
|
39199
|
+
constructor(props: {
|
|
39200
|
+
/** The URI of the source. */
|
|
39201
|
+
SourceUri: string;
|
|
39202
|
+
/** The ID of the source. */
|
|
39203
|
+
SourceId?: string;
|
|
39204
|
+
/** The type of the source. */
|
|
39205
|
+
SourceType?: string;
|
|
39206
|
+
});
|
|
39207
|
+
}
|
|
39208
|
+
|
|
39209
|
+
export declare class Action_MetadataProperties {
|
|
39210
|
+
constructor(props: {
|
|
39211
|
+
/** The commit ID. */
|
|
39212
|
+
CommitId?: string;
|
|
39213
|
+
/** The entity this entity was generated by. */
|
|
39214
|
+
GeneratedBy?: string;
|
|
39215
|
+
/** The project ID. */
|
|
39216
|
+
ProjectId?: string;
|
|
39217
|
+
/** The repository. */
|
|
39218
|
+
Repository?: string;
|
|
39219
|
+
});
|
|
39220
|
+
}
|
|
39221
|
+
|
|
39222
|
+
export declare class Action_Tag {
|
|
39223
|
+
constructor(props: {
|
|
39224
|
+
/** The tag key. */
|
|
39225
|
+
Key: string;
|
|
39226
|
+
/** The tag value. */
|
|
39227
|
+
Value: string;
|
|
39228
|
+
});
|
|
39229
|
+
}
|
|
39230
|
+
|
|
39054
39231
|
export declare class ActionConfiguration {
|
|
39055
39232
|
constructor(props: {
|
|
39056
39233
|
Action: string;
|
|
@@ -39177,6 +39354,17 @@ export declare class Actions {
|
|
|
39177
39354
|
});
|
|
39178
39355
|
}
|
|
39179
39356
|
|
|
39357
|
+
export declare class ActionSource {
|
|
39358
|
+
constructor(props: {
|
|
39359
|
+
/** The URI of the source. */
|
|
39360
|
+
SourceUri: string;
|
|
39361
|
+
/** The ID of the source. */
|
|
39362
|
+
SourceId?: string;
|
|
39363
|
+
/** The type of the source. */
|
|
39364
|
+
SourceType?: string;
|
|
39365
|
+
});
|
|
39366
|
+
}
|
|
39367
|
+
|
|
39180
39368
|
export declare class ActionThreshold {
|
|
39181
39369
|
constructor(props: {
|
|
39182
39370
|
Type: "ABSOLUTE_VALUE" | "PERCENTAGE";
|
|
@@ -44528,12 +44716,6 @@ export declare class AudioDescription {
|
|
|
44528
44716
|
});
|
|
44529
44717
|
}
|
|
44530
44718
|
|
|
44531
|
-
export declare class AudioExtractionConfiguration {
|
|
44532
|
-
constructor(props: {
|
|
44533
|
-
AudioExtractionStatus: QBusinessDataSource_AudioExtractionStatus;
|
|
44534
|
-
});
|
|
44535
|
-
}
|
|
44536
|
-
|
|
44537
44719
|
export declare class AudioFeedInput {
|
|
44538
44720
|
constructor(props: {
|
|
44539
44721
|
AudioSelectorName?: string;
|
|
@@ -52447,6 +52629,7 @@ export declare class CodeBuildProject_Environment {
|
|
|
52447
52629
|
DockerServer?: CodeBuildProject_DockerServer;
|
|
52448
52630
|
EnvironmentVariables?: CodeBuildProject_EnvironmentVariable[];
|
|
52449
52631
|
Fleet?: CodeBuildProject_ProjectFleet;
|
|
52632
|
+
HostKernel?: string;
|
|
52450
52633
|
ImagePullCredentialsType?: string;
|
|
52451
52634
|
PrivilegedMode?: boolean;
|
|
52452
52635
|
RegistryCredential?: CodeBuildProject_RegistryCredential;
|
|
@@ -53307,6 +53490,12 @@ export declare class Compaction {
|
|
|
53307
53490
|
});
|
|
53308
53491
|
}
|
|
53309
53492
|
|
|
53493
|
+
export declare class CompactionConfiguration {
|
|
53494
|
+
constructor(props: {
|
|
53495
|
+
IcebergConfiguration?: TableOptimizer_IcebergCompactionConfiguration;
|
|
53496
|
+
});
|
|
53497
|
+
}
|
|
53498
|
+
|
|
53310
53499
|
export declare class ComparativeOrder {
|
|
53311
53500
|
constructor(props: {
|
|
53312
53501
|
SpecifedOrder?: string[];
|
|
@@ -62908,7 +63097,9 @@ export declare class DeploymentCircuitBreaker {
|
|
|
62908
63097
|
Enable: boolean;
|
|
62909
63098
|
/** Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is on, when a service deployment fails, the service is rolled back to the last deployment that completed successfully. */
|
|
62910
63099
|
Rollback: boolean;
|
|
63100
|
+
/** Specifies whether the deployment circuit breaker resets its failure count when a task reaches a healthy state. When set to ``true``, a task that reaches a healthy state resets the failure count to ``0``. When set to ``false``, Amazon ECS does not reset the failure count. The default is ``true``. */
|
|
62911
63101
|
ResetOnHealthyTask?: boolean;
|
|
63102
|
+
/** The threshold configuration that controls when the deployment circuit breaker triggers. The ``type`` and ``value`` together determine how many task failures are tolerated before the circuit breaker activates. */
|
|
62912
63103
|
ThresholdConfiguration?: EcsService_ThresholdConfiguration;
|
|
62913
63104
|
});
|
|
62914
63105
|
}
|
|
@@ -66284,7 +66475,9 @@ export declare class EcsService_DeploymentCircuitBreaker {
|
|
|
66284
66475
|
Enable: boolean;
|
|
66285
66476
|
/** Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is on, when a service deployment fails, the service is rolled back to the last deployment that completed successfully. */
|
|
66286
66477
|
Rollback: boolean;
|
|
66478
|
+
/** Specifies whether the deployment circuit breaker resets its failure count when a task reaches a healthy state. When set to ``true``, a task that reaches a healthy state resets the failure count to ``0``. When set to ``false``, Amazon ECS does not reset the failure count. The default is ``true``. */
|
|
66287
66479
|
ResetOnHealthyTask?: boolean;
|
|
66480
|
+
/** The threshold configuration that controls when the deployment circuit breaker triggers. The ``type`` and ``value`` together determine how many task failures are tolerated before the circuit breaker activates. */
|
|
66288
66481
|
ThresholdConfiguration?: EcsService_ThresholdConfiguration;
|
|
66289
66482
|
});
|
|
66290
66483
|
}
|
|
@@ -66737,7 +66930,9 @@ export declare class EcsService_Tag {
|
|
|
66737
66930
|
|
|
66738
66931
|
export declare class EcsService_ThresholdConfiguration {
|
|
66739
66932
|
constructor(props: {
|
|
66933
|
+
/** Determines how Amazon ECS uses ``value`` to calculate the failure threshold. For the percentage types (``BOUNDED_PERCENT`` and ``UNBOUNDED_PERCENT``), Amazon ECS multiplies ``value`` by the latest service desired count. For ``COUNT``, Amazon ECS uses ``value`` directly as the threshold. The default is ``BOUNDED_PERCENT``. */
|
|
66740
66934
|
Type: "BOUNDED_PERCENT" | "COUNT" | "UNBOUNDED_PERCENT";
|
|
66935
|
+
/** Specifies the integer that Amazon ECS uses to calculate the failure threshold. When ``type`` is ``COUNT``, this value is the failure threshold itself. When ``type`` is a percentage type, Amazon ECS multiplies this value by the latest service desired count to produce the failure threshold. The default is ``50``. */
|
|
66741
66936
|
Value: number;
|
|
66742
66937
|
});
|
|
66743
66938
|
}
|
|
@@ -76585,6 +76780,14 @@ export declare class IbmDb2Settings {
|
|
|
76585
76780
|
});
|
|
76586
76781
|
}
|
|
76587
76782
|
|
|
76783
|
+
export declare class IcebergCompactionConfiguration {
|
|
76784
|
+
constructor(props: {
|
|
76785
|
+
DeleteFileThreshold?: number;
|
|
76786
|
+
MinInputFiles?: number;
|
|
76787
|
+
Strategy?: string;
|
|
76788
|
+
});
|
|
76789
|
+
}
|
|
76790
|
+
|
|
76588
76791
|
export declare class IcebergConfiguration {
|
|
76589
76792
|
constructor(props: {
|
|
76590
76793
|
Location?: string;
|
|
@@ -77420,12 +77623,6 @@ export declare class ImageConfigurationInput {
|
|
|
77420
77623
|
});
|
|
77421
77624
|
}
|
|
77422
77625
|
|
|
77423
|
-
export declare class ImageExtractionConfiguration {
|
|
77424
|
-
constructor(props: {
|
|
77425
|
-
ImageExtractionStatus: QBusinessDataSource_ImageExtractionStatus;
|
|
77426
|
-
});
|
|
77427
|
-
}
|
|
77428
|
-
|
|
77429
77626
|
export declare class ImageLoggingConfiguration {
|
|
77430
77627
|
constructor(props: {
|
|
77431
77628
|
/** The name of the log group for image build logs. */
|
|
@@ -81948,6 +82145,12 @@ export declare class KafkaSettings {
|
|
|
81948
82145
|
});
|
|
81949
82146
|
}
|
|
81950
82147
|
|
|
82148
|
+
export declare class KbTemplateConfiguration {
|
|
82149
|
+
constructor(props: {
|
|
82150
|
+
Template?: any;
|
|
82151
|
+
});
|
|
82152
|
+
}
|
|
82153
|
+
|
|
81951
82154
|
export declare class KendraConfiguration {
|
|
81952
82155
|
constructor(props: {
|
|
81953
82156
|
KendraIndex: string;
|
|
@@ -83104,16 +83307,6 @@ export declare class KmsKey_Tag {
|
|
|
83104
83307
|
});
|
|
83105
83308
|
}
|
|
83106
83309
|
|
|
83107
|
-
export declare class KnowledgeBaseConfiguration {
|
|
83108
|
-
constructor(props: {
|
|
83109
|
-
Type: BedrockKnowledgeBase_KnowledgeBaseType;
|
|
83110
|
-
KendraKnowledgeBaseConfiguration?: BedrockKnowledgeBase_KendraKnowledgeBaseConfiguration;
|
|
83111
|
-
ManagedKnowledgeBaseConfiguration?: BedrockKnowledgeBase_ManagedKnowledgeBaseConfiguration;
|
|
83112
|
-
SqlKnowledgeBaseConfiguration?: BedrockKnowledgeBase_SqlKnowledgeBaseConfiguration;
|
|
83113
|
-
VectorKnowledgeBaseConfiguration?: BedrockKnowledgeBase_VectorKnowledgeBaseConfiguration;
|
|
83114
|
-
});
|
|
83115
|
-
}
|
|
83116
|
-
|
|
83117
83310
|
export declare class KubernetesNetworkConfig {
|
|
83118
83311
|
constructor(props: {
|
|
83119
83312
|
/** Todo: add description */
|
|
@@ -102298,6 +102491,84 @@ export declare class QuickSightFlow_StepAliasMapping {
|
|
|
102298
102491
|
});
|
|
102299
102492
|
}
|
|
102300
102493
|
|
|
102494
|
+
export declare class QuickSightKnowledgeBase_AccessControlConfiguration {
|
|
102495
|
+
constructor(props: {
|
|
102496
|
+
IsACLEnabled?: boolean;
|
|
102497
|
+
});
|
|
102498
|
+
}
|
|
102499
|
+
|
|
102500
|
+
export declare class QuickSightKnowledgeBase_AudioExtractionConfiguration {
|
|
102501
|
+
constructor(props: {
|
|
102502
|
+
AudioExtractionStatus: QuickSightKnowledgeBase_AudioExtractionStatus;
|
|
102503
|
+
});
|
|
102504
|
+
}
|
|
102505
|
+
|
|
102506
|
+
export declare class QuickSightKnowledgeBase_ImageExtractionConfiguration {
|
|
102507
|
+
constructor(props: {
|
|
102508
|
+
ImageExtractionStatus: QuickSightKnowledgeBase_ImageExtractionStatus;
|
|
102509
|
+
});
|
|
102510
|
+
}
|
|
102511
|
+
|
|
102512
|
+
export declare class QuickSightKnowledgeBase_KbTemplateConfiguration {
|
|
102513
|
+
constructor(props: {
|
|
102514
|
+
Template?: any;
|
|
102515
|
+
});
|
|
102516
|
+
}
|
|
102517
|
+
|
|
102518
|
+
export declare class QuickSightKnowledgeBase_KnowledgeBaseConfiguration {
|
|
102519
|
+
constructor(props: {
|
|
102520
|
+
TemplateConfiguration?: QuickSightKnowledgeBase_KbTemplateConfiguration;
|
|
102521
|
+
});
|
|
102522
|
+
}
|
|
102523
|
+
|
|
102524
|
+
export declare class QuickSightKnowledgeBase_MediaExtractionConfiguration {
|
|
102525
|
+
constructor(props: {
|
|
102526
|
+
AudioExtractionConfiguration?: QuickSightKnowledgeBase_AudioExtractionConfiguration;
|
|
102527
|
+
ImageExtractionConfiguration?: QuickSightKnowledgeBase_ImageExtractionConfiguration;
|
|
102528
|
+
VideoExtractionConfiguration?: QuickSightKnowledgeBase_VideoExtractionConfiguration;
|
|
102529
|
+
});
|
|
102530
|
+
}
|
|
102531
|
+
|
|
102532
|
+
export declare class QuickSightKnowledgeBase_ResourcePermission {
|
|
102533
|
+
constructor(props: {
|
|
102534
|
+
/** <p>The IAM action to grant or revoke permissions on.</p> */
|
|
102535
|
+
Actions: string[];
|
|
102536
|
+
/** <p>The Amazon Resource Name (ARN) of the principal. This can be one of the
|
|
102537
|
+
following:</p>
|
|
102538
|
+
<ul>
|
|
102539
|
+
<li>
|
|
102540
|
+
<p>The ARN of an Amazon Quick user or group associated with a data source or dataset. (This is common.)</p>
|
|
102541
|
+
</li>
|
|
102542
|
+
<li>
|
|
102543
|
+
<p>The ARN of an Amazon Quick user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)</p>
|
|
102544
|
+
</li>
|
|
102545
|
+
<li>
|
|
102546
|
+
<p>The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight
|
|
102547
|
+
ARN. Use this option only to share resources (templates) across Amazon Web Services accounts.
|
|
102548
|
+
(This is less common.) </p>
|
|
102549
|
+
</li>
|
|
102550
|
+
</ul> */
|
|
102551
|
+
Principal: string;
|
|
102552
|
+
Resource?: string;
|
|
102553
|
+
});
|
|
102554
|
+
}
|
|
102555
|
+
|
|
102556
|
+
export declare class QuickSightKnowledgeBase_Tag {
|
|
102557
|
+
constructor(props: {
|
|
102558
|
+
/** <p>Tag key.</p> */
|
|
102559
|
+
Key: string;
|
|
102560
|
+
/** <p>Tag value.</p> */
|
|
102561
|
+
Value: string;
|
|
102562
|
+
});
|
|
102563
|
+
}
|
|
102564
|
+
|
|
102565
|
+
export declare class QuickSightKnowledgeBase_VideoExtractionConfiguration {
|
|
102566
|
+
constructor(props: {
|
|
102567
|
+
VideoExtractionStatus: QuickSightKnowledgeBase_VideoExtractionStatus;
|
|
102568
|
+
VideoExtractionType?: QuickSightKnowledgeBase_VideoExtractionType;
|
|
102569
|
+
});
|
|
102570
|
+
}
|
|
102571
|
+
|
|
102301
102572
|
export declare class QuickSightTemplate_AnalysisDefaults {
|
|
102302
102573
|
constructor(props: {
|
|
102303
102574
|
DefaultNewSheetConfiguration: QuickSightTemplate_DefaultNewSheetConfiguration;
|
|
@@ -116260,6 +116531,20 @@ export declare class TableInput {
|
|
|
116260
116531
|
});
|
|
116261
116532
|
}
|
|
116262
116533
|
|
|
116534
|
+
export declare class TableOptimizer_CompactionConfiguration {
|
|
116535
|
+
constructor(props: {
|
|
116536
|
+
IcebergConfiguration?: TableOptimizer_IcebergCompactionConfiguration;
|
|
116537
|
+
});
|
|
116538
|
+
}
|
|
116539
|
+
|
|
116540
|
+
export declare class TableOptimizer_IcebergCompactionConfiguration {
|
|
116541
|
+
constructor(props: {
|
|
116542
|
+
DeleteFileThreshold?: number;
|
|
116543
|
+
MinInputFiles?: number;
|
|
116544
|
+
Strategy?: string;
|
|
116545
|
+
});
|
|
116546
|
+
}
|
|
116547
|
+
|
|
116263
116548
|
export declare class TableOptimizer_IcebergConfiguration {
|
|
116264
116549
|
constructor(props: {
|
|
116265
116550
|
Location?: string;
|
|
@@ -116291,6 +116576,7 @@ export declare class TableOptimizer_TableOptimizerConfiguration {
|
|
|
116291
116576
|
constructor(props: {
|
|
116292
116577
|
Enabled: boolean;
|
|
116293
116578
|
RoleArn: string;
|
|
116579
|
+
CompactionConfiguration?: TableOptimizer_CompactionConfiguration;
|
|
116294
116580
|
OrphanFileDeletionConfiguration?: TableOptimizer_OrphanFileDeletionConfiguration;
|
|
116295
116581
|
RetentionConfiguration?: TableOptimizer_RetentionConfiguration;
|
|
116296
116582
|
VpcConfiguration?: TableOptimizer_VpcConfiguration;
|
|
@@ -116307,6 +116593,7 @@ export declare class TableOptimizerConfiguration {
|
|
|
116307
116593
|
constructor(props: {
|
|
116308
116594
|
Enabled: boolean;
|
|
116309
116595
|
RoleArn: string;
|
|
116596
|
+
CompactionConfiguration?: TableOptimizer_CompactionConfiguration;
|
|
116310
116597
|
OrphanFileDeletionConfiguration?: TableOptimizer_OrphanFileDeletionConfiguration;
|
|
116311
116598
|
RetentionConfiguration?: TableOptimizer_RetentionConfiguration;
|
|
116312
116599
|
VpcConfiguration?: TableOptimizer_VpcConfiguration;
|
|
@@ -117964,7 +118251,9 @@ export declare class ThreatIntelSet_TagItem {
|
|
|
117964
118251
|
|
|
117965
118252
|
export declare class ThresholdConfiguration {
|
|
117966
118253
|
constructor(props: {
|
|
118254
|
+
/** Determines how Amazon ECS uses ``value`` to calculate the failure threshold. For the percentage types (``BOUNDED_PERCENT`` and ``UNBOUNDED_PERCENT``), Amazon ECS multiplies ``value`` by the latest service desired count. For ``COUNT``, Amazon ECS uses ``value`` directly as the threshold. The default is ``BOUNDED_PERCENT``. */
|
|
117967
118255
|
Type: "BOUNDED_PERCENT" | "COUNT" | "UNBOUNDED_PERCENT";
|
|
118256
|
+
/** Specifies the integer that Amazon ECS uses to calculate the failure threshold. When ``type`` is ``COUNT``, this value is the failure threshold itself. When ``type`` is a percentage type, Amazon ECS multiplies this value by the latest service desired count to produce the failure threshold. The default is ``50``. */
|
|
117968
118257
|
Value: number;
|
|
117969
118258
|
});
|
|
117970
118259
|
}
|
|
@@ -121128,12 +121417,6 @@ export declare class VideoDescription {
|
|
|
121128
121417
|
});
|
|
121129
121418
|
}
|
|
121130
121419
|
|
|
121131
|
-
export declare class VideoExtractionConfiguration {
|
|
121132
|
-
constructor(props: {
|
|
121133
|
-
VideoExtractionStatus: QBusinessDataSource_VideoExtractionStatus;
|
|
121134
|
-
});
|
|
121135
|
-
}
|
|
121136
|
-
|
|
121137
121420
|
export declare class VideoMonitoringSetting {
|
|
121138
121421
|
constructor(props: {
|
|
121139
121422
|
BlackFrames?: MediaConnectFlow_BlackFrames;
|
|
@@ -126731,6 +127014,8 @@ export type BedrockAgentCoreGateway_AuthorizerType =
|
|
|
126731
127014
|
|
|
126732
127015
|
export type BedrockAgentCoreGateway_ClaimMatchOperator = "CONTAINS" | "CONTAINS_ANY" | "EQUALS";
|
|
126733
127016
|
|
|
127017
|
+
export type BedrockAgentCoreGateway_EndpointIpAddressType = "IPV4" | "IPV6";
|
|
127018
|
+
|
|
126734
127019
|
export type BedrockAgentCoreGateway_ExceptionLevel = "DEBUG";
|
|
126735
127020
|
|
|
126736
127021
|
export type BedrockAgentCoreGateway_GatewayInterceptionPoint = "REQUEST" | "RESPONSE";
|
|
@@ -128828,7 +129113,8 @@ export type KinesisStream_EnhancedMetric =
|
|
|
128828
129113
|
export type LambdaCapacityProvider_Architecture = "arm64" | "x86_64";
|
|
128829
129114
|
|
|
128830
129115
|
export type LambdaCapacityProvider_CapacityProviderPredefinedMetricType =
|
|
128831
|
-
| "LambdaCapacityProviderAverageCPUUtilization"
|
|
129116
|
+
| "LambdaCapacityProviderAverageCPUUtilization"
|
|
129117
|
+
| "LambdaCapacityProviderAverageGPUUtilization";
|
|
128832
129118
|
|
|
128833
129119
|
export type LambdaCapacityProvider_CapacityProviderScalingMode = "Auto" | "Manual";
|
|
128834
129120
|
|
|
@@ -130493,6 +130779,23 @@ export type QuickSightDataSource_StarburstProductType = "ENTERPRISE" | "GALAXY";
|
|
|
130493
130779
|
|
|
130494
130780
|
export type QuickSightFlow_FlowPublishState = "DRAFT" | "PENDING_APPROVAL" | "PUBLISHED";
|
|
130495
130781
|
|
|
130782
|
+
export type QuickSightKnowledgeBase_AudioExtractionStatus = "DISABLED" | "ENABLED";
|
|
130783
|
+
|
|
130784
|
+
export type QuickSightKnowledgeBase_DataSetStatus =
|
|
130785
|
+
| "ACTIVE"
|
|
130786
|
+
| "CREATING"
|
|
130787
|
+
| "DELETING"
|
|
130788
|
+
| "FAILED"
|
|
130789
|
+
| "UPDATING";
|
|
130790
|
+
|
|
130791
|
+
export type QuickSightKnowledgeBase_ImageExtractionStatus = "DISABLED" | "ENABLED";
|
|
130792
|
+
|
|
130793
|
+
export type QuickSightKnowledgeBase_VideoExtractionStatus = "DISABLED" | "ENABLED";
|
|
130794
|
+
|
|
130795
|
+
export type QuickSightKnowledgeBase_VideoExtractionType =
|
|
130796
|
+
| "AUDIO_TRANSCRIPTION_ONLY"
|
|
130797
|
+
| "VISUAL_CONTENT_AND_AUDIO_TRANSCRIPTION";
|
|
130798
|
+
|
|
130496
130799
|
export type QuickSightTemplate_AnchorOption = "NOW";
|
|
130497
130800
|
|
|
130498
130801
|
export type QuickSightTemplate_ArcThickness = "LARGE" | "MEDIUM" | "SMALL" | "WHOLE";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-aws",
|
|
3
|
-
"version": "0.18.
|
|
4
|
-
"description": "AWS CloudFormation lexicon for chant
|
|
3
|
+
"version": "0.18.27",
|
|
4
|
+
"description": "AWS CloudFormation lexicon for chant \u2014 declarative IaC in TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
7
7
|
"repository": {
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"typescript": "^5.9.3"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
|
-
"@intentius/chant": "^0.18.
|
|
83
|
+
"@intentius/chant": "^0.18.27",
|
|
84
84
|
"typescript": "^5.9.3"
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, test, expect } from "vitest";
|
|
2
|
-
import { applyAwsEndpoint, applyAwsEndpointArgv, ecsDeploymentId, ecsServiceStable } from "./cloud-executor";
|
|
2
|
+
import { applyAwsEndpoint, applyAwsEndpointArgv, awsDeployCapabilities, ecsDeploymentId, ecsServiceStable } from "./cloud-executor";
|
|
3
3
|
|
|
4
4
|
describe("ecsDeploymentId / ecsServiceStable — tolerate Floci's missing deployments (#937)", () => {
|
|
5
5
|
test("deployment id: real AWS shape", () => {
|
|
@@ -62,3 +62,16 @@ describe("applyAwsEndpointArgv (#926)", () => {
|
|
|
62
62
|
expect(applyAwsEndpointArgv(["docker", "ps"], url)).toEqual(["docker", "ps"]);
|
|
63
63
|
});
|
|
64
64
|
});
|
|
65
|
+
|
|
66
|
+
describe("awsDeployCapabilities — CAPABILITY_AUTO_EXPAND for Transform macros", () => {
|
|
67
|
+
test("plain template → CAPABILITY_NAMED_IAM only", () => {
|
|
68
|
+
expect(awsDeployCapabilities({})).toBe("CAPABILITY_NAMED_IAM");
|
|
69
|
+
expect(awsDeployCapabilities({ Transform: undefined })).toBe("CAPABILITY_NAMED_IAM");
|
|
70
|
+
});
|
|
71
|
+
test("a top-level Transform → adds CAPABILITY_AUTO_EXPAND", () => {
|
|
72
|
+
expect(awsDeployCapabilities({ Transform: "AWS::SecretsManager-2020-07-23" })).toBe(
|
|
73
|
+
"CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND",
|
|
74
|
+
);
|
|
75
|
+
expect(awsDeployCapabilities({ Transform: ["AWS::LanguageExtensions"] })).toContain("CAPABILITY_AUTO_EXPAND");
|
|
76
|
+
});
|
|
77
|
+
});
|
|
@@ -384,6 +384,20 @@ async function cfnChangeSetType(stackName: string): Promise<"CREATE" | "UPDATE">
|
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
|
|
387
|
+
/**
|
|
388
|
+
* The `--capabilities` a deploy needs for a template. `CAPABILITY_NAMED_IAM` is
|
|
389
|
+
* always required (chant emits named IAM roles); `CAPABILITY_AUTO_EXPAND` is added
|
|
390
|
+
* whenever the template declares a top-level `Transform` macro (e.g.
|
|
391
|
+
* `AWS::SecretsManager-2020-07-23` for a HostedRotationLambda rotation, or SAM) —
|
|
392
|
+
* the macro expands into nested stacks/resources during change-set creation, and
|
|
393
|
+
* CloudFormation refuses without the acknowledgement.
|
|
394
|
+
*/
|
|
395
|
+
export function awsDeployCapabilities(template: { Transform?: unknown }): string {
|
|
396
|
+
return template.Transform !== undefined
|
|
397
|
+
? "CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND"
|
|
398
|
+
: "CAPABILITY_NAMED_IAM";
|
|
399
|
+
}
|
|
400
|
+
|
|
387
401
|
const realCloudFormation: CloudFormationClient = {
|
|
388
402
|
async createChangeSet(args) {
|
|
389
403
|
const changeSetName = `cs-${Date.now()}`;
|
|
@@ -396,10 +410,14 @@ const realCloudFormation: CloudFormationClient = {
|
|
|
396
410
|
// for one still in REVIEW_IN_PROGRESS (a prior CREATE change set never
|
|
397
411
|
// executed), mirroring what `aws cloudformation deploy` does under the hood.
|
|
398
412
|
const changeSetType = await cfnChangeSetType(args.stackName);
|
|
413
|
+
let capabilities = "CAPABILITY_NAMED_IAM";
|
|
414
|
+
try {
|
|
415
|
+
capabilities = awsDeployCapabilities(JSON.parse(readFileSync(args.templatePath, "utf8")) as { Transform?: unknown });
|
|
416
|
+
} catch { /* unreadable/non-JSON template — keep the default capability */ }
|
|
399
417
|
await run(
|
|
400
418
|
`aws cloudformation create-change-set --stack-name ${q(args.stackName)} --change-set-name ${q(changeSetName)} ` +
|
|
401
419
|
`--change-set-type ${changeSetType} ` +
|
|
402
|
-
`--template-body file://${args.templatePath} --capabilities
|
|
420
|
+
`--template-body file://${args.templatePath} --capabilities ${capabilities}${paramFlag}`,
|
|
403
421
|
);
|
|
404
422
|
await run(
|
|
405
423
|
`aws cloudformation wait change-set-create-complete --stack-name ${q(args.stackName)} --change-set-name ${q(changeSetName)}`,
|