cdk-docker-image-deployment 0.0.75 → 0.0.77

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 (85) 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 +36 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +138 -47
  8. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +168 -68
  9. package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +41 -27
  10. package/node_modules/aws-sdk/apis/{ssmsap-2018-05-10.examples.json → chime-sdk-voice-2022-08-03.examples.json} +0 -0
  11. package/node_modules/aws-sdk/apis/chime-sdk-voice-2022-08-03.min.json +2734 -0
  12. package/node_modules/aws-sdk/apis/chime-sdk-voice-2022-08-03.paginators.json +46 -0
  13. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +774 -409
  14. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +185 -158
  15. package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +78 -55
  16. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +5 -1
  17. package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.min.json +20 -16
  18. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +505 -501
  19. package/node_modules/aws-sdk/apis/iot-roborunner-2018-05-10.examples.json +5 -0
  20. package/node_modules/aws-sdk/apis/iot-roborunner-2018-05-10.min.json +923 -0
  21. package/node_modules/aws-sdk/apis/iot-roborunner-2018-05-10.paginators.json +28 -0
  22. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +255 -18
  23. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.paginators.json +5 -0
  24. package/node_modules/aws-sdk/apis/metadata.json +9 -0
  25. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +219 -25
  26. package/node_modules/aws-sdk/apis/personalize-2018-05-22.paginators.json +12 -0
  27. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +321 -138
  28. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.paginators.json +12 -0
  29. package/node_modules/aws-sdk/apis/rum-2018-05-10.min.json +20 -5
  30. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +51 -9
  31. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +263 -263
  32. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +8 -2
  33. package/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json +183 -115
  34. package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.min.json +54 -2
  35. package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.examples.json +5 -0
  36. package/node_modules/aws-sdk/apis/{ssmsap-2018-05-10.min.json → ssm-sap-2018-05-10.min.json} +2 -2
  37. package/node_modules/aws-sdk/apis/{ssmsap-2018-05-10.paginators.json → ssm-sap-2018-05-10.paginators.json} +0 -0
  38. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +17 -5
  39. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +161 -84
  40. package/node_modules/aws-sdk/clients/all.d.ts +2 -0
  41. package/node_modules/aws-sdk/clients/all.js +2 -0
  42. package/node_modules/aws-sdk/clients/amplify.d.ts +4 -4
  43. package/node_modules/aws-sdk/clients/appflow.d.ts +125 -9
  44. package/node_modules/aws-sdk/clients/appsync.d.ts +133 -4
  45. package/node_modules/aws-sdk/clients/auditmanager.d.ts +50 -12
  46. package/node_modules/aws-sdk/clients/chimesdkvoice.d.ts +1401 -0
  47. package/node_modules/aws-sdk/clients/chimesdkvoice.js +18 -0
  48. package/node_modules/aws-sdk/clients/cloudfront.d.ts +300 -12
  49. package/node_modules/aws-sdk/clients/connect.d.ts +31 -1
  50. package/node_modules/aws-sdk/clients/dms.d.ts +51 -10
  51. package/node_modules/aws-sdk/clients/dynamodb.d.ts +7 -7
  52. package/node_modules/aws-sdk/clients/ec2.d.ts +28 -20
  53. package/node_modules/aws-sdk/clients/elbv2.d.ts +20 -20
  54. package/node_modules/aws-sdk/clients/emrserverless.d.ts +17 -0
  55. package/node_modules/aws-sdk/clients/glue.d.ts +9 -3
  56. package/node_modules/aws-sdk/clients/iotroborunner.d.ts +534 -0
  57. package/node_modules/aws-sdk/clients/iotroborunner.js +18 -0
  58. package/node_modules/aws-sdk/clients/ivschat.d.ts +322 -13
  59. package/node_modules/aws-sdk/clients/lambda.d.ts +12 -12
  60. package/node_modules/aws-sdk/clients/personalize.d.ts +267 -0
  61. package/node_modules/aws-sdk/clients/polly.d.ts +2 -2
  62. package/node_modules/aws-sdk/clients/quicksight.d.ts +230 -13
  63. package/node_modules/aws-sdk/clients/rum.d.ts +24 -5
  64. package/node_modules/aws-sdk/clients/s3control.d.ts +58 -16
  65. package/node_modules/aws-sdk/clients/sagemaker.d.ts +5 -1
  66. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +7 -7
  67. package/node_modules/aws-sdk/clients/securityhub.d.ts +16 -0
  68. package/node_modules/aws-sdk/clients/servicecatalog.d.ts +141 -29
  69. package/node_modules/aws-sdk/clients/servicecatalogappregistry.d.ts +58 -7
  70. package/node_modules/aws-sdk/clients/ssmsap.d.ts +31 -31
  71. package/node_modules/aws-sdk/clients/ssmsap.js +2 -2
  72. package/node_modules/aws-sdk/clients/stepfunctions.d.ts +67 -52
  73. package/node_modules/aws-sdk/clients/sts.d.ts +18 -18
  74. package/node_modules/aws-sdk/clients/textract.d.ts +6 -6
  75. package/node_modules/aws-sdk/clients/transfer.d.ts +7 -7
  76. package/node_modules/aws-sdk/clients/workspaces.d.ts +115 -0
  77. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  78. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +106 -32
  79. package/node_modules/aws-sdk/dist/aws-sdk.js +1388 -709
  80. package/node_modules/aws-sdk/dist/aws-sdk.min.js +87 -86
  81. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +4 -0
  82. package/node_modules/aws-sdk/lib/core.js +1 -1
  83. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +3 -3
  84. package/node_modules/aws-sdk/package.json +1 -1
  85. 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
  /**
@@ -124,11 +124,11 @@ declare class Appflow extends Service {
124
124
  */
