cdk-lambda-subminute 2.0.462 → 2.0.464

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/.jsii +4 -4
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +53 -21
  5. package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +174 -159
  6. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +10 -0
  7. package/node_modules/aws-sdk/apis/datazone-2018-05-10.min.json +1000 -509
  8. package/node_modules/aws-sdk/apis/datazone-2018-05-10.paginators.json +6 -0
  9. package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +44 -6
  10. package/node_modules/aws-sdk/apis/kinesis-video-webrtc-storage-2018-05-10.min.json +17 -0
  11. package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +51 -11
  12. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +49 -23
  13. package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +22 -6
  14. package/node_modules/aws-sdk/clients/datazone.d.ts +616 -9
  15. package/node_modules/aws-sdk/clients/ecr.d.ts +57 -3
  16. package/node_modules/aws-sdk/clients/kinesisvideowebrtcstorage.d.ts +21 -2
  17. package/node_modules/aws-sdk/clients/pi.d.ts +1 -1
  18. package/node_modules/aws-sdk/clients/workspaces.d.ts +2 -2
  19. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  20. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +8 -8
  21. package/node_modules/aws-sdk/dist/aws-sdk.js +221 -168
  22. package/node_modules/aws-sdk/dist/aws-sdk.min.js +90 -90
  23. package/node_modules/aws-sdk/lib/core.js +1 -1
  24. package/node_modules/aws-sdk/package.json +1 -1
  25. package/package.json +3 -3
@@ -12,6 +12,12 @@
12
12
  "limit_key": "maxResults",
13
13
  "result_key": "items"
14
14
  },
15
+ "ListDataProductRevisions": {
16
+ "input_token": "nextToken",
17
+ "output_token": "nextToken",
18
+ "limit_key": "maxResults",
19
+ "result_key": "items"
20
+ },
15
21
  "ListDataSourceRunActivities": {
16
22
  "input_token": "nextToken",
17
23
  "output_token": "nextToken",
@@ -873,6 +873,24 @@
873
873
  }
874
874
  }
875
875
  },
876
+ "GetAccountSetting": {
877
+ "input": {
878
+ "type": "structure",
879
+ "required": [
880
+ "name"
881
+ ],
882
+ "members": {
883
+ "name": {}
884
+ }
885
+ },
886
+ "output": {
887
+ "type": "structure",
888
+ "members": {
889
+ "name": {},
890
+ "value": {}
891
+ }
892
+ }
893
+ },
876
894
  "GetAuthorizationToken": {
877
895
  "input": {
878
896
  "type": "structure",
@@ -1038,7 +1056,7 @@
1038
1056
  "members": {
1039
1057
  "registryId": {},
1040
1058
  "scanningConfiguration": {
1041
- "shape": "S6n"
1059
+ "shape": "S6q"
1042
1060
  }
1043
1061
  }
1044
1062
  }
@@ -1134,6 +1152,26 @@
1134
1152
  }
1135
1153
  }
1136
1154
  },
1155
+ "PutAccountSetting": {
1156
+ "input": {
1157
+ "type": "structure",
1158
+ "required": [
1159
+ "name",
1160
+ "value"
1161
+ ],
1162
+ "members": {
1163
+ "name": {},
1164
+ "value": {}
1165
+ }
1166
+ },
1167
+ "output": {
1168
+ "type": "structure",
1169
+ "members": {
1170
+ "name": {},
1171
+ "value": {}
1172
+ }
1173
+ }
1174
+ },
1137
1175
  "PutImage": {
1138
1176
  "input": {
1139
1177
  "type": "structure",
@@ -1253,7 +1291,7 @@
1253
1291
  "members": {
1254
1292
  "scanType": {},
1255
1293
  "rules": {
1256
- "shape": "S6p"
1294
+ "shape": "S6s"
1257
1295
  }
1258
1296
  }
1259
1297
  },
@@ -1261,7 +1299,7 @@
1261
1299
  "type": "structure",
1262
1300
  "members": {
1263
1301
  "registryScanningConfiguration": {
1264
- "shape": "S6n"
1302
+ "shape": "S6q"
1265
1303
  }
1266
1304
  }
1267
1305
  }
@@ -1733,16 +1771,16 @@
1733
1771
  }
1734
1772
  }
1735
1773
  },
1736
- "S6n": {
1774
+ "S6q": {
1737
1775
  "type": "structure",
1738
1776
  "members": {
1739
1777
  "scanType": {},
1740
1778
  "rules": {
1741
- "shape": "S6p"
1779
+ "shape": "S6s"
1742
1780
  }
1743
1781
  }
1744
1782
  },
1745
- "S6p": {
1783
+ "S6s": {
1746
1784
  "type": "list",
1747
1785
  "member": {
1748
1786
  "type": "structure",
@@ -26,6 +26,23 @@
26
26
  "channelArn": {}
27
27
  }
28
28
  }
29
+ },
30
+ "JoinStorageSessionAsViewer": {
31
+ "http": {
32
+ "requestUri": "/joinStorageSessionAsViewer",
33
+ "responseCode": 200
34
+ },
35
+ "input": {
36
+ "type": "structure",
37
+ "required": [
38
+ "channelArn",
39
+ "clientId"
40
+ ],
41
+ "members": {
42
+ "channelArn": {},
43
+ "clientId": {}
44
+ }
45
+ }
29
46
  }
30
47
  },
