From 9d209cd0b54b2961308456e6ba3f9d2d06c2c62a Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation
The
+ * CLI doesn't support streaming operations in Amazon Bedrock, including
+ * InvokeFlow
.
Contains information about an input into the flow and what to do with it.
- *This data type is used in the following API operations:
Contains information about an input into the prompt flow and where to send + * it.
This data type is used in the following API operations:
Contains information about an input into the flow.
+ *Contains information about an input into the prompt flow.
*/ inline const FlowInputContent& GetContent() const{ return m_content; } inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } @@ -55,7 +56,7 @@ namespace Model ///@{ /** - *A name for the input of the flow input node.
+ *The name of the flow input node that begins the prompt flow.
*/ inline const Aws::String& GetNodeName() const{ return m_nodeName; } inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; } @@ -69,7 +70,8 @@ namespace Model ///@{ /** - *A name for the output of the flow input node.
+ *The name of the output from the flow input node that begins the prompt + * flow.
*/ inline const Aws::String& GetNodeOutputName() const{ return m_nodeOutputName; } inline bool NodeOutputNameHasBeenSet() const { return m_nodeOutputNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowInputContent.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowInputContent.h index 1beee4eb394..c6c5ec9ec2a 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowInputContent.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowInputContent.h @@ -42,7 +42,7 @@ namespace Model ///@{ /** - *The input for the flow input node.
+ *The input to send to the prompt flow input node.
*/ inline Aws::Utils::DocumentView GetDocument() const{ return m_document; } inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowOutputContent.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowOutputContent.h index 523120fb91a..85c4ed445e9 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowOutputContent.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowOutputContent.h @@ -24,8 +24,9 @@ namespace Model { /** - *Contains information about the output node.
This data type is used in - * the following API operations:
Contains information about the content in an output from prompt flow + * invocation.
This data type is used in the following API operations:
+ *A name for the output of the flow.
+ *The content in the output.
*/ inline Aws::Utils::DocumentView GetDocument() const{ return m_document; } inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowOutputEvent.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowOutputEvent.h index ebb51a3bd59..bed86141e6d 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowOutputEvent.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FlowOutputEvent.h @@ -26,8 +26,8 @@ namespace Model { /** - *Contains information about an output from flow invoction.
This data - * type is used in the following API operations:
Contains information about an output from prompt flow invoction.
This + * data type is used in the following API operations:
The output of the node.
+ *The content in the output.
*/ inline const FlowOutputContent& GetContent() const{ return m_content; } inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } @@ -56,7 +56,7 @@ namespace Model ///@{ /** - *The name of the node to which input was provided.
+ *The name of the flow output node that the output is from.
*/ inline const Aws::String& GetNodeName() const{ return m_nodeName; } inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; } @@ -70,7 +70,7 @@ namespace Model ///@{ /** - *The type of node to which input was provided.
+ *The type of the node that the output is from.
*/ inline const NodeType& GetNodeType() const{ return m_nodeType; } inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InferenceConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InferenceConfiguration.h index d9225f98570..0bf4864ee00 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InferenceConfiguration.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InferenceConfiguration.h @@ -104,7 +104,7 @@ namespace Model * 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%
+ * topP
to 0.8, the model only selects the next token from the top 80%
* of the probability distribution of next tokens.
*/
inline double GetTopP() const{ return m_topP; }
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/KnowledgeBaseRetrievalConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/KnowledgeBaseRetrievalConfiguration.h
index 080babba078..8dae74ba875 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/KnowledgeBaseRetrievalConfiguration.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/KnowledgeBaseRetrievalConfiguration.h
@@ -30,7 +30,7 @@ namespace Model
* configurations. This data type is used in the following API * operations:
Retrieve
- * request �� in the retrievalConfiguration
field
retrievalConfiguration
field RetrieveAndGenerate
* request – in the retrievalConfiguration
field
Provides details of the foundation model.
Contains details of the foundation model usage.
+ */ + inline const Usage& GetUsage() const{ return m_usage; } + inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; } + inline void SetUsage(const Usage& value) { m_usageHasBeenSet = true; m_usage = value; } + inline void SetUsage(Usage&& value) { m_usageHasBeenSet = true; m_usage = std::move(value); } + inline Metadata& WithUsage(const Usage& value) { SetUsage(value); return *this;} + inline Metadata& WithUsage(Usage&& value) { SetUsage(std::move(value)); return *this;} + ///@} + private: + + Usage m_usage; + bool m_usageHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationModelInvocationOutput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationModelInvocationOutput.h new file mode 100644 index 00000000000..a323207a34f --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationModelInvocationOutput.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe foundation model output from the orchestration step.
Contains information about the foundation model output.
+ */ + inline const Metadata& GetMetadata() const{ return m_metadata; } + inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } + inline void SetMetadata(const Metadata& value) { m_metadataHasBeenSet = true; m_metadata = value; } + inline void SetMetadata(Metadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } + inline OrchestrationModelInvocationOutput& WithMetadata(const Metadata& value) { SetMetadata(value); return *this;} + inline OrchestrationModelInvocationOutput& WithMetadata(Metadata&& value) { SetMetadata(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *Contains details of the raw response from the foundation model output.
+ */ + inline const RawResponse& GetRawResponse() const{ return m_rawResponse; } + inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; } + inline void SetRawResponse(const RawResponse& value) { m_rawResponseHasBeenSet = true; m_rawResponse = value; } + inline void SetRawResponse(RawResponse&& value) { m_rawResponseHasBeenSet = true; m_rawResponse = std::move(value); } + inline OrchestrationModelInvocationOutput& WithRawResponse(const RawResponse& value) { SetRawResponse(value); return *this;} + inline OrchestrationModelInvocationOutput& WithRawResponse(RawResponse&& value) { SetRawResponse(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The unique identifier of the trace.
+ */ + inline const Aws::String& GetTraceId() const{ return m_traceId; } + inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; } + inline void SetTraceId(const Aws::String& value) { m_traceIdHasBeenSet = true; m_traceId = value; } + inline void SetTraceId(Aws::String&& value) { m_traceIdHasBeenSet = true; m_traceId = std::move(value); } + inline void SetTraceId(const char* value) { m_traceIdHasBeenSet = true; m_traceId.assign(value); } + inline OrchestrationModelInvocationOutput& WithTraceId(const Aws::String& value) { SetTraceId(value); return *this;} + inline OrchestrationModelInvocationOutput& WithTraceId(Aws::String&& value) { SetTraceId(std::move(value)); return *this;} + inline OrchestrationModelInvocationOutput& WithTraceId(const char* value) { SetTraceId(value); return *this;} + ///@} + private: + + Metadata m_metadata; + bool m_metadataHasBeenSet = false; + + RawResponse m_rawResponse; + bool m_rawResponseHasBeenSet = false; + + Aws::String m_traceId; + bool m_traceIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationTrace.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationTrace.h index be1fa3e01fe..bf16cc1dbd4 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationTrace.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationTrace.h @@ -7,6 +7,7 @@ #includeContains information pertaining to the output from the foundation model that + * is being invoked.
+ */ + inline const OrchestrationModelInvocationOutput& GetModelInvocationOutput() const{ return m_modelInvocationOutput; } + inline bool ModelInvocationOutputHasBeenSet() const { return m_modelInvocationOutputHasBeenSet; } + inline void SetModelInvocationOutput(const OrchestrationModelInvocationOutput& value) { m_modelInvocationOutputHasBeenSet = true; m_modelInvocationOutput = value; } + inline void SetModelInvocationOutput(OrchestrationModelInvocationOutput&& value) { m_modelInvocationOutputHasBeenSet = true; m_modelInvocationOutput = std::move(value); } + inline OrchestrationTrace& WithModelInvocationOutput(const OrchestrationModelInvocationOutput& value) { SetModelInvocationOutput(value); return *this;} + inline OrchestrationTrace& WithModelInvocationOutput(OrchestrationModelInvocationOutput&& value) { SetModelInvocationOutput(std::move(value)); return *this;} + ///@} + ///@{ /** *Details about the observation (the output of the action group Lambda or
@@ -107,6 +121,9 @@ namespace Model
ModelInvocationInput m_modelInvocationInput;
bool m_modelInvocationInputHasBeenSet = false;
+ OrchestrationModelInvocationOutput m_modelInvocationOutput;
+ bool m_modelInvocationOutputHasBeenSet = false;
+
Observation m_observation;
bool m_observationHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RawResponse.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RawResponse.h
new file mode 100644
index 00000000000..5bf194ef67d
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RawResponse.h
@@ -0,0 +1,62 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include Contains the raw output from the foundation model.See Also:
+ * AWS
+ * API Reference
The foundation model's raw output content.
+ */ + inline const Aws::String& GetContent() const{ return m_content; } + inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } + inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } + inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } + inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } + inline RawResponse& WithContent(const Aws::String& value) { SetContent(value); return *this;} + inline RawResponse& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} + inline RawResponse& WithContent(const char* value) { SetContent(value); return *this;} + ///@} + private: + + Aws::String m_content; + bool m_contentHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Usage.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Usage.h new file mode 100644 index 00000000000..4a38664c5d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Usage.h @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeContains information of the usage of the foundation model.
Contains information about the input tokens from the foundation model + * usage.
+ */ + inline int GetInputTokens() const{ return m_inputTokens; } + inline bool InputTokensHasBeenSet() const { return m_inputTokensHasBeenSet; } + inline void SetInputTokens(int value) { m_inputTokensHasBeenSet = true; m_inputTokens = value; } + inline Usage& WithInputTokens(int value) { SetInputTokens(value); return *this;} + ///@} + + ///@{ + /** + *Contains information about the output tokens from the foundation model + * usage.
+ */ + inline int GetOutputTokens() const{ return m_outputTokens; } + inline bool OutputTokensHasBeenSet() const { return m_outputTokensHasBeenSet; } + inline void SetOutputTokens(int value) { m_outputTokensHasBeenSet = true; m_outputTokens = value; } + inline Usage& WithOutputTokens(int value) { SetOutputTokens(value); return *this;} + ///@} + private: + + int m_inputTokens; + bool m_inputTokensHasBeenSet = false; + + int m_outputTokens; + bool m_outputTokensHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Metadata.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Metadata.cpp new file mode 100644 index 00000000000..e442870f73f --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Metadata.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#includeThis 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 + *
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
@@ -1284,7 +1284,7 @@ namespace CognitoIdentityProvider
* 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
+ * 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
@@ -2361,8 +2361,7 @@ namespace CognitoIdentityProvider
}
/**
- *
Gets the detailed activity logging configuration for a user - * pool.
Sets up or modifies the detailed activity logging configuration of a user - * pool.
The CloudWatch logging destination of a user pool detailed activity logging - * configuration.
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.
Configuration for the Amazon Data Firehose stream destination of user + * activity log export with advanced security features.
The ARN of an Amazon Data Firehose stream that's the destination for advanced + * security features log export.
+ */ + inline const Aws::String& GetStreamArn() const{ return m_streamArn; } + inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; } + inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; } + inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); } + inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); } + inline FirehoseConfigurationType& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;} + inline FirehoseConfigurationType& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;} + inline FirehoseConfigurationType& WithStreamArn(const char* value) { SetStreamArn(value); return *this;} + ///@} + private: + + Aws::String m_streamArn; + bool m_streamArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace CognitoIdentityProvider +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/GetLogDeliveryConfigurationRequest.h b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/GetLogDeliveryConfigurationRequest.h index a5b7206bdb8..93d4bbead5a 100644 --- a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/GetLogDeliveryConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/GetLogDeliveryConfigurationRequest.h @@ -36,8 +36,8 @@ namespace Model ///@{ /** - *The ID of the user pool where you want to view detailed activity logging - * configuration.
+ *The ID of the user pool that has the logging configuration that you want to + * view.
*/ inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; } inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/GetLogDeliveryConfigurationResult.h b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/GetLogDeliveryConfigurationResult.h index 382a6246973..542880bd4ac 100644 --- a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/GetLogDeliveryConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/GetLogDeliveryConfigurationResult.h @@ -35,7 +35,7 @@ namespace Model ///@{ /** - *The detailed activity logging configuration of the requested user pool.
+ *The logging configuration of the requested user pool.
*/ inline const LogDeliveryConfigurationType& GetLogDeliveryConfiguration() const{ return m_logDeliveryConfiguration; } inline void SetLogDeliveryConfiguration(const LogDeliveryConfigurationType& value) { m_logDeliveryConfiguration = value; } diff --git a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/LogConfigurationType.h b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/LogConfigurationType.h index 18627962810..da0af75dd8f 100644 --- a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/LogConfigurationType.h +++ b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/LogConfigurationType.h @@ -8,6 +8,8 @@ #includeThe errorlevel
selection of logs that a user pool sends for
- * detailed activity logging.
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
.
*/
inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
@@ -54,8 +63,10 @@ namespace Model
///@{
/**
- * The source of events that your user pool sends for detailed activity - * logging.
+ *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
.
The CloudWatch logging destination of a user pool.
+ *The CloudWatch log group destination of user pool detailed activity logs, or + * of user activity log export with advanced security features.
*/ inline const CloudWatchLogsConfigurationType& GetCloudWatchLogsConfiguration() const{ return m_cloudWatchLogsConfiguration; } inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; } @@ -76,6 +88,36 @@ namespace Model inline LogConfigurationType& WithCloudWatchLogsConfiguration(const CloudWatchLogsConfigurationType& value) { SetCloudWatchLogsConfiguration(value); return *this;} inline LogConfigurationType& WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationType&& value) { SetCloudWatchLogsConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *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.
+ */ + inline const S3ConfigurationType& GetS3Configuration() const{ return m_s3Configuration; } + inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; } + inline void SetS3Configuration(const S3ConfigurationType& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; } + inline void SetS3Configuration(S3ConfigurationType&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); } + inline LogConfigurationType& WithS3Configuration(const S3ConfigurationType& value) { SetS3Configuration(value); return *this;} + inline LogConfigurationType& WithS3Configuration(S3ConfigurationType&& value) { SetS3Configuration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *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.
+ */ + inline const FirehoseConfigurationType& GetFirehoseConfiguration() const{ return m_firehoseConfiguration; } + inline bool FirehoseConfigurationHasBeenSet() const { return m_firehoseConfigurationHasBeenSet; } + inline void SetFirehoseConfiguration(const FirehoseConfigurationType& value) { m_firehoseConfigurationHasBeenSet = true; m_firehoseConfiguration = value; } + inline void SetFirehoseConfiguration(FirehoseConfigurationType&& value) { m_firehoseConfigurationHasBeenSet = true; m_firehoseConfiguration = std::move(value); } + inline LogConfigurationType& WithFirehoseConfiguration(const FirehoseConfigurationType& value) { SetFirehoseConfiguration(value); return *this;} + inline LogConfigurationType& WithFirehoseConfiguration(FirehoseConfigurationType&& value) { SetFirehoseConfiguration(std::move(value)); return *this;} + ///@} private: LogLevel m_logLevel; @@ -86,6 +128,12 @@ namespace Model CloudWatchLogsConfigurationType m_cloudWatchLogsConfiguration; bool m_cloudWatchLogsConfigurationHasBeenSet = false; + + S3ConfigurationType m_s3Configuration; + bool m_s3ConfigurationHasBeenSet = false; + + FirehoseConfigurationType m_firehoseConfiguration; + bool m_firehoseConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/LogDeliveryConfigurationType.h b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/LogDeliveryConfigurationType.h index 011c4172211..3d90705b73a 100644 --- a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/LogDeliveryConfigurationType.h +++ b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/LogDeliveryConfigurationType.h @@ -26,7 +26,8 @@ namespace Model { /** - *The logging parameters of a user pool.
GetLogDeliveryConfiguration
.The ID of the user pool where you configured detailed activity logging.
+ *The ID of the user pool where you configured logging.
*/ inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; } inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; } @@ -55,7 +56,8 @@ namespace Model ///@{ /** - *The detailed activity logging destination of a user pool.
+ *A logging destination of a user pool. User pools can have multiple logging + * destinations for message-delivery and user-activity logs.
*/ inline const Aws::VectorThe 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.
The number of days a temporary password is valid in the password policy. If
@@ -123,6 +142,9 @@ namespace Model
bool m_requireSymbols;
bool m_requireSymbolsHasBeenSet = false;
+ int m_passwordHistorySize;
+ bool m_passwordHistorySizeHasBeenSet = false;
+
int m_temporaryPasswordValidityDays;
bool m_temporaryPasswordValidityDaysHasBeenSet = false;
};
diff --git a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/S3ConfigurationType.h b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/S3ConfigurationType.h
new file mode 100644
index 00000000000..e8a6e234d65
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/S3ConfigurationType.h
@@ -0,0 +1,63 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include Configuration for the Amazon S3 bucket destination of user activity log
+ * export with advanced security features.See Also:
AWS
+ * API Reference
The ARN of an Amazon S3 bucket that's the destination for advanced security + * features log export.
+ */ + inline const Aws::String& GetBucketArn() const{ return m_bucketArn; } + inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; } + inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; } + inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); } + inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); } + inline S3ConfigurationType& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;} + inline S3ConfigurationType& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;} + inline S3ConfigurationType& WithBucketArn(const char* value) { SetBucketArn(value); return *this;} + ///@} + private: + + Aws::String m_bucketArn; + bool m_bucketArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace CognitoIdentityProvider +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/SetLogDeliveryConfigurationRequest.h b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/SetLogDeliveryConfigurationRequest.h index 73aa84c6b6b..fd286700ccc 100644 --- a/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/SetLogDeliveryConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/SetLogDeliveryConfigurationRequest.h @@ -38,8 +38,7 @@ namespace Model ///@{ /** - *The ID of the user pool where you want to configure detailed activity logging - * .
+ *The ID of the user pool where you want to configure logging.
*/ inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; } inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; } @@ -53,8 +52,7 @@ namespace Model ///@{ /** - *A collection of all of the detailed activity logging configurations for a - * user pool.
+ *A collection of the logging configurations for a user pool.
*/ inline const Aws::VectorThe UUID of the authenticated user. This isn't the same as + *
The 128-bit ID of the authenticated user. This isn't the same as
* username
.
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.
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.
Defaults to LEGACY
when
+ * you don't provide a value.
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.
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.
The enrollment status of all member accounts in the organization if the - * account is the management account.
+ * account is the management account or delegated administrator. */ inline bool GetIncludeMemberAccounts() const{ return m_includeMemberAccounts; } inline void SetIncludeMemberAccounts(bool value) { m_includeMemberAccounts = value; } diff --git a/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/ListRecommendationSummariesRequest.h b/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/ListRecommendationSummariesRequest.h index 75de2a2586f..65af15fd40f 100644 --- a/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/ListRecommendationSummariesRequest.h +++ b/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/ListRecommendationSummariesRequest.h @@ -8,6 +8,8 @@ #includeThe maximum number of recommendations that are returned for the request.
+ *The maximum number of recommendations to be returned for the request.
*/ inline int GetMaxResults() const{ return m_maxResults; } inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } @@ -69,6 +71,21 @@ namespace Model inline ListRecommendationSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} + ///@{ + /** + *Additional metrics to be returned for the request. The only valid value is
+ * savingsPercentage
.
The token to retrieve the next set of results.
@@ -93,6 +110,9 @@ namespace Model int m_maxResults; bool m_maxResultsHasBeenSet = false; + Aws::VectorList of all savings recommendations.
+ *A list of all savings recommendations.
*/ inline const Aws::VectorThe results or descriptions for the additional metrics, based on whether the + * metrics were or were not requested.
+ */ + inline const SummaryMetricsResult& GetMetrics() const{ return m_metrics; } + inline void SetMetrics(const SummaryMetricsResult& value) { m_metrics = value; } + inline void SetMetrics(SummaryMetricsResult&& value) { m_metrics = std::move(value); } + inline ListRecommendationSummariesResult& WithMetrics(const SummaryMetricsResult& value) { SetMetrics(value); return *this;} + inline ListRecommendationSummariesResult& WithMetrics(SummaryMetricsResult&& value) { SetMetrics(std::move(value)); return *this;} + ///@} + ///@{ /** *The token to retrieve the next set of results.
@@ -115,6 +128,8 @@ namespace Model Aws::String m_currencyCode; + SummaryMetricsResult m_metrics; + Aws::String m_nextToken; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/SummaryMetrics.h b/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/SummaryMetrics.h new file mode 100644 index 00000000000..9c2635c6ff1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/SummaryMetrics.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe results or descriptions for the additional metrics, based on whether the + * metrics were or were not requested.
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.
+ */ + inline const Aws::String& GetSavingsPercentage() const{ return m_savingsPercentage; } + inline bool SavingsPercentageHasBeenSet() const { return m_savingsPercentageHasBeenSet; } + inline void SetSavingsPercentage(const Aws::String& value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage = value; } + inline void SetSavingsPercentage(Aws::String&& value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage = std::move(value); } + inline void SetSavingsPercentage(const char* value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage.assign(value); } + inline SummaryMetricsResult& WithSavingsPercentage(const Aws::String& value) { SetSavingsPercentage(value); return *this;} + inline SummaryMetricsResult& WithSavingsPercentage(Aws::String&& value) { SetSavingsPercentage(std::move(value)); return *this;} + inline SummaryMetricsResult& WithSavingsPercentage(const char* value) { SetSavingsPercentage(value); return *this;} + ///@} + private: + + Aws::String m_savingsPercentage; + bool m_savingsPercentageHasBeenSet = false; + }; + +} // namespace Model +} // namespace CostOptimizationHub +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/UpdateEnrollmentStatusRequest.h b/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/UpdateEnrollmentStatusRequest.h index 80120dcd497..2b1a83f754d 100644 --- a/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/UpdateEnrollmentStatusRequest.h +++ b/generated/src/aws-cpp-sdk-cost-optimization-hub/include/aws/cost-optimization-hub/model/UpdateEnrollmentStatusRequest.h @@ -49,7 +49,7 @@ namespace Model ///@{ /** *Indicates whether to enroll member accounts of the organization if the - * account is the management account.
+ * account is the management account or delegated administrator. */ inline bool GetIncludeMemberAccounts() const{ return m_includeMemberAccounts; } inline bool IncludeMemberAccountsHasBeenSet() const { return m_includeMemberAccountsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-cost-optimization-hub/source/model/ListRecommendationSummariesRequest.cpp b/generated/src/aws-cpp-sdk-cost-optimization-hub/source/model/ListRecommendationSummariesRequest.cpp index 65be3824562..9aa4cde148f 100644 --- a/generated/src/aws-cpp-sdk-cost-optimization-hub/source/model/ListRecommendationSummariesRequest.cpp +++ b/generated/src/aws-cpp-sdk-cost-optimization-hub/source/model/ListRecommendationSummariesRequest.cpp @@ -17,6 +17,7 @@ ListRecommendationSummariesRequest::ListRecommendationSummariesRequest() : m_groupByHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), + m_metricsHasBeenSet(false), m_nextTokenHasBeenSet(false) { } @@ -43,6 +44,17 @@ Aws::String ListRecommendationSummariesRequest::SerializePayload() const } + if(m_metricsHasBeenSet) + { + Aws::Utils::ArrayAlthough * this parameter is an array, only one item is allowed at this time.
Windows 11 only supports Microsoft_Office_2019
.
During the image import process, non-GPU WSP WorkSpaces with Windows 11
+ * support only Microsoft_Office_2019
. GPU WSP WorkSpaces with Windows
+ * 11 do not support Office installation.
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.
" + "documentation":"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
.
Contains information about an input into the flow.
" + "documentation":"Contains information about an input into the prompt flow.
" }, "nodeName":{ "shape":"NodeName", - "documentation":"A name for the input of the flow input node.
" + "documentation":"The name of the flow input node that begins the prompt flow.
" }, "nodeOutputName":{ "shape":"NodeOutputName", - "documentation":"A name for the output of the flow input node.
" + "documentation":"The name of the output from the flow input node that begins the prompt flow.
" } }, - "documentation":"Contains information about an input into the flow and what to do with it.
This data type is used in the following API operations:
" + "documentation":"Contains information about an input into the prompt flow and where to send it.
This data type is used in the following API operations:
" }, "FlowInputContent":{ "type":"structure", "members":{ "document":{ "shape":"Document", - "documentation":"The input for the flow input node.
" + "documentation":"The input to send to the prompt flow input node.
" } }, "documentation":"Contains information about an input into the flow.
This data type is used in the following API operations:
", @@ -858,10 +858,10 @@ "members":{ "document":{ "shape":"Document", - "documentation":"A name for the output of the flow.
" + "documentation":"The content in the output.
" } }, - "documentation":"Contains information about the output node.
This data type is used in the following API operations:
", + "documentation":"Contains information about the content in an output from prompt flow invocation.
This data type is used in the following API operations:
", "union":true }, "FlowOutputEvent":{ @@ -874,18 +874,18 @@ "members":{ "content":{ "shape":"FlowOutputContent", - "documentation":"The output of the node.
" + "documentation":"The content in the output.
" }, "nodeName":{ "shape":"NodeName", - "documentation":"The name of the node to which input was provided.
" + "documentation":"The name of the flow output node that the output is from.
" }, "nodeType":{ "shape":"NodeType", - "documentation":"The type of node to which input was provided.
" + "documentation":"The type of the node that the output is from.
" } }, - "documentation":"Contains information about an output from flow invoction.
This data type is used in the following API operations:
", + "documentation":"Contains information about an output from prompt flow invoction.
This data type is used in the following API operations:
", "event":true, "sensitive":true }, @@ -1510,7 +1510,7 @@ }, "topP":{ "shape":"TopP", - "documentation":"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.
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.
Specifications about the inference parameters that were provided alongside the prompt. These are specified in the PromptOverrideConfiguration object that was set when the agent was created or updated. For more information, see Inference parameters for foundation models.
" @@ -1997,6 +1997,17 @@ "type":"string", "enum":["SESSION_SUMMARY"] }, + "Metadata":{ + "type":"structure", + "members":{ + "usage":{ + "shape":"Usage", + "documentation":"Contains details of the foundation model usage.
" + } + }, + "documentation":"Provides details of the foundation model.
", + "sensitive":true + }, "MimeType":{"type":"string"}, "ModelInvocationInput":{ "type":"structure", @@ -2109,6 +2120,25 @@ }, "documentation":"Settings for how the model processes the prompt prior to retrieval and generation.
" }, + "OrchestrationModelInvocationOutput":{ + "type":"structure", + "members":{ + "metadata":{ + "shape":"Metadata", + "documentation":"Contains information about the foundation model output.
" + }, + "rawResponse":{ + "shape":"RawResponse", + "documentation":"Contains details of the raw response from the foundation model output.
" + }, + "traceId":{ + "shape":"TraceId", + "documentation":"The unique identifier of the trace.
" + } + }, + "documentation":"The foundation model output from the orchestration step.
", + "sensitive":true + }, "OrchestrationTrace":{ "type":"structure", "members":{ @@ -2120,6 +2150,10 @@ "shape":"ModelInvocationInput", "documentation":"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.
Contains information pertaining to the output from the foundation model that is being invoked.
" + }, "observation":{ "shape":"Observation", "documentation":"Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.
" @@ -2381,6 +2415,17 @@ "type":"string", "sensitive":true }, + "RawResponse":{ + "type":"structure", + "members":{ + "content":{ + "shape":"String", + "documentation":"The foundation model's raw output content.
" + } + }, + "documentation":"Contains the raw output from the foundation model.
", + "sensitive":true + }, "RepromptResponse":{ "type":"structure", "members":{ @@ -3156,6 +3201,21 @@ "REPROMPT" ] }, + "Usage":{ + "type":"structure", + "members":{ + "inputTokens":{ + "shape":"Integer", + "documentation":"Contains information about the input tokens from the foundation model usage.
" + }, + "outputTokens":{ + "shape":"Integer", + "documentation":"Contains information about the output tokens from the foundation model usage.
" + } + }, + "documentation":"Contains information of the usage of the foundation model.
", + "sensitive":true + }, "ValidationException":{ "type":"structure", "members":{ diff --git a/tools/code-generation/api-descriptions/cognito-idp-2016-04-18.normal.json b/tools/code-generation/api-descriptions/cognito-idp-2016-04-18.normal.json index b1f738186f2..f0c4cc1c384 100644 --- a/tools/code-generation/api-descriptions/cognito-idp-2016-04-18.normal.json +++ b/tools/code-generation/api-descriptions/cognito-idp-2016-04-18.normal.json @@ -70,7 +70,7 @@ {"shape":"UserNotFoundException"}, {"shape":"InternalErrorException"} ], - "documentation":"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
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
Sets the specified user's password in a user pool as an administrator. Works on any user.
The password can be temporary or permanent. If it is temporary, the user status enters the FORCE_CHANGE_PASSWORD
state. When the user next tries to sign in, the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED
challenge. If the user doesn't sign in before it expires, the user won't be able to sign in, and an administrator must reset their password.
Once the user has set a new password, or the password is permanent, the user status is set to Confirmed
.
AdminSetUserPassword
can set a password for the user profile that Amazon Cognito creates for third-party federated users. When you set a password, the federated user's status changes from EXTERNAL_PROVIDER
to CONFIRMED
. A user in this state can sign in as a federated user, and initiate authentication flows in the API like a linked native user. They can also modify their password and attributes in token-authenticated API requests like ChangePassword
and UpdateUserAttributes
. As a best security practice and to keep users in sync with your external IdP, don't set passwords on federated user profiles. To set up a federated user for native sign-in with a linked native user, refer to Linking federated users to an existing user profile.
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
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.
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.
Gets the detailed activity logging configuration for a user pool.
" + "documentation":"Gets the logging configuration of a user pool.
" }, "GetSigningCertificate":{ "name":"GetSigningCertificate", @@ -1606,6 +1610,7 @@ {"shape":"UnexpectedLambdaException"}, {"shape":"UserLambdaValidationException"}, {"shape":"InvalidPasswordException"}, + {"shape":"PasswordHistoryPolicyViolationException"}, {"shape":"InvalidLambdaResponseException"}, {"shape":"TooManyRequestsException"}, {"shape":"InvalidUserPoolConfigurationException"}, @@ -1660,7 +1665,7 @@ {"shape":"NotAuthorizedException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"Sets up or modifies the detailed activity logging configuration of a user pool.
" + "documentation":"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.
" }, "SetRiskConfiguration":{ "name":"SetRiskConfiguration", @@ -3509,7 +3514,7 @@ "documentation":"The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with /aws/vendedlogs
. For more information, see Enabling logging from certain Amazon Web Services services.
The CloudWatch logging destination of a user pool detailed activity logging configuration.
" + "documentation":"Configuration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features.
" }, "CodeDeliveryDetailsListType":{ "type":"list", @@ -4011,7 +4016,7 @@ }, "PreventUserExistenceErrors":{ "shape":"PreventUserExistenceErrorTypes", - "documentation":"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.
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.
The ARN of an Amazon Data Firehose stream that's the destination for advanced security features log export.
" + } + }, + "documentation":"Configuration for the Amazon Data Firehose stream destination of user activity log export with advanced security features.
" + }, "ForbiddenException":{ "type":"structure", "members":{ @@ -5132,7 +5150,7 @@ "members":{ "UserPoolId":{ "shape":"UserPoolIdType", - "documentation":"The ID of the user pool where you want to view detailed activity logging configuration.
" + "documentation":"The ID of the user pool that has the logging configuration that you want to view.
" } } }, @@ -5141,7 +5159,7 @@ "members":{ "LogDeliveryConfiguration":{ "shape":"LogDeliveryConfigurationType", - "documentation":"The detailed activity logging configuration of the requested user pool.
" + "documentation":"The logging configuration of the requested user pool.
" } } }, @@ -6021,7 +6039,7 @@ "LogConfigurationListType":{ "type":"list", "member":{"shape":"LogConfigurationType"}, - "max":1, + "max":2, "min":0 }, "LogConfigurationType":{ @@ -6033,15 +6051,23 @@ "members":{ "LogLevel":{ "shape":"LogLevel", - "documentation":"The errorlevel
selection of logs that a user pool sends for detailed activity logging.
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
.
The source of events that your user pool sends for detailed activity logging.
" + "documentation":"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
.
The CloudWatch logging destination of a user pool.
" + "documentation":"The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with advanced security features.
" + }, + "S3Configuration":{ + "shape":"S3ConfigurationType", + "documentation":"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.
" + }, + "FirehoseConfiguration":{ + "shape":"FirehoseConfigurationType", + "documentation":"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.
" } }, "documentation":"The logging parameters of a user pool.
" @@ -6055,18 +6081,21 @@ "members":{ "UserPoolId":{ "shape":"UserPoolIdType", - "documentation":"The ID of the user pool where you configured detailed activity logging.
" + "documentation":"The ID of the user pool where you configured logging.
" }, "LogConfigurations":{ "shape":"LogConfigurationListType", - "documentation":"The detailed activity logging destination of a user pool.
" + "documentation":"A logging destination of a user pool. User pools can have multiple logging destinations for message-delivery and user-activity logs.
" } }, - "documentation":"The logging parameters of a user pool.
" + "documentation":"The logging parameters of a user pool returned in response to GetLogDeliveryConfiguration
.
The message returned when a user's new password matches a previous password and doesn't comply with the password-history policy.
", + "exception":true + }, + "PasswordHistorySizeType":{ + "type":"integer", + "max":24, + "min":0 + }, "PasswordPolicyMinLengthType":{ "type":"integer", "max":99, @@ -6272,6 +6314,10 @@ "shape":"BooleanType", "documentation":"In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
" }, + "PasswordHistorySize":{ + "shape":"PasswordHistorySizeType", + "documentation":"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.
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.
Configuration for the Amazon S3 bucket destination of user activity log export with advanced security features.
" + }, "SESConfigurationSet":{ "type":"string", "max":64, @@ -6877,11 +6939,11 @@ "members":{ "UserPoolId":{ "shape":"UserPoolIdType", - "documentation":"The ID of the user pool where you want to configure detailed activity logging .
" + "documentation":"The ID of the user pool where you want to configure logging.
" }, "LogConfigurations":{ "shape":"LogConfigurationListType", - "documentation":"A collection of all of the detailed activity logging configurations for a user pool.
" + "documentation":"A collection of the logging configurations for a user pool.
" } } }, @@ -7112,7 +7174,7 @@ }, "UserSub":{ "shape":"StringType", - "documentation":"The UUID of the authenticated user. This isn't the same as username
.
The 128-bit ID of the authenticated user. This isn't the same as username
.
The response from the server for a registration request.
" @@ -7778,7 +7840,7 @@ }, "PreventUserExistenceErrors":{ "shape":"PreventUserExistenceErrorTypes", - "documentation":"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.
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.
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.
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.
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.
" + "documentation":"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.
" }, "UpdatePreferences":{ "name":"UpdatePreferences", @@ -881,7 +881,7 @@ }, "includeMemberAccounts":{ "shape":"Boolean", - "documentation":"The enrollment status of all member accounts in the organization if the account is the management account.
" + "documentation":"The enrollment status of all member accounts in the organization if the account is the management account or delegated administrator.
" }, "nextToken":{ "shape":"String", @@ -900,7 +900,11 @@ }, "maxResults":{ "shape":"ListRecommendationSummariesRequestMaxResultsInteger", - "documentation":"The maximum number of recommendations that are returned for the request.
" + "documentation":"The maximum number of recommendations to be returned for the request.
" + }, + "metrics":{ + "shape":"SummaryMetricsList", + "documentation":"Additional metrics to be returned for the request. The only valid value is savingsPercentage
.
List of all savings recommendations.
" + "documentation":"A list of all savings recommendations.
" }, "groupBy":{ "shape":"String", @@ -933,6 +937,10 @@ "shape":"String", "documentation":"The currency code used for the recommendation.
" }, + "metrics":{ + "shape":"SummaryMetricsResult", + "documentation":"The results or descriptions for the additional metrics, based on whether the metrics were or were not requested.
" + }, "nextToken":{ "shape":"String", "documentation":"The token to retrieve the next set of results.
" @@ -1714,6 +1722,26 @@ "documentation":"The storage configuration used for recommendations.
" }, "String":{"type":"string"}, + "SummaryMetrics":{ + "type":"string", + "enum":["SavingsPercentage"] + }, + "SummaryMetricsList":{ + "type":"list", + "member":{"shape":"SummaryMetrics"}, + "max":100, + "min":1 + }, + "SummaryMetricsResult":{ + "type":"structure", + "members":{ + "savingsPercentage":{ + "shape":"String", + "documentation":"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.
The results or descriptions for the additional metrics, based on whether the metrics were or were not requested.
" + }, "Tag":{ "type":"structure", "members":{ @@ -1753,7 +1781,7 @@ }, "includeMemberAccounts":{ "shape":"Boolean", - "documentation":"Indicates whether to enroll member accounts of the organization if the account is the management account.
" + "documentation":"Indicates whether to enroll member accounts of the organization if the account is the management account or delegated administrator.
" } } }, diff --git a/tools/code-generation/api-descriptions/workspaces-2015-04-08.normal.json b/tools/code-generation/api-descriptions/workspaces-2015-04-08.normal.json index baa446a4c53..306e6faafa9 100644 --- a/tools/code-generation/api-descriptions/workspaces-2015-04-08.normal.json +++ b/tools/code-generation/api-descriptions/workspaces-2015-04-08.normal.json @@ -4171,7 +4171,7 @@ }, "Applications":{ "shape":"ApplicationList", - "documentation":"If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 and 11 BYOL images. For more information about subscribing to Office for BYOL images, see Bring Your Own Windows Desktop Licenses.
Although this parameter is an array, only one item is allowed at this time.
Windows 11 only supports Microsoft_Office_2019
.
If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 and 11 BYOL images. For more information about subscribing to Office for BYOL images, see Bring Your Own Windows Desktop Licenses.
Although this parameter is an array, only one item is allowed at this time.
During the image import process, non-GPU WSP WorkSpaces with Windows 11 support only Microsoft_Office_2019
. GPU WSP WorkSpaces with Windows 11 do not support Office installation.