125
125
  listTagsForResource(callback?: (err: AWSError, data: Appflow.Types.ListTagsForResourceResponse) => void): Request<Appflow.Types.ListTagsForResourceResponse, AWSError>;
126
126
  /**
127
- * Registers a new connector with your Amazon Web Services account. Before you can register the connector, you must deploy lambda in your account.
127
+ * Registers a new custom connector with your Amazon Web Services account. Before you can register the connector, you must deploy the associated AWS lambda function in your account.
128
128
  */
129
129
  registerConnector(params: Appflow.Types.RegisterConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.RegisterConnectorResponse) => void): Request<Appflow.Types.RegisterConnectorResponse, AWSError>;
130
130
  /**
131
- * Registers a new connector with your Amazon Web Services account. Before you can register the connector, you must deploy lambda in your account.
131
+ * Registers a new custom connector with your Amazon Web Services account. Before you can register the connector, you must deploy the associated AWS lambda function in your account.
132
132
  */
133
133
  registerConnector(callback?: (err: AWSError, data: Appflow.Types.RegisterConnectorResponse) => void): Request<Appflow.Types.RegisterConnectorResponse, AWSError>;
134
134
  /**
@@ -156,11 +156,11 @@ declare class Appflow extends Service {
156
156
  */
157
157
  tagResource(callback?: (err: AWSError, data: Appflow.Types.TagResourceResponse) => void): Request<Appflow.Types.TagResourceResponse, AWSError>;
158
158
  /**
159
- * Unregisters the custom connector registered in your account that matches the connectorLabel provided in the request.
159
+ * Unregisters the custom connector registered in your account that matches the connector label provided in the request.
160
160
  */
161
161
  unregisterConnector(params: Appflow.Types.UnregisterConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.UnregisterConnectorResponse) => void): Request<Appflow.Types.UnregisterConnectorResponse, AWSError>;
162
162
  /**
163
- * Unregisters the custom connector registered in your account that matches the connectorLabel provided in the request.
163
+ * Unregisters the custom connector registered in your account that matches the connector label provided in the request.
164
164
  */
