cdk-lambda-subminute 2.0.439 → 2.0.441

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.
Files changed (32) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +5 -1
  5. package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +135 -75
  6. package/node_modules/aws-sdk/apis/connectcampaigns-2021-01-30.min.json +6 -0
  7. package/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.min.json +3 -0
  8. package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +331 -144
  9. package/node_modules/aws-sdk/apis/oam-2022-06-10.min.json +68 -27
  10. package/node_modules/aws-sdk/apis/rds-2013-01-10.min.json +3 -0
  11. package/node_modules/aws-sdk/apis/rds-2013-02-12.min.json +3 -0
  12. package/node_modules/aws-sdk/apis/rds-2013-09-09.min.json +3 -0
  13. package/node_modules/aws-sdk/apis/rds-2014-09-01.min.json +3 -0
  14. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +9 -0
  15. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +44 -0
  16. package/node_modules/aws-sdk/apis/support-2013-04-15.min.json +3 -0
  17. package/node_modules/aws-sdk/clients/appsync.d.ts +1 -1
  18. package/node_modules/aws-sdk/clients/codepipeline.d.ts +87 -1
  19. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +24 -24
  20. package/node_modules/aws-sdk/clients/connectcampaigns.d.ts +4 -0
  21. package/node_modules/aws-sdk/clients/fms.d.ts +258 -20
  22. package/node_modules/aws-sdk/clients/ivs.d.ts +1 -1
  23. package/node_modules/aws-sdk/clients/oam.d.ts +61 -17
  24. package/node_modules/aws-sdk/clients/rds.d.ts +12 -4
  25. package/node_modules/aws-sdk/clients/stepfunctions.d.ts +52 -0
  26. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  27. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +14 -14
  28. package/node_modules/aws-sdk/dist/aws-sdk.js +159 -78
  29. package/node_modules/aws-sdk/dist/aws-sdk.min.js +89 -89
  30. package/node_modules/aws-sdk/lib/core.js +1 -1
  31. package/node_modules/aws-sdk/package.json +1 -1
  32. package/package.json +3 -3
