aws-sdk 2.1362.0 → 2.1364.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.
@@ -12,19 +12,19 @@ declare class CodeCatalyst extends Service {
12
12
  constructor(options?: CodeCatalyst.Types.ClientConfiguration)
13
13
  config: Config & CodeCatalyst.Types.ClientConfiguration;
14
14
  /**
15
- * Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to a password. It is associated with your user account. You use PATs to access Amazon CodeCatalyst resources such as source repositories from third-party applications like Git and integrated development environments (IDEs). For more information, see Managing personal access tokens in Amazon CodeCatalyst.
15
+ * Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to a password. It is associated with your user identity for use across all spaces and projects in Amazon CodeCatalyst. You use PATs to access CodeCatalyst from resources that include integrated development environments (IDEs) and Git-based source repositories. PATs represent you in Amazon CodeCatalyst and you can manage them in your user settings.For more information, see Managing personal access tokens in Amazon CodeCatalyst.
16
16
  */
17
17
  createAccessToken(params: CodeCatalyst.Types.CreateAccessTokenRequest, callback?: (err: AWSError, data: CodeCatalyst.Types.CreateAccessTokenResponse) => void): Request<CodeCatalyst.Types.CreateAccessTokenResponse, AWSError>;
18
18
  /**
19
- * Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to a password. It is associated with your user account. You use PATs to access Amazon CodeCatalyst resources such as source repositories from third-party applications like Git and integrated development environments (IDEs). For more information, see Managing personal access tokens in Amazon CodeCatalyst.
19
+ * Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to a password. It is associated with your user identity for use across all spaces and projects in Amazon CodeCatalyst. You use PATs to access CodeCatalyst from resources that include integrated development environments (IDEs) and Git-based source repositories. PATs represent you in Amazon CodeCatalyst and you can manage them in your user settings.For more information, see Managing personal access tokens in Amazon CodeCatalyst.
20
20
  */
21
21
  createAccessToken(callback?: (err: AWSError, data: CodeCatalyst.Types.CreateAccessTokenResponse) => void): Request<CodeCatalyst.Types.CreateAccessTokenResponse, AWSError>;
22
22
  /**
23
- * Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project. When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these defaults apply to a Dev Environment created programmatically.
23
+ * Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use to quickly work on the code stored in the source repositories of your project. When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these defaults apply to a Dev Environment created programmatically.
24
24
  */
25
25
  createDevEnvironment(params: CodeCatalyst.Types.CreateDevEnvironmentRequest, callback?: (err: AWSError, data: CodeCatalyst.Types.CreateDevEnvironmentResponse) => void): Request<CodeCatalyst.Types.CreateDevEnvironmentResponse, AWSError>;
26
26
  /**
27
- * Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project. When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these defaults apply to a Dev Environment created programmatically.
27
+ * Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use to quickly work on the code stored in the source repositories of your project. When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these defaults apply to a Dev Environment created programmatically.
28
28
  */
29
29
  createDevEnvironment(callback?: (err: AWSError, data: CodeCatalyst.Types.CreateDevEnvironmentResponse) => void): Request<CodeCatalyst.Types.CreateDevEnvironmentResponse, AWSError>;
30
30
  /**
@@ -108,19 +108,19 @@ declare class CodeCatalyst extends Service {
108
108
  */
109
109
  getUserDetails(callback?: (err: AWSError, data: CodeCatalyst.Types.GetUserDetailsResponse) => void): Request<CodeCatalyst.Types.GetUserDetailsResponse, AWSError>;
110
110
  /**
111
- * Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your user account.
111
+ * Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your Amazon Web Services Builder ID.
112
112
  */
113
113
  listAccessTokens(params: CodeCatalyst.Types.ListAccessTokensRequest, callback?: (err: AWSError, data: CodeCatalyst.Types.ListAccessTokensResponse) => void): Request<CodeCatalyst.Types.ListAccessTokensResponse, AWSError>;
114
114
  /**
115
- * Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your user account.
115
+ * Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your Amazon Web Services Builder ID.
116
116
  */
117
117
  listAccessTokens(callback?: (err: AWSError, data: CodeCatalyst.Types.ListAccessTokensResponse) => void): Request<CodeCatalyst.Types.ListAccessTokensResponse, AWSError>;
118
118
  /**
119
- * Retrives a list of Dev Environments in a project.
119
+ * Retrieves a list of Dev Environments in a project.
120
120
  */
121
121
  listDevEnvironments(params: CodeCatalyst.Types.ListDevEnvironmentsRequest, callback?: (err: AWSError, data: CodeCatalyst.Types.ListDevEnvironmentsResponse) => void): Request<CodeCatalyst.Types.ListDevEnvironmentsResponse, AWSError>;
122
122
  /**
123
- * Retrives a list of Dev Environments in a project.
123
+ * Retrieves a list of Dev Environments in a project.
124
124
  */
125
125
  listDevEnvironments(callback?: (err: AWSError, data: CodeCatalyst.Types.ListDevEnvironmentsResponse) => void): Request<CodeCatalyst.Types.ListDevEnvironmentsResponse, AWSError>;
126
126
  /**
@@ -385,7 +385,7 @@ declare namespace CodeCatalyst {
385
385
  }
386
386
  export interface DeleteAccessTokenRequest {
387
387
  /**
388
- * The ID of the personal access token to delete. You can find the IDs of all PATs associated with your user account by calling ListAccessTokens.
388
+ * The ID of the personal access token to delete. You can find the IDs of all PATs associated with your Amazon Web Services Builder ID in a space by calling ListAccessTokens.
389
389
  */
390
390
  id: AccessTokenId;
391
391
  }
