aws-sdk 2.1448.0 → 2.1449.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.
@@ -155,6 +155,110 @@
155
155
  }
156
156
  }
157
157
  }
158
+ },
159
+ "InvokeEndpointWithResponseStream": {
160
+ "http": {
161
+ "requestUri": "/endpoints/{EndpointName}/invocations-response-stream"
162
+ },
163
+ "input": {
164
+ "type": "structure",
165
+ "required": [
166
+ "EndpointName",
167
+ "Body"
168
+ ],
169
+ "members": {
170
+ "EndpointName": {
171
+ "location": "uri",
172
+ "locationName": "EndpointName"
173
+ },
174
+ "Body": {
175
+ "shape": "S3"
176
+ },
177
+ "ContentType": {
178
+ "location": "header",
179
+ "locationName": "Content-Type"
180
+ },
181
+ "Accept": {
182
+ "location": "header",
183
+ "locationName": "X-Amzn-SageMaker-Accept"
184
+ },
185
+ "CustomAttributes": {
186
+ "shape": "S5",
187
+ "location": "header",
188
+ "locationName": "X-Amzn-SageMaker-Custom-Attributes"
189
+ },
190
+ "TargetVariant": {
191
+ "location": "header",
192
+ "locationName": "X-Amzn-SageMaker-Target-Variant"
193
+ },
194
+ "TargetContainerHostname": {
195
+ "location": "header",
196
+ "locationName": "X-Amzn-SageMaker-Target-Container-Hostname"
197
+ },
198
+ "InferenceId": {
199
+ "location": "header",
200
+ "locationName": "X-Amzn-SageMaker-Inference-Id"
201
+ }
202
+ },
203
+ "payload": "Body"
204
+ },
205
+ "output": {
206
+ "type": "structure",
207
+ "required": [
208
+ "Body"
209
+ ],
210
+ "members": {
211
+ "Body": {
212
+ "type": "structure",
213
+ "members": {
214
+ "PayloadPart": {
215
+ "type": "structure",
216
+ "members": {
217
+ "Bytes": {
218
+ "eventpayload": true,
219
+ "type": "blob",
220
+ "sensitive": true
221
+ }
222
+ },
223
+ "event": true
224
+ },
225
+ "ModelStreamError": {
226
+ "type": "structure",
227
+ "members": {
228
+ "Message": {},
229
+ "ErrorCode": {}
230
+ },
231
+ "exception": true,
232
+ "synthetic": true
233
+ },
234
+ "InternalStreamFailure": {
235
+ "type": "structure",
236
+ "members": {
237
+ "Message": {}
238
+ },
239
+ "exception": true,
240
+ "fault": true,
241
+ "synthetic": true
242
+ }
243
+ },
244
+ "eventstream": true
245
+ },
246
+ "ContentType": {
247
+ "location": "header",
248
+ "locationName": "X-Amzn-SageMaker-Content-Type"
249
+ },
250
+ "InvokedProductionVariant": {
251
+ "location": "header",
252
+ "locationName": "x-Amzn-Invoked-Production-Variant"
253
+ },
254
+ "CustomAttributes": {
255
+ "shape": "S5",
256
+ "location": "header",
257
+ "locationName": "X-Amzn-SageMaker-Custom-Attributes"
258
+ }
259
+ },
260
+ "payload": "Body"
261
+ }
158
262
  }
159
263
  },
