aws-sdk 2.871.0 → 2.875.0

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 (45) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/README.md +1 -1
  3. package/apis/alexaforbusiness-2017-11-09.min.json +9 -0
  4. package/apis/customer-profiles-2020-08-15.min.json +164 -6
  5. package/apis/docdb-2014-10-31.min.json +298 -114
  6. package/apis/docdb-2014-10-31.paginators.json +6 -0
  7. package/apis/eventbridge-2015-10-07.min.json +22 -3
  8. package/apis/events-2015-10-07.min.json +22 -3
  9. package/apis/glue-2017-03-31.min.json +20 -10
  10. package/apis/iotwireless-2020-11-22.min.json +3 -0
  11. package/apis/location-2020-11-19.min.json +23 -1
  12. package/apis/lookoutmetrics-2017-07-25.examples.json +5 -0
  13. package/apis/lookoutmetrics-2017-07-25.min.json +1179 -0
  14. package/apis/lookoutmetrics-2017-07-25.paginators.json +39 -0
  15. package/apis/medialive-2017-10-14.min.json +189 -176
  16. package/apis/metadata.json +3 -0
  17. package/apis/rekognition-2016-06-27.min.json +181 -109
  18. package/apis/sagemaker-2017-07-24.min.json +213 -199
  19. package/apis/wafv2-2019-07-29.min.json +172 -81
  20. package/clients/alexaforbusiness.d.ts +12 -0
  21. package/clients/all.d.ts +1 -0
  22. package/clients/all.js +2 -1
  23. package/clients/cloudwatchevents.d.ts +25 -2
  24. package/clients/customerprofiles.d.ts +102 -1
  25. package/clients/docdb.d.ts +213 -0
  26. package/clients/eventbridge.d.ts +25 -2
  27. package/clients/glue.d.ts +21 -6
  28. package/clients/iotwireless.d.ts +13 -9
  29. package/clients/location.d.ts +100 -44
  30. package/clients/lookoutmetrics.d.ts +1497 -0
  31. package/clients/lookoutmetrics.js +19 -0
  32. package/clients/medialive.d.ts +8 -1
  33. package/clients/rekognition.d.ts +80 -3
  34. package/clients/sagemaker.d.ts +26 -11
  35. package/clients/sqs.d.ts +2 -2
  36. package/clients/transcribeservice.d.ts +2 -2
  37. package/clients/wafv2.d.ts +94 -3
  38. package/dist/aws-sdk-core-react-native.js +2 -2
  39. package/dist/aws-sdk-react-native.js +83 -17
  40. package/dist/aws-sdk.js +209 -115
  41. package/dist/aws-sdk.min.js +47 -47
  42. package/lib/config_service_placeholders.d.ts +2 -0
  43. package/lib/core.js +1 -1
  44. package/lib/services/lookoutmetrics.js +22 -0
  45. package/package.json +1 -1
@@ -340,11 +340,11 @@ declare class CloudWatchEvents extends Service {
340
340
  */
341
341
  putRule(callback?: (err: AWSError, data: CloudWatchEvents.Types.PutRuleResponse) => void): Request<CloudWatchEvents.Types.PutRuleResponse, AWSError>;
342
342
  /**
343
- * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: EC2 instances SSM Run Command SSM Automation AWS Lambda functions Data streams in Amazon Kinesis Data Streams Data delivery streams in Amazon Kinesis Data Firehose Amazon ECS tasks AWS Step Functions state machines AWS Batch jobs AWS CodeBuild projects Pipelines in AWS CodePipeline Amazon Inspector assessment templates Amazon SNS topics Amazon SQS queues, including FIFO queues The default event bus of another AWS account Amazon API Gateway REST APIs Redshift Clusters to invoke Data API ExecuteStatement on Custom/SaaS HTTPS APIs via EventBridge API Destinations Creating rules with built-in targets is supported only in the AWS Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge (CloudWatch Events) needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis data streams, AWS Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another AWS account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge (CloudWatch Events) Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different AWS account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between AWS Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
343
+ * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: EC2 instances SSM Run Command SSM Automation AWS Lambda functions Data streams in Amazon Kinesis Data Streams Data delivery streams in Amazon Kinesis Data Firehose Amazon ECS tasks AWS Step Functions state machines AWS Batch jobs AWS CodeBuild projects Pipelines in AWS CodePipeline Amazon Inspector assessment templates Amazon SNS topics Amazon SQS queues, including FIFO queues The default event bus of another AWS account Amazon API Gateway REST APIs Redshift Clusters to invoke Data API ExecuteStatement on Custom/SaaS HTTPS APIs via EventBridge API Destinations Amazon SageMaker Model Building Pipelines Creating rules with built-in targets is supported only in the AWS Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge (CloudWatch Events) needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis data streams, AWS Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another AWS account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge (CloudWatch Events) Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different AWS account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between AWS Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
344
344
  */
345
345
  putTargets(params: CloudWatchEvents.Types.PutTargetsRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.PutTargetsResponse) => void): Request<CloudWatchEvents.Types.PutTargetsResponse, AWSError>;