@@ -12,19 +12,19 @@ declare class OAM extends Service {
12
12
  constructor(options?: OAM.Types.ClientConfiguration)
13
13
  config: Config & OAM.Types.ClientConfiguration;
14
14
  /**
15
- * Creates a link between a source account and a sink that you have created in a monitoring account. Before you create a link, you must create a sink in the monitoring account and create a sink policy in that account. The sink policy must permit the source account to link to it. You can grant permission to source accounts by granting permission to an entire organization or to individual accounts. For more information, see CreateSink and PutSinkPolicy. Each monitoring account can be linked to as many as 100,000 source accounts. Each source account can be linked to as many as five monitoring accounts.
15
+ * Creates a link between a source account and a sink that you have created in a monitoring account. After the link is created, data is sent from the source account to the monitoring account. When you create a link, you can optionally specify filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account. Before you create a link, you must create a sink in the monitoring account and create a sink policy in that account. The sink policy must permit the source account to link to it. You can grant permission to source accounts by granting permission to an entire organization or to individual accounts. For more information, see CreateSink and PutSinkPolicy. Each monitoring account can be linked to as many as 100,000 source accounts. Each source account can be linked to as many as five monitoring accounts.
16
16
  */
17
17
  createLink(params: OAM.Types.CreateLinkInput, callback?: (err: AWSError, data: OAM.Types.CreateLinkOutput) => void): Request<OAM.Types.CreateLinkOutput, AWSError>;
18
18
  /**
19
- * Creates a link between a source account and a sink that you have created in a monitoring account. Before you create a link, you must create a sink in the monitoring account and create a sink policy in that account. The sink policy must permit the source account to link to it. You can grant permission to source accounts by granting permission to an entire organization or to individual accounts. For more information, see CreateSink and PutSinkPolicy. Each monitoring account can be linked to as many as 100,000 source accounts. Each source account can be linked to as many as five monitoring accounts.
19
+ * Creates a link between a source account and a sink that you have created in a monitoring account. After the link is created, data is sent from the source account to the monitoring account. When you create a link, you can optionally specify filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account. Before you create a link, you must create a sink in the monitoring account and create a sink policy in that account. The sink policy must permit the source account to link to it. You can grant permission to source accounts by granting permission to an entire organization or to individual accounts. For more information, see CreateSink and PutSinkPolicy. Each monitoring account can be linked to as many as 100,000 source accounts. Each source account can be linked to as many as five monitoring accounts.
20
20
  */
21
21
  createLink(callback?: (err: AWSError, data: OAM.Types.CreateLinkOutput) => void): Request<OAM.Types.CreateLinkOutput, AWSError>;
22
22
  /**
23
- * Use this to create a sink in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that represents an attachment point in a monitoring account. Source accounts can link to the sink to send observability data. After you create a sink, you must create a sink policy that allows source accounts to attach to it. For more information, see PutSinkPolicy. Each account can contain one sink. If you delete a sink, you can then create a new one in that account.
23
+ * Use this to create a sink in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that represents an attachment point in a monitoring account. Source accounts can link to the sink to send observability data. After you create a sink, you must create a sink policy that allows source accounts to attach to it. For more information, see PutSinkPolicy. Each account can contain one sink per Region. If you delete a sink, you can then create a new one in that Region.
24
24
  */
25
25
  createSink(params: OAM.Types.CreateSinkInput, callback?: (err: AWSError, data: OAM.Types.CreateSinkOutput) => void): Request<OAM.Types.CreateSinkOutput, AWSError>;
26
26
  /**
27
- * Use this to create a sink in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that represents an attachment point in a monitoring account. Source accounts can link to the sink to send observability data. After you create a sink, you must create a sink policy that allows source accounts to attach to it. For more information, see PutSinkPolicy. Each account can contain one sink. If you delete a sink, you can then create a new one in that account.
27
+ * Use this to create a sink in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that represents an attachment point in a monitoring account. Source accounts can link to the sink to send observability data. After you create a sink, you must create a sink policy that allows source accounts to attach to it. For more information, see PutSinkPolicy. Each account can contain one sink per Region. If you delete a sink, you can then create a new one in that Region.
28
28
  */
29
29
  createSink(callback?: (err: AWSError, data: OAM.Types.CreateSinkOutput) => void): Request<OAM.Types.CreateSinkOutput, AWSError>;
30
30
  /**
@@ -124,11 +124,11 @@ declare class OAM extends Service {
124
124
  */
125
125
  untagResource(callback?: (err: AWSError, data: OAM.Types.UntagResourceOutput) => void): Request<OAM.Types.UntagResourceOutput, AWSError>;
126
126
  /**
127
- * Use this operation to change what types of data are shared from a source account to its linked monitoring account sink. You can't change the sink or change the monitoring account with this operation. To update the list of tags associated with the sink, use TagResource.
127
+ * Use this operation to change what types of data are shared from a source account to its linked monitoring account sink. You can't change the sink or change the monitoring account with this operation. When you update a link, you can optionally specify filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account. To update the list of tags associated with the sink, use TagResource.
128
128
  */
129
129
  updateLink(params: OAM.Types.UpdateLinkInput, callback?: (err: AWSError, data: OAM.Types.UpdateLinkOutput) => void): Request<OAM.Types.UpdateLinkOutput, AWSError>;
130
130
  /**
131
- * Use this operation to change what types of data are shared from a source account to its linked monitoring account sink. You can't change the sink or change the monitoring account with this operation. To update the list of tags associated with the sink, use TagResource.
131
+ * Use this operation to change what types of data are shared from a source account to its linked monitoring account sink. You can't change the sink or change the monitoring account with this operation. When you update a link, you can optionally specify filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account. To update the list of tags associated with the sink, use TagResource.
132
132
  */
133
133
  updateLink(callback?: (err: AWSError, data: OAM.Types.UpdateLinkOutput) => void): Request<OAM.Types.UpdateLinkOutput, AWSError>;
134
134
  }
