cdk-lambda-subminute 2.0.463 → 2.0.465

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,11 +12,11 @@ declare class AppIntegrations extends Service {
12
12
  constructor(options?: AppIntegrations.Types.ClientConfiguration)
13
13
  config: Config & AppIntegrations.Types.ClientConfiguration;
14
14
  /**
15
- * This API is in preview release and subject to change. Creates and persists an Application resource.
15
+ * Creates and persists an Application resource.
16
16
  */
17
17
  createApplication(params: AppIntegrations.Types.CreateApplicationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.CreateApplicationResponse) => void): Request<AppIntegrations.Types.CreateApplicationResponse, AWSError>;
18
18
  /**
19
- * This API is in preview release and subject to change. Creates and persists an Application resource.
19
+ * Creates and persists an Application resource.
20
20
  */
21
21
  createApplication(callback?: (err: AWSError, data: AppIntegrations.Types.CreateApplicationResponse) => void): Request<AppIntegrations.Types.CreateApplicationResponse, AWSError>;
22
22
  /**
@@ -27,6 +27,14 @@ declare class AppIntegrations extends Service {
27
27
  * Creates and persists a DataIntegration resource. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
28
28
  */
29
29
  createDataIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.CreateDataIntegrationResponse) => void): Request<AppIntegrations.Types.CreateDataIntegrationResponse, AWSError>;
30
+ /**
31
+ * Creates and persists a DataIntegrationAssociation resource.
32
+ */
33
+ createDataIntegrationAssociation(params: AppIntegrations.Types.CreateDataIntegrationAssociationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.CreateDataIntegrationAssociationResponse) => void): Request<AppIntegrations.Types.CreateDataIntegrationAssociationResponse, AWSError>;
34
+ /**
35
+ * Creates and persists a DataIntegrationAssociation resource.
36
+ */
37
+ createDataIntegrationAssociation(callback?: (err: AWSError, data: AppIntegrations.Types.CreateDataIntegrationAssociationResponse) => void): Request<AppIntegrations.Types.CreateDataIntegrationAssociationResponse, AWSError>;
30
38
  /**
31
39
  * Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.
32
40
  */
@@ -60,11 +68,11 @@ declare class AppIntegrations extends Service {
60
68
  */
61
69
  deleteEventIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.DeleteEventIntegrationResponse) => void): Request<AppIntegrations.Types.DeleteEventIntegrationResponse, AWSError>;
62
70
  /**
63
- * This API is in preview release and subject to change. Get an Application resource.
71
+ * Get an Application resource.
64
72
  */
65
73
  getApplication(params: AppIntegrations.Types.GetApplicationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.GetApplicationResponse) => void): Request<AppIntegrations.Types.GetApplicationResponse, AWSError>;
66
74
  /**
67
- * This API is in preview release and subject to change. Get an Application resource.
75
+ * Get an Application resource.
68
76
  */
69
77
  getApplication(callback?: (err: AWSError, data: AppIntegrations.Types.GetApplicationResponse) => void): Request<AppIntegrations.Types.GetApplicationResponse, AWSError>;
70
78
  /**
@@ -92,11 +100,11 @@ declare class AppIntegrations extends Service {
92
100
  */
93
101
  listApplicationAssociations(callback?: (err: AWSError, data: AppIntegrations.Types.ListApplicationAssociationsResponse) => void): Request<AppIntegrations.Types.ListApplicationAssociationsResponse, AWSError>;
94
102
  /**
95
- * This API is in preview release and subject to change. Lists applications in the account.
103
+ * Lists applications in the account.
96
104
  */
97
105
  listApplications(params: AppIntegrations.Types.ListApplicationsRequest, callback?: (err: AWSError, data: AppIntegrations.Types.ListApplicationsResponse) => void): Request<AppIntegrations.Types.ListApplicationsResponse, AWSError>;
98
106
  /**
99
- * This API is in preview release and subject to change. Lists applications in the account.
107
+ * Lists applications in the account.
100
108
  */
101
109
  listApplications(callback?: (err: AWSError, data: AppIntegrations.Types.ListApplicationsResponse) => void): Request<AppIntegrations.Types.ListApplicationsResponse, AWSError>;
102
110
  /**
@@ -156,11 +164,11 @@ declare class AppIntegrations extends Service {
156
164
  */
157
165
  untagResource(callback?: (err: AWSError, data: AppIntegrations.Types.UntagResourceResponse) => void): Request<AppIntegrations.Types.UntagResourceResponse, AWSError>;
158
166
  /**
159
- * This API is in preview release and subject to change. Updates and persists an Application resource.
167
+ * Updates and persists an Application resource.
160
168
  */
161
169
  updateApplication(params: AppIntegrations.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.UpdateApplicationResponse) => void): Request<AppIntegrations.Types.UpdateApplicationResponse, AWSError>;