160
264
  "shapes": {
@@ -1065,6 +1065,10 @@ declare namespace ChimeSDKMediaPipelines {
1065
1065
  * The time at which the media insights pipeline was created.
1066
1066
  */
1067
1067
  CreatedTimestamp?: Iso8601Timestamp;
1068
+ /**
1069
+ * The statuses that the elements in a media insights pipeline can have during data processing.
1070
+ */
1071
+ ElementStatuses?: MediaInsightsPipelineElementStatuses;
1068
1072
  }
1069
1073
  export interface MediaInsightsPipelineConfiguration {
1070
1074
  /**
@@ -1137,8 +1141,12 @@ declare namespace ChimeSDKMediaPipelines {
1137
1141
  * The configuration settings for an SNS topic sink in a media insights pipeline configuration element.
1138
1142
  */
1139
1143
  SnsTopicSinkConfiguration?: SnsTopicSinkConfiguration;
1144
+ /**
1145
+ * The configuration settings for the VoiceEnhancementSinkConfiguration element.
1146
+ */
1147
+ VoiceEnhancementSinkConfiguration?: VoiceEnhancementSinkConfiguration;
1140
1148
  }
1141
- export type MediaInsightsPipelineConfigurationElementType = "AmazonTranscribeCallAnalyticsProcessor"|"VoiceAnalyticsProcessor"|"AmazonTranscribeProcessor"|"KinesisDataStreamSink"|"LambdaFunctionSink"|"SqsQueueSink"|"SnsTopicSink"|"S3RecordingSink"|string;
1149
+ export type MediaInsightsPipelineConfigurationElementType = "AmazonTranscribeCallAnalyticsProcessor"|"VoiceAnalyticsProcessor"|"AmazonTranscribeProcessor"|"KinesisDataStreamSink"|"LambdaFunctionSink"|"SqsQueueSink"|"SnsTopicSink"|"S3RecordingSink"|"VoiceEnhancementSink"|string;
1142
1150
  export type MediaInsightsPipelineConfigurationElements = MediaInsightsPipelineConfigurationElement[];
1143
1151
  export type MediaInsightsPipelineConfigurationNameString = string;
1144
1152
  export interface MediaInsightsPipelineConfigurationSummary {
@@ -1156,6 +1164,17 @@ declare namespace ChimeSDKMediaPipelines {
1156
1164
  MediaInsightsPipelineConfigurationArn?: Arn;
1157
1165
  }
1158
1166
  export type MediaInsightsPipelineConfigurationSummaryList = MediaInsightsPipelineConfigurationSummary[];
1167
+ export interface MediaInsightsPipelineElementStatus {
1168
+ /**
1169
+ * The type of status.
1170
+ */
1171
+ Type?: MediaInsightsPipelineConfigurationElementType;
1172
+ /**
1173
+ * The element's status.
1174
+ */
1175
+ Status?: MediaPipelineElementStatus;
1176
+ }
1177
+ export type MediaInsightsPipelineElementStatuses = MediaInsightsPipelineElementStatus[];
1159
1178
  export type MediaInsightsRuntimeMetadata = {[key: string]: String};
1160
1179
  export interface MediaLiveConnectorPipeline {
1161
1180
  /**
@@ -1205,10 +1224,11 @@ declare namespace ChimeSDKMediaPipelines {
1205
1224
  */
1206
1225
  MediaInsightsPipeline?: MediaInsightsPipeline;
1207
1226
  }
1227
+ export type MediaPipelineElementStatus = "NotStarted"|"NotSupported"|"Initializing"|"InProgress"|"Failed"|"Stopping"|"Stopped"|"Paused"|string;
1208
1228
  export type MediaPipelineList = MediaPipelineSummary[];
1209
1229
  export type MediaPipelineSinkType = "S3Bucket"|string;
1210
1230
  export type MediaPipelineSourceType = "ChimeSdkMeeting"|string;
1211
- export type MediaPipelineStatus = "Initializing"|"InProgress"|"Failed"|"Stopping"|"Stopped"|"Paused"|string;
1231
+ export type MediaPipelineStatus = "Initializing"|"InProgress"|"Failed"|"Stopping"|"Stopped"|"Paused"|"NotStarted"|string;
1212
1232
  export type MediaPipelineStatusUpdate = "Pause"|"Resume"|string;
1213
1233
  export interface MediaPipelineSummary {
1214
1234
  /**
@@ -1558,6 +1578,12 @@ declare namespace ChimeSDKMediaPipelines {
1558
1578
  */
1559
1579
  VoiceToneAnalysisStatus?: VoiceAnalyticsConfigurationStatus;
1560
1580
  }
1581
+ export interface VoiceEnhancementSinkConfiguration {
1582
+ /**
1583
+ * Disables the VoiceEnhancementSinkConfiguration element.
1584
+ */
1585
+ Disabled?: Boolean;
1586
+ }
1561
1587
  /**
1562
1588
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1563
1589
  */
@@ -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: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the 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 needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, 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 Amazon Web Services 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 Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services 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 Amazon Web Services 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: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the Amazon Web Services 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 needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, 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 Amazon Web Services 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 Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services 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 Amazon Web Services 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: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the 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 needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, 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 Amazon Web Services 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 Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services 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 Amazon Web Services 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: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the Amazon Web Services 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 needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, 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 Amazon Web Services 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 Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services 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 Amazon Web Services 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
  /**
@@ -189,6 +189,9 @@ declare class ConnectCampaigns extends Service {
189
189
  updateCampaignOutboundCallConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
190
190
  }
191
191
  declare namespace ConnectCampaigns {
192
+ export interface AgentlessDialerConfig {
193
+ dialingCapacity?: DialingCapacity;
194
+ }
192
195
  export interface AnswerMachineDetectionConfig {
193
196
  /**
194
197
  * Enable or disable answering machine detection
@@ -202,11 +205,11 @@ declare namespace ConnectCampaigns {
202
205
  export type BandwidthAllocation = number;
203
206
  export type Boolean = boolean;
204
207
  export interface Campaign {
208
+ id: CampaignId;
205
209
  arn: CampaignArn;
210
+ name: CampaignName;
206
211
  connectInstanceId: InstanceId;
207
212
  dialerConfig: DialerConfig;
208
- id: CampaignId;
209
- name: CampaignName;
210
213
  outboundCallConfig: OutboundCallConfig;
211
214
  tags?: TagMap;
212
215
  }
@@ -218,24 +221,24 @@ declare namespace ConnectCampaigns {
218
221
  export type CampaignName = string;
219
222
  export type CampaignState = "Initialized"|"Running"|"Paused"|"Stopped"|"Failed"|string;
220
223
  export interface CampaignSummary {
221
- arn: CampaignArn;
222
- connectInstanceId: InstanceId;
223
224
  id: CampaignId;
225
+ arn: CampaignArn;
224
226
  name: CampaignName;
227
+ connectInstanceId: InstanceId;
225
228
  }
226
229
  export type CampaignSummaryList = CampaignSummary[];
227
230
  export type ClientToken = string;
228
231
  export type ContactFlowId = string;
229
232
  export interface CreateCampaignRequest {
233
+ name: CampaignName;
230
234
  connectInstanceId: InstanceId;
231
235
  dialerConfig: DialerConfig;
232
- name: CampaignName;
233
236
  outboundCallConfig: OutboundCallConfig;
234
237
  tags?: TagMap;
235
238
  }
236
239
  export interface CreateCampaignResponse {
237
- arn?: CampaignArn;
238
240
  id?: CampaignId;
241
+ arn?: CampaignArn;
239
242
  tags?: TagMap;
240
243
  }
241
244
  export interface DeleteCampaignRequest {
@@ -255,17 +258,19 @@ declare namespace ConnectCampaigns {
255
258
  }
256
259
  export type DestinationPhoneNumber = string;
257
260
  export interface DialRequest {
258
- attributes: Attributes;
259
261
  clientToken: ClientToken;
260
- expirationTime: TimeStamp;
261
262
  phoneNumber: DestinationPhoneNumber;
263
+ expirationTime: TimeStamp;
264
+ attributes: Attributes;
262
265
  }
263
266
  export type DialRequestId = string;
264
267
  export type DialRequestList = DialRequest[];
265
268
  export interface DialerConfig {
266
- predictiveDialerConfig?: PredictiveDialerConfig;
267
269
  progressiveDialerConfig?: ProgressiveDialerConfig;
270
+ predictiveDialerConfig?: PredictiveDialerConfig;
271
+ agentlessDialerConfig?: AgentlessDialerConfig;
268
272
  }
273
+ export type DialingCapacity = number;
269
274
  export type Enabled = boolean;
270
275
  export interface EncryptionConfig {
271
276
  enabled: Enabled;
@@ -281,8 +286,8 @@ declare namespace ConnectCampaigns {
281
286
  export type FailedCampaignStateResponseList = FailedCampaignStateResponse[];
282
287
  export interface FailedRequest {
283
288
  clientToken?: ClientToken;
284
- failureCode?: FailureCode;
285
289
  id?: DialRequestId;
290
+ failureCode?: FailureCode;
286
291
  }
287
292
  export type FailedRequestList = FailedRequest[];
288
293
  export type FailureCode = "InvalidInput"|"RequestThrottled"|"UnknownError"|string;
@@ -292,8 +297,8 @@ declare namespace ConnectCampaigns {
292
297
  }
293
298
  export type GetCampaignStateBatchRequestCampaignIdsList = CampaignId[];
294
299
  export interface GetCampaignStateBatchResponse {
295
- failedRequests?: FailedCampaignStateResponseList;
296
300
  successfulRequests?: SuccessfulCampaignStateResponseList;
301
+ failedRequests?: FailedCampaignStateResponseList;
297
302
  }
298
303
  export interface GetCampaignStateRequest {
299
304
  id: CampaignId;
@@ -315,30 +320,30 @@ declare namespace ConnectCampaigns {
315
320
  }
316
321
  export interface InstanceConfig {
317
322
  connectInstanceId: InstanceId;
318
- encryptionConfig: EncryptionConfig;
319
323
  serviceLinkedRoleArn: ServiceLinkedRoleArn;
324
+ encryptionConfig: EncryptionConfig;
320
325
  }
321
326
  export type InstanceId = string;
322
327
  export interface InstanceIdFilter {
323
- operator: InstanceIdFilterOperator;
324
328
  value: InstanceId;
329
+ operator: InstanceIdFilterOperator;
325
330
  }
326
331
  export type InstanceIdFilterOperator = "Eq"|string;
327
332
  export type InstanceOnboardingJobFailureCode = "EVENT_BRIDGE_ACCESS_DENIED"|"EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED"|"IAM_ACCESS_DENIED"|"KMS_ACCESS_DENIED"|"KMS_KEY_NOT_FOUND"|"INTERNAL_FAILURE"|string;
328
333
  export interface InstanceOnboardingJobStatus {
329
334
  connectInstanceId: InstanceId;
330
- failureCode?: InstanceOnboardingJobFailureCode;
331
335
  status: InstanceOnboardingJobStatusCode;
336
+ failureCode?: InstanceOnboardingJobFailureCode;
332
337
  }
333
338
  export type InstanceOnboardingJobStatusCode = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
334
339
  export interface ListCampaignsRequest {
335
- filters?: CampaignFilters;
336
340
  maxResults?: MaxResults;
337
341
  nextToken?: NextToken;
342
+ filters?: CampaignFilters;
338
343
  }
339
344
  export interface ListCampaignsResponse {
340
- campaignSummaryList?: CampaignSummaryList;
341
345
  nextToken?: NextToken;
346
+ campaignSummaryList?: CampaignSummaryList;
342
347
  }
343
348
  export interface ListTagsForResourceRequest {
344
349
  arn: Arn;
@@ -349,27 +354,29 @@ declare namespace ConnectCampaigns {
349
354
  export type MaxResults = number;
350
355
  export type NextToken = string;
351
356
  export interface OutboundCallConfig {
352
- answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
353
357
  connectContactFlowId: ContactFlowId;
354
- connectQueueId: QueueId;
355
358
  connectSourcePhoneNumber?: SourcePhoneNumber;
359
+ connectQueueId?: QueueId;
360
+ answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
356
361
  }
357
362
  export interface PauseCampaignRequest {
358
363
  id: CampaignId;
359
364
  }
360
365
  export interface PredictiveDialerConfig {
361
366
  bandwidthAllocation: BandwidthAllocation;
367
+ dialingCapacity?: DialingCapacity;
362
368
  }
363
369
  export interface ProgressiveDialerConfig {
364
370
  bandwidthAllocation: BandwidthAllocation;
371
+ dialingCapacity?: DialingCapacity;
365
372
  }
366
373
  export interface PutDialRequestBatchRequest {
367
- dialRequests: DialRequestList;
368
374
  id: CampaignId;
375
+ dialRequests: DialRequestList;
369
376
  }
370
377
  export interface PutDialRequestBatchResponse {
371
- failedRequests?: FailedRequestList;
372
378
  successfulRequests?: SuccessfulRequestList;
379
+ failedRequests?: FailedRequestList;
373
380
  }
374
381
  export type QueueId = string;
375
382
  export interface ResumeCampaignRequest {
@@ -414,18 +421,18 @@ declare namespace ConnectCampaigns {
414
421
  tagKeys: TagKeyList;
415
422
  }
416
423
  export interface UpdateCampaignDialerConfigRequest {
417
- dialerConfig: DialerConfig;
418
424
  id: CampaignId;
425
+ dialerConfig: DialerConfig;
419
426
  }
420
427
  export interface UpdateCampaignNameRequest {
421
428
  id: CampaignId;
422
429
  name: CampaignName;
423
430
  }
424
431
  export interface UpdateCampaignOutboundCallConfigRequest {
425
- answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
432
+ id: CampaignId;
426
433
  connectContactFlowId?: ContactFlowId;
427
434
  connectSourcePhoneNumber?: SourcePhoneNumber;
428
- id: CampaignId;
435
+ answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
429
436
  }
430
437
  /**
431
438
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
@@ -27,6 +27,14 @@ declare class ConnectParticipant extends Service {
27
27
  * Creates the participant's connection. ParticipantToken is used for invoking this API instead of ConnectionToken. The participant token is valid for the lifetime of the participant – until they are part of a contact. The response URL for WEBSOCKET Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic. For chat, you need to publish the following on the established websocket connection: {"topic":"aws/subscribe","content":{"topics":["aws/chat"]}} Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before. Message streaming support: This API can also be used together with the StartContactStreaming API to create a participant connection for chat contacts that are not using a websocket. For more information about message streaming, Enable real-time chat message streaming in the Amazon Connect Administrator Guide. Feature specifications: For information about feature specifications, such as the allowed number of open websocket connections per participant, see Feature specifications in the Amazon Connect Administrator Guide. The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
28
28
  */
29
29
  createParticipantConnection(callback?: (err: AWSError, data: ConnectParticipant.Types.CreateParticipantConnectionResponse) => void): Request<ConnectParticipant.Types.CreateParticipantConnectionResponse, AWSError>;
30
+ /**
31
+ * Retrieves the view for the specified view token.
32
+ */
33
+ describeView(params: ConnectParticipant.Types.DescribeViewRequest, callback?: (err: AWSError, data: ConnectParticipant.Types.DescribeViewResponse) => void): Request<ConnectParticipant.Types.DescribeViewResponse, AWSError>;
34
+ /**
35
+ * Retrieves the view for the specified view token.
36
+ */
37
+ describeView(callback?: (err: AWSError, data: ConnectParticipant.Types.DescribeViewResponse) => void): Request<ConnectParticipant.Types.DescribeViewResponse, AWSError>;
30
38
  /**
31
39
  * Disconnects a participant. ConnectionToken is used for invoking this API instead of ParticipantToken. The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
32
40
  */
@@ -77,6 +85,7 @@ declare class ConnectParticipant extends Service {
77
85
  startAttachmentUpload(callback?: (err: AWSError, data: ConnectParticipant.Types.StartAttachmentUploadResponse) => void): Request<ConnectParticipant.Types.StartAttachmentUploadResponse, AWSError>;
78
86
  }
79
87
  declare namespace ConnectParticipant {
88
+ export type ARN = string;
80
89
  export type ArtifactId = string;
81
90
  export type ArtifactStatus = "APPROVED"|"REJECTED"|"IN_PROGRESS"|string;
82
91
  export type AttachmentIdList = ArtifactId[];
@@ -139,7 +148,7 @@ declare namespace ConnectParticipant {
139
148
  export type ContentType = string;
140
149
  export interface CreateParticipantConnectionRequest {
141
150
  /**
142
- * Type of connection information required. This can be omitted if ConnectParticipant is true.
151
+ * Type of connection information required. If you need CONNECTION_CREDENTIALS along with marking participant as connected, pass CONNECTION_CREDENTIALS in Type.
143
152
  */
144
153
  Type?: ConnectionTypeList;
145
154
  /**
@@ -161,6 +170,22 @@ declare namespace ConnectParticipant {
161
170
  */
162
171
  ConnectionCredentials?: ConnectionCredentials;
163
172
  }
173
+ export interface DescribeViewRequest {
174
+ /**
175
+ * An encrypted token originating from the interactive message of a ShowView block operation. Represents the desired view.
176
+ */
177
+ ViewToken: ViewToken;
178
+ /**
179
+ * The connection token.
180
+ */
181
+ ConnectionToken: ParticipantToken;
182
+ }
183
+ export interface DescribeViewResponse {
184
+ /**
185
+ * A view resource object. Contains metadata and content necessary to render the view.
186
+ */
187
+ View?: View;
188
+ }
164
189
  export interface DisconnectParticipantRequest {
165
190
  /**
166
191
  * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
@@ -305,7 +330,7 @@ declare namespace ConnectParticipant {
305
330
  export type NextToken = string;
306
331
  export type NonEmptyClientToken = string;
307
332
  export type ParticipantId = string;
308
- export type ParticipantRole = "AGENT"|"CUSTOMER"|"SYSTEM"|string;
333
+ export type ParticipantRole = "AGENT"|"CUSTOMER"|"SYSTEM"|"CUSTOM_BOT"|string;
309
334
  export type ParticipantToken = string;
310
335
  export type PreSignedAttachmentUrl = string;
311
336
  export type PreSignedConnectionUrl = string;
@@ -447,6 +472,50 @@ declare namespace ConnectParticipant {
447
472
  export type UploadMetadataSignedHeadersKey = string;
448
473
  export type UploadMetadataSignedHeadersValue = string;
449
474
  export type UploadMetadataUrl = string;
475
+ export interface View {
476
+ /**
477
+ * The identifier of the view.
478
+ */
479
+ Id?: ViewId;
480
+ /**
481
+ * The Amazon Resource Name (ARN) of the view.
482
+ */
483
+ Arn?: ARN;
484
+ /**
485
+ * The name of the view.
486
+ */
487
+ Name?: ViewName;
488
+ /**
489
+ * The current version of the view.
490
+ */
491
+ Version?: ViewVersion;
492
+ /**
493
+ * View content containing all content necessary to render a view except for runtime input data.
494
+ */
495
+ Content?: ViewContent;
496
+ }
497
+ export type ViewAction = string;
498
+ export type ViewActions = ViewAction[];
499
+ export interface ViewContent {
500
+ /**
501
+ * The schema representing the input data that the view template must be supplied to render.
502
+ */
503
+ InputSchema?: ViewInputSchema;
504
+ /**
505
+ * The view template representing the structure of the view.
506
+ */
507
+ Template?: ViewTemplate;
508
+ /**
509
+ * A list of actions possible from the view
510
+ */
511
+ Actions?: ViewActions;
512
+ }
513
+ export type ViewId = string;
514
+ export type ViewInputSchema = string;
515
+ export type ViewName = string;
516
+ export type ViewTemplate = string;
517
+ export type ViewToken = string;
518
+ export type ViewVersion = number;
450
519
  export interface Websocket {
451
520
  /**
452
521
  * The URL of the websocket.