165
165
  unregisterConnector(callback?: (err: AWSError, data: Appflow.Types.UnregisterConnectorResponse) => void): Request<Appflow.Types.UnregisterConnectorResponse, AWSError>;
166
166
  /**
@@ -179,6 +179,14 @@ declare class Appflow extends Service {
179
179
  * Updates a given connector profile associated with your account.
180
180
  */
181
181
  updateConnectorProfile(callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorProfileResponse) => void): Request<Appflow.Types.UpdateConnectorProfileResponse, AWSError>;
182
+ /**
183
+ * Updates a custom connector that you've previously registered. This operation updates the connector with one of the following: The latest version of the AWS Lambda function that's assigned to the connector A new AWS Lambda function that you specify
184
+ */
185
+ updateConnectorRegistration(params: Appflow.Types.UpdateConnectorRegistrationRequest, callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorRegistrationResponse) => void): Request<Appflow.Types.UpdateConnectorRegistrationResponse, AWSError>;
186
+ /**
187
+ * Updates a custom connector that you've previously registered. This operation updates the connector with one of the following: The latest version of the AWS Lambda function that's assigned to the connector A new AWS Lambda function that you specify
188
+ */
189
+ updateConnectorRegistration(callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorRegistrationResponse) => void): Request<Appflow.Types.UpdateConnectorRegistrationResponse, AWSError>;
182
190
  /**
183
191
  * Updates an existing flow.
184
192
  */
@@ -198,6 +206,10 @@ declare namespace Appflow {
198
206
  * Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
199
207
  */
200
208
  aggregationType?: AggregationType;
209
+ /**
210
+ * 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.
211
+ */
212
+ targetFileSize?: Long;
201
213
  }
202
214
  export type AggregationType = "None"|"SingleFile"|string;
203
215
  export type AmplitudeConnectorOperator = "BETWEEN"|string;