162
170
  /**
163
- * This API is in preview release and subject to change. Updates and persists an Application resource.
171
+ * Updates and persists an Application resource.
164
172
  */
165
173
  updateApplication(callback?: (err: AWSError, data: AppIntegrations.Types.UpdateApplicationResponse) => void): Request<AppIntegrations.Types.UpdateApplicationResponse, AWSError>;
166
174
  /**
@@ -171,6 +179,14 @@ declare class AppIntegrations extends Service {
171
179
  * Updates the description of a DataIntegration. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
172
180
  */
173
181
  updateDataIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.UpdateDataIntegrationResponse) => void): Request<AppIntegrations.Types.UpdateDataIntegrationResponse, AWSError>;
182
+ /**
183
+ * Updates and persists a DataIntegrationAssociation resource. Updating a DataIntegrationAssociation with ExecutionConfiguration will rerun the on-demand job.
184
+ */
185
+ updateDataIntegrationAssociation(params: AppIntegrations.Types.UpdateDataIntegrationAssociationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.UpdateDataIntegrationAssociationResponse) => void): Request<AppIntegrations.Types.UpdateDataIntegrationAssociationResponse, AWSError>;
186
+ /**
187
+ * Updates and persists a DataIntegrationAssociation resource. Updating a DataIntegrationAssociation with ExecutionConfiguration will rerun the on-demand job.
188
+ */
189
+ updateDataIntegrationAssociation(callback?: (err: AWSError, data: AppIntegrations.Types.UpdateDataIntegrationAssociationResponse) => void): Request<AppIntegrations.Types.UpdateDataIntegrationAssociationResponse, AWSError>;
174
190
  /**
175
191
  * Updates the description of an event integration.
176
192
  */
@@ -285,6 +301,43 @@ declare namespace AppIntegrations {
285
301
  */
286
302
  Id?: UUID;
287
303
  }