31
48
  "shapes": {}
@@ -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
  /**
@@ -52,11 +52,11 @@ declare class CostOptimizationHub extends Service {
52
52
  */
53
53
  listRecommendations(callback?: (err: AWSError, data: CostOptimizationHub.Types.ListRecommendationsResponse) => void): Request<CostOptimizationHub.Types.ListRecommendationsResponse, AWSError>;
54
54
  /**
55
- * Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service. If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization. You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.
55
+ * Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service. If the account is a management account or delegated administrator of an organization, this action can also be used to enroll member accounts of the organization. You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.
56
56
  */
57
57
  updateEnrollmentStatus(params: CostOptimizationHub.Types.UpdateEnrollmentStatusRequest, callback?: (err: AWSError, data: CostOptimizationHub.Types.UpdateEnrollmentStatusResponse) => void): Request<CostOptimizationHub.Types.UpdateEnrollmentStatusResponse, AWSError>;
58
58
  /**
59
- * Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service. If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization. You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.
59
+ * Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service. If the account is a management account or delegated administrator of an organization, this action can also be used to enroll member accounts of the organization. You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.
60
60
  */
61
61
  updateEnrollmentStatus(callback?: (err: AWSError, data: CostOptimizationHub.Types.UpdateEnrollmentStatusResponse) => void): Request<CostOptimizationHub.Types.UpdateEnrollmentStatusResponse, AWSError>;
62
62
  /**
@@ -627,7 +627,7 @@ declare namespace CostOptimizationHub {
627
627
  */
628
628
  items?: AccountEnrollmentStatuses;
629
629
  /**
630
- * The enrollment status of all member accounts in the organization if the account is the management account.
630
+ * The enrollment status of all member accounts in the organization if the account is the management account or delegated administrator.
631
631
  */
632
632
  includeMemberAccounts?: Boolean;
633
633
  /**
@@ -642,9 +642,13 @@ declare namespace CostOptimizationHub {
642
642
  */
643
643
  groupBy: String;
644
644
  /**
645
- * The maximum number of recommendations that are returned for the request.
645
+ * The maximum number of recommendations to be returned for the request.
646
646
  */
647
647
  maxResults?: ListRecommendationSummariesRequestMaxResultsInteger;
648
+ /**
649
+ * Additional metrics to be returned for the request. The only valid value is savingsPercentage.
650
+ */
651
+ metrics?: SummaryMetricsList;
648
652
  /**
649
653
  * The token to retrieve the next set of results.
650
654
  */
@@ -657,7 +661,7 @@ declare namespace CostOptimizationHub {
657
661
  */
658
662
  estimatedTotalDedupedSavings?: Double;
659
663
  /**
660
- * List of all savings recommendations.
664
+ * A list of all savings recommendations.
661
665
  */
662
666
  items?: RecommendationSummariesList;
663
667
  /**
@@ -668,6 +672,10 @@ declare namespace CostOptimizationHub {
668
672
  * The currency code used for the recommendation.
669
673
  */
670
674
  currencyCode?: String;
675
+ /**
676
+ * The results or descriptions for the additional metrics, based on whether the metrics were or were not requested.
677
+ */
678
+ metrics?: SummaryMetricsResult;
671
679
  /**
672
680
  * The token to retrieve the next set of results.
673
681
  */
@@ -1249,6 +1257,14 @@ declare namespace CostOptimizationHub {
1249
1257
  sizeInGb?: Double;
1250
1258
  }
1251
1259
  export type String = string;
1260
+ export type SummaryMetrics = "SavingsPercentage"|string;
1261
+ export type SummaryMetricsList = SummaryMetrics[];
1262
+ export interface SummaryMetricsResult {
1263
+ /**
1264
+ * The savings percentage based on your Amazon Web Services spend over the past 30 days. Savings percentage is only supported when filtering by Region, account ID, or tags.
1265
+ */
1266
+ savingsPercentage?: String;
1267
+ }
1252
1268
  export interface Tag {
1253
1269
  /**
1254
1270
  * The key that's associated with the tag.
@@ -1267,7 +1283,7 @@ declare namespace CostOptimizationHub {
1267
1283
  */
1268
1284
  status: EnrollmentStatus;
1269
1285
  /**
1270
- * Indicates whether to enroll member accounts of the organization if the account is the management account.
1286
+ * Indicates whether to enroll member accounts of the organization if the account is the management account or delegated administrator.
1271
1287
  */
1272
1288
  includeMemberAccounts?: Boolean;
1273
1289
  }