@@ -139,6 +139,10 @@ declare namespace OAM {
139
139
  * Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account. You can use a custom label or use the following variables: $AccountName is the name of the account $AccountEmail is the globally unique email address of the account $AccountEmailNoDomain is the email address of the account without the domain name
140
140
  */
141
141
  LabelTemplate: LabelTemplate;
142
+ /**
143
+ * Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
144
+ */
145
+ LinkConfiguration?: LinkConfiguration;
142
146
  /**
143
147
  * An array of strings that define which types of data that the source account shares with the monitoring account.
144
148
  */
@@ -169,6 +173,10 @@ declare namespace OAM {
169
173
  * The exact label template that you specified, with the variables not resolved.
170
174
  */
171
175
  LabelTemplate?: String;
176
+ /**
177
+ * This structure includes filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.
178
+ */
179
+ LinkConfiguration?: LinkConfiguration;
172
180
  /**
173
181
  * The resource types supported by this link.
174
182
  */
@@ -249,6 +257,10 @@ declare namespace OAM {
249
257
  * The exact label template that was specified when the link was created, with the template variables not resolved.
250
258
  */
251
259
  LabelTemplate?: String;
260
+ /**
261
+ * This structure includes filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.
262
+ */
263
+ LinkConfiguration?: LinkConfiguration;
252
264
  /**
253
265
  * The resource types supported by this link.
254
266
  */
@@ -293,6 +305,10 @@ declare namespace OAM {
293
305
  SinkIdentifier: ResourceIdentifier;
294
306
  }
295
307
  export interface GetSinkPolicyOutput {
308
+ /**
309
+ * The policy that you specified, in JSON format.
310
+ */
311
+ Policy?: String;
296
312
  /**
297
313
  * The ARN of the sink.
298
314
  */
@@ -301,12 +317,18 @@ declare namespace OAM {
301
317
  * The random ID string that Amazon Web Services generated as part of the sink ARN.
302
318
  */
303
319
  SinkId?: String;
320
+ }
321
+ export type LabelTemplate = string;
322
+ export interface LinkConfiguration {
304
323
  /**
305
- * The policy that you specified, in JSON format.
324
+ * Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
306
325
  */
307
- Policy?: String;
326
+ LogGroupConfiguration?: LogGroupConfiguration;
327
+ /**
328
+ * Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
329
+ */
330
+ MetricConfiguration?: MetricConfiguration;
308
331
  }
309
- export type LabelTemplate = string;
310
332
  export interface ListAttachedLinksInput {
311
333
  /**
312
334
  * Limits the number of returned links to the specified number.
@@ -439,18 +461,36 @@ declare namespace OAM {
439
461
  */
440
462
  Tags?: TagMapOutput;
441
463
  }
442
- export type NextToken = string;
443
- export interface PutSinkPolicyInput {
464
+ export interface LogGroupConfiguration {
444
465
  /**
445
- * The ARN of the sink to attach this policy to.
466
+ * Use this field to specify which log groups are to share their log events with the monitoring account. Use the term LogGroupName and one or more of the following operands. Use single quotation marks (') around log group names. The matching of log group names is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are AND and OR. = and != AND OR LIKE and NOT LIKE. These can be used only as prefix searches. Include a % at the end of the string that you want to search for and include. IN and NOT IN, using parentheses ( ) Examples: LogGroupName IN ('This-Log-Group', 'Other-Log-Group') includes only the log groups with names This-Log-Group and Other-Log-Group. LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2') includes all log groups except the log groups with names Private-Log-Group and Private-Log-Group-2. LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%' includes all log groups that have names that start with aws/lambda/ or AWSLogs. If you are updating a link that uses filters, you can specify * as the only value for the filter parameter to delete the filter and share all log groups with the monitoring account.
446
467
  */
447
- SinkIdentifier: ResourceIdentifier;
468
+ Filter: LogsFilter;
469
+ }
470
+ export type LogsFilter = string;
471
+ export interface MetricConfiguration {
472
+ /**
473
+ * Use this field to specify which metrics are to be shared with the monitoring account. Use the term Namespace and one or more of the following operands. Use single quotation marks (') around namespace names. The matching of namespace names is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are AND and OR. = and != AND OR LIKE and NOT LIKE. These can be used only as prefix searches. Include a % at the end of the string that you want to search for and include. IN and NOT IN, using parentheses ( ) Examples: Namespace NOT LIKE 'AWS/%' includes only namespaces that don't start with AWS/, such as custom namespaces. Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3') includes only the metrics in the EC2, Elastic Load Balancing, and Amazon S3 namespaces. Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%' includes only the EC2 namespace and your custom namespaces. If you are updating a link that uses filters, you can specify * as the only value for the filter parameter to delete the filter and share all metric namespaces with the monitoring account.
474
+ */
475
+ Filter: MetricsFilter;
476
+ }
477
+ export type MetricsFilter = string;
478
+ export type NextToken = string;
479
+ export interface PutSinkPolicyInput {
448
480
  /**
449
481
  * The JSON policy to use. If you are updating an existing policy, the entire existing policy is replaced by what you specify here. The policy must be in JSON string format with quotation marks escaped and no newlines. For examples of different types of policies, see the Examples section on this page.
450
482
  */
451
483
  Policy: SinkPolicy;
484
+ /**
485
+ * The ARN of the sink to attach this policy to.
486
+ */
487
+ SinkIdentifier: ResourceIdentifier;
452
488
  }
453
489
  export interface PutSinkPolicyOutput {
490
+ /**
491
+ * The policy that you specified.
492
+ */
493
+ Policy?: String;
454
494
  /**
455
495
  * The ARN of the sink.
456
496
  */
@@ -459,10 +499,6 @@ declare namespace OAM {
459
499
  * The random ID string that Amazon Web Services generated as part of the sink ARN.
460
500
  */
461
501
  SinkId?: String;
462
- /**
463
- * The policy that you specified.
464
- */
465
- Policy?: String;
466
502
  }
467
503
  export type ResourceIdentifier = string;
468
504
  export type ResourceType = "AWS::CloudWatch::Metric"|"AWS::Logs::LogGroup"|"AWS::XRay::Trace"|"AWS::ApplicationInsights::Application"|"AWS::InternetMonitor::Monitor"|string;
@@ -505,6 +541,10 @@ declare namespace OAM {
505
541
  * The ARN of the link that you want to update.
506
542
  */
507
543
  Identifier: ResourceIdentifier;
544
+ /**
545
+ * Use this structure to filter which metric namespaces and which log groups are to be shared from the source account to the monitoring account.
546
+ */
547
+ LinkConfiguration?: LinkConfiguration;
508
548
  /**
509
549
  * An array of strings that define which types of data that the source account will send to the monitoring account. Your input here replaces the current set of data types that are shared.
510
550
  */
@@ -527,6 +567,10 @@ declare namespace OAM {
527
567
  * The exact label template that was specified when the link was created, with the template variables not resolved.
528
568
  */
529
569
  LabelTemplate?: LabelTemplate;
570
+ /**
571
+ * This structure includes filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.
572
+ */
573
+ LinkConfiguration?: LinkConfiguration;
530
574
  /**
531
575
  * The resource types now supported by this link.
532
576
  */
@@ -2464,7 +2464,7 @@ declare namespace RDS {
2464
2464
  */
2465
2465
  PromotionTier?: IntegerOptional;
2466
2466
  /**
2467
- * The time zone of the DB instance. The time zone parameter is currently supported only by Microsoft SQL Server.
2467
+ * The time zone of the DB instance. The time zone parameter is currently supported only by RDS for Db2 and RDS for SQL Server.
2468
2468
  */
2469
2469
  Timezone?: String;
2470
2470
  /**
@@ -3966,6 +3966,10 @@ declare namespace RDS {
3966
3966
  * JSON string that lists the installation files and parameters that RDS Custom uses to create a custom engine version (CEV). RDS Custom applies the patches in the order in which they're listed in the manifest. You can set the Oracle home, Oracle base, and UNIX/Linux user and group using the installation parameters. For more information, see JSON fields in the CEV manifest in the Amazon RDS User Guide.
3967
3967
  */
3968
3968
  CustomDBEngineVersionManifest?: CustomDBEngineVersionManifest;
3969
+ /**
3970
+ * Indicates whether the DB engine version supports Aurora Limitless Database.
3971
+ */
3972
+ SupportsLimitlessDatabase?: Boolean;
3969
3973
  /**
3970
3974
  * Indicates whether the engine version supports rotating the server certificate without rebooting the DB instance.
3971
3975
  */
@@ -4196,7 +4200,7 @@ declare namespace RDS {
4196
4200
  */
4197
4201
  DBInstanceArn?: String;
4198
4202
  /**
4199
- * The time zone of the DB instance. In most cases, the Timezone element is empty. Timezone content appears only for Microsoft SQL Server DB instances that were created with a time zone specified.
4203
+ * The time zone of the DB instance. In most cases, the Timezone element is empty. Timezone content appears only for RDS for Db2 and RDS for SQL Server DB instances that were created with a time zone specified.
4200
4204
  */
4201
4205
  Timezone?: String;
4202
4206
  /**
@@ -7582,7 +7586,7 @@ declare namespace RDS {
7582
7586
  */
7583
7587
  DBInstanceClass?: String;
7584
7588
  /**
7585
- * The new DB subnet group for the DB instance. You can use this parameter to move your DB instance to a different VPC. If your DB instance isn't in a VPC, you can also use this parameter to move your DB instance into a VPC. For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide. Changing the subnet group causes an outage during the change. The change is applied during the next maintenance window, unless you enable ApplyImmediately. This parameter doesn't apply to RDS Custom DB instances. Constraints: If supplied, must match existing DB subnet group. Example: mydbsubnetgroup
7589
+ * The new DB subnet group for the DB instance. You can use this parameter to move your DB instance to a different VPC. If your DB instance isn't in a VPC, you can also use this parameter to move your DB instance into a VPC. For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide. Changing the subnet group causes an outage during the change. The change is applied during the next maintenance window, unless you enable ApplyImmediately. This setting doesn't apply to RDS Custom DB instances. Constraints: If supplied, must match existing DB subnet group. Example: mydbsubnetgroup
7586
7590
  */
7587
7591
  DBSubnetGroupName?: String;
7588
7592
  /**
@@ -7746,7 +7750,7 @@ declare namespace RDS {
7746
7750
  */
7747
7751
  UseDefaultProcessorFeatures?: BooleanOptional;
7748
7752
  /**
7749
- * Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance.
7753
+ * Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance. This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the DB cluster. For more information, see ModifyDBCluster. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.
7750
7754
  */
7751
7755
  DeletionProtection?: BooleanOptional;
7752
7756
  /**
@@ -10717,6 +10721,10 @@ declare namespace RDS {
10717
10721
  * Indicates whether you can use Babelfish for Aurora PostgreSQL with the target engine version.
10718
10722
  */
10719
10723
  SupportsBabelfish?: BooleanOptional;
10724
+ /**
10725
+ * Indicates whether the DB engine version supports Aurora Limitless Database.
10726
+ */
10727
+ SupportsLimitlessDatabase?: BooleanOptional;
10720
10728
  /**
10721
10729
  * Indicates whether the target engine version supports forwarding write operations from reader DB instances to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances. Valid for: Aurora DB clusters only
10722
10730
  */
@@ -299,6 +299,14 @@ declare class StepFunctions extends Service {
299
299
  * Updates the configuration of an existing state machine alias by modifying its description or routingConfiguration. You must specify at least one of the description or routingConfiguration parameters to update a state machine alias. UpdateStateMachineAlias is an idempotent API. Step Functions bases the idempotency check on the stateMachineAliasArn, description, and routingConfiguration parameters. Requests with the same parameters return an idempotent response. This operation is eventually consistent. All StartExecution requests made within a few seconds use the latest alias configuration. Executions started immediately after calling UpdateStateMachineAlias may use the previous routing configuration. Related operations: CreateStateMachineAlias DescribeStateMachineAlias ListStateMachineAliases DeleteStateMachineAlias
300
300
  */
301
301
  updateStateMachineAlias(callback?: (err: AWSError, data: StepFunctions.Types.UpdateStateMachineAliasOutput) => void): Request<StepFunctions.Types.UpdateStateMachineAliasOutput, AWSError>;
302
+ /**
303
+ * Validates the syntax of a state machine definition. You can validate that a state machine definition is correct without creating a state machine resource. Step Functions will implicitly perform the same syntax check when you invoke CreateStateMachine and UpdateStateMachine. State machine definitions are specified using a JSON-based, structured language. For more information on Amazon States Language see Amazon States Language (ASL). Suggested uses for ValidateStateMachineDefinition: Integrate automated checks into your code review or Continuous Integration (CI) process to validate state machine definitions before starting deployments. Run the validation from a Git pre-commit hook to check your state machine definitions before committing them to your source repository. Errors found in the state machine definition will be returned in the response as a list of diagnostic elements, rather than raise an exception.
304
+ */
305
+ validateStateMachineDefinition(params: StepFunctions.Types.ValidateStateMachineDefinitionInput, callback?: (err: AWSError, data: StepFunctions.Types.ValidateStateMachineDefinitionOutput) => void): Request<StepFunctions.Types.ValidateStateMachineDefinitionOutput, AWSError>;
306
+ /**
307
+ * Validates the syntax of a state machine definition. You can validate that a state machine definition is correct without creating a state machine resource. Step Functions will implicitly perform the same syntax check when you invoke CreateStateMachine and UpdateStateMachine. State machine definitions are specified using a JSON-based, structured language. For more information on Amazon States Language see Amazon States Language (ASL). Suggested uses for ValidateStateMachineDefinition: Integrate automated checks into your code review or Continuous Integration (CI) process to validate state machine definitions before starting deployments. Run the validation from a Git pre-commit hook to check your state machine definitions before committing them to your source repository. Errors found in the state machine definition will be returned in the response as a list of diagnostic elements, rather than raise an exception.
308
+ */
309
+ validateStateMachineDefinition(callback?: (err: AWSError, data: StepFunctions.Types.ValidateStateMachineDefinitionOutput) => void): Request<StepFunctions.Types.ValidateStateMachineDefinitionOutput, AWSError>;
302
310
  }
303
311
  declare namespace StepFunctions {
304
312
  export interface ActivityFailedEventDetails {
@@ -2252,6 +2260,50 @@ declare namespace StepFunctions {
2252
2260
  */
2253
2261
  stateMachineVersionArn?: Arn;
2254
2262
  }
2263
+ export type ValidateStateMachineDefinitionCode = string;
2264
+ export interface ValidateStateMachineDefinitionDiagnostic {
2265
+ /**
2266
+ * A value of ERROR means that you cannot create or update a state machine with this definition.
2267
+ */
2268
+ severity: ValidateStateMachineDefinitionSeverity;
2269
+ /**
2270
+ * Identifying code for the diagnostic.
2271
+ */
2272
+ code: ValidateStateMachineDefinitionCode;
2273
+ /**
2274
+ * Message describing the diagnostic condition.
2275
+ */
2276
+ message: ValidateStateMachineDefinitionMessage;
2277
+ /**
2278
+ * Location of the issue in the state machine, if available. For errors specific to a field, the location could be in the format: /States/&lt;StateName&gt;/&lt;FieldName&gt;, for example: /States/FailState/ErrorPath.
2279
+ */
2280
+ location?: ValidateStateMachineDefinitionLocation;
2281
+ }
2282
+ export type ValidateStateMachineDefinitionDiagnosticList = ValidateStateMachineDefinitionDiagnostic[];
2283
+ export interface ValidateStateMachineDefinitionInput {
2284
+ /**
2285
+ * The Amazon States Language definition of the state machine. For more information, see Amazon States Language (ASL).
2286
+ */
2287
+ definition: Definition;
2288
+ /**
2289
+ * The target type of state machine for this definition. The default is STANDARD.
2290
+ */
2291
+ type?: StateMachineType;
2292
+ }
2293
+ export type ValidateStateMachineDefinitionLocation = string;
2294
+ export type ValidateStateMachineDefinitionMessage = string;
2295
+ export interface ValidateStateMachineDefinitionOutput {
2296
+ /**
2297
+ * The result value will be OK when no syntax errors are found, or FAIL if the workflow definition does not pass verification.
2298
+ */
2299
+ result: ValidateStateMachineDefinitionResultCode;
2300
+ /**
2301
+ * If the result is OK, this field will be empty. When there are errors, this field will contain an array of Diagnostic objects to help you troubleshoot.
2302
+ */
2303
+ diagnostics: ValidateStateMachineDefinitionDiagnosticList;
2304
+ }
2305
+ export type ValidateStateMachineDefinitionResultCode = "OK"|"FAIL"|string;
2306
+ export type ValidateStateMachineDefinitionSeverity = "ERROR"|string;
2255
2307
  export type VersionDescription = string;
2256
2308
  export type VersionWeight = number;
2257
2309
  export type includedDetails = boolean;
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1606.0',
86
+ VERSION: '2.1608.0',
87
87
 
88
88
  /**
89
89
  * @api private