304
+ export interface CreateDataIntegrationAssociationRequest {
305
+ /**
306
+ * A unique identifier for the DataIntegration.
307
+ */
308
+ DataIntegrationIdentifier: Identifier;
309
+ /**
310
+ * The identifier for the client that is associated with the DataIntegration association.
311
+ */
312
+ ClientId?: ClientId;
313
+ ObjectConfiguration?: ObjectConfiguration;
314
+ /**
315
+ * The URI of the data destination.
316
+ */
317
+ DestinationURI?: DestinationURI;
318
+ /**
319
+ * The mapping of metadata to be extracted from the data.
320
+ */
321
+ ClientAssociationMetadata?: ClientAssociationMetadata;
322
+ /**
323
+ * 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.
324
+ */
325
+ ClientToken?: IdempotencyToken;
326
+ /**
327
+ * The configuration for how the files should be pulled from the source.
328
+ */
329
+ ExecutionConfiguration?: ExecutionConfiguration;
330
+ }
331
+ export interface CreateDataIntegrationAssociationResponse {
332
+ /**
333
+ * A unique identifier. for the DataIntegrationAssociation.
334
+ */
335
+ DataIntegrationAssociationId?: UUID;
336
+ /**
337
+ * The Amazon Resource Name (ARN) for the DataIntegration.
338
+ */
339
+ DataIntegrationArn?: Arn;
340
+ }
288
341
  export interface CreateDataIntegrationRequest {
289
342
  /**
290
343
  * The name of the DataIntegration.
@@ -295,13 +348,13 @@ declare namespace AppIntegrations {
295
348
  */
296
349
  Description?: Description;
297
350
  /**
298
- * The KMS key for the DataIntegration.
351
+ * The KMS key ARN for the DataIntegration.
299
352
  */
300
353
  KmsKey: NonBlankString;
301
354
  /**
302
355
  * The URI of the data source.
303
356
  */
304
- SourceURI: SourceURI;
357
+ SourceURI?: SourceURI;
305
358
  /**
306
359
  * The name of the data and how often it should be pulled from the source.
307
360
  */
@@ -341,7 +394,7 @@ declare namespace AppIntegrations {
341
394
  */
342
395
  Description?: Description;
343
396
  /**
344
- * The KMS key for the DataIntegration.
397
+ * The KMS key ARN for the DataIntegration.
345
398
  */
346
399
  KmsKey?: NonBlankString;
347
400
  /**
@@ -414,6 +467,15 @@ declare namespace AppIntegrations {
414
467
  * The identifier for the client that is associated with the DataIntegration association.
415
468
  */
416
469
  ClientId?: ClientId;
470
+ /**
471
+ * The URI of the data destination.
472
+ */
473
+ DestinationURI?: DestinationURI;
474
+ /**
475
+ * The execution status of the last job.
476
+ */
477
+ LastExecutionStatus?: LastExecutionStatus;
478
+ ExecutionConfiguration?: ExecutionConfiguration;
417
479
  }
418
480
  export type DataIntegrationAssociationsList = DataIntegrationAssociationSummary[];
419
481
  export interface DataIntegrationSummary {
@@ -456,6 +518,7 @@ declare namespace AppIntegrations {
456
518
  export interface DeleteEventIntegrationResponse {
457
519
  }
458
520
  export type Description = string;
521
+ export type DestinationURI = string;
459
522
  export type EventBridgeBus = string;
460
523
  export type EventBridgeRuleName = string;
461
524
  export type EventDefinitionSchema = string;
@@ -520,6 +583,16 @@ declare namespace AppIntegrations {
520
583
  export type EventIntegrationAssociationsList = EventIntegrationAssociation[];
521
584
  export type EventIntegrationsList = EventIntegration[];
522
585
  export type EventName = string;
586
+ export interface ExecutionConfiguration {
587
+ /**
588
+ * The mode for data import/export execution.
589
+ */
590
+ ExecutionMode: ExecutionMode;
591
+ OnDemandConfiguration?: OnDemandConfiguration;
592
+ ScheduleConfiguration?: ScheduleConfiguration;
593
+ }
594
+ export type ExecutionMode = "ON_DEMAND"|"SCHEDULED"|string;
595
+ export type ExecutionStatus = "COMPLETED"|"IN_PROGRESS"|"FAILED"|string;
523
596
  export interface ExternalUrlConfig {
524
597
  /**
525
598
  * The URL to access the application.
@@ -620,11 +693,11 @@ declare namespace AppIntegrations {
620
693
  */
621
694
  Name?: Name;
622
695
  /**
623
- * The KMS key for the DataIntegration.
696
+ * The KMS key ARN for the DataIntegration.
624
697
  */
625
698
  Description?: Description;
626
699
  /**
627
- * The KMS key for the DataIntegration.
700
+ * The KMS key ARN for the DataIntegration.
628
701
  */
629
702
  KmsKey?: NonBlankString;
630
703
  /**
@@ -682,6 +755,16 @@ declare namespace AppIntegrations {
682
755
  }
683
756
  export type IdempotencyToken = string;
684
757
  export type Identifier = string;
758
+ export interface LastExecutionStatus {
759
+ /**
760
+ * The job status enum string.
761
+ */
762
+ ExecutionStatus?: ExecutionStatus;
763
+ /**
764
+ * The status message of a job.
765
+ */
766
+ StatusMessage?: NonBlankString;
767
+ }
685
768
  export interface ListApplicationAssociationsRequest {
686
769
  /**
687
770
  * A unique identifier for the Application.
@@ -833,6 +916,16 @@ declare namespace AppIntegrations {
833
916
  export type NonBlankString = string;
834
917
  export type Object = string;
835
918
  export type ObjectConfiguration = {[key: string]: FieldsMap};
919
+ export interface OnDemandConfiguration {
920
+ /**
921
+ * The start time for data pull from the source as an Unix/epoch string in milliseconds
922
+ */
923
+ StartTime: NonBlankString;
924
+ /**
925
+ * The end time for data pull from the source as an Unix/epoch string in milliseconds
926
+ */
927
+ EndTime?: NonBlankString;
928
+ }
836
929
  export type Permission = string;
837
930
  export type PermissionList = Permission[];
838
931
  export interface Publication {
@@ -940,6 +1033,22 @@ declare namespace AppIntegrations {
940
1033
  }
941
1034
  export interface UpdateApplicationResponse {
942
1035
  }
1036
+ export interface UpdateDataIntegrationAssociationRequest {
1037
+ /**
1038
+ * A unique identifier for the DataIntegration.
1039
+ */
1040
+ DataIntegrationIdentifier: Identifier;
1041
+ /**
1042
+ * A unique identifier. of the DataIntegrationAssociation resource
1043
+ */
1044
+ DataIntegrationAssociationIdentifier: Identifier;
1045
+ /**
1046
+ * The configuration for how the files should be pulled from the source.
1047
+ */
1048
+ ExecutionConfiguration: ExecutionConfiguration;
1049
+ }
1050
+ export interface UpdateDataIntegrationAssociationResponse {
1051
+ }
943
1052
  export interface UpdateDataIntegrationRequest {
944
1053
  /**
945
1054
  * A unique identifier for the DataIntegration.
@@ -37,11 +37,11 @@ declare class BedrockAgentRuntime extends Service {
37
37
  */
38
38
  invokeAgent(callback?: (err: AWSError, data: BedrockAgentRuntime.Types.InvokeAgentResponse) => void): Request<BedrockAgentRuntime.Types.InvokeAgentResponse, AWSError>;
39
39
  /**
40
- * Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
40
+ * Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide. The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow.
41
41
  */
42
42
  invokeFlow(params: BedrockAgentRuntime.Types.InvokeFlowRequest, callback?: (err: AWSError, data: BedrockAgentRuntime.Types.InvokeFlowResponse) => void): Request<BedrockAgentRuntime.Types.InvokeFlowResponse, AWSError>;
43
43
  /**
44
- * Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
44
+ * Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide. The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow.
45
45
  */
46
46
  invokeFlow(callback?: (err: AWSError, data: BedrockAgentRuntime.Types.InvokeFlowResponse) => void): Request<BedrockAgentRuntime.Types.InvokeFlowResponse, AWSError>;
47
47
  /**
@@ -418,42 +418,42 @@ declare namespace BedrockAgentRuntime {
418
418
  export type FlowIdentifier = string;
419
419
  export interface FlowInput {
420
420
  /**
421
- * Contains information about an input into the flow.
421
+ * Contains information about an input into the prompt flow.
422
422
  */
423
423
  content: FlowInputContent;
424
424
  /**
425
- * A name for the input of the flow input node.
425
+ * The name of the flow input node that begins the prompt flow.
426
426
  */
427
427
  nodeName: NodeName;
428
428
  /**
429
- * A name for the output of the flow input node.
429
+ * The name of the output from the flow input node that begins the prompt flow.
430
430
  */
431
431
  nodeOutputName: NodeOutputName;
432
432
  }
433
433
  export interface FlowInputContent {
434
434
  /**
435
- * The input for the flow input node.
435
+ * The input to send to the prompt flow input node.
436
436
  */
437
437
  document?: Document;
438
438
  }
439
439
  export type FlowInputs = FlowInput[];
440
440
  export interface FlowOutputContent {
441
441
  /**
442
- * A name for the output of the flow.
442
+ * The content in the output.
443
443
  */
444
444
  document?: Document;
445
445
  }
446
446
  export interface FlowOutputEvent {
447
447
  /**
448
- * The output of the node.
448
+ * The content in the output.
449
449
  */
450
450
  content: FlowOutputContent;
451
451
  /**
452
- * The name of the node to which input was provided.
452
+ * The name of the flow output node that the output is from.
453
453
  */
454
454
  nodeName: NodeName;
455
455
  /**
456
- * The type of node to which input was provided.
456
+ * The type of the node that the output is from.
457
457
  */
458
458
  nodeType: NodeType;
459
459
  }
@@ -773,7 +773,7 @@ declare namespace BedrockAgentRuntime {
773
773
  */
774
774
  topK?: TopK;
775
775
  /**
776
- * While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for Top P determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set topP to 80, the model only selects the next token from the top 80% of the probability distribution of next tokens.
776
+ * While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for Top P determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set topP to 0.8, the model only selects the next token from the top 80% of the probability distribution of next tokens.
777
777
  */
778
778
  topP?: TopP;
779
779
  }
@@ -1047,6 +1047,12 @@ declare namespace BedrockAgentRuntime {
1047
1047
  summaryText?: SummaryText;
1048
1048
  }
1049
1049
  export type MemoryType = "SESSION_SUMMARY"|string;
1050
+ export interface Metadata {
1051
+ /**
1052
+ * Contains details of the foundation model usage.
1053
+ */
1054
+ usage?: Usage;
1055
+ }
1050
1056
  export type MimeType = string;
1051
1057
  export interface ModelInvocationInput {
1052
1058
  /**
@@ -1119,6 +1125,20 @@ declare namespace BedrockAgentRuntime {
1119
1125
  */
1120
1126
  queryTransformationConfiguration: QueryTransformationConfiguration;
1121
1127
  }
1128
+ export interface OrchestrationModelInvocationOutput {
1129
+ /**
1130
+ * Contains information about the foundation model output.
1131
+ */
1132
+ metadata?: Metadata;
1133
+ /**
1134
+ * Contains details of the raw response from the foundation model output.
1135
+ */
1136
+ rawResponse?: RawResponse;
1137
+ /**
1138
+ * The unique identifier of the trace.
1139
+ */
1140
+ traceId?: TraceId;
1141
+ }
1122
1142
  export interface OrchestrationTrace {
1123
1143
  /**
1124
1144
  * Contains information pertaining to the action group or knowledge base that is being invoked.
@@ -1128,6 +1148,10 @@ declare namespace BedrockAgentRuntime {
1128
1148
  * The input for the orchestration step. The type is ORCHESTRATION. The text contains the prompt. The inferenceConfiguration, parserMode, and overrideLambda values are set in the PromptOverrideConfiguration object that was set when the agent was created or updated.
1129
1149
  */
1130
1150
  modelInvocationInput?: ModelInvocationInput;
1151
+ /**
1152
+ * Contains information pertaining to the output from the foundation model that is being invoked.
1153
+ */
1154
+ modelInvocationOutput?: OrchestrationModelInvocationOutput;
1131
1155
  /**
1132
1156
  * Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.
1133
1157
  */
@@ -1271,6 +1295,12 @@ declare namespace BedrockAgentRuntime {
1271
1295
  traceId?: TraceId;
1272
1296
  }
1273
1297
  export type RationaleString = string;
1298
+ export interface RawResponse {
1299
+ /**
1300
+ * The foundation model's raw output content.
1301
+ */
1302
+ content?: String;
1303
+ }
1274
1304
  export interface RepromptResponse {
1275
1305
  /**
1276
1306
  * Specifies what output is prompting the agent to reprompt the input.
@@ -1682,6 +1712,16 @@ declare namespace BedrockAgentRuntime {
1682
1712
  trace?: Trace;
1683
1713
  }
1684
1714
  export type Type = "ACTION_GROUP"|"KNOWLEDGE_BASE"|"FINISH"|"ASK_USER"|"REPROMPT"|string;
1715
+ export interface Usage {
1716
+ /**
1717
+ * Contains information about the input tokens from the foundation model usage.
1718
+ */
1719
+ inputTokens?: Integer;
1720
+ /**
1721
+ * Contains information about the output tokens from the foundation model usage.
1722
+ */
1723
+ outputTokens?: Integer;
1724
+ }
1685
1725
  export interface ValidationException {
1686
1726
  message?: NonBlankString;
1687
1727
  }
@@ -28,11 +28,11 @@ declare class CognitoIdentityServiceProvider extends Service {
28
28
  */
29
29
  adminAddUserToGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
30
30
  /**
31
- * This IAM-authenticated API operation provides a code that Amazon Cognito sent to your user when they signed up in your user pool. After your user enters their code, they confirm ownership of the email address or phone number that they provided, and their user account becomes active. Depending on your user pool configuration, your users will receive their confirmation code in an email or SMS message. Local users who signed up in your user pool are the only type of user who can confirm sign-up with a code. Users who federate through an external identity provider (IdP) have already been confirmed by their IdP. Administrator-created users confirm their accounts when they respond to their invitation email message and choose a password. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
31
+ * This IAM-authenticated API operation confirms user sign-up as an administrator. Unlike ConfirmSignUp, your IAM credentials authorize user account confirmation. No confirmation code is required. This request sets a user account active in a user pool that requires confirmation of new user accounts before they can sign in. You can configure your user pool to not send confirmation codes to new users and instead confirm them with this API operation on the back end. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
32
32
  */
33
33
  adminConfirmSignUp(params: CognitoIdentityServiceProvider.Types.AdminConfirmSignUpRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminConfirmSignUpResponse) => void): Request<CognitoIdentityServiceProvider.Types.AdminConfirmSignUpResponse, AWSError>;
34
34
  /**
35
- * This IAM-authenticated API operation provides a code that Amazon Cognito sent to your user when they signed up in your user pool. After your user enters their code, they confirm ownership of the email address or phone number that they provided, and their user account becomes active. Depending on your user pool configuration, your users will receive their confirmation code in an email or SMS message. Local users who signed up in your user pool are the only type of user who can confirm sign-up with a code. Users who federate through an external identity provider (IdP) have already been confirmed by their IdP. Administrator-created users confirm their accounts when they respond to their invitation email message and choose a password. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
35
+ * This IAM-authenticated API operation confirms user sign-up as an administrator. Unlike ConfirmSignUp, your IAM credentials authorize user account confirmation. No confirmation code is required. This request sets a user account active in a user pool that requires confirmation of new user accounts before they can sign in. You can configure your user pool to not send confirmation codes to new users and instead confirm them with this API operation on the back end. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
36
36
  */
37
37
  adminConfirmSignUp(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminConfirmSignUpResponse) => void): Request<CognitoIdentityServiceProvider.Types.AdminConfirmSignUpResponse, AWSError>;
38
38
  /**
@@ -228,11 +228,11 @@ declare class CognitoIdentityServiceProvider extends Service {
228
228
  */
229
229
  adminUserGlobalSignOut(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUserGlobalSignOutResponse) => void): Request<CognitoIdentityServiceProvider.Types.AdminUserGlobalSignOutResponse, AWSError>;
230
230
  /**
231
- * Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an AssociateSoftwareToken request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito. Amazon Cognito disassociates an existing software token when you verify the new token in a VerifySoftwareToken API request. If you don't verify the software token and your user pool doesn't require MFA, the user can then authenticate with user name and password credentials alone. If your user pool requires TOTP MFA, Amazon Cognito generates an MFA_SETUP or SOFTWARE_TOKEN_SETUP challenge each time your user signs. Complete setup with AssociateSoftwareToken and VerifySoftwareToken. After you set up software token MFA for your user, Amazon Cognito generates a SOFTWARE_TOKEN_MFA challenge when they authenticate. Respond to this challenge with your user's TOTP. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
231
+ * Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an AssociateSoftwareToken request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito. Amazon Cognito disassociates an existing software token when you verify the new token in a VerifySoftwareToken API request. If you don't verify the software token and your user pool doesn't require MFA, the user can then authenticate with user name and password credentials alone. If your user pool requires TOTP MFA, Amazon Cognito generates an MFA_SETUP or SOFTWARE_TOKEN_SETUP challenge each time your user signs in. Complete setup with AssociateSoftwareToken and VerifySoftwareToken. After you set up software token MFA for your user, Amazon Cognito generates a SOFTWARE_TOKEN_MFA challenge when they authenticate. Respond to this challenge with your user's TOTP. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
232
232
  */
233
233
  associateSoftwareToken(params: CognitoIdentityServiceProvider.Types.AssociateSoftwareTokenRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AssociateSoftwareTokenResponse) => void): Request<CognitoIdentityServiceProvider.Types.AssociateSoftwareTokenResponse, AWSError>;
234
234
  /**
235
- * Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an AssociateSoftwareToken request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito. Amazon Cognito disassociates an existing software token when you verify the new token in a VerifySoftwareToken API request. If you don't verify the software token and your user pool doesn't require MFA, the user can then authenticate with user name and password credentials alone. If your user pool requires TOTP MFA, Amazon Cognito generates an MFA_SETUP or SOFTWARE_TOKEN_SETUP challenge each time your user signs. Complete setup with AssociateSoftwareToken and VerifySoftwareToken. After you set up software token MFA for your user, Amazon Cognito generates a SOFTWARE_TOKEN_MFA challenge when they authenticate. Respond to this challenge with your user's TOTP. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
235
+ * Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an AssociateSoftwareToken request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito. Amazon Cognito disassociates an existing software token when you verify the new token in a VerifySoftwareToken API request. If you don't verify the software token and your user pool doesn't require MFA, the user can then authenticate with user name and password credentials alone. If your user pool requires TOTP MFA, Amazon Cognito generates an MFA_SETUP or SOFTWARE_TOKEN_SETUP challenge each time your user signs in. Complete setup with AssociateSoftwareToken and VerifySoftwareToken. After you set up software token MFA for your user, Amazon Cognito generates a SOFTWARE_TOKEN_MFA challenge when they authenticate. Respond to this challenge with your user's TOTP. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
236
236
  */
237
237
  associateSoftwareToken(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AssociateSoftwareTokenResponse) => void): Request<CognitoIdentityServiceProvider.Types.AssociateSoftwareTokenResponse, AWSError>;
238
238
  /**
@@ -492,11 +492,11 @@ declare class CognitoIdentityServiceProvider extends Service {
492
492
  */
493
493
  getIdentityProviderByIdentifier(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetIdentityProviderByIdentifierResponse) => void): Request<CognitoIdentityServiceProvider.Types.GetIdentityProviderByIdentifierResponse, AWSError>;
494
494
  /**
495
- * Gets the detailed activity logging configuration for a user pool.
495
+ * Gets the logging configuration of a user pool.
496
496
  */
497
497
  getLogDeliveryConfiguration(params: CognitoIdentityServiceProvider.Types.GetLogDeliveryConfigurationRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetLogDeliveryConfigurationResponse) => void): Request<CognitoIdentityServiceProvider.Types.GetLogDeliveryConfigurationResponse, AWSError>;