346
346
  /**
347
- * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: EC2 instances SSM Run Command SSM Automation AWS Lambda functions Data streams in Amazon Kinesis Data Streams Data delivery streams in Amazon Kinesis Data Firehose Amazon ECS tasks AWS Step Functions state machines AWS Batch jobs AWS CodeBuild projects Pipelines in AWS CodePipeline Amazon Inspector assessment templates Amazon SNS topics Amazon SQS queues, including FIFO queues The default event bus of another AWS account Amazon API Gateway REST APIs Redshift Clusters to invoke Data API ExecuteStatement on Custom/SaaS HTTPS APIs via EventBridge API Destinations Creating rules with built-in targets is supported only in the AWS Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge (CloudWatch Events) needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis data streams, AWS Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another AWS account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge (CloudWatch Events) Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different AWS account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between AWS Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
347
+ * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: EC2 instances SSM Run Command SSM Automation AWS Lambda functions Data streams in Amazon Kinesis Data Streams Data delivery streams in Amazon Kinesis Data Firehose Amazon ECS tasks AWS Step Functions state machines AWS Batch jobs AWS CodeBuild projects Pipelines in AWS CodePipeline Amazon Inspector assessment templates Amazon SNS topics Amazon SQS queues, including FIFO queues The default event bus of another AWS account Amazon API Gateway REST APIs Redshift Clusters to invoke Data API ExecuteStatement on Custom/SaaS HTTPS APIs via EventBridge API Destinations Amazon SageMaker Model Building Pipelines Creating rules with built-in targets is supported only in the AWS Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge (CloudWatch Events) needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis data streams, AWS Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another AWS account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge (CloudWatch Events) Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different AWS account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between AWS Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
348
348
  */
349
349
  putTargets(callback?: (err: AWSError, data: CloudWatchEvents.Types.PutTargetsResponse) => void): Request<CloudWatchEvents.Types.PutTargetsResponse, AWSError>;
350
350
  /**
@@ -2357,6 +2357,25 @@ declare namespace CloudWatchEvents {
2357
2357
  export type RunCommandTargetValue = string;
2358
2358
  export type RunCommandTargetValues = RunCommandTargetValue[];
2359
2359
  export type RunCommandTargets = RunCommandTarget[];
2360
+ export interface SageMakerPipelineParameter {
2361
+ /**
2362
+ * Name of parameter to start execution of a SageMaker Model Building Pipeline.
2363
+ */
2364
+ Name: SageMakerPipelineParameterName;
2365
+ /**
2366
+ * Value of parameter to start execution of a SageMaker Model Building Pipeline.
2367
+ */
2368
+ Value: SageMakerPipelineParameterValue;
2369
+ }
2370
+ export type SageMakerPipelineParameterList = SageMakerPipelineParameter[];
2371
+ export type SageMakerPipelineParameterName = string;
2372
+ export type SageMakerPipelineParameterValue = string;
2373
+ export interface SageMakerPipelineParameters {
2374
+ /**
2375
+ * List of Parameter names and values for SageMaker Model Building Pipeline execution.
2376
+ */
2377
+ PipelineParameterList?: SageMakerPipelineParameterList;
2378
+ }
2360
2379
  export type ScheduleExpression = string;
2361
2380
  export type SecretsManagerSecretArn = string;
2362
2381
  export type Sql = string;
