cdk-docker-image-deployment 0.0.75 → 0.0.76

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 (46) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +19 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +114 -47
  8. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +168 -68
  9. package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +78 -55
  10. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +2 -1
  11. package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.min.json +20 -16
  12. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +255 -18
  13. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.paginators.json +5 -0
  14. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +219 -25
  15. package/node_modules/aws-sdk/apis/personalize-2018-05-22.paginators.json +12 -0
  16. package/node_modules/aws-sdk/apis/rum-2018-05-10.min.json +20 -5
  17. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +51 -9
  18. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +8 -2
  19. package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.min.json +54 -2
  20. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +161 -84
  21. package/node_modules/aws-sdk/clients/amplify.d.ts +4 -4
  22. package/node_modules/aws-sdk/clients/appflow.d.ts +95 -4
  23. package/node_modules/aws-sdk/clients/appsync.d.ts +133 -4
  24. package/node_modules/aws-sdk/clients/dms.d.ts +51 -10
  25. package/node_modules/aws-sdk/clients/ec2.d.ts +11 -7
  26. package/node_modules/aws-sdk/clients/elbv2.d.ts +20 -20
  27. package/node_modules/aws-sdk/clients/emrserverless.d.ts +17 -0
  28. package/node_modules/aws-sdk/clients/ivschat.d.ts +322 -13
  29. package/node_modules/aws-sdk/clients/lambda.d.ts +12 -12
  30. package/node_modules/aws-sdk/clients/personalize.d.ts +267 -0
  31. package/node_modules/aws-sdk/clients/polly.d.ts +2 -2
  32. package/node_modules/aws-sdk/clients/rum.d.ts +24 -5
  33. package/node_modules/aws-sdk/clients/s3control.d.ts +58 -16
  34. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +7 -7
  35. package/node_modules/aws-sdk/clients/securityhub.d.ts +16 -0
  36. package/node_modules/aws-sdk/clients/servicecatalogappregistry.d.ts +58 -7
  37. package/node_modules/aws-sdk/clients/sts.d.ts +18 -18
  38. package/node_modules/aws-sdk/clients/textract.d.ts +6 -6
  39. package/node_modules/aws-sdk/clients/workspaces.d.ts +115 -0
  40. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  41. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +15 -15
  42. package/node_modules/aws-sdk/dist/aws-sdk.js +236 -29
  43. package/node_modules/aws-sdk/dist/aws-sdk.min.js +36 -36
  44. package/node_modules/aws-sdk/lib/core.js +1 -1
  45. package/node_modules/aws-sdk/package.json +1 -1
  46. package/package.json +4 -4
@@ -337,7 +337,7 @@ declare namespace Amplify {
337
337
  */
338
338
  repository: Repository;
339
339
  /**
340
- * The platform for the Amplify app.
340
+ * The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.
341
341
  */
342
342
  platform: Platform;
343
343
  /**
@@ -639,7 +639,7 @@ declare namespace Amplify {
639
639
  */
640
640
  repository?: Repository;
641
641
  /**
642
- * The platform or framework for an Amplify app.
642
+ * The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.
643
643
  */
644
644
  platform?: Platform;
645
645
  /**
@@ -1438,7 +1438,7 @@ declare namespace Amplify {
1438
1438
  export type Name = string;
1439
1439
  export type NextToken = string;
1440
1440
  export type OauthToken = string;
1441
- export type Platform = "WEB"|"WEB_DYNAMIC"|string;
1441
+ export type Platform = "WEB"|"WEB_DYNAMIC"|"WEB_COMPUTE"|string;
1442
1442
  export interface ProductionBranch {
1443
1443
  /**
1444
1444
  * The last deploy time of the production branch.
@@ -1677,7 +1677,7 @@ declare namespace Amplify {
1677
1677
  */
1678
1678
  description?: Description;
1679
1679
  /**
1680
- * The platform for an Amplify app.
1680
+ * The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.
1681
1681
  */
1682
1682
  platform?: Platform;
1683
1683
  /**
@@ -198,6 +198,10 @@ declare namespace Appflow {
198
198
  * Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
199
199
  */
200
200
  aggregationType?: AggregationType;
201
+ /**
202
+ * The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.
203
+ */
204
+ targetFileSize?: Long;
201
205
  }
202
206
  export type AggregationType = "None"|"SingleFile"|string;
203
207
  export type AmplitudeConnectorOperator = "BETWEEN"|string;