498
498
  /**
499
- * Gets the detailed activity logging configuration for a user pool.
499
+ * Gets the logging configuration of a user pool.
500
500
  */
501
501
  getLogDeliveryConfiguration(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetLogDeliveryConfigurationResponse) => void): Request<CognitoIdentityServiceProvider.Types.GetLogDeliveryConfigurationResponse, AWSError>;
502
502
  /**
@@ -660,11 +660,11 @@ declare class CognitoIdentityServiceProvider extends Service {
660
660
  */
661
661
  revokeToken(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RevokeTokenResponse) => void): Request<CognitoIdentityServiceProvider.Types.RevokeTokenResponse, AWSError>;
662
662
  /**
663
- * Sets up or modifies the detailed activity logging configuration of a user pool.
663
+ * Sets up or modifies the logging configuration of a user pool. User pools can export user notification logs and advanced security features user activity logs.
664
664
  */
665
665
  setLogDeliveryConfiguration(params: CognitoIdentityServiceProvider.Types.SetLogDeliveryConfigurationRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetLogDeliveryConfigurationResponse) => void): Request<CognitoIdentityServiceProvider.Types.SetLogDeliveryConfigurationResponse, AWSError>;
666
666
  /**
667
- * Sets up or modifies the detailed activity logging configuration of a user pool.
667
+ * Sets up or modifies the logging configuration of a user pool. User pools can export user notification logs and advanced security features user activity logs.
668
668
  */