@@ -309,6 +321,7 @@ declare namespace Appflow {
309
321
  export type Boolean = boolean;
310
322
  export type BucketName = string;
311
323
  export type BucketPrefix = string;
324
+ export type CatalogType = "GLUE"|string;
312
325
  export type ClientCredentialsArn = string;
313
326
  export type ClientId = string;
314
327
  export type ClientNumber = string;
@@ -1002,6 +1015,10 @@ declare namespace Appflow {
1002
1015
  * The tags used to organize, track, or control access for your flow.
1003
1016
  */
1004
1017
  tags?: TagMap;
1018
+ /**
1019
+ * 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.
1020
+ */
1021
+ metadataCatalogConfig?: MetadataCatalogConfig;
1005
1022
  }
1006
1023
  export interface CreateFlowResponse {
1007
1024
  /**
@@ -1363,6 +1380,18 @@ declare namespace Appflow {
1363
1380
  * The tags used to organize, track, or control access for your flow.
1364
1381
  */
1365
1382
  tags?: TagMap;
1383
+ /**
1384
+ * 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.
1385
+ */
1386
+ metadataCatalogConfig?: MetadataCatalogConfig;
1387
+ /**
1388
+ * Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
1389
+ */
1390
+ lastRunMetadataCatalogDetails?: MetadataCatalogDetails;
1391
+ /**
1392
+ * 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
1393
+ */
1394
+ schemaVersion?: Long;
1366
1395
  }
1367
1396
  export type Description = string;
1368
1397
  export interface DestinationConnectorProperties {
@@ -1569,6 +1598,10 @@ declare namespace Appflow {
1569
1598
  * The timestamp that indicates the last new or updated record to be transferred in the flow run.
1570
1599
  */
1571
1600
  dataPullEndTime?: _Date;
1601
+ /**
1602
+ * Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
1603
+ */
1604
+ metadataCatalogDetails?: MetadataCatalogDetails;
1572
1605
  }
1573
1606
  export interface ExecutionResult {
1574
1607
  /**
@@ -1692,6 +1725,23 @@ declare namespace Appflow {
1692
1725
  export type FlowName = string;
1693
1726
  export type FlowStatus = "Active"|"Deprecated"|"Deleted"|"Draft"|"Errored"|"Suspended"|string;
1694
1727
  export type FlowStatusMessage = string;
1728
+ export interface GlueDataCatalogConfig {
1729
+ /**
1730
+ * 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.
1731
+ */
1732
+ roleArn: GlueDataCatalogIAMRole;
1733
+ /**
1734
+ * 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.
1735
+ */
1736
+ databaseName: GlueDataCatalogDatabaseName;
1737
+ /**
1738
+ * 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.
1739
+ */
1740
+ tablePrefix: GlueDataCatalogTablePrefix;
1741
+ }
1742
+ export type GlueDataCatalogDatabaseName = string;
1743
+ export type GlueDataCatalogIAMRole = string;
1744
+ export type GlueDataCatalogTablePrefix = string;
1695
1745
  export type GoogleAnalyticsConnectorOperator = "PROJECTION"|"BETWEEN"|string;
1696
1746
  export interface GoogleAnalyticsConnectorProfileCredentials {
1697
1747
  /**
@@ -1930,6 +1980,31 @@ declare namespace Appflow {
1930
1980
  object: Object;
1931
1981
  }
1932
1982
  export type MaxResults = number;
1983
+ export interface MetadataCatalogConfig {
1984
+ /**
1985
+ * Specifies the configuration that Amazon AppFlow uses when it catalogs your data with the Glue Data Catalog.
1986
+ */
1987
+ glueDataCatalog?: GlueDataCatalogConfig;
1988
+ }
1989
+ export interface MetadataCatalogDetail {
1990
+ /**
1991
+ * 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.
1992
+ */
1993
+ catalogType?: CatalogType;
1994
+ /**
1995
+ * 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.
1996
+ */
1997
+ tableName?: String;
1998
+ /**
1999
+ * 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.
2000
+ */
2001
+ tableRegistrationOutput?: RegistrationOutput;
2002
+ /**
2003
+ * 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.
2004
+ */
2005
+ partitionRegistrationOutput?: RegistrationOutput;
2006
+ }
2007
+ export type MetadataCatalogDetails = MetadataCatalogDetail[];
1933
2008
  export type MostRecentExecutionMessage = string;
1934
2009
  export type Name = string;
1935
2010
  export type NextToken = string;
@@ -2063,19 +2138,25 @@ declare namespace Appflow {
2063
2138
  export type Object = string;
2064
2139
  export type ObjectTypeName = string;
2065
2140
  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;
2141
+ 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
2142
  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
2143
  export type Password = string;
2144
+ export type PathPrefix = "EXECUTION_ID"|"SCHEMA_VERSION"|string;
2145
+ export type PathPrefixHierarchy = PathPrefix[];
2069
2146
  export type PortNumber = number;
2070
2147
  export interface PrefixConfig {
2071
2148
  /**
2072
- * Determines the format of the prefix, and whether it applies to the file name, file path, or both.
2149
+ * Determines the format of the prefix, and whether it applies to the file name, file path, or both.
2073
2150
  */
2074
2151
  prefixType?: PrefixType;
2075
2152
  /**
2076
- * Determines the level of granularity that's included in the prefix.
2153
+ * Determines the level of granularity for the date and time that's included in the prefix.
2077
2154
  */
2078
2155
  prefixFormat?: PrefixFormat;
2156
+ /**
2157
+ * 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
2158
+ */
2159
+ pathPrefixHierarchy?: PathPrefixHierarchy;
2079
2160
  }
2080
2161
  export type PrefixFormat = "YEAR"|"MONTH"|"DAY"|"HOUR"|"MINUTE"|string;
2081
2162
  export type PrefixType = "FILENAME"|"PATH"|"PATH_AND_FILENAME"|string;
@@ -2188,6 +2269,20 @@ declare namespace Appflow {
2188
2269
  connectorArn?: ARN;
2189
2270
  }
2190
2271
  export type RegisteredBy = string;
2272
+ export interface RegistrationOutput {
2273
+ /**
2274
+ * Explains the status of the registration attempt from Amazon AppFlow. If the attempt fails, the message explains why.
2275
+ */
2276
+ message?: String;
2277
+ /**
2278
+ * Indicates the number of resources that Amazon AppFlow created or updated. Possible resources include metadata tables and data partitions.
2279
+ */
2280
+ result?: String;
2281
+ /**
2282
+ * Indicates the status of the registration attempt from Amazon AppFlow.
2283
+ */
2284
+ status?: ExecutionStatus;
2285
+ }
2191
2286
  export type RoleArn = string;
2192
2287
  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
2288
  export interface S3DestinationProperties {
@@ -2375,7 +2470,7 @@ declare namespace Appflow {
2375
2470
  */
2376
2471
  includeDeletedRecords?: Boolean;
2377
2472
  /**
2378
- * Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data from Salesforce. AUTOMATIC The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers from Salesforce. If your flow transfers fewer than 1,000,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0. Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900,000 records, and it might use Bulk API 2.0 on the next day to transfer 1,100,000 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields. By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output. BULKV2 Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers. Note that Bulk API 2.0 does not transfer Salesforce compound fields. REST_SYNC Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail with a timed out error.
2473
+ * Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data from Salesforce. AUTOMATIC The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers from Salesforce. If your flow transfers fewer than 1,000,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0. Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900,000 records, and it might use Bulk API 2.0 on the next day to transfer 1,100,000 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields. By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output. BULKV2 Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers. Note that Bulk API 2.0 does not transfer Salesforce compound fields. REST_SYNC Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail wituh a timed out error.
2379
2474
  */
2380
2475
  dataTransferApi?: SalesforceDataTransferApi;
2381
2476
  }
@@ -2756,7 +2851,7 @@ declare namespace Appflow {
2756
2851
  taskProperties?: TaskPropertiesMap;
2757
2852
  }
2758
2853
  export type TaskPropertiesMap = {[key: string]: Property};
2759
- export type TaskType = "Arithmetic"|"Filter"|"Map"|"Map_all"|"Mask"|"Merge"|"Passthrough"|"Truncate"|"Validate"|string;
2854
+ export type TaskType = "Arithmetic"|"Filter"|"Map"|"Map_all"|"Mask"|"Merge"|"Passthrough"|"Truncate"|"Validate"|"Partition"|string;
2760
2855
  export type Tasks = Task[];
2761
2856
  export type Timezone = string;
2762
2857
  export type TokenUrl = string;
@@ -2841,6 +2936,23 @@ declare namespace Appflow {
2841
2936
  */
2842
2937
  connectorProfileArn?: ConnectorProfileArn;
2843
2938
  }
2939
+ export interface UpdateConnectorRegistrationRequest {
2940
+ /**
2941
+ * The name of the connector. The name is unique for each connector registration in your AWS account.
2942
+ */
2943
+ connectorLabel: ConnectorLabel;
2944
+ /**
2945
+ * A description about the update that you're applying to the connector.
2946
+ */
2947
+ description?: Description;
2948
+ connectorProvisioningConfig?: ConnectorProvisioningConfig;
2949
+ }
2950
+ export interface UpdateConnectorRegistrationResponse {
2951
+ /**
2952
+ * The ARN of the connector being updated.
2953
+ */
2954
+ connectorArn?: ARN;
2955
+ }
2844
2956
  export interface UpdateFlowRequest {
2845
2957
  /**
2846
2958
  * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
@@ -2863,6 +2975,10 @@ declare namespace Appflow {
2863
2975
  * A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
2864
2976
  */
2865
2977
  tasks: Tasks;
2978
+ /**
2979
+ * 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.
2980
+ */
2981
+ metadataCatalogConfig?: MetadataCatalogConfig;
2866
2982
  }
2867
2983
  export interface UpdateFlowResponse {
2868
2984
  /**
@@ -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
  /**