@@ -309,6 +313,7 @@ declare namespace Appflow {
309
313
  export type Boolean = boolean;
310
314
  export type BucketName = string;
311
315
  export type BucketPrefix = string;
316
+ export type CatalogType = "GLUE"|string;
312
317
  export type ClientCredentialsArn = string;
313
318
  export type ClientId = string;
314
319
  export type ClientNumber = string;
@@ -1002,6 +1007,10 @@ declare namespace Appflow {
1002
1007
  * The tags used to organize, track, or control access for your flow.
1003
1008
  */
1004
1009
  tags?: TagMap;
1010
+ /**
1011
+ * Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
1012
+ */
1013
+ metadataCatalogConfig?: MetadataCatalogConfig;
1005
1014
  }
1006
1015
  export interface CreateFlowResponse {
1007
1016
  /**
@@ -1363,6 +1372,18 @@ declare namespace Appflow {
1363
1372
  * The tags used to organize, track, or control access for your flow.
1364
1373
  */
1365
1374
  tags?: TagMap;
1375
+ /**
1376
+ * Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
1377
+ */
1378
+ metadataCatalogConfig?: MetadataCatalogConfig;
1379
+ /**
1380
+ * Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
1381
+ */
1382
+ lastRunMetadataCatalogDetails?: MetadataCatalogDetails;
1383
+ /**
1384
+ * The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration: Source-to-destination field mappings Field data types Partition keys
1385
+ */
1386
+ schemaVersion?: Long;
1366
1387
  }
1367
1388
  export type Description = string;
1368
1389
  export interface DestinationConnectorProperties {
@@ -1569,6 +1590,10 @@ declare namespace Appflow {
1569
1590
  * The timestamp that indicates the last new or updated record to be transferred in the flow run.
1570
1591
  */
1571
1592
  dataPullEndTime?: _Date;
1593
+ /**
1594
+ * Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
1595
+ */
1596
+ metadataCatalogDetails?: MetadataCatalogDetails;
1572
1597
  }
1573
1598
  export interface ExecutionResult {
1574
1599
  /**
@@ -1692,6 +1717,23 @@ declare namespace Appflow {
1692
1717
  export type FlowName = string;
1693
1718
  export type FlowStatus = "Active"|"Deprecated"|"Deleted"|"Draft"|"Errored"|"Suspended"|string;
1694
1719
  export type FlowStatusMessage = string;
1720
+ export interface GlueDataCatalogConfig {
1721
+ /**
1722
+ * The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to create Data Catalog tables, databases, and partitions. For an example IAM policy that has the required permissions, see Identity-based policy examples for Amazon AppFlow.
1723
+ */
1724
+ roleArn: GlueDataCatalogIAMRole;
1725
+ /**
1726
+ * The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your Amazon Web Services account. These tables contain metadata for the data that's transferred by the flow that you configure with this parameter. When you configure a new flow with this parameter, you must specify an existing database.
1727
+ */
1728
+ databaseName: GlueDataCatalogDatabaseName;
1729
+ /**
1730
+ * A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure with this setting. Amazon AppFlow adds the prefix to the beginning of the each table name.
1731
+ */
1732
+ tablePrefix: GlueDataCatalogTablePrefix;
1733
+ }
1734
+ export type GlueDataCatalogDatabaseName = string;
1735
+ export type GlueDataCatalogIAMRole = string;
1736
+ export type GlueDataCatalogTablePrefix = string;
1695
1737
  export type GoogleAnalyticsConnectorOperator = "PROJECTION"|"BETWEEN"|string;
1696
1738
  export interface GoogleAnalyticsConnectorProfileCredentials {
1697
1739
  /**
@@ -1930,6 +1972,31 @@ declare namespace Appflow {
1930
1972
  object: Object;
1931
1973
  }
1932
1974
  export type MaxResults = number;
1975
+ export interface MetadataCatalogConfig {
1976
+ /**
1977
+ * Specifies the configuration that Amazon AppFlow uses when it catalogs your data with the Glue Data Catalog.
1978
+ */
1979
+ glueDataCatalog?: GlueDataCatalogConfig;
1980
+ }
1981
+ export interface MetadataCatalogDetail {
1982
+ /**
1983
+ * The type of metadata catalog that Amazon AppFlow used for the associated flow run. This parameter returns the following value: GLUE The metadata catalog is provided by the Glue Data Catalog. Glue includes the Glue Data Catalog as a component.
1984
+ */
1985
+ catalogType?: CatalogType;
1986
+ /**
1987
+ * The name of the table that stores the metadata for the associated flow run. The table stores metadata that represents the data that the flow transferred. Amazon AppFlow stores the table in the metadata catalog.
1988
+ */
1989
+ tableName?: String;
1990
+ /**
1991
+ * Describes the status of the attempt from Amazon AppFlow to register the metadata table with the metadata catalog. Amazon AppFlow creates or updates this table for the associated flow run.
1992
+ */
1993
+ tableRegistrationOutput?: RegistrationOutput;
1994
+ /**
1995
+ * Describes the status of the attempt from Amazon AppFlow to register the data partitions with the metadata catalog. The data partitions organize the flow output into a hierarchical path, such as a folder path in an S3 bucket. Amazon AppFlow creates the partitions (if they don't already exist) based on your flow configuration.
1996
+ */
1997
+ partitionRegistrationOutput?: RegistrationOutput;
1998
+ }
1999
+ export type MetadataCatalogDetails = MetadataCatalogDetail[];
1933
2000
  export type MostRecentExecutionMessage = string;
1934
2001
  export type Name = string;
1935
2002
  export type NextToken = string;
@@ -2063,19 +2130,25 @@ declare namespace Appflow {
2063
2130
  export type Object = string;
2064
2131
  export type ObjectTypeName = string;
2065
2132
  export type Operator = "PROJECTION"|"LESS_THAN"|"GREATER_THAN"|"CONTAINS"|"BETWEEN"|"LESS_THAN_OR_EQUAL_TO"|"GREATER_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"NOT_EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string;
2066
- export type OperatorPropertiesKeys = "VALUE"|"VALUES"|"DATA_TYPE"|"UPPER_BOUND"|"LOWER_BOUND"|"SOURCE_DATA_TYPE"|"DESTINATION_DATA_TYPE"|"VALIDATION_ACTION"|"MASK_VALUE"|"MASK_LENGTH"|"TRUNCATE_LENGTH"|"MATH_OPERATION_FIELDS_ORDER"|"CONCAT_FORMAT"|"SUBFIELD_CATEGORY_MAP"|"EXCLUDE_SOURCE_FIELDS_LIST"|"INCLUDE_NEW_FIELDS"|string;
2133
+ export type OperatorPropertiesKeys = "VALUE"|"VALUES"|"DATA_TYPE"|"UPPER_BOUND"|"LOWER_BOUND"|"SOURCE_DATA_TYPE"|"DESTINATION_DATA_TYPE"|"VALIDATION_ACTION"|"MASK_VALUE"|"MASK_LENGTH"|"TRUNCATE_LENGTH"|"MATH_OPERATION_FIELDS_ORDER"|"CONCAT_FORMAT"|"SUBFIELD_CATEGORY_MAP"|"EXCLUDE_SOURCE_FIELDS_LIST"|"INCLUDE_NEW_FIELDS"|"ORDERED_PARTITION_KEYS_LIST"|string;
2067
2134
  export type Operators = "PROJECTION"|"LESS_THAN"|"GREATER_THAN"|"CONTAINS"|"BETWEEN"|"LESS_THAN_OR_EQUAL_TO"|"GREATER_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"NOT_EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string;
2068
2135
  export type Password = string;
2136
+ export type PathPrefix = "EXECUTION_ID"|"SCHEMA_VERSION"|string;
2137
+ export type PathPrefixHierarchy = PathPrefix[];
2069
2138
  export type PortNumber = number;
2070
2139
  export interface PrefixConfig {
2071
2140
  /**
2072
- * Determines the format of the prefix, and whether it applies to the file name, file path, or both.
2141
+ * Determines the format of the prefix, and whether it applies to the file name, file path, or both.
2073
2142
  */
2074
2143
  prefixType?: PrefixType;
2075
2144
  /**
2076
- * Determines the level of granularity that's included in the prefix.
2145
+ * Determines the level of granularity for the date and time that's included in the prefix.
2077
2146
  */
2078
2147
  prefixFormat?: PrefixFormat;
2148
+ /**
2149
+ * Specifies whether the destination file path includes either or both of the following elements: EXECUTION_ID The ID that Amazon AppFlow assigns to the flow run. SCHEMA_VERSION The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration: Source-to-destination field mappings Field data types Partition keys
2150
+ */
2151
+ pathPrefixHierarchy?: PathPrefixHierarchy;
2079
2152
  }
2080
2153
  export type PrefixFormat = "YEAR"|"MONTH"|"DAY"|"HOUR"|"MINUTE"|string;
2081
2154
  export type PrefixType = "FILENAME"|"PATH"|"PATH_AND_FILENAME"|string;
@@ -2188,6 +2261,20 @@ declare namespace Appflow {
2188
2261
  connectorArn?: ARN;
2189
2262
  }
2190
2263
  export type RegisteredBy = string;
2264
+ export interface RegistrationOutput {
2265
+ /**
2266
+ * Explains the status of the registration attempt from Amazon AppFlow. If the attempt fails, the message explains why.
2267
+ */
2268
+ message?: String;
2269
+ /**
2270
+ * Indicates the number of resources that Amazon AppFlow created or updated. Possible resources include metadata tables and data partitions.
2271
+ */
2272
+ result?: String;
2273
+ /**
2274
+ * Indicates the status of the registration attempt from Amazon AppFlow.
2275
+ */
2276
+ status?: ExecutionStatus;
2277
+ }
2191
2278
  export type RoleArn = string;
2192
2279
  export type S3ConnectorOperator = "PROJECTION"|"LESS_THAN"|"GREATER_THAN"|"BETWEEN"|"LESS_THAN_OR_EQUAL_TO"|"GREATER_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"NOT_EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string;
2193
2280
  export interface S3DestinationProperties {
@@ -2756,7 +2843,7 @@ declare namespace Appflow {
2756
2843
  taskProperties?: TaskPropertiesMap;
2757
2844
  }
2758
2845
  export type TaskPropertiesMap = {[key: string]: Property};
2759
- export type TaskType = "Arithmetic"|"Filter"|"Map"|"Map_all"|"Mask"|"Merge"|"Passthrough"|"Truncate"|"Validate"|string;
2846
+ export type TaskType = "Arithmetic"|"Filter"|"Map"|"Map_all"|"Mask"|"Merge"|"Passthrough"|"Truncate"|"Validate"|"Partition"|string;
2760
2847
  export type Tasks = Task[];
2761
2848
  export type Timezone = string;
2762
2849
  export type TokenUrl = string;
@@ -2863,6 +2950,10 @@ declare namespace Appflow {
2863
2950
  * A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
2864
2951
  */
2865
2952
  tasks: Tasks;
2953
+ /**
2954
+ * Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
2955
+ */
2956
+ metadataCatalogConfig?: MetadataCatalogConfig;
2866
2957
  }
2867
2958
  export interface UpdateFlowResponse {
2868
2959
  /**
@@ -155,6 +155,14 @@ declare class AppSync extends Service {
155
155
  * Removes an ApiAssociation object from a custom domain.
156
156
  */
157
157
  disassociateApi(callback?: (err: AWSError, data: AppSync.Types.DisassociateApiResponse) => void): Request<AppSync.Types.DisassociateApiResponse, AWSError>;
158
+ /**
159
+ * Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request function takes the incoming request after a GraphQL operation is parsed and converts it into a request configuration for the selected data source operation. The response function interprets responses from the data source and maps it to the shape of the GraphQL field output type.
160
+ */
161
+ evaluateCode(params: AppSync.Types.EvaluateCodeRequest, callback?: (err: AWSError, data: AppSync.Types.EvaluateCodeResponse) => void): Request<AppSync.Types.EvaluateCodeResponse, AWSError>;
162
+ /**
163
+ * Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request function takes the incoming request after a GraphQL operation is parsed and converts it into a request configuration for the selected data source operation. The response function interprets responses from the data source and maps it to the shape of the GraphQL field output type.
164
+ */
165
+ evaluateCode(callback?: (err: AWSError, data: AppSync.Types.EvaluateCodeResponse) => void): Request<AppSync.Types.EvaluateCodeResponse, AWSError>;
158
166
  /**
159
167
  * Evaluates a given template and returns the response. The mapping template can be a request or response template. Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type. Mapping templates are written in the Apache Velocity Template Language (VTL).
160
168
  */
@@ -498,6 +506,16 @@ declare namespace AppSync {
498
506
  deletes?: Long;
499
507
  }
500
508
  export type ApiKeys = ApiKey[];
509
+ export interface AppSyncRuntime {
510
+ /**
511
+ * The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
512
+ */
513
+ name: RuntimeName;
514
+ /**
515
+ * The version of the runtime to use. Currently, the only allowed version is 1.0.0.
516
+ */
517
+ runtimeVersion: String;
518
+ }
501
519
  export interface AssociateApiRequest {
502
520
  /**
503
521
  * The domain name.
@@ -552,6 +570,39 @@ declare namespace AppSync {
552
570
  }
553
571
  export type CachingKeys = String[];
554
572
  export type CertificateArn = string;
573
+ export type Code = string;
574
+ export interface CodeError {
575
+ /**
576
+ * The type of code error. Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.
577
+ */
578
+ errorType?: String;
579
+ /**
580
+ * A user presentable error. Examples include, but aren't limited to: Parsing error: Unterminated string literal.
581
+ */
582
+ value?: String;
583
+ /**
584
+ * The line, column, and span location of the error in the code.
585
+ */
586
+ location?: CodeErrorLocation;
587
+ }
588
+ export type CodeErrorColumn = number;
589
+ export type CodeErrorLine = number;
590
+ export interface CodeErrorLocation {
591
+ /**
592
+ * The line number in the code. Defaults to 0 if unknown.
593
+ */
594
+ line?: CodeErrorLine;
595
+ /**
596
+ * The column number in the code. Defaults to 0 if unknown.
597
+ */
598
+ column?: CodeErrorColumn;
599
+ /**
600
+ * The span/length of the error. Defaults to -1 if unknown.
601
+ */
602
+ span?: CodeErrorSpan;
603
+ }
604
+ export type CodeErrorSpan = number;
605
+ export type CodeErrors = CodeError[];
555
606
  export interface CognitoUserPoolConfig {
556
607
  /**
557
608
  * The user pool ID.
@@ -719,14 +770,19 @@ declare namespace AppSync {
719
770
  */
720
771
  responseMappingTemplate?: MappingTemplate;
721
772
  /**
722
- * The version of the request mapping template. Currently, the supported value is 2018-05-29.
773
+ * The version of the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, the functionVersion is required.
723
774
  */
724
- functionVersion: String;
775
+ functionVersion?: String;
725
776
  syncConfig?: SyncConfig;
726
777
  /**
727
778
  * The maximum batching size for a resolver.
728
779
  */
729
780
  maxBatchSize?: MaxBatchSize;
781
+ runtime?: AppSyncRuntime;
782
+ /**
783
+ * The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
784
+ */
785
+ code?: Code;
730
786
  }
731
787
  export interface CreateFunctionResponse {
732
788
  /**
@@ -823,6 +879,11 @@ declare namespace AppSync {
823
879
  * The maximum batching size for a resolver.
824
880
  */
825
881
  maxBatchSize?: MaxBatchSize;
882
+ runtime?: AppSyncRuntime;
883
+ /**
884
+ * The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
885
+ */
886
+ code?: Code;
826
887
  }
827
888
  export interface CreateResolverResponse {
828
889
  /**
@@ -1073,6 +1134,48 @@ declare namespace AppSync {
1073
1134
  message?: ErrorMessage;
1074
1135
  }
1075
1136
  export type ErrorMessage = string;
1137
+ export interface EvaluateCodeErrorDetail {
1138
+ /**
1139
+ * The error payload.
1140
+ */
1141
+ message?: ErrorMessage;
1142
+ /**
1143
+ * Contains the list of CodeError objects.
1144
+ */
1145
+ codeErrors?: CodeErrors;
1146
+ }
1147
+ export interface EvaluateCodeRequest {
1148
+ /**
1149
+ * The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS runtime is supported.
1150
+ */
1151
+ runtime: AppSyncRuntime;
1152
+ /**
1153
+ * The code definition to be evaluated. Note that code and runtime are both required for this action. The runtime value must be APPSYNC_JS.
1154
+ */
1155
+ code: Code;
1156
+ /**
1157
+ * The map that holds all of the contextual information for your resolver invocation. A context is required for this action.
1158
+ */
1159
+ context: Context;
1160
+ /**
1161
+ * The function within the code to be evaluated. If provided, the valid values are request and response.
1162
+ */
1163
+ function?: String;
1164
+ }
1165
+ export interface EvaluateCodeResponse {
1166
+ /**
1167
+ * The result of the evaluation operation.
1168
+ */
1169
+ evaluationResult?: EvaluationResult;
1170
+ /**
1171
+ * Contains the payload of the response error.
1172
+ */
1173
+ error?: EvaluateCodeErrorDetail;
1174
+ /**
1175
+ * A list of logs that were generated by calls to util.log.info and util.log.error in the evaluated code.
1176
+ */
1177
+ logs?: Logs;
1178
+ }
1076
1179
  export interface EvaluateMappingTemplateRequest {
1077
1180
  /**
1078
1181
  * The mapping template; this can be a request or response template. A template is required for this action.
@@ -1092,6 +1195,10 @@ declare namespace AppSync {
1092
1195
  * The ErrorDetail object.
1093
1196
  */
1094
1197
  error?: ErrorDetail;
1198
+ /**
1199
+ * A list of logs that were generated by calls to util.log.info and util.log.error in the evaluated code.
1200
+ */
1201
+ logs?: Logs;
1095
1202
  }
1096
1203
  export type EvaluationResult = string;
1097
1204
  export type FieldLogLevel = "NONE"|"ERROR"|"ALL"|string;
@@ -1141,6 +1248,11 @@ declare namespace AppSync {
1141
1248
  * The maximum batching size for a resolver.
1142
1249
  */
1143
1250
  maxBatchSize?: MaxBatchSize;
1251
+ runtime?: AppSyncRuntime;
1252
+ /**
1253
+ * The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
1254
+ */
1255
+ code?: Code;
1144
1256
  }
1145
1257
  export type Functions = FunctionConfiguration[];
1146
1258
  export type FunctionsIds = String[];
@@ -1613,6 +1725,7 @@ declare namespace AppSync {
1613
1725
  */
1614
1726
  excludeVerboseContent?: Boolean;
1615
1727
  }
1728
+ export type Logs = String[];
1616
1729
  export type Long = number;
1617
1730
  export type MapOfStringToString = {[key: string]: String};
1618
1731
  export type MappingTemplate = string;
@@ -1732,11 +1845,17 @@ declare namespace AppSync {
1732
1845
  * The maximum batching size for a resolver.
1733
1846
  */
1734
1847
  maxBatchSize?: MaxBatchSize;
1848
+ runtime?: AppSyncRuntime;
1849
+ /**
1850
+ * The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
1851
+ */
1852
+ code?: Code;
1735
1853
  }
1736
1854
  export type ResolverKind = "UNIT"|"PIPELINE"|string;
1737
1855
  export type Resolvers = Resolver[];
1738
1856
  export type ResourceArn = string;
1739
1857
  export type ResourceName = string;
1858
+ export type RuntimeName = "APPSYNC_JS"|string;
1740
1859
  export type SchemaStatus = "PROCESSING"|"ACTIVE"|"DELETING"|"FAILED"|"SUCCESS"|"NOT_APPLICABLE"|string;
1741
1860
  export interface StartSchemaCreationRequest {
1742
1861
  /**
@@ -1969,14 +2088,19 @@ declare namespace AppSync {
1969
2088
  */
1970
2089
  responseMappingTemplate?: MappingTemplate;
1971
2090
  /**
1972
- * The version of the request mapping template. Currently, the supported value is 2018-05-29.
2091
+ * The version of the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, the functionVersion is required.
1973
2092
  */
1974
- functionVersion: String;
2093
+ functionVersion?: String;
1975
2094
  syncConfig?: SyncConfig;
1976
2095
  /**
1977
2096
  * The maximum batching size for a resolver.
1978
2097
  */
1979
2098
  maxBatchSize?: MaxBatchSize;
2099
+ runtime?: AppSyncRuntime;
2100
+ /**
2101
+ * The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
2102
+ */
2103
+ code?: Code;
1980
2104
  }
1981
2105
  export interface UpdateFunctionResponse {
1982
2106
  /**
@@ -2073,6 +2197,11 @@ declare namespace AppSync {
2073
2197
  * The maximum batching size for a resolver.
2074
2198
  */
2075
2199
  maxBatchSize?: MaxBatchSize;
2200
+ runtime?: AppSyncRuntime;
2201
+ /**
2202
+ * The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
2203
+ */
2204
+ code?: Code;
2076
2205
  }
2077
2206
  export interface UpdateResolverResponse {
2078
2207
  /**
@@ -828,7 +828,7 @@ declare namespace DMS {
828
828
  */
829
829
  EndpointType: ReplicationEndpointTypeValue;
830
830
  /**
831
- * The type of engine for the endpoint. Valid values, depending on the EndpointType value, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "opensearch", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "docdb", "sqlserver", and "neptune".
831
+ * The type of engine for the endpoint. Valid values, depending on the EndpointType value, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "opensearch", "redshift", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "docdb", "sqlserver", "neptune", and "babelfish".
832
832
  */
833
833
  EngineName: String;
834
834
  /**
@@ -1093,6 +1093,10 @@ declare namespace DMS {
1093
1093
  * A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1. For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't specify a ResourceIdentifier value, DMS generates a default identifier value for the end of EndpointArn.
1094
1094
  */
1095
1095
  ResourceIdentifier?: String;
1096
+ /**
1097
+ * The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
1098
+ */
1099
+ NetworkType?: String;
1096
1100
  }
1097
1101
  export interface CreateReplicationInstanceResponse {
1098
1102
  /**
@@ -2154,11 +2158,11 @@ declare namespace DMS {
2154
2158
  */
2155
2159
  EndpointType?: ReplicationEndpointTypeValue;
2156
2160
  /**
2157
- * The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "opensearch", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune".
2161
+ * The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", "neptune", and "babelfish".
2158
2162
  */
2159
2163
  EngineName?: String;
2160
2164
  /**
2161
- * The expanded name for the engine name. For example, if the EngineName parameter is "aurora," this value would be "Amazon Aurora MySQL."
2165
+ * The expanded name for the engine name. For example, if the EngineName parameter is "aurora", this value would be "Amazon Aurora MySQL".
2162
2166
  */
2163
2167
  EngineDisplayName?: String;
2164
2168
  /**
@@ -2800,7 +2804,7 @@ declare namespace DMS {
2800
2804
  */
2801
2805
  EndpointType?: ReplicationEndpointTypeValue;
2802
2806
  /**
2803
- * The type of engine for the endpoint. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "opensearch", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune".
2807
+ * The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", "neptune", and "babelfish".
2804
2808
  */
2805
2809
  EngineName?: String;
2806
2810
  /**
@@ -2996,6 +3000,10 @@ declare namespace DMS {
2996
3000
  * The replication instance identifier. This parameter is stored as a lowercase string.
2997
3001
  */
2998
3002
  ReplicationInstanceIdentifier?: String;
3003
+ /**
3004
+ * The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
3005
+ */
3006
+ NetworkType?: String;
2999
3007
  }
3000
3008
  export interface ModifyReplicationInstanceResponse {
3001
3009
  /**
@@ -3288,7 +3296,7 @@ declare namespace DMS {
3288
3296
  */
3289
3297
  DirectPathNoLog?: BooleanOptional;
3290
3298
  /**
3291
- * When this field is set to Y, DMS only accesses the archived redo logs. If the archived redo logs are stored on Oracle ASM only, the DMS user account needs to be granted ASM privileges.
3299
+ * When this field is set to Y, DMS only accesses the archived redo logs. If the archived redo logs are stored on Automatic Storage Management (ASM) only, the DMS user account needs to be granted ASM privileges.
3292
3300
  */
3293
3301
  ArchivedLogsOnly?: BooleanOptional;
3294
3302
  /**
@@ -3384,11 +3392,11 @@ declare namespace DMS {
3384
3392
  */
3385
3393
  SecretsManagerSecretId?: String;
3386
3394
  /**
3387
- * Required only if your Oracle endpoint uses Advanced Storage Manager (ASM). The full ARN of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the SecretsManagerOracleAsmSecret. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint. You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerOracleAsmSecretId. Or you can specify clear-text values for AsmUserName, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
3395
+ * Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The full ARN of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the SecretsManagerOracleAsmSecret. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint. You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerOracleAsmSecretId. Or you can specify clear-text values for AsmUserName, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
3388
3396
  */
3389
3397
  SecretsManagerOracleAsmAccessRoleArn?: String;
3390
3398
  /**
3391
- * Required only if your Oracle endpoint uses Advanced Storage Manager (ASM). The full ARN, partial ARN, or friendly name of the SecretsManagerOracleAsmSecret that contains the Oracle ASM connection details for the Oracle endpoint.
3399
+ * Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The full ARN, partial ARN, or friendly name of the SecretsManagerOracleAsmSecret that contains the Oracle ASM connection details for the Oracle endpoint.
3392
3400
  */
3393
3401
  SecretsManagerOracleAsmSecretId?: String;
3394
3402
  /**
@@ -3867,6 +3875,10 @@ declare namespace DMS {
3867
3875
  * One or more private IP addresses for the replication instance.
3868
3876
  */
3869
3877
  ReplicationInstancePrivateIpAddresses?: ReplicationInstancePrivateIpAddressList;
3878
+ /**
3879
+ * One or more IPv6 addresses for the replication instance.
3880
+ */
3881
+ ReplicationInstanceIpv6Addresses?: ReplicationInstanceIpv6AddressList;
3870
3882
  /**
3871
3883
  * Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.
3872
3884
  */
@@ -3883,7 +3895,12 @@ declare namespace DMS {
3883
3895
  * The DNS name servers supported for the replication instance to access your on-premise source or target database.
3884
3896
  */
3885
3897
  DnsNameServers?: String;
3898
+ /**
3899
+ * The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
3900
+ */
3901
+ NetworkType?: String;
3886
3902
  }
3903
+ export type ReplicationInstanceIpv6AddressList = String[];
3887
3904
  export type ReplicationInstanceList = ReplicationInstance[];
3888
3905
  export type ReplicationInstancePrivateIpAddressList = String[];
3889
3906
  export type ReplicationInstancePublicIpAddressList = String[];
@@ -3919,6 +3936,10 @@ declare namespace DMS {
3919
3936
  * The engine version number of the replication instance.
3920
3937
  */
3921
3938
  EngineVersion?: String;
3939
+ /**
3940
+ * The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
3941
+ */
3942
+ NetworkType?: String;
3922
3943
  }
3923
3944
  export interface ReplicationSubnetGroup {
3924
3945
  /**
@@ -3941,6 +3962,10 @@ declare namespace DMS {
3941
3962
  * The subnets that are in the subnet group.
3942
3963
  */
3943
3964
  Subnets?: SubnetList;
3965
+ /**
3966
+ * The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
3967
+ */
3968
+ SupportedNetworkTypes?: StringList;
3944
3969
  }
3945
3970
  export type ReplicationSubnetGroups = ReplicationSubnetGroup[];
3946
3971
  export interface ReplicationTask {
@@ -4333,7 +4358,7 @@ declare namespace DMS {
4333
4358
  */
4334
4359
  CdcMaxBatchInterval?: IntegerOptional;
4335
4360
  /**
4336
- * Minimum file size, defined in megabytes, to reach for a file output to Amazon S3. When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template. The default value is 32 MB.
4361
+ * Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3. When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template. The default value is 32 MB.
4337
4362
  */
4338
4363
  CdcMinFileSize?: IntegerOptional;
4339
4364
  /**
@@ -4559,7 +4584,7 @@ declare namespace DMS {
4559
4584
  export type SubnetList = Subnet[];
4560
4585
  export interface SupportedEndpointType {
4561
4586
  /**
4562
- * The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune".
4587
+ * The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", "neptune", and "babelfish".
4563
4588
  */
4564
4589
  EngineName?: String;
4565
4590
  /**
@@ -4575,7 +4600,7 @@ declare namespace DMS {
4575
4600
  */
4576
4601
  ReplicationInstanceEngineMinimumVersion?: String;
4577
4602
  /**
4578
- * The expanded name for the engine name. For example, if the EngineName parameter is "aurora," this value would be "Amazon Aurora MySQL."
4603
+ * The expanded name for the engine name. For example, if the EngineName parameter is "aurora", this value would be "Amazon Aurora MySQL".
4579
4604
  */
4580
4605
  EngineDisplayName?: String;
4581
4606
  }
@@ -4637,6 +4662,22 @@ declare namespace DMS {
4637
4662
  * The data definition language (DDL) used to build and modify the structure of your tables.
4638
4663
  */
4639
4664
  Ddls?: Long;
4665
+ /**
4666
+ * The number of insert actions applied on a target table.
4667
+ */
4668
+ AppliedInserts?: LongOptional;
4669
+ /**
4670
+ * The number of delete actions applied on a target table.
4671
+ */
4672
+ AppliedDeletes?: LongOptional;
4673
+ /**
4674
+ * The number of update actions applied on a target table.
4675
+ */
4676
+ AppliedUpdates?: LongOptional;
4677
+ /**
4678
+ * The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.
4679
+ */
4680
+ AppliedDdls?: LongOptional;
4640
4681
  /**
4641
4682
  * The number of rows added during the full load operation.
4642
4683
  */