669
669
  setLogDeliveryConfiguration(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetLogDeliveryConfigurationResponse) => void): Request<CognitoIdentityServiceProvider.Types.SetLogDeliveryConfigurationResponse, AWSError>;
670
670
  /**
@@ -1997,7 +1997,7 @@ declare namespace CognitoIdentityServiceProvider {
1997
1997
  */
1998
1998
  AnalyticsConfiguration?: AnalyticsConfigurationType;
1999
1999
  /**
2000
- * Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the early behavior of Amazon Cognito where user existence related errors aren't prevented.
2000
+ * Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the early behavior of Amazon Cognito where user existence related errors aren't prevented. Defaults to LEGACY when you don't provide a value.
2001
2001
  */
2002
2002
  PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
2003
2003
  /**
@@ -2522,11 +2522,17 @@ declare namespace CognitoIdentityServiceProvider {
2522
2522
  */
2523
2523
  CompromisedCredentialsDetected?: WrappedBooleanType;
2524
2524
  }
2525
- export type EventSourceName = "userNotification"|string;
2525
+ export type EventSourceName = "userNotification"|"userAuthEvents"|string;
2526
2526
  export type EventType = "SignIn"|"SignUp"|"ForgotPassword"|"PasswordChange"|"ResendCode"|string;
2527
2527
  export type ExplicitAuthFlowsListType = ExplicitAuthFlowsType[];