@@ -855,7 +855,7 @@ declare namespace CodeCatalyst {
855
855
  export type ListAccessTokensRequestNextTokenString = string;
856
856
  export interface ListAccessTokensResponse {
857
857
  /**
858
- * A list of personal access tokens (PATs) associated with the calling user.
858
+ * A list of personal access tokens (PATs) associated with the calling user identity.
859
859
  */
860
860
  items: AccessTokenSummaries;
861
861
  /**
@@ -1084,7 +1084,7 @@ declare namespace CodeCatalyst {
1084
1084
  */
1085
1085
  nextToken?: String;
1086
1086
  /**
1087
- * Information about the space.
1087
+ * Information about the spaces.
1088
1088
  */
1089
1089
  items?: SpaceSummaries;
1090
1090
  }
@@ -147,6 +147,14 @@ declare class Connect extends Service {
147
147
  * Creates an Amazon Web Services resource association with an Amazon Connect instance.
148
148
  */
149
149
  createIntegrationAssociation(callback?: (err: AWSError, data: Connect.Types.CreateIntegrationAssociationResponse) => void): Request<Connect.Types.CreateIntegrationAssociationResponse, AWSError>;
150
+ /**
151
+ * Adds a new participant into an on-going chat contact. For more information, see Customize chat flow experiences by integrating custom participants.
152
+ */
153
+ createParticipant(params: Connect.Types.CreateParticipantRequest, callback?: (err: AWSError, data: Connect.Types.CreateParticipantResponse) => void): Request<Connect.Types.CreateParticipantResponse, AWSError>;
154
+ /**
155
+ * Adds a new participant into an on-going chat contact. For more information, see Customize chat flow experiences by integrating custom participants.
156
+ */
157
+ createParticipant(callback?: (err: AWSError, data: Connect.Types.CreateParticipantResponse) => void): Request<Connect.Types.CreateParticipantResponse, AWSError>;
150
158
  /**
151
159
  * This API is in preview release for Amazon Connect and is subject to change. Creates a new queue for the specified Amazon Connect instance. If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
152
160
  */
@@ -2240,6 +2248,34 @@ declare namespace Connect {
2240
2248
  */
2241
2249
  IntegrationAssociationArn?: ARN;
2242
2250
  }
2251
+ export interface CreateParticipantRequest {
2252
+ /**
2253
+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
2254
+ */
2255
+ InstanceId: InstanceId;
2256
+ /**
2257
+ * The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
2258
+ */
2259
+ ContactId: ContactId;
2260
+ /**
2261
+ * 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.
2262
+ */
2263
+ ClientToken?: ClientToken;
2264
+ /**
2265
+ * Information identifying the participant. The only Valid value for ParticipantRole is CUSTOM_BOT. DisplayName is Required.
2266
+ */
2267
+ ParticipantDetails: ParticipantDetailsToAdd;
2268
+ }
2269
+ export interface CreateParticipantResponse {
2270
+ /**
2271
+ * The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
2272
+ */
2273
+ ParticipantCredentials?: ParticipantTokenCredentials;
2274
+ /**
2275
+ * The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
2276
+ */
2277
+ ParticipantId?: ParticipantId;
2278
+ }
2243
2279
  export interface CreateQueueRequest {
2244
2280
  /**
2245
2281
  * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
@@ -4016,6 +4052,7 @@ declare namespace Connect {
4016
4052
  */
4017
4053
  Minutes: MinutesLimit60;
4018
4054
  }
4055
+ export type ISO8601Datetime = string;
4019
4056
  export type InboundCallsEnabled = boolean;
4020
4057
  export interface Instance {
4021
4058
  /**
@@ -5145,7 +5182,7 @@ declare namespace Connect {
5145
5182
  }
5146
5183
  export interface MetricFilterV2 {
5147
5184
  /**
5148
- * The key to use for filtering data. Valid metric filter keys: INITIATION_METHOD, DISCONNECT_REASON
5185
+ * The key to use for filtering data. Valid metric filter keys: INITIATION_METHOD, DISCONNECT_REASON. These are the same values as the InitiationMethod and DisconnectReason in the contact record. For more information, see ContactTraceRecord in the Amazon Connect Administrator's Guide.
5149
5186
  */
5150
5187
  MetricFilterKey?: String;
5151
5188
  /**
@@ -5267,7 +5304,18 @@ declare namespace Connect {
5267
5304
  */
5268
5305
  DisplayName: DisplayName;
5269
5306
  }
5307
+ export interface ParticipantDetailsToAdd {
5308
+ /**
5309
+ * The role of the participant being added.
5310
+ */
5311
+ ParticipantRole?: ParticipantRole;
5312
+ /**
5313
+ * The display name of the participant.
5314
+ */
5315
+ DisplayName?: DisplayName;
5316
+ }
5270
5317
  export type ParticipantId = string;
5318
+ export type ParticipantRole = "AGENT"|"CUSTOMER"|"SYSTEM"|"CUSTOM_BOT"|string;
5271
5319
  export type ParticipantTimerAction = "Unset"|string;
5272
5320
  export type ParticipantTimerConfigList = ParticipantTimerConfiguration[];
5273
5321
  export interface ParticipantTimerConfiguration {
@@ -5297,6 +5345,16 @@ declare namespace Connect {
5297
5345
  ParticipantTimerDurationInMinutes?: ParticipantTimerDurationInMinutes;
5298
5346
  }
5299
5347
  export type ParticipantToken = string;
5348
+ export interface ParticipantTokenCredentials {
5349
+ /**
5350
+ * The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
5351
+ */
5352
+ ParticipantToken?: ParticipantToken;
5353
+ /**
5354
+ * The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
5355
+ */
5356
+ Expiry?: ISO8601Datetime;
5357
+ }
5300
5358
  export type Password = string;
5301
5359
  export type Percentage = number;
5302
5360
  export type PermissionsList = SecurityProfilePermission[];