@@ -2493,6 +2512,10 @@ declare namespace CloudWatchEvents {
2493
2512
  * Contains the Redshift Data API parameters to use when the target is a Redshift cluster. If you specify a Redshift Cluster as a Target, you can use this to specify parameters to invoke the Redshift Data API ExecuteStatement based on EventBridge events.
2494
2513
  */
2495
2514
  RedshiftDataParameters?: RedshiftDataParameters;
2515
+ /**
2516
+ * Contains the SageMaker Model Building Pipeline parameters to start execution of a SageMaker Model Building Pipeline. If you specify a SageMaker Model Building Pipeline as a target, you can use this to specify parameters to start a pipeline execution based on EventBridge events.
2517
+ */
2518
+ SageMakerPipelineParameters?: SageMakerPipelineParameters;
2496
2519
  /**
2497
2520
  * The DeadLetterConfig that defines the target queue to send dead-letter queue events to.
2498
2521
  */
@@ -309,6 +309,16 @@ declare namespace CustomerProfiles {
309
309
  PostalCode?: string1To255;
310
310
  }
311
311
  export type Attributes = {[key: string]: string1To255};
312
+ export type BucketName = string;
313
+ export type BucketPrefix = string;
314
+ export interface ConnectorOperator {
315
+ Marketo?: MarketoConnectorOperator;
316
+ S3?: S3ConnectorOperator;
317
+ Salesforce?: SalesforceConnectorOperator;
318
+ ServiceNow?: ServiceNowConnectorOperator;
319
+ Zendesk?: ZendeskConnectorOperator;
320
+ }
321
+ export type ConnectorProfileName = string;
312
322
  export interface CreateDomainRequest {
313
323
  /**
314
324
  * The unique name of the domain.
@@ -457,6 +467,9 @@ declare namespace CustomerProfiles {
457
467
  */
458
468
  ProfileId: uuid;
459
469
  }
470
+ export type DataPullMode = "Incremental"|"Complete"|string;
471
+ export type _Date = Date;
472
+ export type DatetimeTypeFieldName = string;
460
473
  export interface DeleteDomainRequest {
461
474
  /**
462
475
  * The unique name of the domain.
@@ -565,6 +578,7 @@ declare namespace CustomerProfiles {
565
578
  */
566
579
  Message?: message;
567
580
  }
581
+ export type DestinationField = string;
568
582
  export type DomainList = ListDomainItem[];
569
583
  export interface DomainStats {
570
584
  /**
@@ -587,6 +601,16 @@ declare namespace CustomerProfiles {
587
601
  export type FieldContentType = "STRING"|"NUMBER"|"PHONE_NUMBER"|"EMAIL_ADDRESS"|"NAME"|string;
588
602
  export type FieldMap = {[key: string]: ObjectTypeField};
589
603
  export type FieldNameList = name[];
604
+ export interface FlowDefinition {
605
+ Description?: FlowDescription;
606
+ FlowName: FlowName;
607
+ KmsArn: KmsArn;
608
+ SourceFlowConfig: SourceFlowConfig;
609
+ Tasks: Tasks;
610
+ TriggerConfig: TriggerConfig;
611
+ }
612
+ export type FlowDescription = string;
613
+ export type FlowName = string;
590
614
  export type Gender = "MALE"|"FEMALE"|"UNSPECIFIED"|string;
591
615
  export interface GetDomainRequest {
592
616
  /**
@@ -752,8 +776,12 @@ declare namespace CustomerProfiles {
752
776
  */
753
777
  Keys?: KeyMap;
754
778
  }
779
+ export interface IncrementalPullConfig {
780
+ DatetimeTypeFieldName?: DatetimeTypeFieldName;
781
+ }
755
782
  export type IntegrationList = ListIntegrationItem[];
756
783
  export type KeyMap = {[key: string]: ObjectTypeKeyList};
784
+ export type KmsArn = string;
757
785
  export interface ListAccountIntegrationsRequest {
758
786
  /**
759
787
  * The URI of the S3 bucket or any other type of data source.
@@ -1004,6 +1032,11 @@ declare namespace CustomerProfiles {
1004
1032
  */
1005
1033
  tags?: TagMap;
1006
1034
  }
1035
+ export type MarketoConnectorOperator = "PROJECTION"|"LESS_THAN"|"GREATER_THAN"|"BETWEEN"|"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;
1036
+ export interface MarketoSourceProperties {
1037
+ Object: Object;
1038
+ }
1039
+ export type Object = string;
1007
1040
  export interface ObjectTypeField {
1008
1041
  /**
1009
1042
  * A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.
@@ -1029,6 +1062,7 @@ declare namespace CustomerProfiles {
1029
1062
  FieldNames?: FieldNameList;
1030
1063
  }
1031
1064
  export type ObjectTypeKeyList = ObjectTypeKey[];
1065
+ 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"|string;
1032
1066
  export type PartyType = "INDIVIDUAL"|"BUSINESS"|"OTHER"|string;
1033
1067
  export interface Profile {
1034
1068
  /**
@@ -1124,6 +1158,7 @@ declare namespace CustomerProfiles {
1124
1158
  export type ProfileObjectList = ListProfileObjectsItem[];
1125
1159
  export type ProfileObjectTypeList = ListProfileObjectTypeItem[];
1126
1160
  export type ProfileObjectTypeTemplateList = ListProfileObjectTypeTemplateItem[];
1161
+ export type Property = string;
1127
1162
  export interface PutIntegrationRequest {
1128
1163
  /**
1129
1164
  * The unique name of the domain.
@@ -1132,7 +1167,7 @@ declare namespace CustomerProfiles {
1132
1167
  /**
1133
1168
  * The URI of the S3 bucket or any other type of data source.
1134
1169
  */
1135
- Uri: string1To255;
1170
+ Uri?: string1To255;
1136
1171
  /**
1137
1172
  * The name of the profile object type.
1138
1173
  */
@@ -1141,6 +1176,7 @@ declare namespace CustomerProfiles {
1141
1176
  * The tags used to organize, track, or control access for this resource.
1142
1177
  */
1143
1178
  Tags?: TagMap;
1179
+ FlowDefinition?: FlowDefinition;
1144
1180
  }
1145
1181
  export interface PutIntegrationResponse {
1146
1182
  /**
@@ -1276,6 +1312,28 @@ declare namespace CustomerProfiles {
1276
1312
  */
1277
1313
  Tags?: TagMap;
1278
1314
  }
1315
+ 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;
1316
+ export interface S3SourceProperties {
1317
+ BucketName: BucketName;
1318
+ BucketPrefix?: BucketPrefix;
1319
+ }
1320
+ export type SalesforceConnectorOperator = "PROJECTION"|"LESS_THAN"|"CONTAINS"|"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;
1321
+ export interface SalesforceSourceProperties {
1322
+ Object: Object;
1323
+ EnableDynamicFieldUpdate?: boolean;
1324
+ IncludeDeletedRecords?: boolean;
1325
+ }
1326
+ export type ScheduleExpression = string;
1327
+ export type ScheduleOffset = number;
1328
+ export interface ScheduledTriggerProperties {
1329
+ ScheduleExpression: ScheduleExpression;
1330
+ DataPullMode?: DataPullMode;
1331
+ ScheduleStartTime?: _Date;
1332
+ ScheduleEndTime?: _Date;
1333
+ Timezone?: Timezone;
1334
+ ScheduleOffset?: ScheduleOffset;
1335
+ FirstExecutionFrom?: _Date;
1336
+ }
1279
1337
  export interface SearchProfilesRequest {
1280
1338
  /**
1281
1339
  * The pagination token from the previous SearchProfiles API call.
@@ -1308,6 +1366,25 @@ declare namespace CustomerProfiles {
1308
1366
  */
1309
1367
  NextToken?: token;
1310
1368
  }
1369
+ export type ServiceNowConnectorOperator = "PROJECTION"|"CONTAINS"|"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;
1370
+ export interface ServiceNowSourceProperties {
1371
+ Object: Object;
1372
+ }
1373
+ export interface SourceConnectorProperties {
1374
+ Marketo?: MarketoSourceProperties;
1375
+ S3?: S3SourceProperties;
1376
+ Salesforce?: SalesforceSourceProperties;
1377
+ ServiceNow?: ServiceNowSourceProperties;
1378
+ Zendesk?: ZendeskSourceProperties;
1379
+ }
1380
+ export type SourceConnectorType = "Salesforce"|"Marketo"|"Zendesk"|"Servicenow"|"S3"|string;
1381
+ export type SourceFields = stringTo2048[];
1382
+ export interface SourceFlowConfig {
1383
+ ConnectorProfileName?: ConnectorProfileName;
1384
+ ConnectorType: SourceConnectorType;
1385
+ IncrementalPullConfig?: IncrementalPullConfig;
1386
+ SourceConnectorProperties: SourceConnectorProperties;
1387
+ }
1311
1388
  export type StandardIdentifier = "PROFILE"|"UNIQUE"|"SECONDARY"|"LOOKUP_ONLY"|"NEW_ONLY"|string;
1312
1389
  export type StandardIdentifierList = StandardIdentifier[];
1313
1390
  export type TagArn = string;
@@ -1327,6 +1404,25 @@ declare namespace CustomerProfiles {
1327
1404
  export interface TagResourceResponse {
1328
1405
  }
1329
1406
  export type TagValue = string;
1407
+ export interface Task {
1408
+ ConnectorOperator?: ConnectorOperator;
1409
+ DestinationField?: DestinationField;
1410
+ SourceFields: SourceFields;
1411
+ TaskProperties?: TaskPropertiesMap;
1412
+ TaskType: TaskType;
1413
+ }
1414
+ export type TaskPropertiesMap = {[key: string]: Property};
1415
+ export type TaskType = "Arithmetic"|"Filter"|"Map"|"Mask"|"Merge"|"Truncate"|"Validate"|string;
1416
+ export type Tasks = Task[];
1417
+ export type Timezone = string;
1418
+ export interface TriggerConfig {
1419
+ TriggerType: TriggerType;
1420
+ TriggerProperties?: TriggerProperties;
1421
+ }
1422
+ export interface TriggerProperties {
1423
+ Scheduled?: ScheduledTriggerProperties;
1424
+ }
1425
+ export type TriggerType = "Scheduled"|"Event"|"OnDemand"|string;
1330
1426
  export interface UntagResourceRequest {
1331
1427
  /**
1332
1428
  * The ARN of the resource from which you are removing tags.
@@ -1534,6 +1630,10 @@ declare namespace CustomerProfiles {
1534
1630
  */
1535
1631
  ProfileId: uuid;
1536
1632
  }
1633
+ export type ZendeskConnectorOperator = "PROJECTION"|"GREATER_THAN"|"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;
1634
+ export interface ZendeskSourceProperties {
1635
+ Object: Object;
1636
+ }
1537
1637
  export type encryptionKey = string;
1538
1638
  export type expirationDaysInteger = number;
1539
1639
  export type long = number;
@@ -1545,6 +1645,7 @@ declare namespace CustomerProfiles {
1545
1645
  export type string0To255 = string;
1546
1646
  export type string1To1000 = string;
1547
1647
  export type string1To255 = string;
1648
+ export type stringTo2048 = string;
1548
1649
  export type stringifiedJson = string;
1549
1650
  export type text = string;
1550
1651
  export type timestamp = Date;
@@ -12,6 +12,14 @@ declare class DocDB extends Service {
12
12
  */
13
13
  constructor(options?: DocDB.Types.ClientConfiguration)
14
14
  config: Config & DocDB.Types.ClientConfiguration;
15
+ /**
16
+ * Adds a source identifier to an existing event notification subscription.
17
+ */
18
+ addSourceIdentifierToSubscription(params: DocDB.Types.AddSourceIdentifierToSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.AddSourceIdentifierToSubscriptionResult) => void): Request<DocDB.Types.AddSourceIdentifierToSubscriptionResult, AWSError>;
19
+ /**
20
+ * Adds a source identifier to an existing event notification subscription.
21
+ */
22
+ addSourceIdentifierToSubscription(callback?: (err: AWSError, data: DocDB.Types.AddSourceIdentifierToSubscriptionResult) => void): Request<DocDB.Types.AddSourceIdentifierToSubscriptionResult, AWSError>;
15
23
  /**
16
24
  * Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to track costs that are associated with Amazon DocumentDB resources. or in a Condition statement in an AWS Identity and Access Management (IAM) policy for Amazon DocumentDB.
17
25
  */
@@ -84,6 +92,14 @@ declare class DocDB extends Service {
84
92
  * Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
85
93
  */
86
94
  createDBSubnetGroup(callback?: (err: AWSError, data: DocDB.Types.CreateDBSubnetGroupResult) => void): Request<DocDB.Types.CreateDBSubnetGroupResult, AWSError>;
95
+ /**
96
+ * Creates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the Amazon SNS console. You can specify the type of source (SourceType) that you want to be notified of. You can also provide a list of Amazon DocumentDB sources (SourceIds) that trigger the events, and you can provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds (such as SourceType = db-instance and SourceIdentifier = myDBInstance1), you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your Amazon DocumentDB sources. If you do not specify either the SourceType or the SourceIdentifier, you are notified of events generated from all Amazon DocumentDB sources belonging to your customer account.
97
+ */
98
+ createEventSubscription(params: DocDB.Types.CreateEventSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.CreateEventSubscriptionResult) => void): Request<DocDB.Types.CreateEventSubscriptionResult, AWSError>;
99
+ /**
100
+ * Creates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the Amazon SNS console. You can specify the type of source (SourceType) that you want to be notified of. You can also provide a list of Amazon DocumentDB sources (SourceIds) that trigger the events, and you can provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds (such as SourceType = db-instance and SourceIdentifier = myDBInstance1), you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your Amazon DocumentDB sources. If you do not specify either the SourceType or the SourceIdentifier, you are notified of events generated from all Amazon DocumentDB sources belonging to your customer account.
101
+ */
102
+ createEventSubscription(callback?: (err: AWSError, data: DocDB.Types.CreateEventSubscriptionResult) => void): Request<DocDB.Types.CreateEventSubscriptionResult, AWSError>;
87
103
  /**
88
104
  * Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.
89
105
  */
@@ -124,6 +140,14 @@ declare class DocDB extends Service {
124
140
  * Deletes a subnet group. The specified database subnet group must not be associated with any DB instances.
125
141
  */
126
142
  deleteDBSubnetGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
143
+ /**
144
+ * Deletes an Amazon DocumentDB event notification subscription.
145
+ */
146
+ deleteEventSubscription(params: DocDB.Types.DeleteEventSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.DeleteEventSubscriptionResult) => void): Request<DocDB.Types.DeleteEventSubscriptionResult, AWSError>;
147
+ /**
148
+ * Deletes an Amazon DocumentDB event notification subscription.
149
+ */
150
+ deleteEventSubscription(callback?: (err: AWSError, data: DocDB.Types.DeleteEventSubscriptionResult) => void): Request<DocDB.Types.DeleteEventSubscriptionResult, AWSError>;
127
151
  /**
128
152
  * Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this AWS account.
129
153
  */
@@ -212,6 +236,14 @@ declare class DocDB extends Service {
212
236
  * Displays a list of categories for all event source types, or, if specified, for a specified source type.
213
237
  */
214
238
  describeEventCategories(callback?: (err: AWSError, data: DocDB.Types.EventCategoriesMessage) => void): Request<DocDB.Types.EventCategoriesMessage, AWSError>;
239
+ /**
240
+ * Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status. If you specify a SubscriptionName, lists the description for that subscription.
241
+ */
242
+ describeEventSubscriptions(params: DocDB.Types.DescribeEventSubscriptionsMessage, callback?: (err: AWSError, data: DocDB.Types.EventSubscriptionsMessage) => void): Request<DocDB.Types.EventSubscriptionsMessage, AWSError>;
243
+ /**
244
+ * Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status. If you specify a SubscriptionName, lists the description for that subscription.
245
+ */
246
+ describeEventSubscriptions(callback?: (err: AWSError, data: DocDB.Types.EventSubscriptionsMessage) => void): Request<DocDB.Types.EventSubscriptionsMessage, AWSError>;
215
247
  /**
216
248
  * Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by providing the name as a parameter. By default, the events of the past hour are returned.
217
249
  */
@@ -292,6 +324,14 @@ declare class DocDB extends Service {
292
324
  * Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
293
325
  */
294
326
  modifyDBSubnetGroup(callback?: (err: AWSError, data: DocDB.Types.ModifyDBSubnetGroupResult) => void): Request<DocDB.Types.ModifyDBSubnetGroupResult, AWSError>;
327
+ /**
328
+ * Modifies an existing Amazon DocumentDB event notification subscription.
329
+ */
330
+ modifyEventSubscription(params: DocDB.Types.ModifyEventSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyEventSubscriptionResult) => void): Request<DocDB.Types.ModifyEventSubscriptionResult, AWSError>;
331
+ /**
332
+ * Modifies an existing Amazon DocumentDB event notification subscription.
333
+ */
334
+ modifyEventSubscription(callback?: (err: AWSError, data: DocDB.Types.ModifyEventSubscriptionResult) => void): Request<DocDB.Types.ModifyEventSubscriptionResult, AWSError>;
295
335
  /**
296
336
  * You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect. Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the instance status is set to rebooting.
297
337
  */
@@ -300,6 +340,14 @@ declare class DocDB extends Service {
300
340
  * You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect. Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the instance status is set to rebooting.
301
341
  */
302
342
  rebootDBInstance(callback?: (err: AWSError, data: DocDB.Types.RebootDBInstanceResult) => void): Request<DocDB.Types.RebootDBInstanceResult, AWSError>;
343
+ /**
344
+ * Removes a source identifier from an existing Amazon DocumentDB event notification subscription.
345
+ */
346
+ removeSourceIdentifierFromSubscription(params: DocDB.Types.RemoveSourceIdentifierFromSubscriptionMessage, callback?: (err: AWSError, data: DocDB.Types.RemoveSourceIdentifierFromSubscriptionResult) => void): Request<DocDB.Types.RemoveSourceIdentifierFromSubscriptionResult, AWSError>;
347
+ /**
348
+ * Removes a source identifier from an existing Amazon DocumentDB event notification subscription.
349
+ */
350
+ removeSourceIdentifierFromSubscription(callback?: (err: AWSError, data: DocDB.Types.RemoveSourceIdentifierFromSubscriptionResult) => void): Request<DocDB.Types.RemoveSourceIdentifierFromSubscriptionResult, AWSError>;
303
351
  /**
304
352
  * Removes metadata tags from an Amazon DocumentDB resource.
305
353
  */
@@ -366,6 +414,19 @@ declare class DocDB extends Service {
366
414
  waitFor(state: "dBInstanceDeleted", callback?: (err: AWSError, data: DocDB.Types.DBInstanceMessage) => void): Request<DocDB.Types.DBInstanceMessage, AWSError>;
367
415
  }
368
416
  declare namespace DocDB {
417
+ export interface AddSourceIdentifierToSubscriptionMessage {
418
+ /**
419
+ * The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.
420
+ */
421
+ SubscriptionName: String;
422
+ /**
423
+ * The identifier of the event source to be added: If the source type is an instance, a DBInstanceIdentifier must be provided. If the source type is a security group, a DBSecurityGroupName must be provided. If the source type is a parameter group, a DBParameterGroupName must be provided. If the source type is a snapshot, a DBSnapshotIdentifier must be provided.
424
+ */
425
+ SourceIdentifier: String;
426
+ }
427
+ export interface AddSourceIdentifierToSubscriptionResult {
428
+ EventSubscription?: EventSubscription;
429
+ }
369
430
  export interface AddTagsToResourceMessage {
370
431
  /**
371
432
  * The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .
@@ -683,6 +744,39 @@ declare namespace DocDB {
683
744
  export interface CreateDBSubnetGroupResult {
684
745
  DBSubnetGroup?: DBSubnetGroup;
685
746
  }
747
+ export interface CreateEventSubscriptionMessage {
748
+ /**
749
+ * The name of the subscription. Constraints: The name must be fewer than 255 characters.
750
+ */
751
+ SubscriptionName: String;
752
+ /**
753
+ * The Amazon Resource Name (ARN) of the SNS topic created for event notification. Amazon SNS creates the ARN when you create a topic and subscribe to it.
754
+ */
755
+ SnsTopicArn: String;
756
+ /**
757
+ * The type of source that is generating the events. For example, if you want to be notified of events generated by an instance, you would set this parameter to db-instance. If this value is not specified, all events are returned. Valid values: db-instance, db-cluster, db-parameter-group, db-security-group, db-snapshot, db-cluster-snapshot
758
+ */
759
+ SourceType?: String;
760
+ /**
761
+ * A list of event categories for a SourceType that you want to subscribe to.
762
+ */
763
+ EventCategories?: EventCategoriesList;
764
+ /**
765
+ * The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Constraints: If SourceIds are provided, SourceType must also be provided. If the source type is an instance, a DBInstanceIdentifier must be provided. If the source type is a security group, a DBSecurityGroupName must be provided. If the source type is a parameter group, a DBParameterGroupName must be provided. If the source type is a snapshot, a DBSnapshotIdentifier must be provided.
766
+ */
767
+ SourceIds?: SourceIdsList;
768
+ /**
769
+ * A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
770
+ */
771
+ Enabled?: BooleanOptional;
772
+ /**
773
+ * The tags to be assigned to the event subscription.
774
+ */
775
+ Tags?: TagList;
776
+ }
777
+ export interface CreateEventSubscriptionResult {
778
+ EventSubscription?: EventSubscription;
779
+ }
686
780
  export interface DBCluster {
687
781
  /**
688
782
  * Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
@@ -1254,6 +1348,15 @@ declare namespace DocDB {
1254
1348
  */
1255
1349
  DBSubnetGroupName: String;
1256
1350
  }
1351
+ export interface DeleteEventSubscriptionMessage {
1352
+ /**
1353
+ * The name of the Amazon DocumentDB event notification subscription that you want to delete.
1354
+ */
1355
+ SubscriptionName: String;
1356
+ }
1357
+ export interface DeleteEventSubscriptionResult {
1358
+ EventSubscription?: EventSubscription;
1359
+ }
1257
1360
  export interface DescribeCertificatesMessage {
1258
1361
  /**
1259
1362
  * The user-supplied certificate identifier. If this parameter is specified, information for only the specified certificate is returned. If this parameter is omitted, a list of up to MaxRecords certificates is returned. This parameter is not case sensitive. Constraints Must match an existing CertificateIdentifier.
@@ -1478,6 +1581,24 @@ declare namespace DocDB {
1478
1581
  */
1479
1582
  Filters?: FilterList;
1480
1583
  }
1584
+ export interface DescribeEventSubscriptionsMessage {
1585
+ /**
1586
+ * The name of the Amazon DocumentDB event notification subscription that you want to describe.
1587
+ */
1588
+ SubscriptionName?: String;
1589
+ /**
1590
+ * This parameter is not currently supported.
1591
+ */
1592
+ Filters?: FilterList;
1593
+ /**
1594
+ * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1595
+ */
1596
+ MaxRecords?: IntegerOptional;
1597
+ /**
1598
+ * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1599
+ */
1600
+ Marker?: String;
1601
+ }
1481
1602
  export interface DescribeEventsMessage {
1482
1603
  /**
1483
1604
  * The identifier of the event source for which events are returned. If not specified, then all sources are included in the response. Constraints: If SourceIdentifier is provided, SourceType must also be provided. If the source type is DBInstance, a DBInstanceIdentifier must be provided. If the source type is DBSecurityGroup, a DBSecurityGroupName must be provided. If the source type is DBParameterGroup, a DBParameterGroupName must be provided. If the source type is DBSnapshot, a DBSnapshotIdentifier must be provided. Cannot end with a hyphen or contain two consecutive hyphens.
@@ -1641,6 +1762,59 @@ declare namespace DocDB {
1641
1762
  EventCategoriesMapList?: EventCategoriesMapList;
1642
1763
  }
1643
1764
  export type EventList = Event[];
1765
+ export interface EventSubscription {
1766
+ /**
1767
+ * The AWS customer account that is associated with the Amazon DocumentDB event notification subscription.
1768
+ */
1769
+ CustomerAwsId?: String;
1770
+ /**
1771
+ * The Amazon DocumentDB event notification subscription ID.
1772
+ */
1773
+ CustSubscriptionId?: String;
1774
+ /**
1775
+ * The topic ARN of the Amazon DocumentDB event notification subscription.
1776
+ */
1777
+ SnsTopicArn?: String;
1778
+ /**
1779
+ * The status of the Amazon DocumentDB event notification subscription. Constraints: Can be one of the following: creating, modifying, deleting, active, no-permission, topic-not-exist The no-permission status indicates that Amazon DocumentDB no longer has permission to post to the SNS topic. The topic-not-exist status indicates that the topic was deleted after the subscription was created.
1780
+ */
1781
+ Status?: String;
1782
+ /**
1783
+ * The time at which the Amazon DocumentDB event notification subscription was created.
1784
+ */
1785
+ SubscriptionCreationTime?: String;
1786
+ /**
1787
+ * The source type for the Amazon DocumentDB event notification subscription.
1788
+ */
1789
+ SourceType?: String;
1790
+ /**
1791
+ * A list of source IDs for the Amazon DocumentDB event notification subscription.
1792
+ */
1793
+ SourceIdsList?: SourceIdsList;
1794
+ /**
1795
+ * A list of event categories for the Amazon DocumentDB event notification subscription.
1796
+ */
1797
+ EventCategoriesList?: EventCategoriesList;
1798
+ /**
1799
+ * A Boolean value indicating whether the subscription is enabled. A value of true indicates that the subscription is enabled.
1800
+ */
1801
+ Enabled?: Boolean;
1802
+ /**
1803
+ * The Amazon Resource Name (ARN) for the event subscription.
1804
+ */
1805
+ EventSubscriptionArn?: String;
1806
+ }
1807
+ export type EventSubscriptionsList = EventSubscription[];
1808
+ export interface EventSubscriptionsMessage {
1809
+ /**
1810
+ * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1811
+ */
1812
+ Marker?: String;
1813
+ /**
1814
+ * A list of event subscriptions.
1815
+ */
1816
+ EventSubscriptionsList?: EventSubscriptionsList;
1817
+ }
1644
1818
  export interface EventsMessage {
1645
1819
  /**
1646
1820
  * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
@@ -1832,6 +2006,31 @@ declare namespace DocDB {
1832
2006
  export interface ModifyDBSubnetGroupResult {
1833
2007
  DBSubnetGroup?: DBSubnetGroup;
1834
2008
  }
2009
+ export interface ModifyEventSubscriptionMessage {
2010
+ /**
2011
+ * The name of the Amazon DocumentDB event notification subscription.
2012
+ */
2013
+ SubscriptionName: String;
2014
+ /**
2015
+ * The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
2016
+ */
2017
+ SnsTopicArn?: String;
2018
+ /**
2019
+ * The type of source that is generating the events. For example, if you want to be notified of events generated by an instance, set this parameter to db-instance. If this value is not specified, all events are returned. Valid values: db-instance, db-parameter-group, db-security-group, db-snapshot
2020
+ */
2021
+ SourceType?: String;
2022
+ /**
2023
+ * A list of event categories for a SourceType that you want to subscribe to.
2024
+ */
2025
+ EventCategories?: EventCategoriesList;
2026
+ /**
2027
+ * A Boolean value; set to true to activate the subscription.
2028
+ */
2029
+ Enabled?: BooleanOptional;
2030
+ }
2031
+ export interface ModifyEventSubscriptionResult {
2032
+ EventSubscription?: EventSubscription;
2033
+ }
1835
2034
  export interface OrderableDBInstanceOption {
1836
2035
  /**
1837
2036
  * The engine type of an instance.
@@ -2031,6 +2230,19 @@ declare namespace DocDB {
2031
2230
  export interface RebootDBInstanceResult {
2032
2231
  DBInstance?: DBInstance;
2033
2232
  }
2233
+ export interface RemoveSourceIdentifierFromSubscriptionMessage {
2234
+ /**
2235
+ * The name of the Amazon DocumentDB event notification subscription that you want to remove a source identifier from.
2236
+ */
2237
+ SubscriptionName: String;
2238
+ /**
2239
+ * The source identifier to be removed from the subscription, such as the instance identifier for an instance, or the name of a security group.
2240
+ */
2241
+ SourceIdentifier: String;
2242
+ }
2243
+ export interface RemoveSourceIdentifierFromSubscriptionResult {
2244
+ EventSubscription?: EventSubscription;
2245
+ }
2034
2246
  export interface RemoveTagsFromResourceMessage {
2035
2247
  /**
2036
2248
  * The Amazon DocumentDB resource that the tags are removed from. This value is an Amazon Resource Name (ARN).
@@ -2167,6 +2379,7 @@ declare namespace DocDB {
2167
2379
  export interface RestoreDBClusterToPointInTimeResult {
2168
2380
  DBCluster?: DBCluster;
2169
2381
  }
2382
+ export type SourceIdsList = String[];
2170
2383
  export type SourceType = "db-instance"|"db-parameter-group"|"db-security-group"|"db-snapshot"|"db-cluster"|"db-cluster-snapshot"|string;
2171
2384
  export interface StartDBClusterMessage {
2172
2385
  /**