2528
2528
  export type ExplicitAuthFlowsType = "ADMIN_NO_SRP_AUTH"|"CUSTOM_AUTH_FLOW_ONLY"|"USER_PASSWORD_AUTH"|"ALLOW_ADMIN_USER_PASSWORD_AUTH"|"ALLOW_CUSTOM_AUTH"|"ALLOW_USER_PASSWORD_AUTH"|"ALLOW_USER_SRP_AUTH"|"ALLOW_REFRESH_TOKEN_AUTH"|string;
2529
2529
  export type FeedbackValueType = "Valid"|"Invalid"|string;
2530
+ export interface FirehoseConfigurationType {
2531
+ /**
2532
+ * The ARN of an Amazon Data Firehose stream that's the destination for advanced security features log export.
2533
+ */
2534
+ StreamArn?: ArnType;
2535
+ }
2530
2536
  export type ForceAliasCreation = boolean;
2531
2537
  export interface ForgetDeviceRequest {
2532
2538
  /**
@@ -2637,13 +2643,13 @@ declare namespace CognitoIdentityServiceProvider {
2637
2643
  }
2638
2644
  export interface GetLogDeliveryConfigurationRequest {
2639
2645
  /**
2640
- * The ID of the user pool where you want to view detailed activity logging configuration.
2646
+ * The ID of the user pool that has the logging configuration that you want to view.
2641
2647
  */
2642
2648
  UserPoolId: UserPoolIdType;
2643
2649
  }
2644
2650
  export interface GetLogDeliveryConfigurationResponse {
2645
2651
  /**
2646
- * The detailed activity logging configuration of the requested user pool.
2652
+ * The logging configuration of the requested user pool.
2647
2653
  */
2648
2654
  LogDeliveryConfiguration?: LogDeliveryConfigurationType;
2649
2655
  }
@@ -3180,29 +3186,37 @@ declare namespace CognitoIdentityServiceProvider {
3180
3186
  export type LogConfigurationListType = LogConfigurationType[];
3181
3187
  export interface LogConfigurationType {
3182
3188
  /**
3183
- * The errorlevel selection of logs that a user pool sends for detailed activity logging.
3189
+ * The errorlevel selection of logs that a user pool sends for detailed activity logging. To send userNotification activity with information about message delivery, choose ERROR with CloudWatchLogsConfiguration. To send userAuthEvents activity with user logs from advanced security features, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.
3184
3190
  */
3185
3191
  LogLevel: LogLevel;
3186
3192
  /**
3187
- * The source of events that your user pool sends for detailed activity logging.
3193
+ * The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to userNotification. To send info-level logs about advanced security features user activity, set to userAuthEvents.
3188
3194
  */
3189
3195
  EventSource: EventSourceName;
3190
3196
  /**
3191
- * The CloudWatch logging destination of a user pool.
3197
+ * The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with advanced security features.
3192
3198
  */
3193
3199
  CloudWatchLogsConfiguration?: CloudWatchLogsConfigurationType;
3200
+ /**
3201
+ * The Amazon S3 bucket destination of user activity log export with advanced security features. To activate this setting, advanced security features must be active in your user pool.
3202
+ */
3203
+ S3Configuration?: S3ConfigurationType;
3204
+ /**
3205
+ * The Amazon Data Firehose stream destination of user activity log export with advanced security features. To activate this setting, advanced security features must be active in your user pool.
3206
+ */
3207
+ FirehoseConfiguration?: FirehoseConfigurationType;
3194
3208
  }
3195
3209
  export interface LogDeliveryConfigurationType {
3196
3210
  /**
3197
- * The ID of the user pool where you configured detailed activity logging.
3211
+ * The ID of the user pool where you configured logging.
3198
3212
  */
3199
3213
  UserPoolId: UserPoolIdType;
3200
3214
  /**
3201
- * The detailed activity logging destination of a user pool.
3215
+ * A logging destination of a user pool. User pools can have multiple logging destinations for message-delivery and user-activity logs.
3202
3216
  */
3203
3217
  LogConfigurations: LogConfigurationListType;
3204
3218
  }
3205
- export type LogLevel = "ERROR"|string;
3219
+ export type LogLevel = "ERROR"|"INFO"|string;
3206
3220
  export type LogoutURLsListType = RedirectUrlType[];
3207
3221
  export type LongType = number;
3208
3222
  export type MFAOptionListType = MFAOptionType[];
@@ -3295,6 +3309,7 @@ declare namespace CognitoIdentityServiceProvider {
3295
3309
  export type OAuthFlowsType = OAuthFlowType[];
3296
3310
  export type PaginationKey = string;
3297
3311
  export type PaginationKeyType = string;
3312
+ export type PasswordHistorySizeType = number;
3298
3313
  export type PasswordPolicyMinLengthType = number;
3299
3314
  export interface PasswordPolicyType {
3300
3315
  /**
@@ -3317,6 +3332,10 @@ declare namespace CognitoIdentityServiceProvider {
3317
3332
  * In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
3318
3333
  */
3319
3334
  RequireSymbols?: BooleanType;
3335
+ /**
3336
+ * The number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of n previous passwords, where n is the value of PasswordHistorySize. Password history isn't enforced and isn't displayed in DescribeUserPool responses when you set this value to 0 or don't provide it. To activate this setting, advanced security features must be active in your user pool.
3337
+ */
3338
+ PasswordHistorySize?: PasswordHistorySizeType;
3320
3339
  /**
3321
3340
  * The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. Defaults to 7. If you submit a value of 0, Amazon Cognito treats it as a null value and sets TemporaryPasswordValidityDays to its default value. When you set TemporaryPasswordValidityDays for a user pool, you can no longer set a value for the legacy UnusedAccountValidityDays parameter in that user pool.
3322
3341
  */
@@ -3560,7 +3579,14 @@ declare namespace CognitoIdentityServiceProvider {
3560
3579
  SkippedIPRangeList?: SkippedIPRangeListType;
3561
3580
  }
3562
3581
  export type RiskLevelType = "Low"|"Medium"|"High"|string;
3582
+ export type S3ArnType = string;
3563
3583
  export type S3BucketType = string;
3584
+ export interface S3ConfigurationType {
3585
+ /**
3586
+ * The ARN of an Amazon S3 bucket that's the destination for advanced security features log export.
3587
+ */
3588
+ BucketArn?: S3ArnType;
3589
+ }
3564
3590
  export type SESConfigurationSet = string;
3565
3591
  export interface SMSMfaSettingsType {
3566
3592
  /**
@@ -3612,11 +3638,11 @@ declare namespace CognitoIdentityServiceProvider {
3612
3638
  export type SessionType = string;
3613
3639
  export interface SetLogDeliveryConfigurationRequest {
3614
3640
  /**
3615
- * The ID of the user pool where you want to configure detailed activity logging .
3641
+ * The ID of the user pool where you want to configure logging.
3616
3642
  */
3617
3643
  UserPoolId: UserPoolIdType;
3618
3644
  /**
3619
- * A collection of all of the detailed activity logging configurations for a user pool.
3645
+ * A collection of the logging configurations for a user pool.
3620
3646
  */
3621
3647
  LogConfigurations: LogConfigurationListType;
3622
3648
  }
@@ -3786,7 +3812,7 @@ declare namespace CognitoIdentityServiceProvider {
3786
3812
  */
3787
3813
  CodeDeliveryDetails?: CodeDeliveryDetailsType;
3788
3814
  /**
3789
- * The UUID of the authenticated user. This isn't the same as username.
3815
+ * The 128-bit ID of the authenticated user. This isn't the same as username.
3790
3816
  */
3791
3817
  UserSub: StringType;
3792
3818
  }
@@ -4165,7 +4191,7 @@ declare namespace CognitoIdentityServiceProvider {
4165
4191
  */
4166
4192
  AnalyticsConfiguration?: AnalyticsConfigurationType;
4167
4193
  /**
4168
- * Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the early behavior of Amazon Cognito where user existence related errors aren't prevented.
4194
+ * Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the early behavior of Amazon Cognito where user existence related errors aren't prevented. Defaults to LEGACY when you don't provide a value.
4169
4195
  */
4170
4196
  PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
4171
4197
  /**
@@ -4470,7 +4496,7 @@ declare namespace CognitoIdentityServiceProvider {
4470
4496
  */
4471
4497
  AnalyticsConfiguration?: AnalyticsConfigurationType;
4472
4498
  /**
4473
- * Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the old behavior of Amazon Cognito where user existence related errors aren't prevented.
4499
+ * Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the early behavior of Amazon Cognito where user existence related errors aren't prevented. Defaults to LEGACY when you don't provide a value.
4474
4500
  */
4475
4501
  PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
4476
4502
  /**