diff --git a/VERSION b/VERSION index 2b9305c813f..3a908052473 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.455 \ No newline at end of file +1.11.456 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/CustomOrchestrationTrace.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/CustomOrchestrationTrace.h new file mode 100644 index 00000000000..c2d80cac34f --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/CustomOrchestrationTrace.h @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

The trace behavior for the custom orchestration.

See Also:

+ * AWS + * API Reference

+ */ + class CustomOrchestrationTrace + { + public: + AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace(); + AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The trace event details used with the custom orchestration.

+ */ + inline const CustomOrchestrationTraceEvent& GetEvent() const{ return m_event; } + inline bool EventHasBeenSet() const { return m_eventHasBeenSet; } + inline void SetEvent(const CustomOrchestrationTraceEvent& value) { m_eventHasBeenSet = true; m_event = value; } + inline void SetEvent(CustomOrchestrationTraceEvent&& value) { m_eventHasBeenSet = true; m_event = std::move(value); } + inline CustomOrchestrationTrace& WithEvent(const CustomOrchestrationTraceEvent& value) { SetEvent(value); return *this;} + inline CustomOrchestrationTrace& WithEvent(CustomOrchestrationTraceEvent&& value) { SetEvent(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 CustomOrchestrationTrace& WithTraceId(const Aws::String& value) { SetTraceId(value); return *this;} + inline CustomOrchestrationTrace& WithTraceId(Aws::String&& value) { SetTraceId(std::move(value)); return *this;} + inline CustomOrchestrationTrace& WithTraceId(const char* value) { SetTraceId(value); return *this;} + ///@} + private: + + CustomOrchestrationTraceEvent m_event; + bool m_eventHasBeenSet = 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/CustomOrchestrationTraceEvent.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/CustomOrchestrationTraceEvent.h new file mode 100644 index 00000000000..6710dc10a25 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/CustomOrchestrationTraceEvent.h @@ -0,0 +1,62 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

The event in the custom orchestration sequence.

See Also:

+ * AWS + * API Reference

+ */ + class CustomOrchestrationTraceEvent + { + public: + AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTraceEvent(); + AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTraceEvent(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTraceEvent& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The text that prompted the event at this step.

+ */ + inline const Aws::String& GetText() const{ return m_text; } + inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + inline CustomOrchestrationTraceEvent& WithText(const Aws::String& value) { SetText(value); return *this;} + inline CustomOrchestrationTraceEvent& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + inline CustomOrchestrationTraceEvent& WithText(const char* value) { SetText(value); return *this;} + ///@} + private: + + Aws::String m_text; + bool m_textHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h index 3b228646c02..807b65beb5a 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -167,6 +168,18 @@ namespace Model inline InvokeAgentRequest& WithSessionState(const SessionState& value) { SetSessionState(value); return *this;} inline InvokeAgentRequest& WithSessionState(SessionState&& value) { SetSessionState(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Specifies the configurations for streaming.

+ */ + inline const StreamingConfigurations& GetStreamingConfigurations() const{ return m_streamingConfigurations; } + inline bool StreamingConfigurationsHasBeenSet() const { return m_streamingConfigurationsHasBeenSet; } + inline void SetStreamingConfigurations(const StreamingConfigurations& value) { m_streamingConfigurationsHasBeenSet = true; m_streamingConfigurations = value; } + inline void SetStreamingConfigurations(StreamingConfigurations&& value) { m_streamingConfigurationsHasBeenSet = true; m_streamingConfigurations = std::move(value); } + inline InvokeAgentRequest& WithStreamingConfigurations(const StreamingConfigurations& value) { SetStreamingConfigurations(value); return *this;} + inline InvokeAgentRequest& WithStreamingConfigurations(StreamingConfigurations&& value) { SetStreamingConfigurations(std::move(value)); return *this;} + ///@} private: Aws::String m_agentAliasId; @@ -192,6 +205,9 @@ namespace Model SessionState m_sessionState; bool m_sessionStateHasBeenSet = false; + + StreamingConfigurations m_streamingConfigurations; + bool m_streamingConfigurationsHasBeenSet = false; InvokeAgentHandler m_handler; Aws::Utils::Event::EventStreamDecoder m_decoder; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/StreamingConfigurations.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/StreamingConfigurations.h new file mode 100644 index 00000000000..a1e10611df0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/StreamingConfigurations.h @@ -0,0 +1,69 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

Configurations for streaming.

See Also:

AWS + * API Reference

+ */ + class StreamingConfigurations + { + public: + AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations(); + AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The guardrail interval to apply as response is generated.

+ */ + inline int GetApplyGuardrailInterval() const{ return m_applyGuardrailInterval; } + inline bool ApplyGuardrailIntervalHasBeenSet() const { return m_applyGuardrailIntervalHasBeenSet; } + inline void SetApplyGuardrailInterval(int value) { m_applyGuardrailIntervalHasBeenSet = true; m_applyGuardrailInterval = value; } + inline StreamingConfigurations& WithApplyGuardrailInterval(int value) { SetApplyGuardrailInterval(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies whether to enable streaming for the final response. This is set to + * false by default.

+ */ + inline bool GetStreamFinalResponse() const{ return m_streamFinalResponse; } + inline bool StreamFinalResponseHasBeenSet() const { return m_streamFinalResponseHasBeenSet; } + inline void SetStreamFinalResponse(bool value) { m_streamFinalResponseHasBeenSet = true; m_streamFinalResponse = value; } + inline StreamingConfigurations& WithStreamFinalResponse(bool value) { SetStreamFinalResponse(value); return *this;} + ///@} + private: + + int m_applyGuardrailInterval; + bool m_applyGuardrailIntervalHasBeenSet = false; + + bool m_streamFinalResponse; + bool m_streamFinalResponseHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Trace.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Trace.h index 0395deb3d9b..937faf2265f 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Trace.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Trace.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include #include @@ -46,6 +47,19 @@ namespace Model AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

Details about the custom orchestration step in which the agent determines + * the order in which actions are executed.

+ */ + inline const CustomOrchestrationTrace& GetCustomOrchestrationTrace() const{ return m_customOrchestrationTrace; } + inline bool CustomOrchestrationTraceHasBeenSet() const { return m_customOrchestrationTraceHasBeenSet; } + inline void SetCustomOrchestrationTrace(const CustomOrchestrationTrace& value) { m_customOrchestrationTraceHasBeenSet = true; m_customOrchestrationTrace = value; } + inline void SetCustomOrchestrationTrace(CustomOrchestrationTrace&& value) { m_customOrchestrationTraceHasBeenSet = true; m_customOrchestrationTrace = std::move(value); } + inline Trace& WithCustomOrchestrationTrace(const CustomOrchestrationTrace& value) { SetCustomOrchestrationTrace(value); return *this;} + inline Trace& WithCustomOrchestrationTrace(CustomOrchestrationTrace&& value) { SetCustomOrchestrationTrace(std::move(value)); return *this;} + ///@} + ///@{ /** *

Contains information about the failure of the interaction.

@@ -110,6 +124,9 @@ namespace Model ///@} private: + CustomOrchestrationTrace m_customOrchestrationTrace; + bool m_customOrchestrationTraceHasBeenSet = false; + FailureTrace m_failureTrace; bool m_failureTraceHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/CustomOrchestrationTrace.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/CustomOrchestrationTrace.cpp new file mode 100644 index 00000000000..b0d2259245c --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/CustomOrchestrationTrace.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +CustomOrchestrationTrace::CustomOrchestrationTrace() : + m_eventHasBeenSet(false), + m_traceIdHasBeenSet(false) +{ +} + +CustomOrchestrationTrace::CustomOrchestrationTrace(JsonView jsonValue) + : CustomOrchestrationTrace() +{ + *this = jsonValue; +} + +CustomOrchestrationTrace& CustomOrchestrationTrace::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("event")) + { + m_event = jsonValue.GetObject("event"); + + m_eventHasBeenSet = true; + } + + if(jsonValue.ValueExists("traceId")) + { + m_traceId = jsonValue.GetString("traceId"); + + m_traceIdHasBeenSet = true; + } + + return *this; +} + +JsonValue CustomOrchestrationTrace::Jsonize() const +{ + JsonValue payload; + + if(m_eventHasBeenSet) + { + payload.WithObject("event", m_event.Jsonize()); + + } + + if(m_traceIdHasBeenSet) + { + payload.WithString("traceId", m_traceId); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/CustomOrchestrationTraceEvent.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/CustomOrchestrationTraceEvent.cpp new file mode 100644 index 00000000000..f81cef49225 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/CustomOrchestrationTraceEvent.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +CustomOrchestrationTraceEvent::CustomOrchestrationTraceEvent() : + m_textHasBeenSet(false) +{ +} + +CustomOrchestrationTraceEvent::CustomOrchestrationTraceEvent(JsonView jsonValue) + : CustomOrchestrationTraceEvent() +{ + *this = jsonValue; +} + +CustomOrchestrationTraceEvent& CustomOrchestrationTraceEvent::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("text")) + { + m_text = jsonValue.GetString("text"); + + m_textHasBeenSet = true; + } + + return *this; +} + +JsonValue CustomOrchestrationTraceEvent::Jsonize() const +{ + JsonValue payload; + + if(m_textHasBeenSet) + { + payload.WithString("text", m_text); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp index eb51d645063..bb01a97fa37 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp @@ -23,6 +23,7 @@ InvokeAgentRequest::InvokeAgentRequest() : m_memoryIdHasBeenSet(false), m_sessionIdHasBeenSet(false), m_sessionStateHasBeenSet(false), + m_streamingConfigurationsHasBeenSet(false), m_handler(), m_decoder(Aws::Utils::Event::EventStreamDecoder(&m_handler)) { } @@ -61,6 +62,12 @@ Aws::String InvokeAgentRequest::SerializePayload() const } + if(m_streamingConfigurationsHasBeenSet) + { + payload.WithObject("streamingConfigurations", m_streamingConfigurations.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/StreamingConfigurations.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/StreamingConfigurations.cpp new file mode 100644 index 00000000000..b3dece21459 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/StreamingConfigurations.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +StreamingConfigurations::StreamingConfigurations() : + m_applyGuardrailInterval(0), + m_applyGuardrailIntervalHasBeenSet(false), + m_streamFinalResponse(false), + m_streamFinalResponseHasBeenSet(false) +{ +} + +StreamingConfigurations::StreamingConfigurations(JsonView jsonValue) + : StreamingConfigurations() +{ + *this = jsonValue; +} + +StreamingConfigurations& StreamingConfigurations::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("applyGuardrailInterval")) + { + m_applyGuardrailInterval = jsonValue.GetInteger("applyGuardrailInterval"); + + m_applyGuardrailIntervalHasBeenSet = true; + } + + if(jsonValue.ValueExists("streamFinalResponse")) + { + m_streamFinalResponse = jsonValue.GetBool("streamFinalResponse"); + + m_streamFinalResponseHasBeenSet = true; + } + + return *this; +} + +JsonValue StreamingConfigurations::Jsonize() const +{ + JsonValue payload; + + if(m_applyGuardrailIntervalHasBeenSet) + { + payload.WithInteger("applyGuardrailInterval", m_applyGuardrailInterval); + + } + + if(m_streamFinalResponseHasBeenSet) + { + payload.WithBool("streamFinalResponse", m_streamFinalResponse); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Trace.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Trace.cpp index 1e92e6b5e83..42a8045737c 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Trace.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Trace.cpp @@ -19,6 +19,7 @@ namespace Model { Trace::Trace() : + m_customOrchestrationTraceHasBeenSet(false), m_failureTraceHasBeenSet(false), m_guardrailTraceHasBeenSet(false), m_orchestrationTraceHasBeenSet(false), @@ -35,6 +36,13 @@ Trace::Trace(JsonView jsonValue) Trace& Trace::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("customOrchestrationTrace")) + { + m_customOrchestrationTrace = jsonValue.GetObject("customOrchestrationTrace"); + + m_customOrchestrationTraceHasBeenSet = true; + } + if(jsonValue.ValueExists("failureTrace")) { m_failureTrace = jsonValue.GetObject("failureTrace"); @@ -77,6 +85,12 @@ JsonValue Trace::Jsonize() const { JsonValue payload; + if(m_customOrchestrationTraceHasBeenSet) + { + payload.WithObject("customOrchestrationTrace", m_customOrchestrationTrace.Jsonize()); + + } + if(m_failureTraceHasBeenSet) { payload.WithObject("failureTrace", m_failureTrace.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h index d0c10a978fd..13899e511c9 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h @@ -8,9 +8,11 @@ #include #include #include +#include #include #include #include +#include #include #include @@ -163,6 +165,18 @@ namespace Model inline Agent& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} + ///@{ + /** + *

Contains custom orchestration configurations for the agent.

+ */ + inline const CustomOrchestration& GetCustomOrchestration() const{ return m_customOrchestration; } + inline bool CustomOrchestrationHasBeenSet() const { return m_customOrchestrationHasBeenSet; } + inline void SetCustomOrchestration(const CustomOrchestration& value) { m_customOrchestrationHasBeenSet = true; m_customOrchestration = value; } + inline void SetCustomOrchestration(CustomOrchestration&& value) { m_customOrchestrationHasBeenSet = true; m_customOrchestration = std::move(value); } + inline Agent& WithCustomOrchestration(const CustomOrchestration& value) { SetCustomOrchestration(value); return *this;} + inline Agent& WithCustomOrchestration(CustomOrchestration&& value) { SetCustomOrchestration(std::move(value)); return *this;} + ///@} + ///@{ /** *

The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.

@@ -273,6 +287,18 @@ namespace Model inline Agent& WithMemoryConfiguration(MemoryConfiguration&& value) { SetMemoryConfiguration(std::move(value)); return *this;} ///@} + ///@{ + /** + *

Specifies the orchestration strategy for the agent.

+ */ + inline const OrchestrationType& GetOrchestrationType() const{ return m_orchestrationType; } + inline bool OrchestrationTypeHasBeenSet() const { return m_orchestrationTypeHasBeenSet; } + inline void SetOrchestrationType(const OrchestrationType& value) { m_orchestrationTypeHasBeenSet = true; m_orchestrationType = value; } + inline void SetOrchestrationType(OrchestrationType&& value) { m_orchestrationTypeHasBeenSet = true; m_orchestrationType = std::move(value); } + inline Agent& WithOrchestrationType(const OrchestrationType& value) { SetOrchestrationType(value); return *this;} + inline Agent& WithOrchestrationType(OrchestrationType&& value) { SetOrchestrationType(std::move(value)); return *this;} + ///@} + ///@{ /** *

The time at which the agent was last prepared.

@@ -353,6 +379,9 @@ namespace Model Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; + CustomOrchestration m_customOrchestration; + bool m_customOrchestrationHasBeenSet = false; + Aws::String m_customerEncryptionKeyArn; bool m_customerEncryptionKeyArnHasBeenSet = false; @@ -377,6 +406,9 @@ namespace Model MemoryConfiguration m_memoryConfiguration; bool m_memoryConfigurationHasBeenSet = false; + OrchestrationType m_orchestrationType; + bool m_orchestrationTypeHasBeenSet = false; + Aws::Utils::DateTime m_preparedAt; bool m_preparedAtHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentRequest.h index c57ee69c668..a5cadcb7fe8 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentRequest.h @@ -7,8 +7,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -84,6 +86,18 @@ namespace Model inline CreateAgentRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} ///@} + ///@{ + /** + *

Contains details of the custom orchestration configured for the agent.

+ */ + inline const CustomOrchestration& GetCustomOrchestration() const{ return m_customOrchestration; } + inline bool CustomOrchestrationHasBeenSet() const { return m_customOrchestrationHasBeenSet; } + inline void SetCustomOrchestration(const CustomOrchestration& value) { m_customOrchestrationHasBeenSet = true; m_customOrchestration = value; } + inline void SetCustomOrchestration(CustomOrchestration&& value) { m_customOrchestrationHasBeenSet = true; m_customOrchestration = std::move(value); } + inline CreateAgentRequest& WithCustomOrchestration(const CustomOrchestration& value) { SetCustomOrchestration(value); return *this;} + inline CreateAgentRequest& WithCustomOrchestration(CustomOrchestration&& value) { SetCustomOrchestration(std::move(value)); return *this;} + ///@} + ///@{ /** *

The Amazon Resource Name (ARN) of the KMS key with which to encrypt the @@ -206,6 +220,19 @@ namespace Model inline CreateAgentRequest& WithMemoryConfiguration(MemoryConfiguration&& value) { SetMemoryConfiguration(std::move(value)); return *this;} ///@} + ///@{ + /** + *

Specifies the type of orchestration strategy for the agent. This is set to + * DEFAULT orchestration type, by default.

+ */ + inline const OrchestrationType& GetOrchestrationType() const{ return m_orchestrationType; } + inline bool OrchestrationTypeHasBeenSet() const { return m_orchestrationTypeHasBeenSet; } + inline void SetOrchestrationType(const OrchestrationType& value) { m_orchestrationTypeHasBeenSet = true; m_orchestrationType = value; } + inline void SetOrchestrationType(OrchestrationType&& value) { m_orchestrationTypeHasBeenSet = true; m_orchestrationType = std::move(value); } + inline CreateAgentRequest& WithOrchestrationType(const OrchestrationType& value) { SetOrchestrationType(value); return *this;} + inline CreateAgentRequest& WithOrchestrationType(OrchestrationType&& value) { SetOrchestrationType(std::move(value)); return *this;} + ///@} + ///@{ /** *

Contains configurations to override prompts in different parts of an agent @@ -250,6 +277,9 @@ namespace Model Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; + CustomOrchestration m_customOrchestration; + bool m_customOrchestrationHasBeenSet = false; + Aws::String m_customerEncryptionKeyArn; bool m_customerEncryptionKeyArnHasBeenSet = false; @@ -271,6 +301,9 @@ namespace Model MemoryConfiguration m_memoryConfiguration; bool m_memoryConfigurationHasBeenSet = false; + OrchestrationType m_orchestrationType; + bool m_orchestrationTypeHasBeenSet = false; + PromptOverrideConfiguration m_promptOverrideConfiguration; bool m_promptOverrideConfigurationHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CustomOrchestration.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CustomOrchestration.h new file mode 100644 index 00000000000..260fbd2154a --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CustomOrchestration.h @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgent +{ +namespace Model +{ + + /** + *

Details of custom orchestration.

See Also:

AWS + * API Reference

+ */ + class CustomOrchestration + { + public: + AWS_BEDROCKAGENT_API CustomOrchestration(); + AWS_BEDROCKAGENT_API CustomOrchestration(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENT_API CustomOrchestration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The structure of the executor invoking the actions in custom orchestration. + *

+ */ + inline const OrchestrationExecutor& GetExecutor() const{ return m_executor; } + inline bool ExecutorHasBeenSet() const { return m_executorHasBeenSet; } + inline void SetExecutor(const OrchestrationExecutor& value) { m_executorHasBeenSet = true; m_executor = value; } + inline void SetExecutor(OrchestrationExecutor&& value) { m_executorHasBeenSet = true; m_executor = std::move(value); } + inline CustomOrchestration& WithExecutor(const OrchestrationExecutor& value) { SetExecutor(value); return *this;} + inline CustomOrchestration& WithExecutor(OrchestrationExecutor&& value) { SetExecutor(std::move(value)); return *this;} + ///@} + private: + + OrchestrationExecutor m_executor; + bool m_executorHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/OrchestrationExecutor.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/OrchestrationExecutor.h new file mode 100644 index 00000000000..4714424f3e5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/OrchestrationExecutor.h @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgent +{ +namespace Model +{ + + /** + *

Contains details about the Lambda function containing the orchestration + * logic carried out upon invoking the custom orchestration.

See + * Also:

AWS + * API Reference

+ */ + class OrchestrationExecutor + { + public: + AWS_BEDROCKAGENT_API OrchestrationExecutor(); + AWS_BEDROCKAGENT_API OrchestrationExecutor(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENT_API OrchestrationExecutor& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the Lambda function containing the + * business logic that is carried out upon invoking the action.

+ */ + inline const Aws::String& GetLambda() const{ return m_lambda; } + inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; } + inline void SetLambda(const Aws::String& value) { m_lambdaHasBeenSet = true; m_lambda = value; } + inline void SetLambda(Aws::String&& value) { m_lambdaHasBeenSet = true; m_lambda = std::move(value); } + inline void SetLambda(const char* value) { m_lambdaHasBeenSet = true; m_lambda.assign(value); } + inline OrchestrationExecutor& WithLambda(const Aws::String& value) { SetLambda(value); return *this;} + inline OrchestrationExecutor& WithLambda(Aws::String&& value) { SetLambda(std::move(value)); return *this;} + inline OrchestrationExecutor& WithLambda(const char* value) { SetLambda(value); return *this;} + ///@} + private: + + Aws::String m_lambda; + bool m_lambdaHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/OrchestrationType.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/OrchestrationType.h new file mode 100644 index 00000000000..75fd055ee69 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/OrchestrationType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BedrockAgent +{ +namespace Model +{ + enum class OrchestrationType + { + NOT_SET, + DEFAULT, + CUSTOM_ORCHESTRATION + }; + +namespace OrchestrationTypeMapper +{ +AWS_BEDROCKAGENT_API OrchestrationType GetOrchestrationTypeForName(const Aws::String& name); + +AWS_BEDROCKAGENT_API Aws::String GetNameForOrchestrationType(OrchestrationType value); +} // namespace OrchestrationTypeMapper +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentRequest.h index 062135606a9..1238961f5aa 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentRequest.h @@ -7,8 +7,10 @@ #include #include #include +#include #include #include +#include #include #include @@ -78,6 +80,18 @@ namespace Model inline UpdateAgentRequest& WithAgentResourceRoleArn(const char* value) { SetAgentResourceRoleArn(value); return *this;} ///@} + ///@{ + /** + *

Contains details of the custom orchestration configured for the agent.

+ */ + inline const CustomOrchestration& GetCustomOrchestration() const{ return m_customOrchestration; } + inline bool CustomOrchestrationHasBeenSet() const { return m_customOrchestrationHasBeenSet; } + inline void SetCustomOrchestration(const CustomOrchestration& value) { m_customOrchestrationHasBeenSet = true; m_customOrchestration = value; } + inline void SetCustomOrchestration(CustomOrchestration&& value) { m_customOrchestrationHasBeenSet = true; m_customOrchestration = std::move(value); } + inline UpdateAgentRequest& WithCustomOrchestration(const CustomOrchestration& value) { SetCustomOrchestration(value); return *this;} + inline UpdateAgentRequest& WithCustomOrchestration(CustomOrchestration&& value) { SetCustomOrchestration(std::move(value)); return *this;} + ///@} + ///@{ /** *

The Amazon Resource Name (ARN) of the KMS key with which to encrypt the @@ -200,6 +214,19 @@ namespace Model inline UpdateAgentRequest& WithMemoryConfiguration(MemoryConfiguration&& value) { SetMemoryConfiguration(std::move(value)); return *this;} ///@} + ///@{ + /** + *

Specifies the type of orchestration strategy for the agent. This is set to + * DEFAULT orchestration type, by default.

+ */ + inline const OrchestrationType& GetOrchestrationType() const{ return m_orchestrationType; } + inline bool OrchestrationTypeHasBeenSet() const { return m_orchestrationTypeHasBeenSet; } + inline void SetOrchestrationType(const OrchestrationType& value) { m_orchestrationTypeHasBeenSet = true; m_orchestrationType = value; } + inline void SetOrchestrationType(OrchestrationType&& value) { m_orchestrationTypeHasBeenSet = true; m_orchestrationType = std::move(value); } + inline UpdateAgentRequest& WithOrchestrationType(const OrchestrationType& value) { SetOrchestrationType(value); return *this;} + inline UpdateAgentRequest& WithOrchestrationType(OrchestrationType&& value) { SetOrchestrationType(std::move(value)); return *this;} + ///@} + ///@{ /** *

Contains configurations to override prompts in different parts of an agent @@ -225,6 +252,9 @@ namespace Model Aws::String m_agentResourceRoleArn; bool m_agentResourceRoleArnHasBeenSet = false; + CustomOrchestration m_customOrchestration; + bool m_customOrchestrationHasBeenSet = false; + Aws::String m_customerEncryptionKeyArn; bool m_customerEncryptionKeyArnHasBeenSet = false; @@ -246,6 +276,9 @@ namespace Model MemoryConfiguration m_memoryConfiguration; bool m_memoryConfigurationHasBeenSet = false; + OrchestrationType m_orchestrationType; + bool m_orchestrationTypeHasBeenSet = false; + PromptOverrideConfiguration m_promptOverrideConfiguration; bool m_promptOverrideConfigurationHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/Agent.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/Agent.cpp index 0add25b0318..f28c09173f0 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/Agent.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/Agent.cpp @@ -28,6 +28,7 @@ Agent::Agent() : m_agentVersionHasBeenSet(false), m_clientTokenHasBeenSet(false), m_createdAtHasBeenSet(false), + m_customOrchestrationHasBeenSet(false), m_customerEncryptionKeyArnHasBeenSet(false), m_descriptionHasBeenSet(false), m_failureReasonsHasBeenSet(false), @@ -37,6 +38,8 @@ Agent::Agent() : m_idleSessionTTLInSecondsHasBeenSet(false), m_instructionHasBeenSet(false), m_memoryConfigurationHasBeenSet(false), + m_orchestrationType(OrchestrationType::NOT_SET), + m_orchestrationTypeHasBeenSet(false), m_preparedAtHasBeenSet(false), m_promptOverrideConfigurationHasBeenSet(false), m_recommendedActionsHasBeenSet(false), @@ -108,6 +111,13 @@ Agent& Agent::operator =(JsonView jsonValue) m_createdAtHasBeenSet = true; } + if(jsonValue.ValueExists("customOrchestration")) + { + m_customOrchestration = jsonValue.GetObject("customOrchestration"); + + m_customOrchestrationHasBeenSet = true; + } + if(jsonValue.ValueExists("customerEncryptionKeyArn")) { m_customerEncryptionKeyArn = jsonValue.GetString("customerEncryptionKeyArn"); @@ -167,6 +177,13 @@ Agent& Agent::operator =(JsonView jsonValue) m_memoryConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("orchestrationType")) + { + m_orchestrationType = OrchestrationTypeMapper::GetOrchestrationTypeForName(jsonValue.GetString("orchestrationType")); + + m_orchestrationTypeHasBeenSet = true; + } + if(jsonValue.ValueExists("preparedAt")) { m_preparedAt = jsonValue.GetString("preparedAt"); @@ -251,6 +268,12 @@ JsonValue Agent::Jsonize() const payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } + if(m_customOrchestrationHasBeenSet) + { + payload.WithObject("customOrchestration", m_customOrchestration.Jsonize()); + + } + if(m_customerEncryptionKeyArnHasBeenSet) { payload.WithString("customerEncryptionKeyArn", m_customerEncryptionKeyArn); @@ -304,6 +327,11 @@ JsonValue Agent::Jsonize() const } + if(m_orchestrationTypeHasBeenSet) + { + payload.WithString("orchestrationType", OrchestrationTypeMapper::GetNameForOrchestrationType(m_orchestrationType)); + } + if(m_preparedAtHasBeenSet) { payload.WithString("preparedAt", m_preparedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentRequest.cpp index 8410ebfb9f9..00b2ff706bf 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentRequest.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentRequest.cpp @@ -17,6 +17,7 @@ CreateAgentRequest::CreateAgentRequest() : m_agentResourceRoleArnHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), + m_customOrchestrationHasBeenSet(false), m_customerEncryptionKeyArnHasBeenSet(false), m_descriptionHasBeenSet(false), m_foundationModelHasBeenSet(false), @@ -25,6 +26,8 @@ CreateAgentRequest::CreateAgentRequest() : m_idleSessionTTLInSecondsHasBeenSet(false), m_instructionHasBeenSet(false), m_memoryConfigurationHasBeenSet(false), + m_orchestrationType(OrchestrationType::NOT_SET), + m_orchestrationTypeHasBeenSet(false), m_promptOverrideConfigurationHasBeenSet(false), m_tagsHasBeenSet(false) { @@ -52,6 +55,12 @@ Aws::String CreateAgentRequest::SerializePayload() const } + if(m_customOrchestrationHasBeenSet) + { + payload.WithObject("customOrchestration", m_customOrchestration.Jsonize()); + + } + if(m_customerEncryptionKeyArnHasBeenSet) { payload.WithString("customerEncryptionKeyArn", m_customerEncryptionKeyArn); @@ -94,6 +103,11 @@ Aws::String CreateAgentRequest::SerializePayload() const } + if(m_orchestrationTypeHasBeenSet) + { + payload.WithString("orchestrationType", OrchestrationTypeMapper::GetNameForOrchestrationType(m_orchestrationType)); + } + if(m_promptOverrideConfigurationHasBeenSet) { payload.WithObject("promptOverrideConfiguration", m_promptOverrideConfiguration.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CustomOrchestration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CustomOrchestration.cpp new file mode 100644 index 00000000000..a30cf1a122f --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CustomOrchestration.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgent +{ +namespace Model +{ + +CustomOrchestration::CustomOrchestration() : + m_executorHasBeenSet(false) +{ +} + +CustomOrchestration::CustomOrchestration(JsonView jsonValue) + : CustomOrchestration() +{ + *this = jsonValue; +} + +CustomOrchestration& CustomOrchestration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("executor")) + { + m_executor = jsonValue.GetObject("executor"); + + m_executorHasBeenSet = true; + } + + return *this; +} + +JsonValue CustomOrchestration::Jsonize() const +{ + JsonValue payload; + + if(m_executorHasBeenSet) + { + payload.WithObject("executor", m_executor.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/OrchestrationExecutor.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/OrchestrationExecutor.cpp new file mode 100644 index 00000000000..536a56f670d --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/OrchestrationExecutor.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgent +{ +namespace Model +{ + +OrchestrationExecutor::OrchestrationExecutor() : + m_lambdaHasBeenSet(false) +{ +} + +OrchestrationExecutor::OrchestrationExecutor(JsonView jsonValue) + : OrchestrationExecutor() +{ + *this = jsonValue; +} + +OrchestrationExecutor& OrchestrationExecutor::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("lambda")) + { + m_lambda = jsonValue.GetString("lambda"); + + m_lambdaHasBeenSet = true; + } + + return *this; +} + +JsonValue OrchestrationExecutor::Jsonize() const +{ + JsonValue payload; + + if(m_lambdaHasBeenSet) + { + payload.WithString("lambda", m_lambda); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/OrchestrationType.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/OrchestrationType.cpp new file mode 100644 index 00000000000..1b4c186b51f --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/OrchestrationType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BedrockAgent + { + namespace Model + { + namespace OrchestrationTypeMapper + { + + static const int DEFAULT_HASH = HashingUtils::HashString("DEFAULT"); + static const int CUSTOM_ORCHESTRATION_HASH = HashingUtils::HashString("CUSTOM_ORCHESTRATION"); + + + OrchestrationType GetOrchestrationTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == DEFAULT_HASH) + { + return OrchestrationType::DEFAULT; + } + else if (hashCode == CUSTOM_ORCHESTRATION_HASH) + { + return OrchestrationType::CUSTOM_ORCHESTRATION; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return OrchestrationType::NOT_SET; + } + + Aws::String GetNameForOrchestrationType(OrchestrationType enumValue) + { + switch(enumValue) + { + case OrchestrationType::NOT_SET: + return {}; + case OrchestrationType::DEFAULT: + return "DEFAULT"; + case OrchestrationType::CUSTOM_ORCHESTRATION: + return "CUSTOM_ORCHESTRATION"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace OrchestrationTypeMapper + } // namespace Model + } // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentRequest.cpp index 899deb903ea..8d208aad2ae 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentRequest.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentRequest.cpp @@ -16,6 +16,7 @@ UpdateAgentRequest::UpdateAgentRequest() : m_agentIdHasBeenSet(false), m_agentNameHasBeenSet(false), m_agentResourceRoleArnHasBeenSet(false), + m_customOrchestrationHasBeenSet(false), m_customerEncryptionKeyArnHasBeenSet(false), m_descriptionHasBeenSet(false), m_foundationModelHasBeenSet(false), @@ -24,6 +25,8 @@ UpdateAgentRequest::UpdateAgentRequest() : m_idleSessionTTLInSecondsHasBeenSet(false), m_instructionHasBeenSet(false), m_memoryConfigurationHasBeenSet(false), + m_orchestrationType(OrchestrationType::NOT_SET), + m_orchestrationTypeHasBeenSet(false), m_promptOverrideConfigurationHasBeenSet(false) { } @@ -44,6 +47,12 @@ Aws::String UpdateAgentRequest::SerializePayload() const } + if(m_customOrchestrationHasBeenSet) + { + payload.WithObject("customOrchestration", m_customOrchestration.Jsonize()); + + } + if(m_customerEncryptionKeyArnHasBeenSet) { payload.WithString("customerEncryptionKeyArn", m_customerEncryptionKeyArn); @@ -86,6 +95,11 @@ Aws::String UpdateAgentRequest::SerializePayload() const } + if(m_orchestrationTypeHasBeenSet) + { + payload.WithString("orchestrationType", OrchestrationTypeMapper::GetNameForOrchestrationType(m_orchestrationType)); + } + if(m_promptOverrideConfigurationHasBeenSet) { payload.WithObject("promptOverrideConfiguration", m_promptOverrideConfiguration.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectClient.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectClient.h index 4cf1dfce0dc..859e098ad26 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectClient.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectClient.h @@ -755,7 +755,7 @@ namespace Connect } /** - *

See Also:

Creates a new contact.

See Also:

AWS * API Reference

*/ @@ -865,7 +865,11 @@ namespace Connect } /** - *

See Also:

Create new email address in the specified Amazon Connect instance. For more + * information about email addresses, see Create + * email addresses in the Amazon Connect Administrator Guide.

See + * Also:

AWS * API Reference

*/ @@ -1653,7 +1657,8 @@ namespace Connect } /** - *

See Also:

Deletes email address from the specified Amazon Connect + * instance.

See Also:

AWS * API Reference

*/ @@ -2320,13 +2325,13 @@ namespace Connect * href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language.html">Amazon * Connect Flow language.

Use the $SAVED alias in the * request to describe the SAVED content of a Flow. For example, - * arn:aws:.../contact-flow/{id}:$SAVED. Once a contact flow is - * published, $SAVED needs to be supplied to view saved content that - * has not been published.

In the response, Status indicates the flow - * status as either SAVED or PUBLISHED. The - * PUBLISHED status will initiate validation on the content. - * SAVED does not initiate validation of the content. - * SAVED | PUBLISHED

See Also:

arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, + * $SAVED needs to be supplied to view saved content that has not been + * published.

In the response, Status indicates the flow status as + * either SAVED or PUBLISHED. The PUBLISHED + * status will initiate validation on the content. SAVED does not + * initiate validation of the content. SAVED | PUBLISHED + *

See Also:

AWS * API Reference

*/ @@ -2353,9 +2358,9 @@ namespace Connect /** *

Describes the specified flow module.

Use the $SAVED alias * in the request to describe the SAVED content of a Flow. For - * example, arn:aws:.../contact-flow/{id}:$SAVED. Once a contact flow - * is published, $SAVED needs to be supplied to view saved content - * that has not been published.

See Also:

arn:aws:.../contact-flow/{id}:$SAVED. After a flow is + * published, $SAVED needs to be supplied to view saved content that + * has not been published.

See Also:

AWS * API Reference

*/ @@ -2380,7 +2385,8 @@ namespace Connect } /** - *

See Also:

Describe email address form the specified Amazon Connect + * instance.

See Also:

AWS * API Reference

*/ @@ -3758,7 +3764,8 @@ namespace Connect } /** - *

See Also:

Provides information about contact tree, a list of associated contacts with a + * unique identifier.

See Also:

AWS * API Reference

*/ @@ -5283,7 +5290,7 @@ namespace Connect } /** - *

Searches the contact flows in an Amazon Connect instance, with optional + *

Searches the flows in an Amazon Connect instance, with optional * filtering.

See Also:

AWS * API Reference

@@ -5335,7 +5342,8 @@ namespace Connect } /** - *

See Also:

Searches email address in an instance, with optional filtering.

See + * Also:

AWS * API Reference

*/ @@ -5694,7 +5702,12 @@ namespace Connect } /** - *

See Also:

Send outbound email for outbound campaigns. For more information about + * outbound campaigns, see Set + * up Amazon Connect outbound campaigns.

Only the Amazon Connect + * outbound campaigns service principal is allowed to assume a role in your account + * and call this API.

See Also:

AWS * API Reference

*/ @@ -5723,7 +5736,9 @@ namespace Connect * content.

You may only use this API to upload attachments to * an Amazon - * Connect Case.

See Also:

or Amazon + * Connect Email.

See Also:

AWS * API Reference

*/ @@ -5902,7 +5917,9 @@ namespace Connect } /** - *

See Also:

Creates an inbound email contact and initiates a flow to start the email + * contact for the customer. Response of this API provides the ContactId of the + * email contact created.

See Also:

AWS * API Reference

*/ @@ -5969,7 +5986,8 @@ namespace Connect } /** - *

See Also:

Initiates a flow to send an agent reply or outbound email contact (created + * from the CreateContact API) to a customer.

See Also:

AWS * API Reference

*/ @@ -6330,8 +6348,8 @@ namespace Connect /** *

Adds the specified tags to the specified resource.

Some of the * supported resource types are agents, routing profiles, queues, quick connects, - * contact flows, agent statuses, hours of operation, phone numbers, security - * profiles, and task templates. For a complete list, see Tagging * resources in Amazon Connect.

For sample policies that use tags, see * Amazon * Connect Flow language.

Use the $SAVED alias in the * request to describe the SAVED content of a Flow. For example, - * arn:aws:.../contact-flow/{id}:$SAVED. Once a contact flow is - * published, $SAVED needs to be supplied to view saved content that - * has not been published.

See Also:

arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, + * $SAVED needs to be supplied to view saved content that has not been + * published.

See Also:

AWS * API Reference

*/ @@ -6664,9 +6682,9 @@ namespace Connect *

Updates specified flow module for the specified Amazon Connect instance.

*

Use the $SAVED alias in the request to describe the * SAVED content of a Flow. For example, - * arn:aws:.../contact-flow/{id}:$SAVED. Once a contact flow is - * published, $SAVED needs to be supplied to view saved content that - * has not been published.

See Also:

arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, + * $SAVED needs to be supplied to view saved content that has not been + * published.

See Also:

AWS * API Reference

*/ @@ -6808,7 +6826,11 @@ namespace Connect } /** - *

See Also:

Updates an email address metadata. For more information about email + * addresses, see Create + * email addresses in the Amazon Connect Administrator Guide.

See + * Also:

AWS * API Reference

*/ @@ -7222,7 +7244,8 @@ namespace Connect } /** - *

See Also:

Updates the outbound email address Id for a specified queue.

See + * Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AdditionalEmailRecipients.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AdditionalEmailRecipients.h index 68295bbe724..2c2977a9283 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AdditionalEmailRecipients.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AdditionalEmailRecipients.h @@ -25,7 +25,8 @@ namespace Model { /** - *

See Also:

List of additional email addresses for an email contact.

See + * Also:

AWS * API Reference

*/ @@ -40,7 +41,7 @@ namespace Model ///@{ /** - *

+ *

List of additional TO email recipients for an email contact.

*/ inline const Aws::Vector& GetToList() const{ return m_toList; } inline bool ToListHasBeenSet() const { return m_toListHasBeenSet; } @@ -54,7 +55,7 @@ namespace Model ///@{ /** - *

+ *

List of additional CC email recipients for an email contact.

*/ inline const Aws::Vector& GetCcList() const{ return m_ccList; } inline bool CcListHasBeenSet() const { return m_ccListHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociatedContactSummary.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociatedContactSummary.h index 127224bfbfc..18a4684cfef 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociatedContactSummary.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociatedContactSummary.h @@ -27,7 +27,8 @@ namespace Model { /** - *

See Also:

Contact summary of a contact in contact tree associated with unique + * identifier.

See Also:

AWS * API Reference

*/ @@ -42,7 +43,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the contact in this instance of Amazon Connect.

*/ inline const Aws::String& GetContactId() const{ return m_contactId; } inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; } @@ -56,7 +57,7 @@ namespace Model ///@{ /** - *

+ *

The Amazon Resource Name (ARN) of the contact

*/ inline const Aws::String& GetContactArn() const{ return m_contactArn; } inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; } @@ -70,7 +71,7 @@ namespace Model ///@{ /** - *

+ *

The date and time this contact was initiated, in UTC time.

*/ inline const Aws::Utils::DateTime& GetInitiationTimestamp() const{ return m_initiationTimestamp; } inline bool InitiationTimestampHasBeenSet() const { return m_initiationTimestampHasBeenSet; } @@ -82,7 +83,8 @@ namespace Model ///@{ /** - *

+ *

The timestamp when the customer endpoint disconnected from Amazon + * Connect.

*/ inline const Aws::Utils::DateTime& GetDisconnectTimestamp() const{ return m_disconnectTimestamp; } inline bool DisconnectTimestampHasBeenSet() const { return m_disconnectTimestampHasBeenSet; } @@ -94,7 +96,8 @@ namespace Model ///@{ /** - *

+ *

If this contact is related to other contacts, this is the ID of the initial + * contact.

*/ inline const Aws::String& GetInitialContactId() const{ return m_initialContactId; } inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; } @@ -108,7 +111,8 @@ namespace Model ///@{ /** - *

+ *

If this contact is not the first contact, this is the ID of the previous + * contact.

*/ inline const Aws::String& GetPreviousContactId() const{ return m_previousContactId; } inline bool PreviousContactIdHasBeenSet() const { return m_previousContactIdHasBeenSet; } @@ -122,7 +126,7 @@ namespace Model ///@{ /** - *

+ *

The contactId that is related to this contact.

*/ inline const Aws::String& GetRelatedContactId() const{ return m_relatedContactId; } inline bool RelatedContactIdHasBeenSet() const { return m_relatedContactIdHasBeenSet; } @@ -136,7 +140,7 @@ namespace Model ///@{ /** - *

+ *

Indicates how the contact was initiated.

*/ inline const ContactInitiationMethod& GetInitiationMethod() const{ return m_initiationMethod; } inline bool InitiationMethodHasBeenSet() const { return m_initiationMethodHasBeenSet; } @@ -148,7 +152,7 @@ namespace Model ///@{ /** - *

+ *

How the contact reached your contact center.

*/ inline const Channel& GetChannel() const{ return m_channel; } inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AttachmentReference.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AttachmentReference.h index e5aa4494dbd..10a0a97c4b9 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AttachmentReference.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AttachmentReference.h @@ -81,7 +81,7 @@ namespace Model ///@{ /** - *

+ *

The Amazon Resource Name (ARN) of the attachment reference.

*/ inline const Aws::String& GetArn() const{ return m_arn; } inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/BatchGetAttachedFileMetadataRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/BatchGetAttachedFileMetadataRequest.h index 09fbe3bb4c1..b9bd39301b2 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/BatchGetAttachedFileMetadataRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/BatchGetAttachedFileMetadataRequest.h @@ -70,10 +70,12 @@ namespace Model ///@{ /** - *

The resource to which the attached file is (being) uploaded to. Cases - * are the only current supported resource.

This value must be a - * valid ARN.

+ *

The resource to which the attached file is (being) uploaded to. The supported + * resources are Cases + * and Email.

+ *

This value must be a valid ARN.

*/ inline const Aws::String& GetAssociatedResourceArn() const{ return m_associatedResourceArn; } inline bool AssociatedResourceArnHasBeenSet() const { return m_associatedResourceArnHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CompleteAttachedFileUploadRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CompleteAttachedFileUploadRequest.h index 5270c27f2f4..e5d29320cd3 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CompleteAttachedFileUploadRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CompleteAttachedFileUploadRequest.h @@ -71,10 +71,12 @@ namespace Model ///@{ /** - *

The resource to which the attached file is (being) uploaded to. Cases - * are the only current supported resource.

This value must be a - * valid ARN.

+ *

The resource to which the attached file is (being) uploaded to. The supported + * resources are Cases + * and Email.

+ *

This value must be a valid ARN.

*/ inline const Aws::String& GetAssociatedResourceArn() const{ return m_associatedResourceArn; } inline bool AssociatedResourceArnHasBeenSet() const { return m_associatedResourceArnHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Contact.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Contact.h index 590d8700556..09327cf287b 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Contact.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Contact.h @@ -114,7 +114,8 @@ namespace Model ///@{ /** - *

+ *

This is the root contactId which is used as a unique identifier for all + * subsequent contacts in a contact tree.

*/ inline const Aws::String& GetContactAssociationId() const{ return m_contactAssociationId; } inline bool ContactAssociationIdHasBeenSet() const { return m_contactAssociationIdHasBeenSet; } @@ -334,7 +335,7 @@ namespace Model ///@{ /** - *

+ *

The customer or external third party participant endpoint.

*/ inline const EndpointInfo& GetCustomerEndpoint() const{ return m_customerEndpoint; } inline bool CustomerEndpointHasBeenSet() const { return m_customerEndpointHasBeenSet; } @@ -346,7 +347,11 @@ namespace Model ///@{ /** - *

+ *

The system endpoint. For INBOUND, this is the phone number or + * email address that the customer dialed. For OUTBOUND and + * EXTERNAL_OUTBOUND, this is the outbound caller ID number assigned + * to the outbound queue that is used to dial the customer. For callback, this + * shows up as Softphone for calls handled by agents with softphone.

*/ inline const EndpointInfo& GetSystemEndpoint() const{ return m_systemEndpoint; } inline bool SystemEndpointHasBeenSet() const { return m_systemEndpointHasBeenSet; } @@ -501,7 +506,7 @@ namespace Model ///@{ /** - *

+ *

List of additional email addresses for an email contact.

*/ inline const AdditionalEmailRecipients& GetAdditionalEmailRecipients() const{ return m_additionalEmailRecipients; } inline bool AdditionalEmailRecipientsHasBeenSet() const { return m_additionalEmailRecipientsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlow.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlow.h index fc45bc6f604..5b0dfaf371f 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlow.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlow.h @@ -112,7 +112,7 @@ namespace Model ///@{ /** - *

The status of the contact flow.

+ *

The status of the flow.

*/ inline const ContactFlowStatus& GetStatus() const{ return m_status; } inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } @@ -174,17 +174,6 @@ namespace Model inline ContactFlow& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } ///@} - ///@{ - /** - *

Amazon Connect includes a set of default flows that have already been - * published. It uses them to power your contact center.

- */ - inline bool GetIsDefault() const{ return m_isDefault; } - inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; } - inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; } - inline ContactFlow& WithIsDefault(bool value) { SetIsDefault(value); return *this;} - ///@} - ///@{ /** *

Indicates the checksum value of the flow content.

@@ -225,7 +214,7 @@ namespace Model ///@{ /** - *

The time at which the contact flow was last modified.

+ *

The time at which the flow was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } @@ -237,7 +226,7 @@ namespace Model ///@{ /** - *

The region in which the contact flow was last modified

+ *

The region in which the flow was last modified

*/ inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; } inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; } @@ -277,9 +266,6 @@ namespace Model Aws::Map m_tags; bool m_tagsHasBeenSet = false; - bool m_isDefault; - bool m_isDefaultHasBeenSet = false; - Aws::String m_flowContentSha256; bool m_flowContentSha256HasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowSearchCriteria.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowSearchCriteria.h index 92eeeba5e70..68e77682e6d 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowSearchCriteria.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowSearchCriteria.h @@ -28,8 +28,7 @@ namespace Model { /** - *

The search criteria to be used to return contact flows.

See - * Also:

The search criteria to be used to return flows.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowSummary.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowSummary.h index c6ab825a968..5eb43e4b3a7 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowSummary.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowSummary.h @@ -111,7 +111,7 @@ namespace Model ///@{ /** - *

The status of the contact flow.

+ *

The status of the flow.

*/ inline const ContactFlowStatus& GetContactFlowStatus() const{ return m_contactFlowStatus; } inline bool ContactFlowStatusHasBeenSet() const { return m_contactFlowStatusHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowVersionSummary.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowVersionSummary.h index 76b5ec69689..d9db023ee31 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowVersionSummary.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactFlowVersionSummary.h @@ -24,7 +24,7 @@ namespace Model { /** - *

A summary of a contact flow version's metadata.

See Also:

A summary of a flow version's metadata.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactSearchSummary.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactSearchSummary.h index d35e081f826..808e35e5e8c 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactSearchSummary.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactSearchSummary.h @@ -198,7 +198,7 @@ namespace Model ///@{ /** - *

+ *

Set of segment attributes for a contact.

*/ inline const Aws::Map& GetSegmentAttributes() const{ return m_segmentAttributes; } inline bool SegmentAttributesHasBeenSet() const { return m_segmentAttributesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactSearchSummarySegmentAttributeValue.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactSearchSummarySegmentAttributeValue.h index a9305b34fe4..22acab5e896 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactSearchSummarySegmentAttributeValue.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ContactSearchSummarySegmentAttributeValue.h @@ -24,7 +24,10 @@ namespace Model { /** - *

See Also:

The value of a segment attribute. This is structured as a map with a single + * key-value pair. The key 'valueString' indicates that the attribute type is a + * string, and its corresponding value is the actual string value of the segment + * attribute.

See Also:

AWS * API Reference

*/ @@ -39,7 +42,7 @@ namespace Model ///@{ /** - *

+ *

The value of a segment attribute represented as a string.

*/ inline const Aws::String& GetValueString() const{ return m_valueString; } inline bool ValueStringHasBeenSet() const { return m_valueStringHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateContactRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateContactRequest.h index 79faff29fd8..1753d34ff30 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateContactRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateContactRequest.h @@ -42,7 +42,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -56,7 +58,11 @@ namespace Model ///@{ /** - *

+ *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If not provided, the Amazon Web Services SDK + * populates this field. For more information about idempotency, see Making + * retries safe with idempotent APIs.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } @@ -70,7 +76,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the contact in this instance of Amazon Connect.

*/ inline const Aws::String& GetRelatedContactId() const{ return m_relatedContactId; } inline bool RelatedContactIdHasBeenSet() const { return m_relatedContactIdHasBeenSet; } @@ -84,7 +90,11 @@ namespace Model ///@{ /** - *

+ *

A custom key-value pair using an attribute map. The attributes are standard + * Amazon Connect attributes, and can be accessed in flows just like any other + * contact attributes.

There can be up to 32,768 UTF-8 bytes across all + * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, + * and underscore characters.

*/ inline const Aws::Map& GetAttributes() const{ return m_attributes; } inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } @@ -103,7 +113,9 @@ namespace Model ///@{ /** - *

+ *

A formatted URL that is shown to an agent in the Contact Control Panel (CCP). + * Tasks can have the following reference types at the time of creation: URL | + * NUMBER | STRING | DATE | EMAIL | ATTACHMENT.

*/ inline const Aws::Map& GetReferences() const{ return m_references; } inline bool ReferencesHasBeenSet() const { return m_referencesHasBeenSet; } @@ -121,7 +133,7 @@ namespace Model ///@{ /** - *

+ *

The channel for the contact

*/ inline const Channel& GetChannel() const{ return m_channel; } inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; } @@ -133,7 +145,7 @@ namespace Model ///@{ /** - *

+ *

Indicates how the contact was initiated.

*/ inline const ContactInitiationMethod& GetInitiationMethod() const{ return m_initiationMethod; } inline bool InitiationMethodHasBeenSet() const { return m_initiationMethodHasBeenSet; } @@ -145,7 +157,7 @@ namespace Model ///@{ /** - *

+ *

Number of minutes the contact will be active for before expiring

*/ inline int GetExpiryDurationInMinutes() const{ return m_expiryDurationInMinutes; } inline bool ExpiryDurationInMinutesHasBeenSet() const { return m_expiryDurationInMinutesHasBeenSet; } @@ -155,7 +167,7 @@ namespace Model ///@{ /** - *

+ *

User details for the contact

*/ inline const UserInfo& GetUserInfo() const{ return m_userInfo; } inline bool UserInfoHasBeenSet() const { return m_userInfoHasBeenSet; } @@ -167,7 +179,7 @@ namespace Model ///@{ /** - *

+ *

Initial state of the contact when it's created

*/ inline const InitiateAs& GetInitiateAs() const{ return m_initiateAs; } inline bool InitiateAsHasBeenSet() const { return m_initiateAsHasBeenSet; } @@ -179,7 +191,7 @@ namespace Model ///@{ /** - *

+ *

The name of a the contact.

*/ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } @@ -193,7 +205,7 @@ namespace Model ///@{ /** - *

+ *

A description of the contact.

*/ inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } @@ -207,7 +219,15 @@ namespace Model ///@{ /** - *

+ *

A set of system defined key-value pairs stored on individual contact segments + * (unique contact ID) using an attribute map. The attributes are standard Amazon + * Connect attributes. They can be accessed in flows.

Attribute keys can + * include only alphanumeric, -, and _.

This field can be used to set + * Segment Contact Expiry as a duration in minutes.

To set contact + * expiry, a ValueMap must be specified containing the integer number of minutes + * the contact will be active for before expiring, with + * SegmentAttributes like { "connect:ContactExpiry": + * {"ValueMap" : { "ExpiryDuration": { "ValueInteger": 135}}}}.

*/ inline const Aws::Map& GetSegmentAttributes() const{ return m_segmentAttributes; } inline bool SegmentAttributesHasBeenSet() const { return m_segmentAttributesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateContactResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateContactResult.h index 139285b6cf6..5e9b0c2fae6 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateContactResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateContactResult.h @@ -34,7 +34,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the contact in this instance of Amazon Connect.

*/ inline const Aws::String& GetContactId() const{ return m_contactId; } inline void SetContactId(const Aws::String& value) { m_contactId = value; } @@ -47,7 +47,7 @@ namespace Model ///@{ /** - *

+ *

The Amazon Resource Name (ARN) of the created contact.

*/ inline const Aws::String& GetContactArn() const{ return m_contactArn; } inline void SetContactArn(const Aws::String& value) { m_contactArn = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateEmailAddressRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateEmailAddressRequest.h index e3c7b7a6c36..e41c500a8e1 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateEmailAddressRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateEmailAddressRequest.h @@ -35,7 +35,7 @@ namespace Model ///@{ /** - *

+ *

The description of the email address.

*/ inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } @@ -49,7 +49,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -63,7 +65,7 @@ namespace Model ///@{ /** - *

+ *

The email address with the instance, in [^\s@]+@[^\s@]+\.[^\s@]+ format.

*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } @@ -77,7 +79,7 @@ namespace Model ///@{ /** - *

+ *

The display name of email address

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -91,7 +93,8 @@ namespace Model ///@{ /** - *

+ *

The tags used to organize, track, or control access for this resource. For + * example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } @@ -110,7 +113,11 @@ namespace Model ///@{ /** - *

+ *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If not provided, the Amazon Web Services SDK + * populates this field. For more information about idempotency, see Making + * retries safe with idempotent APIs.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateEmailAddressResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateEmailAddressResult.h index 0db63e7b8cf..ba6ec3a63de 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateEmailAddressResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateEmailAddressResult.h @@ -34,7 +34,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the email address.

*/ inline const Aws::String& GetEmailAddressId() const{ return m_emailAddressId; } inline void SetEmailAddressId(const Aws::String& value) { m_emailAddressId = value; } @@ -47,7 +47,7 @@ namespace Model ///@{ /** - *

+ *

The Amazon Resource Name (ARN) of the email address.

*/ inline const Aws::String& GetEmailAddressArn() const{ return m_emailAddressArn; } inline void SetEmailAddressArn(const Aws::String& value) { m_emailAddressArn = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateQueueRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateQueueRequest.h index aa86918fb07..97fd41c0bee 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateQueueRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateQueueRequest.h @@ -94,7 +94,7 @@ namespace Model ///@{ /** - *

+ *

The outbound email address ID for a specified queue.

*/ inline const OutboundEmailConfig& GetOutboundEmailConfig() const{ return m_outboundEmailConfig; } inline bool OutboundEmailConfigHasBeenSet() const { return m_outboundEmailConfigHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateTaskTemplateRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateTaskTemplateRequest.h index b4ad7fd769f..91ec6e9c103 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateTaskTemplateRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateTaskTemplateRequest.h @@ -99,7 +99,8 @@ namespace Model ///@{ /** - *

+ *

The ContactFlowId for the flow that will be run if this template is used to + * create a self-assigned task.

*/ inline const Aws::String& GetSelfAssignFlowId() const{ return m_selfAssignFlowId; } inline bool SelfAssignFlowIdHasBeenSet() const { return m_selfAssignFlowIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DeleteEmailAddressRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DeleteEmailAddressRequest.h index aad4fe525ed..8be285bef0e 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DeleteEmailAddressRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DeleteEmailAddressRequest.h @@ -34,7 +34,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -48,7 +50,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the email address.

*/ inline const Aws::String& GetEmailAddressId() const{ return m_emailAddressId; } inline bool EmailAddressIdHasBeenSet() const { return m_emailAddressIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeEmailAddressRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeEmailAddressRequest.h index b2b9605078f..5c99a0bf671 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeEmailAddressRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeEmailAddressRequest.h @@ -34,7 +34,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -48,7 +50,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the email address.

*/ inline const Aws::String& GetEmailAddressId() const{ return m_emailAddressId; } inline bool EmailAddressIdHasBeenSet() const { return m_emailAddressIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeEmailAddressResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeEmailAddressResult.h index e1fa1b0daaf..fcb17fb8f4f 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeEmailAddressResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeEmailAddressResult.h @@ -35,7 +35,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the email address.

*/ inline const Aws::String& GetEmailAddressId() const{ return m_emailAddressId; } inline void SetEmailAddressId(const Aws::String& value) { m_emailAddressId = value; } @@ -48,7 +48,7 @@ namespace Model ///@{ /** - *

+ *

The Amazon Resource Name (ARN) of the email address.

*/ inline const Aws::String& GetEmailAddressArn() const{ return m_emailAddressArn; } inline void SetEmailAddressArn(const Aws::String& value) { m_emailAddressArn = value; } @@ -61,7 +61,7 @@ namespace Model ///@{ /** - *

+ *

The email address with the instance, in [^\s@]+@[^\s@]+\.[^\s@]+ format.

*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } inline void SetEmailAddress(const Aws::String& value) { m_emailAddress = value; } @@ -74,7 +74,7 @@ namespace Model ///@{ /** - *

+ *

The display name of email address

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } @@ -87,7 +87,7 @@ namespace Model ///@{ /** - *

+ *

The description of the email address.

*/ inline const Aws::String& GetDescription() const{ return m_description; } inline void SetDescription(const Aws::String& value) { m_description = value; } @@ -100,7 +100,7 @@ namespace Model ///@{ /** - *

+ *

The email address creation timestamp in ISO 8601 Datetime.

*/ inline const Aws::String& GetCreateTimestamp() const{ return m_createTimestamp; } inline void SetCreateTimestamp(const Aws::String& value) { m_createTimestamp = value; } @@ -113,7 +113,7 @@ namespace Model ///@{ /** - *

+ *

The email address last modification timestamp in ISO 8601 Datetime.

*/ inline const Aws::String& GetModifiedTimestamp() const{ return m_modifiedTimestamp; } inline void SetModifiedTimestamp(const Aws::String& value) { m_modifiedTimestamp = value; } @@ -126,7 +126,8 @@ namespace Model ///@{ /** - *

+ *

The tags used to organize, track, or control access for this resource. For + * example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } inline void SetTags(const Aws::Map& value) { m_tags = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressInfo.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressInfo.h index 1d08be5c7a2..2a347a60bff 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressInfo.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressInfo.h @@ -24,7 +24,8 @@ namespace Model { /** - *

See Also:

Contains information about a source or destination email + * address

See Also:

AWS * API Reference

*/ @@ -39,7 +40,7 @@ namespace Model ///@{ /** - *

+ *

The email address with the instance, in [^\s@]+@[^\s@]+\.[^\s@]+ format.

*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } @@ -53,7 +54,7 @@ namespace Model ///@{ /** - *

+ *

The display name of email address.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressMetadata.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressMetadata.h index 4454141adb1..8eac4d94511 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressMetadata.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressMetadata.h @@ -24,7 +24,8 @@ namespace Model { /** - *

See Also:

Contains information about an email address for a contact + * center.

See Also:

AWS * API Reference

*/ @@ -39,7 +40,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the email address.

*/ inline const Aws::String& GetEmailAddressId() const{ return m_emailAddressId; } inline bool EmailAddressIdHasBeenSet() const { return m_emailAddressIdHasBeenSet; } @@ -53,7 +54,7 @@ namespace Model ///@{ /** - *

+ *

The Amazon Resource Name (ARN) of the email address.

*/ inline const Aws::String& GetEmailAddressArn() const{ return m_emailAddressArn; } inline bool EmailAddressArnHasBeenSet() const { return m_emailAddressArnHasBeenSet; } @@ -67,7 +68,7 @@ namespace Model ///@{ /** - *

+ *

The email address with the instance, in [^\s@]+@[^\s@]+\.[^\s@]+ format.

*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } @@ -81,7 +82,7 @@ namespace Model ///@{ /** - *

+ *

The description of the email address.

*/ inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } @@ -95,7 +96,7 @@ namespace Model ///@{ /** - *

+ *

The display name of email address.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressSearchCriteria.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressSearchCriteria.h index b77b80e2f4c..dd24cc41a7a 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressSearchCriteria.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressSearchCriteria.h @@ -25,7 +25,8 @@ namespace Model { /** - *

See Also:

The search criteria to be used to return email addresses.

See + * Also:

AWS * API Reference

*/ @@ -40,7 +41,8 @@ namespace Model ///@{ /** - *

+ *

A list of conditions which would be applied together with an OR + * condition.

*/ inline const Aws::Vector& GetOrConditions() const{ return m_orConditions; } inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; } @@ -54,7 +56,8 @@ namespace Model ///@{ /** - *

+ *

A list of conditions which would be applied together with an AND + * condition.

*/ inline const Aws::Vector& GetAndConditions() const{ return m_andConditions; } inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressSearchFilter.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressSearchFilter.h index 83a1357a248..a4ca1b35bbc 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressSearchFilter.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAddressSearchFilter.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

Filters to be applied to search results.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAttachment.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAttachment.h index 7af8055a487..c7fed69f52c 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAttachment.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailAttachment.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

Information about the email attachment files.

See Also:

AWS * API Reference

*/ @@ -39,7 +39,7 @@ namespace Model ///@{ /** - *

+ *

A case-sensitive name of the attached file being uploaded.

*/ inline const Aws::String& GetFileName() const{ return m_fileName; } inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; } @@ -53,7 +53,8 @@ namespace Model ///@{ /** - *

+ *

The pre-signed URLs for the S3 bucket where the email attachment is + * stored.

*/ inline const Aws::String& GetS3Url() const{ return m_s3Url; } inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailMessageReference.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailMessageReference.h index 45465f30eb4..884f28578dd 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailMessageReference.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailMessageReference.h @@ -24,7 +24,8 @@ namespace Model { /** - *

See Also:

Information about the reference when the referenceType is + * EMAIL_MESSAGE. Otherwise, null.

See Also:

AWS * API Reference

*/ @@ -39,7 +40,7 @@ namespace Model ///@{ /** - *

+ *

The name of the email message reference

*/ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } @@ -53,7 +54,7 @@ namespace Model ///@{ /** - *

+ *

The Amazon Resource Name (ARN) of the email message reference

*/ inline const Aws::String& GetArn() const{ return m_arn; } inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailRecipient.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailRecipient.h index 5572cd18c89..91c9ef8ff45 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailRecipient.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmailRecipient.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

Information about the email recipient

See Also:

AWS * API Reference

*/ @@ -39,7 +39,8 @@ namespace Model ///@{ /** - *

+ *

Address of the email recipient.

Type: String

Length + * Constraints: Minimum length of 1. Maximum length of 256.

*/ inline const Aws::String& GetAddress() const{ return m_address; } inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } @@ -53,7 +54,8 @@ namespace Model ///@{ /** - *

+ *

Display name of the email recipient.

Type: String

Length + * Constraints: Minimum length of 1. Maximum length of 256.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EndpointInfo.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EndpointInfo.h index 427bccaee57..62b62648ba9 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EndpointInfo.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EndpointInfo.h @@ -25,7 +25,7 @@ namespace Model { /** - *

See Also:

Information about the endpoint.

See Also:

AWS * API Reference

*/ @@ -40,7 +40,7 @@ namespace Model ///@{ /** - *

+ *

Type of endpoint.

*/ inline const EndpointType& GetType() const{ return m_type; } inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } @@ -52,7 +52,7 @@ namespace Model ///@{ /** - *

+ *

Address of the endpoint.

*/ inline const Aws::String& GetAddress() const{ return m_address; } inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } @@ -66,7 +66,7 @@ namespace Model ///@{ /** - *

+ *

Display name of the endpoint.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetAttachedFileRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetAttachedFileRequest.h index 3545646180f..e37005c2a77 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetAttachedFileRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetAttachedFileRequest.h @@ -43,7 +43,7 @@ namespace Model ///@{ /** - *

The unique identifier of the Connect instance.

+ *

The unique identifier of the Amazon Connect instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -82,10 +82,12 @@ namespace Model ///@{ /** - *

The resource to which the attached file is (being) uploaded to. Cases - * are the only current supported resource.

This value must be a - * valid ARN.

+ *

The resource to which the attached file is (being) uploaded to. The supported + * resources are Cases + * and Email.

+ *

This value must be a valid ARN.

*/ inline const Aws::String& GetAssociatedResourceArn() const{ return m_associatedResourceArn; } inline bool AssociatedResourceArnHasBeenSet() const { return m_associatedResourceArnHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetTaskTemplateResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetTaskTemplateResult.h index 80e49f89336..4e112695ce4 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetTaskTemplateResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetTaskTemplateResult.h @@ -122,7 +122,8 @@ namespace Model ///@{ /** - *

+ *

ContactFlowId for the flow that will be run if this template is used to + * create a self-assigned task

*/ inline const Aws::String& GetSelfAssignFlowId() const{ return m_selfAssignFlowId; } inline void SetSelfAssignFlowId(const Aws::String& value) { m_selfAssignFlowId = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundAdditionalRecipients.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundAdditionalRecipients.h index 57120be4edd..28b7fd0022e 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundAdditionalRecipients.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundAdditionalRecipients.h @@ -25,7 +25,8 @@ namespace Model { /** - *

See Also:

The additional TO CC recipients information of inbound email.

See + * Also:

AWS * API Reference

*/ @@ -40,7 +41,7 @@ namespace Model ///@{ /** - *

+ *

The additional recipients information present in to list.

*/ inline const Aws::Vector& GetToAddresses() const{ return m_toAddresses; } inline bool ToAddressesHasBeenSet() const { return m_toAddressesHasBeenSet; } @@ -54,7 +55,7 @@ namespace Model ///@{ /** - *

+ *

The additional recipients information present in cc list.

*/ inline const Aws::Vector& GetCcAddresses() const{ return m_ccAddresses; } inline bool CcAddressesHasBeenSet() const { return m_ccAddressesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundEmailContent.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundEmailContent.h index 8abf3d15ccf..02b4fbc9796 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundEmailContent.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundEmailContent.h @@ -25,7 +25,7 @@ namespace Model { /** - *

See Also:

Information about email body content.

See Also:

AWS * API Reference

*/ @@ -40,7 +40,7 @@ namespace Model ///@{ /** - *

+ *

The message source type, that is, RAW.

*/ inline const InboundMessageSourceType& GetMessageSourceType() const{ return m_messageSourceType; } inline bool MessageSourceTypeHasBeenSet() const { return m_messageSourceTypeHasBeenSet; } @@ -52,7 +52,7 @@ namespace Model ///@{ /** - *

+ *

The raw email body content.

*/ inline const InboundRawMessage& GetRawMessage() const{ return m_rawMessage; } inline bool RawMessageHasBeenSet() const { return m_rawMessageHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundRawMessage.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundRawMessage.h index 9ceabf4c603..094b75c08ab 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundRawMessage.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InboundRawMessage.h @@ -26,7 +26,7 @@ namespace Model { /** - *

See Also:

Information about the raw email body content.

See Also:

AWS * API Reference

*/ @@ -41,7 +41,7 @@ namespace Model ///@{ /** - *

+ *

The email subject.

*/ inline const Aws::String& GetSubject() const{ return m_subject; } inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; } @@ -55,7 +55,7 @@ namespace Model ///@{ /** - *

+ *

The email message body.

*/ inline const Aws::String& GetBody() const{ return m_body; } inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; } @@ -69,7 +69,8 @@ namespace Model ///@{ /** - *

+ *

Type of content, that is, text/plain or + * text/html.

*/ inline const Aws::String& GetContentType() const{ return m_contentType; } inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } @@ -83,7 +84,7 @@ namespace Model ///@{ /** - *

+ *

Headers present in inbound email.

*/ inline const Aws::Map& GetHeaders() const{ return m_headers; } inline bool HeadersHasBeenSet() const { return m_headersHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListAssociatedContactsRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListAssociatedContactsRequest.h index 6ff0f8b6513..484ed62a27b 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListAssociatedContactsRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListAssociatedContactsRequest.h @@ -40,7 +40,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -54,7 +56,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the contact in this instance of Amazon Connect.

*/ inline const Aws::String& GetContactId() const{ return m_contactId; } inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; } @@ -68,7 +70,9 @@ namespace Model ///@{ /** - *

+ *

The maximum number of results to return per page.

The maximum number + * of results to return per page. The default MaxResult size is 25.

Valid + * Range: Minimum value of 1. Maximum value of 100.

*/ inline int GetMaxResults() const{ return m_maxResults; } inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } @@ -78,7 +82,8 @@ namespace Model ///@{ /** - *

+ *

The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListAssociatedContactsResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListAssociatedContactsResult.h index a0cb1f91a8d..b822816f707 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListAssociatedContactsResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListAssociatedContactsResult.h @@ -36,7 +36,8 @@ namespace Model ///@{ /** - *

+ *

List of the contact summary for all the contacts in contact tree associated + * with unique identifier.

*/ inline const Aws::Vector& GetContactSummaryList() const{ return m_contactSummaryList; } inline void SetContactSummaryList(const Aws::Vector& value) { m_contactSummaryList = value; } @@ -49,7 +50,8 @@ namespace Model ///@{ /** - *

+ *

If there are additional results, this is the token for the next set of + * results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundAdditionalRecipients.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundAdditionalRecipients.h index 8d8916a1837..875ae6120a3 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundAdditionalRecipients.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundAdditionalRecipients.h @@ -25,7 +25,8 @@ namespace Model { /** - *

See Also:

The additional recipients information of outbound email.

See + * Also:

AWS * API Reference

*/ @@ -40,7 +41,7 @@ namespace Model ///@{ /** - *

+ *

The additional CC email address recipients information.

*/ inline const Aws::Vector& GetCcEmailAddresses() const{ return m_ccEmailAddresses; } inline bool CcEmailAddressesHasBeenSet() const { return m_ccEmailAddressesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundEmailConfig.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundEmailConfig.h index 236e899dd7c..247895f5ccf 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundEmailConfig.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundEmailConfig.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

The outbound email address Id.

See Also:

AWS * API Reference

*/ @@ -39,7 +39,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the email address.

*/ inline const Aws::String& GetOutboundEmailAddressId() const{ return m_outboundEmailAddressId; } inline bool OutboundEmailAddressIdHasBeenSet() const { return m_outboundEmailAddressIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundEmailContent.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundEmailContent.h index 7363f5d5470..72940ff7ace 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundEmailContent.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundEmailContent.h @@ -26,7 +26,7 @@ namespace Model { /** - *

See Also:

Information about email body content.

See Also:

AWS * API Reference

*/ @@ -41,7 +41,8 @@ namespace Model ///@{ /** - *

+ *

The message source type, that is, RAW or + * TEMPLATE.

*/ inline const OutboundMessageSourceType& GetMessageSourceType() const{ return m_messageSourceType; } inline bool MessageSourceTypeHasBeenSet() const { return m_messageSourceTypeHasBeenSet; } @@ -53,7 +54,7 @@ namespace Model ///@{ /** - *

+ *

Information about template message configuration.

*/ inline const TemplatedMessageConfig& GetTemplatedMessageConfig() const{ return m_templatedMessageConfig; } inline bool TemplatedMessageConfigHasBeenSet() const { return m_templatedMessageConfigHasBeenSet; } @@ -65,7 +66,7 @@ namespace Model ///@{ /** - *

+ *

The raw email body content.

*/ inline const OutboundRawMessage& GetRawMessage() const{ return m_rawMessage; } inline bool RawMessageHasBeenSet() const { return m_rawMessageHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundRawMessage.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundRawMessage.h index 9dfdbf58d94..ef02ebe6da6 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundRawMessage.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/OutboundRawMessage.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

Information about the raw email body content.

See Also:

AWS * API Reference

*/ @@ -39,7 +39,7 @@ namespace Model ///@{ /** - *

+ *

The email subject.

*/ inline const Aws::String& GetSubject() const{ return m_subject; } inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; } @@ -53,7 +53,7 @@ namespace Model ///@{ /** - *

+ *

The email message body.

*/ inline const Aws::String& GetBody() const{ return m_body; } inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; } @@ -67,7 +67,8 @@ namespace Model ///@{ /** - *

+ *

Type of content, that is, text/plain or + * text/html.

*/ inline const Aws::String& GetContentType() const{ return m_contentType; } inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Queue.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Queue.h index 57a3628d2c7..72ebbcca690 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Queue.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Queue.h @@ -112,7 +112,7 @@ namespace Model ///@{ /** - *

+ *

The outbound email address ID for a specified queue.

*/ inline const OutboundEmailConfig& GetOutboundEmailConfig() const{ return m_outboundEmailConfig; } inline bool OutboundEmailConfigHasBeenSet() const { return m_outboundEmailConfigHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Reference.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Reference.h index c7e172156e3..70044ec6a04 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Reference.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Reference.h @@ -72,7 +72,7 @@ namespace Model ///@{ /** - *

+ *

Status of the attachment reference type.

*/ inline const ReferenceStatus& GetStatus() const{ return m_status; } inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } @@ -84,7 +84,7 @@ namespace Model ///@{ /** - *

+ *

The Amazon Resource Name (ARN) of the reference

*/ inline const Aws::String& GetArn() const{ return m_arn; } inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } @@ -98,7 +98,7 @@ namespace Model ///@{ /** - *

+ *

Relevant details why the reference was not successfully created.

*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReferenceSummary.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReferenceSummary.h index d7ef78a28a8..5f2d21c6ff0 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReferenceSummary.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReferenceSummary.h @@ -73,7 +73,8 @@ namespace Model ///@{ /** - *

+ *

Information about the reference when the referenceType is + * EMAIL_MESSAGE. Otherwise, null.

*/ inline const EmailMessageReference& GetEmailMessage() const{ return m_emailMessage; } inline bool EmailMessageHasBeenSet() const { return m_emailMessageHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowModulesRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowModulesRequest.h index f32189e0cd0..856343a13a8 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowModulesRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowModulesRequest.h @@ -88,11 +88,11 @@ namespace Model ///@{ /** - *

The search criteria to be used to return contact flow modules.

- *

The name and description fields support "contains" - * queries with a minimum of 2 characters and a maximum of 25 characters. Any - * queries with character lengths outside of this range will result in invalid - * results.

+ *

The search criteria to be used to return flow modules.

The + * name and description fields support "contains" queries + * with a minimum of 2 characters and a maximum of 25 characters. Any queries with + * character lengths outside of this range will result in invalid results.

+ * */ inline const ContactFlowModuleSearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; } inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowModulesResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowModulesResult.h index aff4421b18b..6718500e360 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowModulesResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowModulesResult.h @@ -36,7 +36,7 @@ namespace Model ///@{ /** - *

The search criteria to be used to return contact flow modules.

+ *

The search criteria to be used to return flow modules.

*/ inline const Aws::Vector& GetContactFlowModules() const{ return m_contactFlowModules; } inline void SetContactFlowModules(const Aws::Vector& value) { m_contactFlowModules = value; } @@ -63,7 +63,7 @@ namespace Model ///@{ /** - *

The total number of contact flows which matched your search query.

+ *

The total number of flows which matched your search query.

*/ inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; } inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowsResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowsResult.h index 4f440992833..57361a1f52a 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowsResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchContactFlowsResult.h @@ -63,7 +63,7 @@ namespace Model ///@{ /** - *

The total number of contact flows which matched your search query.

+ *

The total number of flows which matched your search query.

*/ inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; } inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchCriteria.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchCriteria.h index f0133ea92ea..52e38b69e6f 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchCriteria.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchCriteria.h @@ -151,7 +151,7 @@ namespace Model ///@{ /** - *

+ *

The search criteria based on searchable segment attributes of a contact.

*/ inline const SearchableSegmentAttributes& GetSearchableSegmentAttributes() const{ return m_searchableSegmentAttributes; } inline bool SearchableSegmentAttributesHasBeenSet() const { return m_searchableSegmentAttributesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchEmailAddressesRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchEmailAddressesRequest.h index f92fcd70495..ebc4dd494ba 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchEmailAddressesRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchEmailAddressesRequest.h @@ -36,7 +36,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -50,7 +52,7 @@ namespace Model ///@{ /** - *

+ *

The maximum number of results to return per page.

*/ inline int GetMaxResults() const{ return m_maxResults; } inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } @@ -60,7 +62,8 @@ namespace Model ///@{ /** - *

+ *

The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } @@ -74,7 +77,7 @@ namespace Model ///@{ /** - *

+ *

The search criteria to be used to return email addresses.

*/ inline const EmailAddressSearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; } inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; } @@ -86,7 +89,7 @@ namespace Model ///@{ /** - *

+ *

Filters to be applied to search results.

*/ inline const EmailAddressSearchFilter& GetSearchFilter() const{ return m_searchFilter; } inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchEmailAddressesResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchEmailAddressesResult.h index 5a2b3327f03..98ae23e78d0 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchEmailAddressesResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchEmailAddressesResult.h @@ -36,7 +36,8 @@ namespace Model ///@{ /** - *

+ *

If there are additional results, this is the token for the next set of + * results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } @@ -49,7 +50,7 @@ namespace Model ///@{ /** - *

+ *

List of email addresses matching SearchFilter and SearchCriteria

*/ inline const Aws::Vector& GetEmailAddresses() const{ return m_emailAddresses; } inline void SetEmailAddresses(const Aws::Vector& value) { m_emailAddresses = value; } @@ -62,7 +63,7 @@ namespace Model ///@{ /** - *

+ *

The total number of email addresses which matched your search query.

*/ inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; } inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableContactAttributesCriteria.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableContactAttributesCriteria.h index 4680eed90b5..4e150f95fda 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableContactAttributesCriteria.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableContactAttributesCriteria.h @@ -25,7 +25,7 @@ namespace Model { /** - *

The search criteria based on user-defned contact attribute key and values to + *

The search criteria based on user-defined contact attribute key and values to * search on.

See Also:

AWS * API Reference

diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableSegmentAttributes.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableSegmentAttributes.h index 96b12e86dfd..88c24018c4e 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableSegmentAttributes.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableSegmentAttributes.h @@ -26,7 +26,8 @@ namespace Model { /** - *

See Also:

The search criteria based on searchable segment attributes of a + * contact

See Also:

AWS * API Reference

*/ @@ -41,7 +42,7 @@ namespace Model ///@{ /** - *

+ *

The list of criteria based on searchable segment attributes.

*/ inline const Aws::Vector& GetCriteria() const{ return m_criteria; } inline bool CriteriaHasBeenSet() const { return m_criteriaHasBeenSet; } @@ -55,7 +56,8 @@ namespace Model ///@{ /** - *

+ *

The match type combining search criteria using multiple searchable segment + * attributes.

*/ inline const SearchContactsMatchType& GetMatchType() const{ return m_matchType; } inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableSegmentAttributesCriteria.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableSegmentAttributesCriteria.h index 798fcf1a45c..875bf347e7b 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableSegmentAttributesCriteria.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchableSegmentAttributesCriteria.h @@ -25,7 +25,8 @@ namespace Model { /** - *

See Also:

The search criteria based on searchable segment attribute key and values to + * search on.

See Also:

AWS * API Reference

*/ @@ -40,7 +41,7 @@ namespace Model ///@{ /** - *

+ *

The key containing a searchable segment attribute.

*/ inline const Aws::String& GetKey() const{ return m_key; } inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } @@ -54,7 +55,7 @@ namespace Model ///@{ /** - *

+ *

The list of values to search for within a searchable segment attribute.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SegmentAttributeValue.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SegmentAttributeValue.h index 374fdd3cfad..aea43de4227 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SegmentAttributeValue.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SegmentAttributeValue.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include namespace Aws @@ -52,10 +53,44 @@ namespace Model inline SegmentAttributeValue& WithValueString(Aws::String&& value) { SetValueString(std::move(value)); return *this;} inline SegmentAttributeValue& WithValueString(const char* value) { SetValueString(value); return *this;} ///@} + + ///@{ + /** + *

The value of a segment attribute.

+ */ + inline const Aws::Map& GetValueMap() const{ return m_valueMap; } + inline bool ValueMapHasBeenSet() const { return m_valueMapHasBeenSet; } + inline void SetValueMap(const Aws::Map& value) { m_valueMapHasBeenSet = true; m_valueMap = value; } + inline void SetValueMap(Aws::Map&& value) { m_valueMapHasBeenSet = true; m_valueMap = std::move(value); } + inline SegmentAttributeValue& WithValueMap(const Aws::Map& value) { SetValueMap(value); return *this;} + inline SegmentAttributeValue& WithValueMap(Aws::Map&& value) { SetValueMap(std::move(value)); return *this;} + inline SegmentAttributeValue& AddValueMap(const Aws::String& key, const SegmentAttributeValue& value) { m_valueMapHasBeenSet = true; m_valueMap.emplace(key, value); return *this; } + inline SegmentAttributeValue& AddValueMap(Aws::String&& key, const SegmentAttributeValue& value) { m_valueMapHasBeenSet = true; m_valueMap.emplace(std::move(key), value); return *this; } + inline SegmentAttributeValue& AddValueMap(const Aws::String& key, SegmentAttributeValue&& value) { m_valueMapHasBeenSet = true; m_valueMap.emplace(key, std::move(value)); return *this; } + inline SegmentAttributeValue& AddValueMap(Aws::String&& key, SegmentAttributeValue&& value) { m_valueMapHasBeenSet = true; m_valueMap.emplace(std::move(key), std::move(value)); return *this; } + inline SegmentAttributeValue& AddValueMap(const char* key, SegmentAttributeValue&& value) { m_valueMapHasBeenSet = true; m_valueMap.emplace(key, std::move(value)); return *this; } + inline SegmentAttributeValue& AddValueMap(const char* key, const SegmentAttributeValue& value) { m_valueMapHasBeenSet = true; m_valueMap.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

The value of a segment attribute.

+ */ + inline int GetValueInteger() const{ return m_valueInteger; } + inline bool ValueIntegerHasBeenSet() const { return m_valueIntegerHasBeenSet; } + inline void SetValueInteger(int value) { m_valueIntegerHasBeenSet = true; m_valueInteger = value; } + inline SegmentAttributeValue& WithValueInteger(int value) { SetValueInteger(value); return *this;} + ///@} private: Aws::String m_valueString; bool m_valueStringHasBeenSet = false; + + Aws::Map m_valueMap; + bool m_valueMapHasBeenSet = false; + + int m_valueInteger; + bool m_valueIntegerHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SendOutboundEmailRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SendOutboundEmailRequest.h index 63c38b2aacc..dd5194570e9 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SendOutboundEmailRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SendOutboundEmailRequest.h @@ -40,7 +40,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -54,7 +56,7 @@ namespace Model ///@{ /** - *

+ *

The email address to be used for sending email.

*/ inline const EmailAddressInfo& GetFromEmailAddress() const{ return m_fromEmailAddress; } inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; } @@ -66,7 +68,7 @@ namespace Model ///@{ /** - *

+ *

The email address to send the email to.

*/ inline const EmailAddressInfo& GetDestinationEmailAddress() const{ return m_destinationEmailAddress; } inline bool DestinationEmailAddressHasBeenSet() const { return m_destinationEmailAddressHasBeenSet; } @@ -78,7 +80,7 @@ namespace Model ///@{ /** - *

+ *

The additional recipients address of the email in CC.

*/ inline const OutboundAdditionalRecipients& GetAdditionalRecipients() const{ return m_additionalRecipients; } inline bool AdditionalRecipientsHasBeenSet() const { return m_additionalRecipientsHasBeenSet; } @@ -90,7 +92,7 @@ namespace Model ///@{ /** - *

+ *

The email message body to be sent to the newly created email.

*/ inline const OutboundEmailContent& GetEmailMessage() const{ return m_emailMessage; } inline bool EmailMessageHasBeenSet() const { return m_emailMessageHasBeenSet; } @@ -102,7 +104,7 @@ namespace Model ///@{ /** - *

+ *

Denotes the class of traffic.

*/ inline const TrafficType& GetTrafficType() const{ return m_trafficType; } inline bool TrafficTypeHasBeenSet() const { return m_trafficTypeHasBeenSet; } @@ -114,7 +116,7 @@ namespace Model ///@{ /** - *

+ *

A Campaign object need for Campaign traffic type.

*/ inline const SourceCampaign& GetSourceCampaign() const{ return m_sourceCampaign; } inline bool SourceCampaignHasBeenSet() const { return m_sourceCampaignHasBeenSet; } @@ -126,7 +128,11 @@ namespace Model ///@{ /** - *

+ *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If not provided, the Amazon Web Services SDK + * populates this field. For more information about idempotency, see Making + * retries safe with idempotent APIs.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ServiceQuotaExceededExceptionReason.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ServiceQuotaExceededExceptionReason.h index 5c029219859..64240a8c204 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ServiceQuotaExceededExceptionReason.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ServiceQuotaExceededExceptionReason.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

The reason for the exception.

See Also:

AWS * API Reference

*/ @@ -39,7 +39,8 @@ namespace Model ///@{ /** - *

+ *

Total file size of all files or total number of files exceeds the service + * quota

*/ inline const AttachedFileServiceQuotaExceededExceptionReason& GetAttachedFileServiceQuotaExceededExceptionReason() const{ return m_attachedFileServiceQuotaExceededExceptionReason; } inline bool AttachedFileServiceQuotaExceededExceptionReasonHasBeenSet() const { return m_attachedFileServiceQuotaExceededExceptionReasonHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SourceCampaign.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SourceCampaign.h index 5442f8d7b6f..ded0ce0e929 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SourceCampaign.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SourceCampaign.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

Information about the campaign.

See Also:

AWS * API Reference

*/ @@ -39,7 +39,7 @@ namespace Model ///@{ /** - *

+ *

A unique identifier for a campaign.

*/ inline const Aws::String& GetCampaignId() const{ return m_campaignId; } inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; } @@ -53,7 +53,7 @@ namespace Model ///@{ /** - *

+ *

A unique identifier for a each request part of same campaign.

*/ inline const Aws::String& GetOutboundRequestId() const{ return m_outboundRequestId; } inline bool OutboundRequestIdHasBeenSet() const { return m_outboundRequestIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartAttachedFileUploadRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartAttachedFileUploadRequest.h index dcb4e7f62bb..9da1f7e4402 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartAttachedFileUploadRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartAttachedFileUploadRequest.h @@ -111,7 +111,8 @@ namespace Model ///@{ /** - *

The use case for the file.

+ *

The use case for the file.

Only ATTACHMENTS + * are supported.

*/ inline const FileUseCaseType& GetFileUseCaseType() const{ return m_fileUseCaseType; } inline bool FileUseCaseTypeHasBeenSet() const { return m_fileUseCaseTypeHasBeenSet; } @@ -123,10 +124,12 @@ namespace Model ///@{ /** - *

The resource to which the attached file is (being) uploaded to. Cases - * are the only current supported resource.

This value must be a - * valid ARN.

+ *

The resource to which the attached file is (being) uploaded to. The supported + * resources are Cases + * and Email.

+ *

This value must be a valid ARN.

*/ inline const Aws::String& GetAssociatedResourceArn() const{ return m_associatedResourceArn; } inline bool AssociatedResourceArnHasBeenSet() const { return m_associatedResourceArnHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartChatContactRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartChatContactRequest.h index 7a9d72ad7ff..04a39d17f39 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartChatContactRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartChatContactRequest.h @@ -59,9 +59,9 @@ namespace Model /** *

The identifier of the flow for initiating the chat. To see the ContactFlowId * in the Amazon Connect admin website, on the navigation menu go to - * Routing, Contact Flows. Choose the flow. On the flow page, under - * the name of the flow, choose Show additional flow information. The - * ContactFlowId is the last part of the ARN, shown here in bold:

+ * Routing, Flows. Choose the flow. On the flow page, under the name + * of the flow, choose Show additional flow information. The ContactFlowId + * is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartEmailContactRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartEmailContactRequest.h index 1f5b2931c7c..986cc3e1f2f 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartEmailContactRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartEmailContactRequest.h @@ -43,7 +43,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -57,7 +59,7 @@ namespace Model ///@{ /** - *

+ *

The email address of the customer.

*/ inline const EmailAddressInfo& GetFromEmailAddress() const{ return m_fromEmailAddress; } inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; } @@ -69,7 +71,7 @@ namespace Model ///@{ /** - *

+ *

The email address associated with the instance.

*/ inline const Aws::String& GetDestinationEmailAddress() const{ return m_destinationEmailAddress; } inline bool DestinationEmailAddressHasBeenSet() const { return m_destinationEmailAddressHasBeenSet; } @@ -83,7 +85,7 @@ namespace Model ///@{ /** - *

+ *

A description of the email contact.

*/ inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } @@ -97,7 +99,12 @@ namespace Model ///@{ /** - *

+ *

A formatted URL that is shown to an agent in the Contact Control Panel (CCP). + * Emails can have the following reference types at the time of creation: + * URL | NUMBER | STRING | + * DATE. EMAIL | EMAIL_MESSAGE + * |ATTACHMENT are not a supported reference type during email + * creation.

*/ inline const Aws::Map& GetReferences() const{ return m_references; } inline bool ReferencesHasBeenSet() const { return m_referencesHasBeenSet; } @@ -115,7 +122,8 @@ namespace Model ///@{ /** - *

+ *

The name of a email that is shown to an agent in the Contact Control Panel + * (CCP).

*/ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } @@ -129,7 +137,7 @@ namespace Model ///@{ /** - *

+ *

The email message body to be sent to the newly created email.

*/ inline const InboundEmailContent& GetEmailMessage() const{ return m_emailMessage; } inline bool EmailMessageHasBeenSet() const { return m_emailMessageHasBeenSet; } @@ -141,7 +149,7 @@ namespace Model ///@{ /** - *

+ *

The addtional recipients address of the email.

*/ inline const InboundAdditionalRecipients& GetAdditionalRecipients() const{ return m_additionalRecipients; } inline bool AdditionalRecipientsHasBeenSet() const { return m_additionalRecipientsHasBeenSet; } @@ -153,7 +161,7 @@ namespace Model ///@{ /** - *

+ *

List of S3 presigned URLs of email attachments and their file name.

*/ inline const Aws::Vector& GetAttachments() const{ return m_attachments; } inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; } @@ -167,7 +175,13 @@ namespace Model ///@{ /** - *

+ *

The identifier of the flow for initiating the emails. To see the + * ContactFlowId in the Amazon Connect admin website, on the navigation menu go to + * Routing, Flows. Choose the flow. On the flow page, under the name + * of the flow, choose Show additional flow information. The ContactFlowId + * is the last part of the ARN, shown here in bold:

+ *

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx + *

*/ inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; } inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; } @@ -181,7 +195,12 @@ namespace Model ///@{ /** - *

+ *

The contactId that is related to this contact. Linking emails together by + * using RelatedContactID copies over contact attributes from the + * related email contact to the new email contact. All updates to user-defined + * attributes in the new email contact are limited to the individual contact ID. + * There are no limits to the number of contacts that can be linked by using + * RelatedContactId.

*/ inline const Aws::String& GetRelatedContactId() const{ return m_relatedContactId; } inline bool RelatedContactIdHasBeenSet() const { return m_relatedContactIdHasBeenSet; } @@ -195,7 +214,11 @@ namespace Model ///@{ /** - *

+ *

A custom key-value pair using an attribute map. The attributes are standard + * Amazon Connect attributes, and can be accessed in flows just like any other + * contact attributes.

There can be up to 32,768 UTF-8 bytes across all + * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, + * and underscore characters.

*/ inline const Aws::Map& GetAttributes() const{ return m_attributes; } inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } @@ -214,7 +237,15 @@ namespace Model ///@{ /** - *

+ *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

To set contact expiry, a + * ValueMap must be specified containing the integer number of minutes + * the contact will be active for before expiring, with + * SegmentAttributes like { "connect:ContactExpiry": + * {"ValueMap" : { "ExpiryDuration": { "ValueInteger":135}}}}.

*/ inline const Aws::Map& GetSegmentAttributes() const{ return m_segmentAttributes; } inline bool SegmentAttributesHasBeenSet() const { return m_segmentAttributesHasBeenSet; } @@ -232,7 +263,11 @@ namespace Model ///@{ /** - *

+ *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If not provided, the Amazon Web Services SDK + * populates this field. For more information about idempotency, see Making + * retries safe with idempotent APIs.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartEmailContactResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartEmailContactResult.h index 3218960b79a..39c03788c25 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartEmailContactResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartEmailContactResult.h @@ -34,7 +34,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of this contact within the Amazon Connect instance.

*/ inline const Aws::String& GetContactId() const{ return m_contactId; } inline void SetContactId(const Aws::String& value) { m_contactId = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartOutboundEmailContactRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartOutboundEmailContactRequest.h index 809613a80a8..381017af578 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartOutboundEmailContactRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartOutboundEmailContactRequest.h @@ -38,7 +38,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -52,7 +54,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the contact in this instance of Amazon Connect.

*/ inline const Aws::String& GetContactId() const{ return m_contactId; } inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; } @@ -66,7 +68,7 @@ namespace Model ///@{ /** - *

+ *

The email address associated with the instance.

*/ inline const EmailAddressInfo& GetFromEmailAddress() const{ return m_fromEmailAddress; } inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; } @@ -78,7 +80,7 @@ namespace Model ///@{ /** - *

+ *

The email address of the customer.

*/ inline const EmailAddressInfo& GetDestinationEmailAddress() const{ return m_destinationEmailAddress; } inline bool DestinationEmailAddressHasBeenSet() const { return m_destinationEmailAddressHasBeenSet; } @@ -90,7 +92,7 @@ namespace Model ///@{ /** - *

+ *

The addtional recipients address of email in CC.

*/ inline const OutboundAdditionalRecipients& GetAdditionalRecipients() const{ return m_additionalRecipients; } inline bool AdditionalRecipientsHasBeenSet() const { return m_additionalRecipientsHasBeenSet; } @@ -102,7 +104,7 @@ namespace Model ///@{ /** - *

+ *

The email message body to be sent to the newly created email.

*/ inline const OutboundEmailContent& GetEmailMessage() const{ return m_emailMessage; } inline bool EmailMessageHasBeenSet() const { return m_emailMessageHasBeenSet; } @@ -114,7 +116,11 @@ namespace Model ///@{ /** - *

+ *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If not provided, the Amazon Web Services SDK + * populates this field. For more information about idempotency, see Making + * retries safe with idempotent APIs.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartOutboundEmailContactResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartOutboundEmailContactResult.h index b1505dbb3b5..3743e6d4dc8 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartOutboundEmailContactResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartOutboundEmailContactResult.h @@ -34,7 +34,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the contact in this instance of Amazon Connect.

*/ inline const Aws::String& GetContactId() const{ return m_contactId; } inline void SetContactId(const Aws::String& value) { m_contactId = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartTaskContactRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartTaskContactRequest.h index 1cfbdd2eb19..e4515d475cf 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartTaskContactRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartTaskContactRequest.h @@ -74,9 +74,9 @@ namespace Model /** *

The identifier of the flow for initiating the tasks. To see the ContactFlowId * in the Amazon Connect admin website, on the navigation menu go to - * Routing, Contact Flows. Choose the flow. On the flow page, under - * the name of the flow, choose Show additional flow information. The - * ContactFlowId is the last part of the ARN, shown here in bold:

+ * Routing, Flows. Choose the flow. On the flow page, under the name + * of the flow, choose Show additional flow information. The ContactFlowId + * is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ @@ -255,7 +255,20 @@ namespace Model ///@{ /** - *

+ *

A set of system defined key-value pairs stored on individual contact segments + * (unique contact ID) using an attribute map. The attributes are standard Amazon + * Connect attributes. They can be accessed in flows.

Attribute keys can + * include only alphanumeric, -, and _.

This field can be used to set + * Contact Expiry as a duration in minutes and set a UserId for the User who + * created a task.

To set contact expiry, a ValueMap must be + * specified containing the integer number of minutes the contact will be active + * for before expiring, with SegmentAttributes like { + * "connect:ContactExpiry": {"ValueMap" : { "ExpiryDuration": { "ValueInteger": + * 135}}}}.

To set the created by user, a valid AgentResourceId must + * be supplied, with SegmentAttributes like { + * "connect:CreatedByUser" { "ValueString": + * "arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/agent/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}}. + *

*/ inline const Aws::Map& GetSegmentAttributes() const{ return m_segmentAttributes; } inline bool SegmentAttributesHasBeenSet() const { return m_segmentAttributesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TemplateAttributes.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TemplateAttributes.h index 3800d029f77..d44df8cc6a4 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TemplateAttributes.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TemplateAttributes.h @@ -25,7 +25,7 @@ namespace Model { /** - *

See Also:

Information about the template attributes.

See Also:

AWS * API Reference

*/ @@ -40,7 +40,9 @@ namespace Model ///@{ /** - *

+ *

An object that specifies the custom attributes values to use for variables in + * the message template. This object contains different categories of key-value + * pairs. Each key defines a variable or placeholder in the message template.

*/ inline const Aws::Map& GetCustomAttributes() const{ return m_customAttributes; } inline bool CustomAttributesHasBeenSet() const { return m_customAttributesHasBeenSet; } @@ -59,7 +61,10 @@ namespace Model ///@{ /** - *

+ *

An object that specifies the customer profile attributes values to use for + * variables in the message template. This object contains different categories of + * key-value pairs. Each key defines a variable or placeholder in the message + * template.

*/ inline const Aws::String& GetCustomerProfileAttributes() const{ return m_customerProfileAttributes; } inline bool CustomerProfileAttributesHasBeenSet() const { return m_customerProfileAttributesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TemplatedMessageConfig.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TemplatedMessageConfig.h index c54a44cd61e..50b112e757f 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TemplatedMessageConfig.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TemplatedMessageConfig.h @@ -25,7 +25,8 @@ namespace Model { /** - *

See Also:

Information about template message configuration.

See Also:

+ *
AWS * API Reference

*/ @@ -40,7 +41,8 @@ namespace Model ///@{ /** - *

+ *

The identifier of the knowledge base. Can be either the ID or the ARN. URLs + * cannot contain the ARN.

*/ inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; } inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; } @@ -54,7 +56,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the message template Id.

*/ inline const Aws::String& GetMessageTemplateId() const{ return m_messageTemplateId; } inline bool MessageTemplateIdHasBeenSet() const { return m_messageTemplateIdHasBeenSet; } @@ -68,7 +70,8 @@ namespace Model ///@{ /** - *

+ *

Information about template attributes, that is, CustomAttributes or + * CustomerProfileAttributes.

*/ inline const TemplateAttributes& GetTemplateAttributes() const{ return m_templateAttributes; } inline bool TemplateAttributesHasBeenSet() const { return m_templateAttributesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateContactRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateContactRequest.h index e88e6b48d2c..2ce37bad9d5 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateContactRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateContactRequest.h @@ -115,7 +115,13 @@ namespace Model ///@{ /** - *

+ *

A set of system defined key-value pairs stored on individual contact segments + * (unique contact ID) using an attribute map. The attributes are standard Amazon + * Connect attributes. They can be accessed in flows.

Attribute keys can + * include only alphanumeric, -, and _.

This field can be used to show + * channel subtype, such as connect:Guide.

Currently Contact + * Expiry is the only segment attribute which can be updated by using the + * UpdateContact API.

*/ inline const Aws::Map& GetSegmentAttributes() const{ return m_segmentAttributes; } inline bool SegmentAttributesHasBeenSet() const { return m_segmentAttributesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateEmailAddressMetadataRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateEmailAddressMetadataRequest.h index f76bf95cb0e..86b1e4c8382 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateEmailAddressMetadataRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateEmailAddressMetadataRequest.h @@ -34,7 +34,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -48,7 +50,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the email address.

*/ inline const Aws::String& GetEmailAddressId() const{ return m_emailAddressId; } inline bool EmailAddressIdHasBeenSet() const { return m_emailAddressIdHasBeenSet; } @@ -62,7 +64,7 @@ namespace Model ///@{ /** - *

+ *

The description of the email address.

*/ inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } @@ -76,7 +78,7 @@ namespace Model ///@{ /** - *

+ *

The display name of email address.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -90,7 +92,11 @@ namespace Model ///@{ /** - *

+ *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If not provided, the Amazon Web Services SDK + * populates this field. For more information about idempotency, see Making + * retries safe with idempotent APIs.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateEmailAddressMetadataResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateEmailAddressMetadataResult.h index 6b870d80c77..fe9ffead056 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateEmailAddressMetadataResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateEmailAddressMetadataResult.h @@ -34,7 +34,7 @@ namespace Model ///@{ /** - *

+ *

The identifier of the email address.

*/ inline const Aws::String& GetEmailAddressId() const{ return m_emailAddressId; } inline void SetEmailAddressId(const Aws::String& value) { m_emailAddressId = value; } @@ -47,7 +47,7 @@ namespace Model ///@{ /** - *

+ *

The Amazon Resource Name (ARN) of the email address.

*/ inline const Aws::String& GetEmailAddressArn() const{ return m_emailAddressArn; } inline void SetEmailAddressArn(const Aws::String& value) { m_emailAddressArn = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateQueueOutboundEmailConfigRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateQueueOutboundEmailConfigRequest.h index fbf7959b65e..030c745832d 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateQueueOutboundEmailConfigRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateQueueOutboundEmailConfigRequest.h @@ -35,7 +35,9 @@ namespace Model ///@{ /** - *

+ *

The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -49,7 +51,7 @@ namespace Model ///@{ /** - *

+ *

The identifier for the queue.

*/ inline const Aws::String& GetQueueId() const{ return m_queueId; } inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } @@ -63,7 +65,7 @@ namespace Model ///@{ /** - *

+ *

The outbound email address ID for a specified queue.

*/ inline const OutboundEmailConfig& GetOutboundEmailConfig() const{ return m_outboundEmailConfig; } inline bool OutboundEmailConfigHasBeenSet() const { return m_outboundEmailConfigHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTaskTemplateRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTaskTemplateRequest.h index 102ed34d742..1077a4f42f9 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTaskTemplateRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTaskTemplateRequest.h @@ -112,7 +112,8 @@ namespace Model ///@{ /** - *

+ *

The ContactFlowId for the flow that will be run if this template is used to + * create a self-assigned task.

*/ inline const Aws::String& GetSelfAssignFlowId() const{ return m_selfAssignFlowId; } inline bool SelfAssignFlowIdHasBeenSet() const { return m_selfAssignFlowIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTaskTemplateResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTaskTemplateResult.h index 4ebe42ceada..70183e27f6b 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTaskTemplateResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTaskTemplateResult.h @@ -121,7 +121,8 @@ namespace Model ///@{ /** - *

+ *

The ContactFlowId for the flow that will be run if this template is used to + * create a self-assigned task.

*/ inline const Aws::String& GetSelfAssignFlowId() const{ return m_selfAssignFlowId; } inline void SetSelfAssignFlowId(const Aws::String& value) { m_selfAssignFlowId = value; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserInfo.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserInfo.h index 487b2a9a99e..47ff70c9df3 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserInfo.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserInfo.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

The user details for the contact.

See Also:

AWS * API Reference

*/ @@ -39,7 +39,7 @@ namespace Model ///@{ /** - *

+ *

The user identifier for the contact.

*/ inline const Aws::String& GetUserId() const{ return m_userId; } inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/source/model/ContactFlow.cpp b/generated/src/aws-cpp-sdk-connect/source/model/ContactFlow.cpp index 2498f2327e7..2f4e8889bd4 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/ContactFlow.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/ContactFlow.cpp @@ -31,8 +31,6 @@ ContactFlow::ContactFlow() : m_descriptionHasBeenSet(false), m_contentHasBeenSet(false), m_tagsHasBeenSet(false), - m_isDefault(false), - m_isDefaultHasBeenSet(false), m_flowContentSha256HasBeenSet(false), m_version(0), m_versionHasBeenSet(false), @@ -116,13 +114,6 @@ ContactFlow& ContactFlow::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } - if(jsonValue.ValueExists("IsDefault")) - { - m_isDefault = jsonValue.GetBool("IsDefault"); - - m_isDefaultHasBeenSet = true; - } - if(jsonValue.ValueExists("FlowContentSha256")) { m_flowContentSha256 = jsonValue.GetString("FlowContentSha256"); @@ -221,12 +212,6 @@ JsonValue ContactFlow::Jsonize() const } - if(m_isDefaultHasBeenSet) - { - payload.WithBool("IsDefault", m_isDefault); - - } - if(m_flowContentSha256HasBeenSet) { payload.WithString("FlowContentSha256", m_flowContentSha256); diff --git a/generated/src/aws-cpp-sdk-connect/source/model/SegmentAttributeValue.cpp b/generated/src/aws-cpp-sdk-connect/source/model/SegmentAttributeValue.cpp index 49c34e7ee17..b66d2e9793a 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/SegmentAttributeValue.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/SegmentAttributeValue.cpp @@ -19,7 +19,10 @@ namespace Model { SegmentAttributeValue::SegmentAttributeValue() : - m_valueStringHasBeenSet(false) + m_valueStringHasBeenSet(false), + m_valueMapHasBeenSet(false), + m_valueInteger(0), + m_valueIntegerHasBeenSet(false) { } @@ -38,6 +41,23 @@ SegmentAttributeValue& SegmentAttributeValue::operator =(JsonView jsonValue) m_valueStringHasBeenSet = true; } + if(jsonValue.ValueExists("ValueMap")) + { + Aws::Map valueMapJsonMap = jsonValue.GetObject("ValueMap").GetAllObjects(); + for(auto& valueMapItem : valueMapJsonMap) + { + m_valueMap[valueMapItem.first] = valueMapItem.second.AsObject(); + } + m_valueMapHasBeenSet = true; + } + + if(jsonValue.ValueExists("ValueInteger")) + { + m_valueInteger = jsonValue.GetInteger("ValueInteger"); + + m_valueIntegerHasBeenSet = true; + } + return *this; } @@ -51,6 +71,23 @@ JsonValue SegmentAttributeValue::Jsonize() const } + if(m_valueMapHasBeenSet) + { + JsonValue valueMapJsonMap; + for(auto& valueMapItem : m_valueMap) + { + valueMapJsonMap.WithObject(valueMapItem.first, valueMapItem.second.Jsonize()); + } + payload.WithObject("ValueMap", std::move(valueMapJsonMap)); + + } + + if(m_valueIntegerHasBeenSet) + { + payload.WithInteger("ValueInteger", m_valueInteger); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h index 45a3699c0d4..cb4a8307fc7 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h @@ -17115,12 +17115,9 @@ namespace EC2 } /** - *

Modifies the attributes of your VPC endpoint service configuration. You can - * change the Network Load Balancers or Gateway Load Balancers for your service, - * and you can specify whether acceptance is required for requests to connect to - * your endpoint service through an interface VPC endpoint.

If you set or - * modify the private DNS name, you must prove that you own the private DNS domain - * name.

See Also:

Modifies the attributes of the specified VPC endpoint service + * configuration.

If you set or modify the private DNS name, you must prove + * that you own the private DNS domain name.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ConnectionNotification.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ConnectionNotification.h index f132fe4572c..363f36c893f 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ConnectionNotification.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ConnectionNotification.h @@ -138,6 +138,20 @@ namespace Model inline ConnectionNotification& WithConnectionNotificationState(const ConnectionNotificationState& value) { SetConnectionNotificationState(value); return *this;} inline ConnectionNotification& WithConnectionNotificationState(ConnectionNotificationState&& value) { SetConnectionNotificationState(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The Region for the endpoint service.

+ */ + inline const Aws::String& GetServiceRegion() const{ return m_serviceRegion; } + inline bool ServiceRegionHasBeenSet() const { return m_serviceRegionHasBeenSet; } + inline void SetServiceRegion(const Aws::String& value) { m_serviceRegionHasBeenSet = true; m_serviceRegion = value; } + inline void SetServiceRegion(Aws::String&& value) { m_serviceRegionHasBeenSet = true; m_serviceRegion = std::move(value); } + inline void SetServiceRegion(const char* value) { m_serviceRegionHasBeenSet = true; m_serviceRegion.assign(value); } + inline ConnectionNotification& WithServiceRegion(const Aws::String& value) { SetServiceRegion(value); return *this;} + inline ConnectionNotification& WithServiceRegion(Aws::String&& value) { SetServiceRegion(std::move(value)); return *this;} + inline ConnectionNotification& WithServiceRegion(const char* value) { SetServiceRegion(value); return *this;} + ///@} private: Aws::String m_connectionNotificationId; @@ -160,6 +174,9 @@ namespace Model ConnectionNotificationState m_connectionNotificationState; bool m_connectionNotificationStateHasBeenSet = false; + + Aws::String m_serviceRegion; + bool m_serviceRegionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CopySnapshotRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CopySnapshotRequest.h index aa2f22eedcf..33dacda9f81 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CopySnapshotRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CopySnapshotRequest.h @@ -208,6 +208,21 @@ namespace Model inline CopySnapshotRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; } ///@} + ///@{ + /** + *

Specify a completion duration, in 15 minute increments, to initiate a + * time-based snapshot copy. Time-based snapshot copy operations complete within + * the specified duration. For more information, see + * Time-based copies.

If you do not specify a value, the snapshot copy + * operation is completed on a best-effort basis.

+ */ + inline int GetCompletionDurationMinutes() const{ return m_completionDurationMinutes; } + inline bool CompletionDurationMinutesHasBeenSet() const { return m_completionDurationMinutesHasBeenSet; } + inline void SetCompletionDurationMinutes(int value) { m_completionDurationMinutesHasBeenSet = true; m_completionDurationMinutes = value; } + inline CopySnapshotRequest& WithCompletionDurationMinutes(int value) { SetCompletionDurationMinutes(value); return *this;} + ///@} + ///@{ /** *

Checks whether you have the required permissions for the action, without @@ -249,6 +264,9 @@ namespace Model Aws::Vector m_tagSpecifications; bool m_tagSpecificationsHasBeenSet = false; + int m_completionDurationMinutes; + bool m_completionDurationMinutesHasBeenSet = false; + bool m_dryRun; bool m_dryRunHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateSnapshotResponse.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateSnapshotResponse.h index c8e9102fa28..8a27a5d1e0b 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateSnapshotResponse.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateSnapshotResponse.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -126,6 +127,46 @@ namespace Model inline CreateSnapshotResponse& WithSseType(SSEType&& value) { SetSseType(std::move(value)); return *this;} ///@} + ///@{ + /** + *

Only for snapshot copies.

Indicates whether the + * snapshot copy was created with a standard or time-based snapshot copy operation. + * Time-based snapshot copy operations complete within the completion duration + * specified in the request. Standard snapshot copy operations are completed on a + * best-effort basis.

  • standard - The snapshot copy + * was created with a standard snapshot copy operation.

  • + * time-based - The snapshot copy was created with a time-based + * snapshot copy operation.

+ */ + inline const TransferType& GetTransferType() const{ return m_transferType; } + inline void SetTransferType(const TransferType& value) { m_transferType = value; } + inline void SetTransferType(TransferType&& value) { m_transferType = std::move(value); } + inline CreateSnapshotResponse& WithTransferType(const TransferType& value) { SetTransferType(value); return *this;} + inline CreateSnapshotResponse& WithTransferType(TransferType&& value) { SetTransferType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Only for snapshot copies created with time-based snapshot copy + * operations.

The completion duration requested for the time-based + * snapshot copy operation.

+ */ + inline int GetCompletionDurationMinutes() const{ return m_completionDurationMinutes; } + inline void SetCompletionDurationMinutes(int value) { m_completionDurationMinutes = value; } + inline CreateSnapshotResponse& WithCompletionDurationMinutes(int value) { SetCompletionDurationMinutes(value); return *this;} + ///@} + + ///@{ + /** + *

The time stamp when the snapshot was completed.

+ */ + inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } + inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTime = value; } + inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTime = std::move(value); } + inline CreateSnapshotResponse& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} + inline CreateSnapshotResponse& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} + ///@} + ///@{ /** *

The ID of the snapshot. Each snapshot receives a unique identifier when it is @@ -304,6 +345,12 @@ namespace Model SSEType m_sseType; + TransferType m_transferType; + + int m_completionDurationMinutes; + + Aws::Utils::DateTime m_completionTime; + Aws::String m_snapshotId; Aws::String m_volumeId; diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVpcEndpointRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVpcEndpointRequest.h index 19be4c46307..ecd07db824b 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVpcEndpointRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVpcEndpointRequest.h @@ -249,6 +249,21 @@ namespace Model inline CreateVpcEndpointRequest& AddSubnetConfigurations(const SubnetConfiguration& value) { m_subnetConfigurationsHasBeenSet = true; m_subnetConfigurations.push_back(value); return *this; } inline CreateVpcEndpointRequest& AddSubnetConfigurations(SubnetConfiguration&& value) { m_subnetConfigurationsHasBeenSet = true; m_subnetConfigurations.push_back(std::move(value)); return *this; } ///@} + + ///@{ + /** + *

The Region where the service is hosted. The default is the current + * Region.

+ */ + inline const Aws::String& GetServiceRegion() const{ return m_serviceRegion; } + inline bool ServiceRegionHasBeenSet() const { return m_serviceRegionHasBeenSet; } + inline void SetServiceRegion(const Aws::String& value) { m_serviceRegionHasBeenSet = true; m_serviceRegion = value; } + inline void SetServiceRegion(Aws::String&& value) { m_serviceRegionHasBeenSet = true; m_serviceRegion = std::move(value); } + inline void SetServiceRegion(const char* value) { m_serviceRegionHasBeenSet = true; m_serviceRegion.assign(value); } + inline CreateVpcEndpointRequest& WithServiceRegion(const Aws::String& value) { SetServiceRegion(value); return *this;} + inline CreateVpcEndpointRequest& WithServiceRegion(Aws::String&& value) { SetServiceRegion(std::move(value)); return *this;} + inline CreateVpcEndpointRequest& WithServiceRegion(const char* value) { SetServiceRegion(value); return *this;} + ///@} private: bool m_dryRun; @@ -292,6 +307,9 @@ namespace Model Aws::Vector m_subnetConfigurations; bool m_subnetConfigurationsHasBeenSet = false; + + Aws::String m_serviceRegion; + bool m_serviceRegionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVpcEndpointServiceConfigurationRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVpcEndpointServiceConfigurationRequest.h index d931c81b85c..4155e92f0d0 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVpcEndpointServiceConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVpcEndpointServiceConfigurationRequest.h @@ -123,6 +123,21 @@ namespace Model inline CreateVpcEndpointServiceConfigurationRequest& AddSupportedIpAddressTypes(const char* value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes.push_back(value); return *this; } ///@} + ///@{ + /** + *

The Regions from which service consumers can access the service.

+ */ + inline const Aws::Vector& GetSupportedRegions() const{ return m_supportedRegions; } + inline bool SupportedRegionsHasBeenSet() const { return m_supportedRegionsHasBeenSet; } + inline void SetSupportedRegions(const Aws::Vector& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions = value; } + inline void SetSupportedRegions(Aws::Vector&& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions = std::move(value); } + inline CreateVpcEndpointServiceConfigurationRequest& WithSupportedRegions(const Aws::Vector& value) { SetSupportedRegions(value); return *this;} + inline CreateVpcEndpointServiceConfigurationRequest& WithSupportedRegions(Aws::Vector&& value) { SetSupportedRegions(std::move(value)); return *this;} + inline CreateVpcEndpointServiceConfigurationRequest& AddSupportedRegions(const Aws::String& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions.push_back(value); return *this; } + inline CreateVpcEndpointServiceConfigurationRequest& AddSupportedRegions(Aws::String&& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions.push_back(std::move(value)); return *this; } + inline CreateVpcEndpointServiceConfigurationRequest& AddSupportedRegions(const char* value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions.push_back(value); return *this; } + ///@} + ///@{ /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency @@ -173,6 +188,9 @@ namespace Model Aws::Vector m_supportedIpAddressTypes; bool m_supportedIpAddressTypesHasBeenSet = false; + Aws::Vector m_supportedRegions; + bool m_supportedRegionsHasBeenSet = false; + Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceStatusRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceStatusRequest.h index f251fdaf085..73f3cee48fa 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceStatusRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceStatusRequest.h @@ -128,7 +128,11 @@ namespace Model * instance-status.status - The status of the instance * (ok | impaired | initializing | * insufficient-data | not-applicable).

  • - *

    system-status.reachability - Filters on system status where the + *

    operator.managed - A Boolean that indicates whether this is a + * managed instance.

  • operator.principal - The + * principal that manages the instance. Only valid for managed instances, where + * managed is true.

  • + * system-status.reachability - Filters on system status where the * name is reachability (passed | failed | * initializing | insufficient-data).

  • * system-status.status - The system status of the instance diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstancesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstancesRequest.h index b67cc6e7958..683b9980ab7 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstancesRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstancesRequest.h @@ -244,11 +244,16 @@ namespace Model * network-interface.mac-address - The MAC address of the network * interface.

  • * network-interface.network-interface-id - The ID of the network - * interface.

  • network-interface.outpost-arn - The - * ARN of the Outpost.

  • network-interface.owner-id - - * The ID of the owner of the network interface.

  • - * network-interface.private-dns-name - The private DNS name of the - * network interface.

  • + * interface.

  • network-interface.operator.managed - + * A Boolean that indicates whether the instance has a managed network + * interface.

  • network-interface.operator.principal + * - The principal that manages the network interface. Only valid for instances + * with managed network interfaces, where managed is + * true.

  • network-interface.outpost-arn + * - The ARN of the Outpost.

  • + * network-interface.owner-id - The ID of the owner of the network + * interface.

  • network-interface.private-dns-name - + * The private DNS name of the network interface.

  • * network-interface.private-ip-address - The private IPv4 * address.

  • network-interface.public-dns-name - The * public DNS name.

  • network-interface.requester-id @@ -268,6 +273,10 @@ namespace Model * network-interface.tag-value - The value of a tag assigned to the * network interface.

  • network-interface.vpc-id - * The ID of the VPC for the network interface.

  • + * operator.managed - A Boolean that indicates whether this is a + * managed instance.

  • operator.principal - The + * principal that manages the instance. Only valid for managed instances, where + * managed is true.

  • * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

    *
  • owner-id - The Amazon Web Services account ID of the * instance owner.

  • placement-group-name - The name diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeNetworkInterfacesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeNetworkInterfacesRequest.h index 2961840d14c..6fa2e28cdb4 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeNetworkInterfacesRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeNetworkInterfacesRequest.h @@ -152,29 +152,33 @@ namespace Model * vpc_endpoint).

  • mac-address - The * MAC address of the network interface.

  • * network-interface-id - The ID of the network interface.

  • - *
  • owner-id - The Amazon Web Services account ID of the - * network interface owner.

  • private-dns-name - The - * private DNS name of the network interface (IPv4).

  • - * private-ip-address - The private IPv4 address or addresses of the - * network interface.

  • requester-id - The alias or - * Amazon Web Services account ID of the principal or service that created the - * network interface.

  • requester-managed - Indicates - * whether the network interface is being managed by an Amazon Web Services service - * (for example, Amazon Web Services Management Console, Auto Scaling, and so - * on).

  • source-dest-check - Indicates whether the - * network interface performs source/destination checking. A value of - * true means checking is enabled, and false means - * checking is disabled. The value must be false for the network - * interface to perform network address translation (NAT) in your VPC.

  • - *
  • status - The status of the network interface. If the - * network interface is not attached to an instance, the status is - * available; if a network interface is attached to an instance the - * status is in-use.

  • subnet-id - The - * ID of the subnet for the network interface.

  • - * tag:<key> - The key/value combination of a tag assigned to - * the resource. Use the tag key in the filter name and the tag value as the filter - * value. For example, to find all resources that have a tag with the key - * Owner and the value TeamA, specify + *

  • operator.managed - A Boolean that indicates whether this + * is a managed network interface.

  • + * operator.principal - The principal that manages the network + * interface. Only valid for managed network interfaces, where managed + * is true.

  • owner-id - The Amazon Web + * Services account ID of the network interface owner.

  • + * private-dns-name - The private DNS name of the network interface + * (IPv4).

  • private-ip-address - The private IPv4 + * address or addresses of the network interface.

  • + * requester-id - The alias or Amazon Web Services account ID of the + * principal or service that created the network interface.

  • + * requester-managed - Indicates whether the network interface is + * being managed by an Amazon Web Services service (for example, Amazon Web + * Services Management Console, Auto Scaling, and so on).

  • + * source-dest-check - Indicates whether the network interface + * performs source/destination checking. A value of true means + * checking is enabled, and false means checking is disabled. The + * value must be false for the network interface to perform network + * address translation (NAT) in your VPC.

  • status - + * The status of the network interface. If the network interface is not attached to + * an instance, the status is available; if a network interface is + * attached to an instance the status is in-use.

  • + * subnet-id - The ID of the subnet for the network interface.

    + *
  • tag:<key> - The key/value combination of a tag + * assigned to the resource. Use the tag key in the filter name and the tag value + * as the filter value. For example, to find all resources that have a tag with the + * key Owner and the value TeamA, specify * tag:Owner for the filter name and TeamA for the filter * value.

  • tag-key - The key of a tag assigned to * the resource. Use this filter to find all resources assigned a tag with a diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVolumesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVolumesRequest.h index 5d17653b1ed..cd0eaac984a 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVolumesRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVolumesRequest.h @@ -82,24 +82,29 @@ namespace Model * created.

  • create-time - The time stamp when the * volume was created.

  • encrypted - Indicates * whether the volume is encrypted (true | false)

    - *
  • multi-attach-enabled - Indicates whether the volume - * is enabled for Multi-Attach (true | false)

  • - *
  • fast-restored - Indicates whether the volume was created - * from a snapshot that is enabled for fast snapshot restore (true | - * false).

  • size - The size of the - * volume, in GiB.

  • snapshot-id - The snapshot from - * which the volume was created.

  • status - The state - * of the volume (creating | available | - * in-use | deleting | deleted | - * error).

  • tag:<key> - The - * key/value combination of a tag assigned to the resource. Use the tag key in the - * filter name and the tag value as the filter value. For example, to find all - * resources that have a tag with the key Owner and the value - * TeamA, specify tag:Owner for the filter name and - * TeamA for the filter value.

  • tag-key - * - The key of a tag assigned to the resource. Use this filter to find all - * resources assigned a tag with a specific key, regardless of the tag value.

    - *
  • volume-id - The volume ID.

  • + *

  • fast-restored - Indicates whether the volume was + * created from a snapshot that is enabled for fast snapshot restore + * (true | false).

  • + * multi-attach-enabled - Indicates whether the volume is enabled for + * Multi-Attach (true | false)

  • + * operator.managed - A Boolean that indicates whether this is a + * managed volume.

  • operator.principal - The + * principal that manages the volume. Only valid for managed volumes, where + * managed is true.

  • size + * - The size of the volume, in GiB.

  • snapshot-id - + * The snapshot from which the volume was created.

  • + * status - The state of the volume (creating | + * available | in-use | deleting | + * deleted | error).

  • + * tag:<key> - The key/value combination of a tag assigned to + * the resource. Use the tag key in the filter name and the tag value as the filter + * value. For example, to find all resources that have a tag with the key + * Owner and the value TeamA, specify + * tag:Owner for the filter name and TeamA for the filter + * value.

  • tag-key - The key of a tag assigned to + * the resource. Use this filter to find all resources assigned a tag with a + * specific key, regardless of the tag value.

  • + * volume-id - The volume ID.

  • * volume-type - The Amazon EBS volume type (gp2 | * gp3 | io1 | io2 | st1 | * sc1| standard)

  • diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointConnectionsRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointConnectionsRequest.h index 8b1b0885a32..b9a1055c8a0 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointConnectionsRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointConnectionsRequest.h @@ -57,8 +57,10 @@ namespace Model * type (ipv4 | ipv6).

  • * service-id - The ID of the service.

  • * vpc-endpoint-owner - The ID of the Amazon Web Services account ID - * that owns the endpoint.

  • vpc-endpoint-state - The - * state of the endpoint (pendingAcceptance | pending | + * that owns the endpoint.

  • vpc-endpoint-region - + * The Region of the endpoint or cross-region to find endpoints for + * other Regions.

  • vpc-endpoint-state - The state of + * the endpoint (pendingAcceptance | pending | * available | deleting | deleted | * rejected | failed).

  • * vpc-endpoint-id - The ID of the endpoint.

  • diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointServicesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointServicesRequest.h index a3f10d33f7c..e48ae15d720 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointServicesRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointServicesRequest.h @@ -71,6 +71,7 @@ namespace Model *

    The filters.

    • owner - The ID or alias of the * Amazon Web Services account that owns the service.

    • * service-name - The name of the service.

    • + * service-region - The Region of the service.

    • * service-type - The type of service (Interface | * Gateway | GatewayLoadBalancer).

    • * supported-ip-address-types - The IP address type (ipv4 @@ -121,6 +122,21 @@ namespace Model inline DescribeVpcEndpointServicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline DescribeVpcEndpointServicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + + ///@{ + /** + *

      The service Regions.

      + */ + inline const Aws::Vector& GetServiceRegions() const{ return m_serviceRegions; } + inline bool ServiceRegionsHasBeenSet() const { return m_serviceRegionsHasBeenSet; } + inline void SetServiceRegions(const Aws::Vector& value) { m_serviceRegionsHasBeenSet = true; m_serviceRegions = value; } + inline void SetServiceRegions(Aws::Vector&& value) { m_serviceRegionsHasBeenSet = true; m_serviceRegions = std::move(value); } + inline DescribeVpcEndpointServicesRequest& WithServiceRegions(const Aws::Vector& value) { SetServiceRegions(value); return *this;} + inline DescribeVpcEndpointServicesRequest& WithServiceRegions(Aws::Vector&& value) { SetServiceRegions(std::move(value)); return *this;} + inline DescribeVpcEndpointServicesRequest& AddServiceRegions(const Aws::String& value) { m_serviceRegionsHasBeenSet = true; m_serviceRegions.push_back(value); return *this; } + inline DescribeVpcEndpointServicesRequest& AddServiceRegions(Aws::String&& value) { m_serviceRegionsHasBeenSet = true; m_serviceRegions.push_back(std::move(value)); return *this; } + inline DescribeVpcEndpointServicesRequest& AddServiceRegions(const char* value) { m_serviceRegionsHasBeenSet = true; m_serviceRegions.push_back(value); return *this; } + ///@} private: bool m_dryRun; @@ -137,6 +153,9 @@ namespace Model Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + Aws::Vector m_serviceRegions; + bool m_serviceRegionsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointsRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointsRequest.h index 9b4f68d8a39..85d3a475662 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointsRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointsRequest.h @@ -71,6 +71,7 @@ namespace Model *

      The filters.

      • ip-address-type - The IP address * type (ipv4 | ipv6).

      • * service-name - The name of the service.

      • + * service-region - The Region of the service.

      • * tag:<key> - The key/value combination of a tag assigned to * the resource. Use the tag key in the filter name and the tag value as the filter * value. For example, to find all resources that have a tag with the key diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceRequirements.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceRequirements.h index 0a14c6cef69..c9f1d88cbf9 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceRequirements.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceRequirements.h @@ -119,10 +119,11 @@ namespace Model * Intel CPUs, specify intel.

      • For instance types * with AMD CPUs, specify amd.

      • For instance types * with Amazon Web Services CPUs, specify amazon-web-services.

        - *

      Don't confuse the CPU manufacturer with the CPU - * architecture. Instances will be launched with a compatible CPU architecture - * based on the Amazon Machine Image (AMI) that you specify in your launch - * template.

      Default: Any manufacturer

      + *
    • For instance types with Apple CPUs, specify + * apple.

    Don't confuse the CPU manufacturer + * with the CPU architecture. Instances will be launched with a compatible CPU + * architecture based on the Amazon Machine Image (AMI) that you specify in your + * launch template.

    Default: Any manufacturer

    */ inline const Aws::Vector& GetCpuManufacturers() const{ return m_cpuManufacturers; } inline bool CpuManufacturersHasBeenSet() const { return m_cpuManufacturersHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceRequirementsRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceRequirementsRequest.h index 518a3d57240..daeabb1aa1c 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceRequirementsRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceRequirementsRequest.h @@ -118,10 +118,11 @@ namespace Model * Intel CPUs, specify intel.

  • For instance types * with AMD CPUs, specify amd.

  • For instance types * with Amazon Web Services CPUs, specify amazon-web-services.

    - *
  • Don't confuse the CPU manufacturer with the CPU - * architecture. Instances will be launched with a compatible CPU architecture - * based on the Amazon Machine Image (AMI) that you specify in your launch - * template.

    Default: Any manufacturer

    + *
  • For instance types with Apple CPUs, specify + * apple.

  • Don't confuse the CPU manufacturer + * with the CPU architecture. Instances will be launched with a compatible CPU + * architecture based on the Amazon Machine Image (AMI) that you specify in your + * launch template.

    Default: Any manufacturer

    */ inline const Aws::Vector& GetCpuManufacturers() const{ return m_cpuManufacturers; } inline bool CpuManufacturersHasBeenSet() const { return m_cpuManufacturersHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateCapacityReservationSpecificationRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateCapacityReservationSpecificationRequest.h index 1ffa119ffce..cf151db9e98 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateCapacityReservationSpecificationRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateCapacityReservationSpecificationRequest.h @@ -50,11 +50,14 @@ namespace Model ///@{ /** *

    Indicates the instance's Capacity Reservation preferences. Possible - * preferences include:

    • open - The instance can run - * in any open Capacity Reservation that has matching attributes - * (instance type, platform, Availability Zone).

    • - * none - The instance avoids running in a Capacity Reservation even - * if one is available. The instance runs in On-Demand capacity.

    + * preferences include:

    • capacity-reservations-only - + * The instance will only run in a Capacity Reservation or Capacity Reservation + * group. If capacity isn't available, the instance will fail to launch.

    • + *
    • open - The instance can run in any open + * Capacity Reservation that has matching attributes (instance type, platform, + * Availability Zone, tenancy).

    • none - The instance + * avoids running in a Capacity Reservation even if one is available. The instance + * runs in On-Demand capacity.

    */ inline const CapacityReservationPreference& GetCapacityReservationPreference() const{ return m_capacityReservationPreference; } inline bool CapacityReservationPreferenceHasBeenSet() const { return m_capacityReservationPreferenceHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyVpcEndpointServiceConfigurationRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyVpcEndpointServiceConfigurationRequest.h index ba83e6a0c50..c193f1e1ca3 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyVpcEndpointServiceConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyVpcEndpointServiceConfigurationRequest.h @@ -92,7 +92,7 @@ namespace Model ///@{ /** - *

    Indicates whether requests to create an endpoint to your service must be + *

    Indicates whether requests to create an endpoint to the service must be * accepted.

    */ inline bool GetAcceptanceRequired() const{ return m_acceptanceRequired; } @@ -103,7 +103,7 @@ namespace Model ///@{ /** - *

    The Amazon Resource Names (ARNs) of Network Load Balancers to add to your + *

    The Amazon Resource Names (ARNs) of Network Load Balancers to add to the * service configuration.

    */ inline const Aws::Vector& GetAddNetworkLoadBalancerArns() const{ return m_addNetworkLoadBalancerArns; } @@ -119,8 +119,8 @@ namespace Model ///@{ /** - *

    The Amazon Resource Names (ARNs) of Network Load Balancers to remove from - * your service configuration.

    + *

    The Amazon Resource Names (ARNs) of Network Load Balancers to remove from the + * service configuration.

    */ inline const Aws::Vector& GetRemoveNetworkLoadBalancerArns() const{ return m_removeNetworkLoadBalancerArns; } inline bool RemoveNetworkLoadBalancerArnsHasBeenSet() const { return m_removeNetworkLoadBalancerArnsHasBeenSet; } @@ -135,7 +135,7 @@ namespace Model ///@{ /** - *

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your + *

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to the * service configuration.

    */ inline const Aws::Vector& GetAddGatewayLoadBalancerArns() const{ return m_addGatewayLoadBalancerArns; } @@ -151,8 +151,8 @@ namespace Model ///@{ /** - *

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from - * your service configuration.

    + *

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from the + * service configuration.

    */ inline const Aws::Vector& GetRemoveGatewayLoadBalancerArns() const{ return m_removeGatewayLoadBalancerArns; } inline bool RemoveGatewayLoadBalancerArnsHasBeenSet() const { return m_removeGatewayLoadBalancerArnsHasBeenSet; } @@ -167,7 +167,7 @@ namespace Model ///@{ /** - *

    The IP address types to add to your service configuration.

    + *

    The IP address types to add to the service configuration.

    */ inline const Aws::Vector& GetAddSupportedIpAddressTypes() const{ return m_addSupportedIpAddressTypes; } inline bool AddSupportedIpAddressTypesHasBeenSet() const { return m_addSupportedIpAddressTypesHasBeenSet; } @@ -182,7 +182,7 @@ namespace Model ///@{ /** - *

    The IP address types to remove from your service configuration.

    + *

    The IP address types to remove from the service configuration.

    */ inline const Aws::Vector& GetRemoveSupportedIpAddressTypes() const{ return m_removeSupportedIpAddressTypes; } inline bool RemoveSupportedIpAddressTypesHasBeenSet() const { return m_removeSupportedIpAddressTypesHasBeenSet; } @@ -194,6 +194,36 @@ namespace Model inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveSupportedIpAddressTypes(Aws::String&& value) { m_removeSupportedIpAddressTypesHasBeenSet = true; m_removeSupportedIpAddressTypes.push_back(std::move(value)); return *this; } inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveSupportedIpAddressTypes(const char* value) { m_removeSupportedIpAddressTypesHasBeenSet = true; m_removeSupportedIpAddressTypes.push_back(value); return *this; } ///@} + + ///@{ + /** + *

    The supported Regions to add to the service configuration.

    + */ + inline const Aws::Vector& GetAddSupportedRegions() const{ return m_addSupportedRegions; } + inline bool AddSupportedRegionsHasBeenSet() const { return m_addSupportedRegionsHasBeenSet; } + inline void SetAddSupportedRegions(const Aws::Vector& value) { m_addSupportedRegionsHasBeenSet = true; m_addSupportedRegions = value; } + inline void SetAddSupportedRegions(Aws::Vector&& value) { m_addSupportedRegionsHasBeenSet = true; m_addSupportedRegions = std::move(value); } + inline ModifyVpcEndpointServiceConfigurationRequest& WithAddSupportedRegions(const Aws::Vector& value) { SetAddSupportedRegions(value); return *this;} + inline ModifyVpcEndpointServiceConfigurationRequest& WithAddSupportedRegions(Aws::Vector&& value) { SetAddSupportedRegions(std::move(value)); return *this;} + inline ModifyVpcEndpointServiceConfigurationRequest& AddAddSupportedRegions(const Aws::String& value) { m_addSupportedRegionsHasBeenSet = true; m_addSupportedRegions.push_back(value); return *this; } + inline ModifyVpcEndpointServiceConfigurationRequest& AddAddSupportedRegions(Aws::String&& value) { m_addSupportedRegionsHasBeenSet = true; m_addSupportedRegions.push_back(std::move(value)); return *this; } + inline ModifyVpcEndpointServiceConfigurationRequest& AddAddSupportedRegions(const char* value) { m_addSupportedRegionsHasBeenSet = true; m_addSupportedRegions.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The supported Regions to remove from the service configuration.

    + */ + inline const Aws::Vector& GetRemoveSupportedRegions() const{ return m_removeSupportedRegions; } + inline bool RemoveSupportedRegionsHasBeenSet() const { return m_removeSupportedRegionsHasBeenSet; } + inline void SetRemoveSupportedRegions(const Aws::Vector& value) { m_removeSupportedRegionsHasBeenSet = true; m_removeSupportedRegions = value; } + inline void SetRemoveSupportedRegions(Aws::Vector&& value) { m_removeSupportedRegionsHasBeenSet = true; m_removeSupportedRegions = std::move(value); } + inline ModifyVpcEndpointServiceConfigurationRequest& WithRemoveSupportedRegions(const Aws::Vector& value) { SetRemoveSupportedRegions(value); return *this;} + inline ModifyVpcEndpointServiceConfigurationRequest& WithRemoveSupportedRegions(Aws::Vector&& value) { SetRemoveSupportedRegions(std::move(value)); return *this;} + inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveSupportedRegions(const Aws::String& value) { m_removeSupportedRegionsHasBeenSet = true; m_removeSupportedRegions.push_back(value); return *this; } + inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveSupportedRegions(Aws::String&& value) { m_removeSupportedRegionsHasBeenSet = true; m_removeSupportedRegions.push_back(std::move(value)); return *this; } + inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveSupportedRegions(const char* value) { m_removeSupportedRegionsHasBeenSet = true; m_removeSupportedRegions.push_back(value); return *this; } + ///@} private: bool m_dryRun; @@ -228,6 +258,12 @@ namespace Model Aws::Vector m_removeSupportedIpAddressTypes; bool m_removeSupportedIpAddressTypesHasBeenSet = false; + + Aws::Vector m_addSupportedRegions; + bool m_addSupportedRegionsHasBeenSet = false; + + Aws::Vector m_removeSupportedRegions; + bool m_removeSupportedRegionsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ServiceConfiguration.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ServiceConfiguration.h index 8770b5952e4..675bdcacbc1 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ServiceConfiguration.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ServiceConfiguration.h @@ -14,6 +14,7 @@ #include #include #include +#include #include namespace Aws @@ -250,6 +251,31 @@ namespace Model inline ServiceConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } inline ServiceConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } ///@} + + ///@{ + /** + *

    The supported Regions.

    + */ + inline const Aws::Vector& GetSupportedRegions() const{ return m_supportedRegions; } + inline bool SupportedRegionsHasBeenSet() const { return m_supportedRegionsHasBeenSet; } + inline void SetSupportedRegions(const Aws::Vector& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions = value; } + inline void SetSupportedRegions(Aws::Vector&& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions = std::move(value); } + inline ServiceConfiguration& WithSupportedRegions(const Aws::Vector& value) { SetSupportedRegions(value); return *this;} + inline ServiceConfiguration& WithSupportedRegions(Aws::Vector&& value) { SetSupportedRegions(std::move(value)); return *this;} + inline ServiceConfiguration& AddSupportedRegions(const SupportedRegionDetail& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions.push_back(value); return *this; } + inline ServiceConfiguration& AddSupportedRegions(SupportedRegionDetail&& value) { m_supportedRegionsHasBeenSet = true; m_supportedRegions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Indicates whether consumers can access the service from a Region other than + * the Region where the service is hosted.

    + */ + inline bool GetRemoteAccessEnabled() const{ return m_remoteAccessEnabled; } + inline bool RemoteAccessEnabledHasBeenSet() const { return m_remoteAccessEnabledHasBeenSet; } + inline void SetRemoteAccessEnabled(bool value) { m_remoteAccessEnabledHasBeenSet = true; m_remoteAccessEnabled = value; } + inline ServiceConfiguration& WithRemoteAccessEnabled(bool value) { SetRemoteAccessEnabled(value); return *this;} + ///@} private: Aws::Vector m_serviceType; @@ -296,6 +322,12 @@ namespace Model Aws::Vector m_tags; bool m_tagsHasBeenSet = false; + + Aws::Vector m_supportedRegions; + bool m_supportedRegionsHasBeenSet = false; + + bool m_remoteAccessEnabled; + bool m_remoteAccessEnabledHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ServiceDetail.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ServiceDetail.h index 23061b4cb26..7920e1c50fe 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ServiceDetail.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ServiceDetail.h @@ -88,6 +88,20 @@ namespace Model inline ServiceDetail& AddServiceType(ServiceTypeDetail&& value) { m_serviceTypeHasBeenSet = true; m_serviceType.push_back(std::move(value)); return *this; } ///@} + ///@{ + /** + *

    The Region where the service is hosted.

    + */ + inline const Aws::String& GetServiceRegion() const{ return m_serviceRegion; } + inline bool ServiceRegionHasBeenSet() const { return m_serviceRegionHasBeenSet; } + inline void SetServiceRegion(const Aws::String& value) { m_serviceRegionHasBeenSet = true; m_serviceRegion = value; } + inline void SetServiceRegion(Aws::String&& value) { m_serviceRegionHasBeenSet = true; m_serviceRegion = std::move(value); } + inline void SetServiceRegion(const char* value) { m_serviceRegionHasBeenSet = true; m_serviceRegion.assign(value); } + inline ServiceDetail& WithServiceRegion(const Aws::String& value) { SetServiceRegion(value); return *this;} + inline ServiceDetail& WithServiceRegion(Aws::String&& value) { SetServiceRegion(std::move(value)); return *this;} + inline ServiceDetail& WithServiceRegion(const char* value) { SetServiceRegion(value); return *this;} + ///@} + ///@{ /** *

    The Availability Zones in which the service is available.

    @@ -256,6 +270,9 @@ namespace Model Aws::Vector m_serviceType; bool m_serviceTypeHasBeenSet = false; + Aws::String m_serviceRegion; + bool m_serviceRegionHasBeenSet = false; + Aws::Vector m_availabilityZones; bool m_availabilityZonesHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/Snapshot.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/Snapshot.h index bb644008172..9bcbf7366db 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/Snapshot.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/Snapshot.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -134,6 +135,49 @@ namespace Model inline Snapshot& WithSseType(SSEType&& value) { SetSseType(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    Only for snapshot copies.

    Indicates whether the + * snapshot copy was created with a standard or time-based snapshot copy operation. + * Time-based snapshot copy operations complete within the completion duration + * specified in the request. Standard snapshot copy operations are completed on a + * best-effort basis.

    • standard - The snapshot copy + * was created with a standard snapshot copy operation.

    • + * time-based - The snapshot copy was created with a time-based + * snapshot copy operation.

    + */ + inline const TransferType& GetTransferType() const{ return m_transferType; } + inline bool TransferTypeHasBeenSet() const { return m_transferTypeHasBeenSet; } + inline void SetTransferType(const TransferType& value) { m_transferTypeHasBeenSet = true; m_transferType = value; } + inline void SetTransferType(TransferType&& value) { m_transferTypeHasBeenSet = true; m_transferType = std::move(value); } + inline Snapshot& WithTransferType(const TransferType& value) { SetTransferType(value); return *this;} + inline Snapshot& WithTransferType(TransferType&& value) { SetTransferType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Only for snapshot copies created with time-based snapshot copy + * operations.

    The completion duration requested for the time-based + * snapshot copy operation.

    + */ + inline int GetCompletionDurationMinutes() const{ return m_completionDurationMinutes; } + inline bool CompletionDurationMinutesHasBeenSet() const { return m_completionDurationMinutesHasBeenSet; } + inline void SetCompletionDurationMinutes(int value) { m_completionDurationMinutesHasBeenSet = true; m_completionDurationMinutes = value; } + inline Snapshot& WithCompletionDurationMinutes(int value) { SetCompletionDurationMinutes(value); return *this;} + ///@} + + ///@{ + /** + *

    The time stamp when the snapshot was completed.

    + */ + inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } + inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } + inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } + inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } + inline Snapshot& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} + inline Snapshot& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The ID of the snapshot. Each snapshot receives a unique identifier when it is @@ -330,6 +374,15 @@ namespace Model SSEType m_sseType; bool m_sseTypeHasBeenSet = false; + TransferType m_transferType; + bool m_transferTypeHasBeenSet = false; + + int m_completionDurationMinutes; + bool m_completionDurationMinutesHasBeenSet = false; + + Aws::Utils::DateTime m_completionTime; + bool m_completionTimeHasBeenSet = false; + Aws::String m_snapshotId; bool m_snapshotIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SupportedRegionDetail.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SupportedRegionDetail.h new file mode 100644 index 00000000000..830ba055f02 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SupportedRegionDetail.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace EC2 +{ +namespace Model +{ + + /** + *

    Describes a supported Region.

    See Also:

    AWS + * API Reference

    + */ + class SupportedRegionDetail + { + public: + AWS_EC2_API SupportedRegionDetail(); + AWS_EC2_API SupportedRegionDetail(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_EC2_API SupportedRegionDetail& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; + AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; + + + ///@{ + /** + *

    The Region code.

    + */ + inline const Aws::String& GetRegion() const{ return m_region; } + inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } + inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } + inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } + inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } + inline SupportedRegionDetail& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} + inline SupportedRegionDetail& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} + inline SupportedRegionDetail& WithRegion(const char* value) { SetRegion(value); return *this;} + ///@} + + ///@{ + /** + *

    The service state. The possible values are Pending, + * Available, Deleting, Deleted, + * Failed, and Closed.

    + */ + inline const Aws::String& GetServiceState() const{ return m_serviceState; } + inline bool ServiceStateHasBeenSet() const { return m_serviceStateHasBeenSet; } + inline void SetServiceState(const Aws::String& value) { m_serviceStateHasBeenSet = true; m_serviceState = value; } + inline void SetServiceState(Aws::String&& value) { m_serviceStateHasBeenSet = true; m_serviceState = std::move(value); } + inline void SetServiceState(const char* value) { m_serviceStateHasBeenSet = true; m_serviceState.assign(value); } + inline SupportedRegionDetail& WithServiceState(const Aws::String& value) { SetServiceState(value); return *this;} + inline SupportedRegionDetail& WithServiceState(Aws::String&& value) { SetServiceState(std::move(value)); return *this;} + inline SupportedRegionDetail& WithServiceState(const char* value) { SetServiceState(value); return *this;} + ///@} + private: + + Aws::String m_region; + bool m_regionHasBeenSet = false; + + Aws::String m_serviceState; + bool m_serviceStateHasBeenSet = false; + }; + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransferType.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransferType.h new file mode 100644 index 00000000000..6f1f4773aa4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransferType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace EC2 +{ +namespace Model +{ + enum class TransferType + { + NOT_SET, + time_based, + standard + }; + +namespace TransferTypeMapper +{ +AWS_EC2_API TransferType GetTransferTypeForName(const Aws::String& name); + +AWS_EC2_API Aws::String GetNameForTransferType(TransferType value); +} // namespace TransferTypeMapper +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VpcEndpoint.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VpcEndpoint.h index 2339ca3c8b0..3f101837218 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VpcEndpoint.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VpcEndpoint.h @@ -300,6 +300,20 @@ namespace Model inline VpcEndpoint& WithLastError(const LastError& value) { SetLastError(value); return *this;} inline VpcEndpoint& WithLastError(LastError&& value) { SetLastError(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The Region where the service is hosted.

    + */ + inline const Aws::String& GetServiceRegion() const{ return m_serviceRegion; } + inline bool ServiceRegionHasBeenSet() const { return m_serviceRegionHasBeenSet; } + inline void SetServiceRegion(const Aws::String& value) { m_serviceRegionHasBeenSet = true; m_serviceRegion = value; } + inline void SetServiceRegion(Aws::String&& value) { m_serviceRegionHasBeenSet = true; m_serviceRegion = std::move(value); } + inline void SetServiceRegion(const char* value) { m_serviceRegionHasBeenSet = true; m_serviceRegion.assign(value); } + inline VpcEndpoint& WithServiceRegion(const Aws::String& value) { SetServiceRegion(value); return *this;} + inline VpcEndpoint& WithServiceRegion(Aws::String&& value) { SetServiceRegion(std::move(value)); return *this;} + inline VpcEndpoint& WithServiceRegion(const char* value) { SetServiceRegion(value); return *this;} + ///@} private: Aws::String m_vpcEndpointId; @@ -358,6 +372,9 @@ namespace Model LastError m_lastError; bool m_lastErrorHasBeenSet = false; + + Aws::String m_serviceRegion; + bool m_serviceRegionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VpcEndpointConnection.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VpcEndpointConnection.h index 66035cd56e0..413359d6a53 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VpcEndpointConnection.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VpcEndpointConnection.h @@ -197,6 +197,20 @@ namespace Model inline VpcEndpointConnection& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } inline VpcEndpointConnection& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } ///@} + + ///@{ + /** + *

    The Region of the endpoint.

    + */ + inline const Aws::String& GetVpcEndpointRegion() const{ return m_vpcEndpointRegion; } + inline bool VpcEndpointRegionHasBeenSet() const { return m_vpcEndpointRegionHasBeenSet; } + inline void SetVpcEndpointRegion(const Aws::String& value) { m_vpcEndpointRegionHasBeenSet = true; m_vpcEndpointRegion = value; } + inline void SetVpcEndpointRegion(Aws::String&& value) { m_vpcEndpointRegionHasBeenSet = true; m_vpcEndpointRegion = std::move(value); } + inline void SetVpcEndpointRegion(const char* value) { m_vpcEndpointRegionHasBeenSet = true; m_vpcEndpointRegion.assign(value); } + inline VpcEndpointConnection& WithVpcEndpointRegion(const Aws::String& value) { SetVpcEndpointRegion(value); return *this;} + inline VpcEndpointConnection& WithVpcEndpointRegion(Aws::String&& value) { SetVpcEndpointRegion(std::move(value)); return *this;} + inline VpcEndpointConnection& WithVpcEndpointRegion(const char* value) { SetVpcEndpointRegion(value); return *this;} + ///@} private: Aws::String m_serviceId; @@ -231,6 +245,9 @@ namespace Model Aws::Vector m_tags; bool m_tagsHasBeenSet = false; + + Aws::String m_vpcEndpointRegion; + bool m_vpcEndpointRegionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/ConnectionNotification.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/ConnectionNotification.cpp index fc4c666414a..053dac2f1e2 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/ConnectionNotification.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/ConnectionNotification.cpp @@ -29,7 +29,8 @@ ConnectionNotification::ConnectionNotification() : m_connectionNotificationArnHasBeenSet(false), m_connectionEventsHasBeenSet(false), m_connectionNotificationState(ConnectionNotificationState::NOT_SET), - m_connectionNotificationStateHasBeenSet(false) + m_connectionNotificationStateHasBeenSet(false), + m_serviceRegionHasBeenSet(false) { } @@ -93,6 +94,12 @@ ConnectionNotification& ConnectionNotification::operator =(const XmlNode& xmlNod m_connectionNotificationState = ConnectionNotificationStateMapper::GetConnectionNotificationStateForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(connectionNotificationStateNode.GetText()).c_str()).c_str()); m_connectionNotificationStateHasBeenSet = true; } + XmlNode serviceRegionNode = resultNode.FirstChild("serviceRegion"); + if(!serviceRegionNode.IsNull()) + { + m_serviceRegion = Aws::Utils::Xml::DecodeEscapedXmlText(serviceRegionNode.GetText()); + m_serviceRegionHasBeenSet = true; + } } return *this; @@ -139,6 +146,11 @@ void ConnectionNotification::OutputToStream(Aws::OStream& oStream, const char* l oStream << location << index << locationValue << ".ConnectionNotificationState=" << ConnectionNotificationStateMapper::GetNameForConnectionNotificationState(m_connectionNotificationState) << "&"; } + if(m_serviceRegionHasBeenSet) + { + oStream << location << index << locationValue << ".ServiceRegion=" << StringUtils::URLEncode(m_serviceRegion.c_str()) << "&"; + } + } void ConnectionNotification::OutputToStream(Aws::OStream& oStream, const char* location) const @@ -175,6 +187,10 @@ void ConnectionNotification::OutputToStream(Aws::OStream& oStream, const char* l { oStream << location << ".ConnectionNotificationState=" << ConnectionNotificationStateMapper::GetNameForConnectionNotificationState(m_connectionNotificationState) << "&"; } + if(m_serviceRegionHasBeenSet) + { + oStream << location << ".ServiceRegion=" << StringUtils::URLEncode(m_serviceRegion.c_str()) << "&"; + } } } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/CopySnapshotRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/CopySnapshotRequest.cpp index 2b3fda31140..485929b62cf 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/CopySnapshotRequest.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/CopySnapshotRequest.cpp @@ -21,6 +21,8 @@ CopySnapshotRequest::CopySnapshotRequest() : m_sourceRegionHasBeenSet(false), m_sourceSnapshotIdHasBeenSet(false), m_tagSpecificationsHasBeenSet(false), + m_completionDurationMinutes(0), + m_completionDurationMinutesHasBeenSet(false), m_dryRun(false), m_dryRunHasBeenSet(false) { @@ -75,6 +77,11 @@ Aws::String CopySnapshotRequest::SerializePayload() const } } + if(m_completionDurationMinutesHasBeenSet) + { + ss << "CompletionDurationMinutes=" << m_completionDurationMinutes << "&"; + } + if(m_dryRunHasBeenSet) { ss << "DryRun=" << std::boolalpha << m_dryRun << "&"; diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/CreateSnapshotResponse.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/CreateSnapshotResponse.cpp index 1d306b92e4a..bd33e81851b 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/CreateSnapshotResponse.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/CreateSnapshotResponse.cpp @@ -20,6 +20,8 @@ using namespace Aws; CreateSnapshotResponse::CreateSnapshotResponse() : m_storageTier(StorageTier::NOT_SET), m_sseType(SSEType::NOT_SET), + m_transferType(TransferType::NOT_SET), + m_completionDurationMinutes(0), m_state(SnapshotState::NOT_SET), m_volumeSize(0), m_encrypted(false) @@ -80,6 +82,21 @@ CreateSnapshotResponse& CreateSnapshotResponse::operator =(const Aws::AmazonWebS { m_sseType = SSETypeMapper::GetSSETypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(sseTypeNode.GetText()).c_str()).c_str()); } + XmlNode transferTypeNode = resultNode.FirstChild("transferType"); + if(!transferTypeNode.IsNull()) + { + m_transferType = TransferTypeMapper::GetTransferTypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(transferTypeNode.GetText()).c_str()).c_str()); + } + XmlNode completionDurationMinutesNode = resultNode.FirstChild("completionDurationMinutes"); + if(!completionDurationMinutesNode.IsNull()) + { + m_completionDurationMinutes = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(completionDurationMinutesNode.GetText()).c_str()).c_str()); + } + XmlNode completionTimeNode = resultNode.FirstChild("completionTime"); + if(!completionTimeNode.IsNull()) + { + m_completionTime = DateTime(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(completionTimeNode.GetText()).c_str()).c_str(), Aws::Utils::DateFormat::ISO_8601); + } XmlNode snapshotIdNode = resultNode.FirstChild("snapshotId"); if(!snapshotIdNode.IsNull()) { diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/CreateVpcEndpointRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/CreateVpcEndpointRequest.cpp index 195ed44993f..51bf341269a 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/CreateVpcEndpointRequest.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/CreateVpcEndpointRequest.cpp @@ -28,7 +28,8 @@ CreateVpcEndpointRequest::CreateVpcEndpointRequest() : m_privateDnsEnabled(false), m_privateDnsEnabledHasBeenSet(false), m_tagSpecificationsHasBeenSet(false), - m_subnetConfigurationsHasBeenSet(false) + m_subnetConfigurationsHasBeenSet(false), + m_serviceRegionHasBeenSet(false) { } @@ -134,6 +135,11 @@ Aws::String CreateVpcEndpointRequest::SerializePayload() const } } + if(m_serviceRegionHasBeenSet) + { + ss << "ServiceRegion=" << StringUtils::URLEncode(m_serviceRegion.c_str()) << "&"; + } + ss << "Version=2016-11-15"; return ss.str(); } diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/CreateVpcEndpointServiceConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/CreateVpcEndpointServiceConfigurationRequest.cpp index 733d553b5f7..82eca0d9e3c 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/CreateVpcEndpointServiceConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/CreateVpcEndpointServiceConfigurationRequest.cpp @@ -19,6 +19,7 @@ CreateVpcEndpointServiceConfigurationRequest::CreateVpcEndpointServiceConfigurat m_networkLoadBalancerArnsHasBeenSet(false), m_gatewayLoadBalancerArnsHasBeenSet(false), m_supportedIpAddressTypesHasBeenSet(false), + m_supportedRegionsHasBeenSet(false), m_clientTokenHasBeenSet(false), m_tagSpecificationsHasBeenSet(false) { @@ -76,6 +77,17 @@ Aws::String CreateVpcEndpointServiceConfigurationRequest::SerializePayload() con } } + if(m_supportedRegionsHasBeenSet) + { + unsigned supportedRegionsCount = 1; + for(auto& item : m_supportedRegions) + { + ss << "SupportedRegion." << supportedRegionsCount << "=" + << StringUtils::URLEncode(item.c_str()) << "&"; + supportedRegionsCount++; + } + } + if(m_clientTokenHasBeenSet) { ss << "ClientToken=" << StringUtils::URLEncode(m_clientToken.c_str()) << "&"; diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/DescribeVpcEndpointServicesRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/DescribeVpcEndpointServicesRequest.cpp index a47406b4807..e5341cb6cd0 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/DescribeVpcEndpointServicesRequest.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/DescribeVpcEndpointServicesRequest.cpp @@ -17,7 +17,8 @@ DescribeVpcEndpointServicesRequest::DescribeVpcEndpointServicesRequest() : m_filtersHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_nextTokenHasBeenSet(false), + m_serviceRegionsHasBeenSet(false) { } @@ -61,6 +62,17 @@ Aws::String DescribeVpcEndpointServicesRequest::SerializePayload() const ss << "NextToken=" << StringUtils::URLEncode(m_nextToken.c_str()) << "&"; } + if(m_serviceRegionsHasBeenSet) + { + unsigned serviceRegionsCount = 1; + for(auto& item : m_serviceRegions) + { + ss << "ServiceRegion." << serviceRegionsCount << "=" + << StringUtils::URLEncode(item.c_str()) << "&"; + serviceRegionsCount++; + } + } + ss << "Version=2016-11-15"; return ss.str(); } diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/ModifyVpcEndpointServiceConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/ModifyVpcEndpointServiceConfigurationRequest.cpp index e210f255f35..d84a3e18658 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/ModifyVpcEndpointServiceConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/ModifyVpcEndpointServiceConfigurationRequest.cpp @@ -24,7 +24,9 @@ ModifyVpcEndpointServiceConfigurationRequest::ModifyVpcEndpointServiceConfigurat m_addGatewayLoadBalancerArnsHasBeenSet(false), m_removeGatewayLoadBalancerArnsHasBeenSet(false), m_addSupportedIpAddressTypesHasBeenSet(false), - m_removeSupportedIpAddressTypesHasBeenSet(false) + m_removeSupportedIpAddressTypesHasBeenSet(false), + m_addSupportedRegionsHasBeenSet(false), + m_removeSupportedRegionsHasBeenSet(false) { } @@ -123,6 +125,28 @@ Aws::String ModifyVpcEndpointServiceConfigurationRequest::SerializePayload() con } } + if(m_addSupportedRegionsHasBeenSet) + { + unsigned addSupportedRegionsCount = 1; + for(auto& item : m_addSupportedRegions) + { + ss << "AddSupportedRegion." << addSupportedRegionsCount << "=" + << StringUtils::URLEncode(item.c_str()) << "&"; + addSupportedRegionsCount++; + } + } + + if(m_removeSupportedRegionsHasBeenSet) + { + unsigned removeSupportedRegionsCount = 1; + for(auto& item : m_removeSupportedRegions) + { + ss << "RemoveSupportedRegion." << removeSupportedRegionsCount << "=" + << StringUtils::URLEncode(item.c_str()) << "&"; + removeSupportedRegionsCount++; + } + } + ss << "Version=2016-11-15"; return ss.str(); } diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/ServiceConfiguration.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/ServiceConfiguration.cpp index d3282851eac..a9645cafa79 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/ServiceConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/ServiceConfiguration.cpp @@ -39,7 +39,10 @@ ServiceConfiguration::ServiceConfiguration() : m_privateDnsNameConfigurationHasBeenSet(false), m_payerResponsibility(PayerResponsibility::NOT_SET), m_payerResponsibilityHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_supportedRegionsHasBeenSet(false), + m_remoteAccessEnabled(false), + m_remoteAccessEnabledHasBeenSet(false) { } @@ -187,6 +190,24 @@ ServiceConfiguration& ServiceConfiguration::operator =(const XmlNode& xmlNode) m_tagsHasBeenSet = true; } + XmlNode supportedRegionsNode = resultNode.FirstChild("supportedRegionSet"); + if(!supportedRegionsNode.IsNull()) + { + XmlNode supportedRegionsMember = supportedRegionsNode.FirstChild("item"); + while(!supportedRegionsMember.IsNull()) + { + m_supportedRegions.push_back(supportedRegionsMember); + supportedRegionsMember = supportedRegionsMember.NextNode("item"); + } + + m_supportedRegionsHasBeenSet = true; + } + XmlNode remoteAccessEnabledNode = resultNode.FirstChild("remoteAccessEnabled"); + if(!remoteAccessEnabledNode.IsNull()) + { + m_remoteAccessEnabled = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(remoteAccessEnabledNode.GetText()).c_str()).c_str()); + m_remoteAccessEnabledHasBeenSet = true; + } } return *this; @@ -303,6 +324,22 @@ void ServiceConfiguration::OutputToStream(Aws::OStream& oStream, const char* loc } } + if(m_supportedRegionsHasBeenSet) + { + unsigned supportedRegionsIdx = 1; + for(auto& item : m_supportedRegions) + { + Aws::StringStream supportedRegionsSs; + supportedRegionsSs << location << index << locationValue << ".SupportedRegionSet." << supportedRegionsIdx++; + item.OutputToStream(oStream, supportedRegionsSs.str().c_str()); + } + } + + if(m_remoteAccessEnabledHasBeenSet) + { + oStream << location << index << locationValue << ".RemoteAccessEnabled=" << std::boolalpha << m_remoteAccessEnabled << "&"; + } + } void ServiceConfiguration::OutputToStream(Aws::OStream& oStream, const char* location) const @@ -401,6 +438,20 @@ void ServiceConfiguration::OutputToStream(Aws::OStream& oStream, const char* loc item.OutputToStream(oStream, tagsSs.str().c_str()); } } + if(m_supportedRegionsHasBeenSet) + { + unsigned supportedRegionsIdx = 1; + for(auto& item : m_supportedRegions) + { + Aws::StringStream supportedRegionsSs; + supportedRegionsSs << location << ".SupportedRegionSet." << supportedRegionsIdx++; + item.OutputToStream(oStream, supportedRegionsSs.str().c_str()); + } + } + if(m_remoteAccessEnabledHasBeenSet) + { + oStream << location << ".RemoteAccessEnabled=" << std::boolalpha << m_remoteAccessEnabled << "&"; + } } } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/ServiceDetail.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/ServiceDetail.cpp index 460479e0471..b24ff091884 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/ServiceDetail.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/ServiceDetail.cpp @@ -24,6 +24,7 @@ ServiceDetail::ServiceDetail() : m_serviceNameHasBeenSet(false), m_serviceIdHasBeenSet(false), m_serviceTypeHasBeenSet(false), + m_serviceRegionHasBeenSet(false), m_availabilityZonesHasBeenSet(false), m_ownerHasBeenSet(false), m_baseEndpointDnsNamesHasBeenSet(false), @@ -80,6 +81,12 @@ ServiceDetail& ServiceDetail::operator =(const XmlNode& xmlNode) m_serviceTypeHasBeenSet = true; } + XmlNode serviceRegionNode = resultNode.FirstChild("serviceRegion"); + if(!serviceRegionNode.IsNull()) + { + m_serviceRegion = Aws::Utils::Xml::DecodeEscapedXmlText(serviceRegionNode.GetText()); + m_serviceRegionHasBeenSet = true; + } XmlNode availabilityZonesNode = resultNode.FirstChild("availabilityZoneSet"); if(!availabilityZonesNode.IsNull()) { @@ -210,6 +217,11 @@ void ServiceDetail::OutputToStream(Aws::OStream& oStream, const char* location, } } + if(m_serviceRegionHasBeenSet) + { + oStream << location << index << locationValue << ".ServiceRegion=" << StringUtils::URLEncode(m_serviceRegion.c_str()) << "&"; + } + if(m_availabilityZonesHasBeenSet) { unsigned availabilityZonesIdx = 1; @@ -316,6 +328,10 @@ void ServiceDetail::OutputToStream(Aws::OStream& oStream, const char* location) item.OutputToStream(oStream, serviceTypeSs.str().c_str()); } } + if(m_serviceRegionHasBeenSet) + { + oStream << location << ".ServiceRegion=" << StringUtils::URLEncode(m_serviceRegion.c_str()) << "&"; + } if(m_availabilityZonesHasBeenSet) { unsigned availabilityZonesIdx = 1; diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/Snapshot.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/Snapshot.cpp index 3480d6776a1..572cd4f163e 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/Snapshot.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/Snapshot.cpp @@ -29,6 +29,11 @@ Snapshot::Snapshot() : m_restoreExpiryTimeHasBeenSet(false), m_sseType(SSEType::NOT_SET), m_sseTypeHasBeenSet(false), + m_transferType(TransferType::NOT_SET), + m_transferTypeHasBeenSet(false), + m_completionDurationMinutes(0), + m_completionDurationMinutesHasBeenSet(false), + m_completionTimeHasBeenSet(false), m_snapshotIdHasBeenSet(false), m_volumeIdHasBeenSet(false), m_state(SnapshotState::NOT_SET), @@ -101,6 +106,24 @@ Snapshot& Snapshot::operator =(const XmlNode& xmlNode) m_sseType = SSETypeMapper::GetSSETypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(sseTypeNode.GetText()).c_str()).c_str()); m_sseTypeHasBeenSet = true; } + XmlNode transferTypeNode = resultNode.FirstChild("transferType"); + if(!transferTypeNode.IsNull()) + { + m_transferType = TransferTypeMapper::GetTransferTypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(transferTypeNode.GetText()).c_str()).c_str()); + m_transferTypeHasBeenSet = true; + } + XmlNode completionDurationMinutesNode = resultNode.FirstChild("completionDurationMinutes"); + if(!completionDurationMinutesNode.IsNull()) + { + m_completionDurationMinutes = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(completionDurationMinutesNode.GetText()).c_str()).c_str()); + m_completionDurationMinutesHasBeenSet = true; + } + XmlNode completionTimeNode = resultNode.FirstChild("completionTime"); + if(!completionTimeNode.IsNull()) + { + m_completionTime = DateTime(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(completionTimeNode.GetText()).c_str()).c_str(), Aws::Utils::DateFormat::ISO_8601); + m_completionTimeHasBeenSet = true; + } XmlNode snapshotIdNode = resultNode.FirstChild("snapshotId"); if(!snapshotIdNode.IsNull()) { @@ -216,6 +239,21 @@ void Snapshot::OutputToStream(Aws::OStream& oStream, const char* location, unsig oStream << location << index << locationValue << ".SseType=" << SSETypeMapper::GetNameForSSEType(m_sseType) << "&"; } + if(m_transferTypeHasBeenSet) + { + oStream << location << index << locationValue << ".TransferType=" << TransferTypeMapper::GetNameForTransferType(m_transferType) << "&"; + } + + if(m_completionDurationMinutesHasBeenSet) + { + oStream << location << index << locationValue << ".CompletionDurationMinutes=" << m_completionDurationMinutes << "&"; + } + + if(m_completionTimeHasBeenSet) + { + oStream << location << index << locationValue << ".CompletionTime=" << StringUtils::URLEncode(m_completionTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601).c_str()) << "&"; + } + if(m_snapshotIdHasBeenSet) { oStream << location << index << locationValue << ".SnapshotId=" << StringUtils::URLEncode(m_snapshotId.c_str()) << "&"; @@ -313,6 +351,18 @@ void Snapshot::OutputToStream(Aws::OStream& oStream, const char* location) const { oStream << location << ".SseType=" << SSETypeMapper::GetNameForSSEType(m_sseType) << "&"; } + if(m_transferTypeHasBeenSet) + { + oStream << location << ".TransferType=" << TransferTypeMapper::GetNameForTransferType(m_transferType) << "&"; + } + if(m_completionDurationMinutesHasBeenSet) + { + oStream << location << ".CompletionDurationMinutes=" << m_completionDurationMinutes << "&"; + } + if(m_completionTimeHasBeenSet) + { + oStream << location << ".CompletionTime=" << StringUtils::URLEncode(m_completionTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601).c_str()) << "&"; + } if(m_snapshotIdHasBeenSet) { oStream << location << ".SnapshotId=" << StringUtils::URLEncode(m_snapshotId.c_str()) << "&"; diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/SupportedRegionDetail.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/SupportedRegionDetail.cpp new file mode 100644 index 00000000000..99b771b9625 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/SupportedRegionDetail.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace EC2 +{ +namespace Model +{ + +SupportedRegionDetail::SupportedRegionDetail() : + m_regionHasBeenSet(false), + m_serviceStateHasBeenSet(false) +{ +} + +SupportedRegionDetail::SupportedRegionDetail(const XmlNode& xmlNode) + : SupportedRegionDetail() +{ + *this = xmlNode; +} + +SupportedRegionDetail& SupportedRegionDetail::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode regionNode = resultNode.FirstChild("region"); + if(!regionNode.IsNull()) + { + m_region = Aws::Utils::Xml::DecodeEscapedXmlText(regionNode.GetText()); + m_regionHasBeenSet = true; + } + XmlNode serviceStateNode = resultNode.FirstChild("serviceState"); + if(!serviceStateNode.IsNull()) + { + m_serviceState = Aws::Utils::Xml::DecodeEscapedXmlText(serviceStateNode.GetText()); + m_serviceStateHasBeenSet = true; + } + } + + return *this; +} + +void SupportedRegionDetail::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const +{ + if(m_regionHasBeenSet) + { + oStream << location << index << locationValue << ".Region=" << StringUtils::URLEncode(m_region.c_str()) << "&"; + } + + if(m_serviceStateHasBeenSet) + { + oStream << location << index << locationValue << ".ServiceState=" << StringUtils::URLEncode(m_serviceState.c_str()) << "&"; + } + +} + +void SupportedRegionDetail::OutputToStream(Aws::OStream& oStream, const char* location) const +{ + if(m_regionHasBeenSet) + { + oStream << location << ".Region=" << StringUtils::URLEncode(m_region.c_str()) << "&"; + } + if(m_serviceStateHasBeenSet) + { + oStream << location << ".ServiceState=" << StringUtils::URLEncode(m_serviceState.c_str()) << "&"; + } +} + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/TransferType.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/TransferType.cpp new file mode 100644 index 00000000000..b9928689e23 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/TransferType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace EC2 + { + namespace Model + { + namespace TransferTypeMapper + { + + static const int time_based_HASH = HashingUtils::HashString("time-based"); + static const int standard_HASH = HashingUtils::HashString("standard"); + + + TransferType GetTransferTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == time_based_HASH) + { + return TransferType::time_based; + } + else if (hashCode == standard_HASH) + { + return TransferType::standard; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TransferType::NOT_SET; + } + + Aws::String GetNameForTransferType(TransferType enumValue) + { + switch(enumValue) + { + case TransferType::NOT_SET: + return {}; + case TransferType::time_based: + return "time-based"; + case TransferType::standard: + return "standard"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TransferTypeMapper + } // namespace Model + } // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/VpcEndpoint.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/VpcEndpoint.cpp index c5ae431c6cd..926c679af8f 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/VpcEndpoint.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/VpcEndpoint.cpp @@ -44,7 +44,8 @@ VpcEndpoint::VpcEndpoint() : m_creationTimestampHasBeenSet(false), m_tagsHasBeenSet(false), m_ownerIdHasBeenSet(false), - m_lastErrorHasBeenSet(false) + m_lastErrorHasBeenSet(false), + m_serviceRegionHasBeenSet(false) { } @@ -210,6 +211,12 @@ VpcEndpoint& VpcEndpoint::operator =(const XmlNode& xmlNode) m_lastError = lastErrorNode; m_lastErrorHasBeenSet = true; } + XmlNode serviceRegionNode = resultNode.FirstChild("serviceRegion"); + if(!serviceRegionNode.IsNull()) + { + m_serviceRegion = Aws::Utils::Xml::DecodeEscapedXmlText(serviceRegionNode.GetText()); + m_serviceRegionHasBeenSet = true; + } } return *this; @@ -346,6 +353,11 @@ void VpcEndpoint::OutputToStream(Aws::OStream& oStream, const char* location, un m_lastError.OutputToStream(oStream, lastErrorLocationAndMemberSs.str().c_str()); } + if(m_serviceRegionHasBeenSet) + { + oStream << location << index << locationValue << ".ServiceRegion=" << StringUtils::URLEncode(m_serviceRegion.c_str()) << "&"; + } + } void VpcEndpoint::OutputToStream(Aws::OStream& oStream, const char* location) const @@ -460,6 +472,10 @@ void VpcEndpoint::OutputToStream(Aws::OStream& oStream, const char* location) co lastErrorLocationAndMember += ".LastError"; m_lastError.OutputToStream(oStream, lastErrorLocationAndMember.c_str()); } + if(m_serviceRegionHasBeenSet) + { + oStream << location << ".ServiceRegion=" << StringUtils::URLEncode(m_serviceRegion.c_str()) << "&"; + } } } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/VpcEndpointConnection.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/VpcEndpointConnection.cpp index e9cc464f02e..afd359dfc86 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/VpcEndpointConnection.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/VpcEndpointConnection.cpp @@ -33,7 +33,8 @@ VpcEndpointConnection::VpcEndpointConnection() : m_ipAddressType(IpAddressType::NOT_SET), m_ipAddressTypeHasBeenSet(false), m_vpcEndpointConnectionIdHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_vpcEndpointRegionHasBeenSet(false) { } @@ -139,6 +140,12 @@ VpcEndpointConnection& VpcEndpointConnection::operator =(const XmlNode& xmlNode) m_tagsHasBeenSet = true; } + XmlNode vpcEndpointRegionNode = resultNode.FirstChild("vpcEndpointRegion"); + if(!vpcEndpointRegionNode.IsNull()) + { + m_vpcEndpointRegion = Aws::Utils::Xml::DecodeEscapedXmlText(vpcEndpointRegionNode.GetText()); + m_vpcEndpointRegionHasBeenSet = true; + } } return *this; @@ -221,6 +228,11 @@ void VpcEndpointConnection::OutputToStream(Aws::OStream& oStream, const char* lo } } + if(m_vpcEndpointRegionHasBeenSet) + { + oStream << location << index << locationValue << ".VpcEndpointRegion=" << StringUtils::URLEncode(m_vpcEndpointRegion.c_str()) << "&"; + } + } void VpcEndpointConnection::OutputToStream(Aws::OStream& oStream, const char* location) const @@ -289,6 +301,10 @@ void VpcEndpointConnection::OutputToStream(Aws::OStream& oStream, const char* lo item.OutputToStream(oStream, tagsSs.str().c_str()); } } + if(m_vpcEndpointRegionHasBeenSet) + { + oStream << location << ".VpcEndpointRegion=" << StringUtils::URLEncode(m_vpcEndpointRegion.c_str()) << "&"; + } } } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsClient.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsClient.h index 1dd9f6d8d07..fd8be9e4f8b 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsClient.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsClient.h @@ -260,6 +260,35 @@ namespace QApps return SubmitAsync(&QAppsClient::CreateLibraryItem, request, handler, context); } + /** + *

    Creates a presigned URL for an S3 POST operation to upload a file. You can + * use this URL to set a default file for a FileUploadCard in a Q App + * definition or to provide a file for a single Q App run. The scope + * parameter determines how the file will be used, either at the app definition + * level or the app session level.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreatePresignedUrlOutcome CreatePresignedUrl(const Model::CreatePresignedUrlRequest& request) const; + + /** + * A Callable wrapper for CreatePresignedUrl that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreatePresignedUrlOutcomeCallable CreatePresignedUrlCallable(const CreatePresignedUrlRequestT& request) const + { + return SubmitCallable(&QAppsClient::CreatePresignedUrl, request); + } + + /** + * An Async wrapper for CreatePresignedUrl that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreatePresignedUrlAsync(const CreatePresignedUrlRequestT& request, const CreatePresignedUrlResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QAppsClient::CreatePresignedUrl, request, handler, context); + } + /** *

    Creates a new Amazon Q App based on the provided definition. The Q App * definition specifies the cards and flow of the Q App. This operation also @@ -342,6 +371,32 @@ namespace QApps return SubmitAsync(&QAppsClient::DeleteQApp, request, handler, context); } + /** + *

    Describes read permissions for a Amazon Q App in Amazon Q Business + * application environment instance.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DescribeQAppPermissionsOutcome DescribeQAppPermissions(const Model::DescribeQAppPermissionsRequest& request) const; + + /** + * A Callable wrapper for DescribeQAppPermissions that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeQAppPermissionsOutcomeCallable DescribeQAppPermissionsCallable(const DescribeQAppPermissionsRequestT& request) const + { + return SubmitCallable(&QAppsClient::DescribeQAppPermissions, request); + } + + /** + * An Async wrapper for DescribeQAppPermissions that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeQAppPermissionsAsync(const DescribeQAppPermissionsRequestT& request, const DescribeQAppPermissionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QAppsClient::DescribeQAppPermissions, request, handler, context); + } + /** *

    Removes a rating or review previously submitted by the user for a library * item.

    See Also:

    Exports the collected data of a Q App data collection session.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::ExportQAppSessionDataOutcome ExportQAppSessionData(const Model::ExportQAppSessionDataRequest& request) const; + + /** + * A Callable wrapper for ExportQAppSessionData that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ExportQAppSessionDataOutcomeCallable ExportQAppSessionDataCallable(const ExportQAppSessionDataRequestT& request) const + { + return SubmitCallable(&QAppsClient::ExportQAppSessionData, request); + } + + /** + * An Async wrapper for ExportQAppSessionData that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ExportQAppSessionDataAsync(const ExportQAppSessionDataRequestT& request, const ExportQAppSessionDataResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QAppsClient::ExportQAppSessionData, request, handler, context); + } + /** *

    Retrieves details about a library item for an Amazon Q App, including its * metadata, categories, ratings, and usage statistics.

    See Also:

    @@ -473,6 +554,32 @@ namespace QApps return SubmitAsync(&QAppsClient::GetQAppSession, request, handler, context); } + /** + *

    Retrieves the current configuration of a Q App session.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::GetQAppSessionMetadataOutcome GetQAppSessionMetadata(const Model::GetQAppSessionMetadataRequest& request) const; + + /** + * A Callable wrapper for GetQAppSessionMetadata that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetQAppSessionMetadataOutcomeCallable GetQAppSessionMetadataCallable(const GetQAppSessionMetadataRequestT& request) const + { + return SubmitCallable(&QAppsClient::GetQAppSessionMetadata, request); + } + + /** + * An Async wrapper for GetQAppSessionMetadata that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetQAppSessionMetadataAsync(const GetQAppSessionMetadataRequestT& request, const GetQAppSessionMetadataResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QAppsClient::GetQAppSessionMetadata, request, handler, context); + } + /** *

    Uploads a file that can then be used either as a default in a * FileUploadCard from Q App definition or as a file that is used @@ -556,6 +663,32 @@ namespace QApps return SubmitAsync(&QAppsClient::ListLibraryItems, request, handler, context); } + /** + *

    Lists the collected data of a Q App data collection session.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::ListQAppSessionDataOutcome ListQAppSessionData(const Model::ListQAppSessionDataRequest& request) const; + + /** + * A Callable wrapper for ListQAppSessionData that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListQAppSessionDataOutcomeCallable ListQAppSessionDataCallable(const ListQAppSessionDataRequestT& request) const + { + return SubmitCallable(&QAppsClient::ListQAppSessionData, request); + } + + /** + * An Async wrapper for ListQAppSessionData that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListQAppSessionDataAsync(const ListQAppSessionDataRequestT& request, const ListQAppSessionDataResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QAppsClient::ListQAppSessionData, request, handler, context); + } + /** *

    Lists the Amazon Q Apps owned by or associated with the user either because * they created it or because they used it from the library in the past. The user @@ -820,6 +953,32 @@ namespace QApps return SubmitAsync(&QAppsClient::UpdateQApp, request, handler, context); } + /** + *

    Updates read permissions for a Amazon Q App in Amazon Q Business application + * environment instance.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateQAppPermissionsOutcome UpdateQAppPermissions(const Model::UpdateQAppPermissionsRequest& request) const; + + /** + * A Callable wrapper for UpdateQAppPermissions that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateQAppPermissionsOutcomeCallable UpdateQAppPermissionsCallable(const UpdateQAppPermissionsRequestT& request) const + { + return SubmitCallable(&QAppsClient::UpdateQAppPermissions, request); + } + + /** + * An Async wrapper for UpdateQAppPermissions that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateQAppPermissionsAsync(const UpdateQAppPermissionsRequestT& request, const UpdateQAppPermissionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QAppsClient::UpdateQAppPermissions, request, handler, context); + } + /** *

    Updates the session for a given Q App sessionId. This is only * valid when at least one card of the session is in the WAITING @@ -850,6 +1009,32 @@ namespace QApps return SubmitAsync(&QAppsClient::UpdateQAppSession, request, handler, context); } + /** + *

    Updates the configuration metadata of a session for a given Q App + * sessionId.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateQAppSessionMetadataOutcome UpdateQAppSessionMetadata(const Model::UpdateQAppSessionMetadataRequest& request) const; + + /** + * A Callable wrapper for UpdateQAppSessionMetadata that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateQAppSessionMetadataOutcomeCallable UpdateQAppSessionMetadataCallable(const UpdateQAppSessionMetadataRequestT& request) const + { + return SubmitCallable(&QAppsClient::UpdateQAppSessionMetadata, request); + } + + /** + * An Async wrapper for UpdateQAppSessionMetadata that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateQAppSessionMetadataAsync(const UpdateQAppSessionMetadataRequestT& request, const UpdateQAppSessionMetadataResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QAppsClient::UpdateQAppSessionMetadata, request, handler, context); + } + void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsServiceClientModel.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsServiceClientModel.h index b882f107d10..b89312b0891 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsServiceClientModel.h @@ -19,13 +19,18 @@ /* Service model headers required in QAppsClient header */ #include +#include #include +#include +#include #include #include #include +#include #include #include #include +#include #include #include #include @@ -34,7 +39,9 @@ #include #include #include +#include #include +#include #include /* End of service model headers required in QAppsClient header */ @@ -82,17 +89,22 @@ namespace Aws class BatchDeleteCategoryRequest; class BatchUpdateCategoryRequest; class CreateLibraryItemRequest; + class CreatePresignedUrlRequest; class CreateQAppRequest; class DeleteLibraryItemRequest; class DeleteQAppRequest; + class DescribeQAppPermissionsRequest; class DisassociateLibraryItemReviewRequest; class DisassociateQAppFromUserRequest; + class ExportQAppSessionDataRequest; class GetLibraryItemRequest; class GetQAppRequest; class GetQAppSessionRequest; + class GetQAppSessionMetadataRequest; class ImportDocumentRequest; class ListCategoriesRequest; class ListLibraryItemsRequest; + class ListQAppSessionDataRequest; class ListQAppsRequest; class ListTagsForResourceRequest; class PredictQAppRequest; @@ -103,7 +115,9 @@ namespace Aws class UpdateLibraryItemRequest; class UpdateLibraryItemMetadataRequest; class UpdateQAppRequest; + class UpdateQAppPermissionsRequest; class UpdateQAppSessionRequest; + class UpdateQAppSessionMetadataRequest; /* End of service model forward declarations required in QAppsClient header */ /* Service model Outcome class definitions */ @@ -113,17 +127,22 @@ namespace Aws typedef Aws::Utils::Outcome BatchDeleteCategoryOutcome; typedef Aws::Utils::Outcome BatchUpdateCategoryOutcome; typedef Aws::Utils::Outcome CreateLibraryItemOutcome; + typedef Aws::Utils::Outcome CreatePresignedUrlOutcome; typedef Aws::Utils::Outcome CreateQAppOutcome; typedef Aws::Utils::Outcome DeleteLibraryItemOutcome; typedef Aws::Utils::Outcome DeleteQAppOutcome; + typedef Aws::Utils::Outcome DescribeQAppPermissionsOutcome; typedef Aws::Utils::Outcome DisassociateLibraryItemReviewOutcome; typedef Aws::Utils::Outcome DisassociateQAppFromUserOutcome; + typedef Aws::Utils::Outcome ExportQAppSessionDataOutcome; typedef Aws::Utils::Outcome GetLibraryItemOutcome; typedef Aws::Utils::Outcome GetQAppOutcome; typedef Aws::Utils::Outcome GetQAppSessionOutcome; + typedef Aws::Utils::Outcome GetQAppSessionMetadataOutcome; typedef Aws::Utils::Outcome ImportDocumentOutcome; typedef Aws::Utils::Outcome ListCategoriesOutcome; typedef Aws::Utils::Outcome ListLibraryItemsOutcome; + typedef Aws::Utils::Outcome ListQAppSessionDataOutcome; typedef Aws::Utils::Outcome ListQAppsOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome PredictQAppOutcome; @@ -134,7 +153,9 @@ namespace Aws typedef Aws::Utils::Outcome UpdateLibraryItemOutcome; typedef Aws::Utils::Outcome UpdateLibraryItemMetadataOutcome; typedef Aws::Utils::Outcome UpdateQAppOutcome; + typedef Aws::Utils::Outcome UpdateQAppPermissionsOutcome; typedef Aws::Utils::Outcome UpdateQAppSessionOutcome; + typedef Aws::Utils::Outcome UpdateQAppSessionMetadataOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ @@ -144,17 +165,22 @@ namespace Aws typedef std::future BatchDeleteCategoryOutcomeCallable; typedef std::future BatchUpdateCategoryOutcomeCallable; typedef std::future CreateLibraryItemOutcomeCallable; + typedef std::future CreatePresignedUrlOutcomeCallable; typedef std::future CreateQAppOutcomeCallable; typedef std::future DeleteLibraryItemOutcomeCallable; typedef std::future DeleteQAppOutcomeCallable; + typedef std::future DescribeQAppPermissionsOutcomeCallable; typedef std::future DisassociateLibraryItemReviewOutcomeCallable; typedef std::future DisassociateQAppFromUserOutcomeCallable; + typedef std::future ExportQAppSessionDataOutcomeCallable; typedef std::future GetLibraryItemOutcomeCallable; typedef std::future GetQAppOutcomeCallable; typedef std::future GetQAppSessionOutcomeCallable; + typedef std::future GetQAppSessionMetadataOutcomeCallable; typedef std::future ImportDocumentOutcomeCallable; typedef std::future ListCategoriesOutcomeCallable; typedef std::future ListLibraryItemsOutcomeCallable; + typedef std::future ListQAppSessionDataOutcomeCallable; typedef std::future ListQAppsOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future PredictQAppOutcomeCallable; @@ -165,7 +191,9 @@ namespace Aws typedef std::future UpdateLibraryItemOutcomeCallable; typedef std::future UpdateLibraryItemMetadataOutcomeCallable; typedef std::future UpdateQAppOutcomeCallable; + typedef std::future UpdateQAppPermissionsOutcomeCallable; typedef std::future UpdateQAppSessionOutcomeCallable; + typedef std::future UpdateQAppSessionMetadataOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model @@ -178,17 +206,22 @@ namespace Aws typedef std::function&) > BatchDeleteCategoryResponseReceivedHandler; typedef std::function&) > BatchUpdateCategoryResponseReceivedHandler; typedef std::function&) > CreateLibraryItemResponseReceivedHandler; + typedef std::function&) > CreatePresignedUrlResponseReceivedHandler; typedef std::function&) > CreateQAppResponseReceivedHandler; typedef std::function&) > DeleteLibraryItemResponseReceivedHandler; typedef std::function&) > DeleteQAppResponseReceivedHandler; + typedef std::function&) > DescribeQAppPermissionsResponseReceivedHandler; typedef std::function&) > DisassociateLibraryItemReviewResponseReceivedHandler; typedef std::function&) > DisassociateQAppFromUserResponseReceivedHandler; + typedef std::function&) > ExportQAppSessionDataResponseReceivedHandler; typedef std::function&) > GetLibraryItemResponseReceivedHandler; typedef std::function&) > GetQAppResponseReceivedHandler; typedef std::function&) > GetQAppSessionResponseReceivedHandler; + typedef std::function&) > GetQAppSessionMetadataResponseReceivedHandler; typedef std::function&) > ImportDocumentResponseReceivedHandler; typedef std::function&) > ListCategoriesResponseReceivedHandler; typedef std::function&) > ListLibraryItemsResponseReceivedHandler; + typedef std::function&) > ListQAppSessionDataResponseReceivedHandler; typedef std::function&) > ListQAppsResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > PredictQAppResponseReceivedHandler; @@ -199,7 +232,9 @@ namespace Aws typedef std::function&) > UpdateLibraryItemResponseReceivedHandler; typedef std::function&) > UpdateLibraryItemMetadataResponseReceivedHandler; typedef std::function&) > UpdateQAppResponseReceivedHandler; + typedef std::function&) > UpdateQAppPermissionsResponseReceivedHandler; typedef std::function&) > UpdateQAppSessionResponseReceivedHandler; + typedef std::function&) > UpdateQAppSessionMetadataResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace QApps } // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/Card.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/Card.h index 44f73826363..fa9c0be3b03 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/Card.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/Card.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -88,6 +89,18 @@ namespace Model inline Card& WithFileUpload(const FileUploadCard& value) { SetFileUpload(value); return *this;} inline Card& WithFileUpload(FileUploadCard&& value) { SetFileUpload(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    A container for the properties of the form input card.

    + */ + inline const FormInputCard& GetFormInput() const{ return m_formInput; } + inline bool FormInputHasBeenSet() const { return m_formInputHasBeenSet; } + inline void SetFormInput(const FormInputCard& value) { m_formInputHasBeenSet = true; m_formInput = value; } + inline void SetFormInput(FormInputCard&& value) { m_formInputHasBeenSet = true; m_formInput = std::move(value); } + inline Card& WithFormInput(const FormInputCard& value) { SetFormInput(value); return *this;} + inline Card& WithFormInput(FormInputCard&& value) { SetFormInput(std::move(value)); return *this;} + ///@} private: TextInputCard m_textInput; @@ -101,6 +114,9 @@ namespace Model FileUploadCard m_fileUpload; bool m_fileUploadHasBeenSet = false; + + FormInputCard m_formInput; + bool m_formInputHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardInput.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardInput.h index ad13554d03c..aaa037c769a 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardInput.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardInput.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -88,6 +89,18 @@ namespace Model inline CardInput& WithFileUpload(const FileUploadCardInput& value) { SetFileUpload(value); return *this;} inline CardInput& WithFileUpload(FileUploadCardInput&& value) { SetFileUpload(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    A container for the properties of the form input card.

    + */ + inline const FormInputCardInput& GetFormInput() const{ return m_formInput; } + inline bool FormInputHasBeenSet() const { return m_formInputHasBeenSet; } + inline void SetFormInput(const FormInputCardInput& value) { m_formInputHasBeenSet = true; m_formInput = value; } + inline void SetFormInput(FormInputCardInput&& value) { m_formInputHasBeenSet = true; m_formInput = std::move(value); } + inline CardInput& WithFormInput(const FormInputCardInput& value) { SetFormInput(value); return *this;} + inline CardInput& WithFormInput(FormInputCardInput&& value) { SetFormInput(std::move(value)); return *this;} + ///@} private: TextInputCardInput m_textInput; @@ -101,6 +114,9 @@ namespace Model FileUploadCardInput m_fileUpload; bool m_fileUploadHasBeenSet = false; + + FormInputCardInput m_formInput; + bool m_formInputHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardStatus.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardStatus.h index f6ea08d8128..53650a5abb1 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardStatus.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardStatus.h @@ -7,6 +7,8 @@ #include #include #include +#include +#include #include namespace Aws @@ -64,6 +66,20 @@ namespace Model inline CardStatus& WithCurrentValue(Aws::String&& value) { SetCurrentValue(std::move(value)); return *this;} inline CardStatus& WithCurrentValue(const char* value) { SetCurrentValue(value); return *this;} ///@} + + ///@{ + /** + *

    A list of previous submissions, if the card is a form card.

    + */ + inline const Aws::Vector& GetSubmissions() const{ return m_submissions; } + inline bool SubmissionsHasBeenSet() const { return m_submissionsHasBeenSet; } + inline void SetSubmissions(const Aws::Vector& value) { m_submissionsHasBeenSet = true; m_submissions = value; } + inline void SetSubmissions(Aws::Vector&& value) { m_submissionsHasBeenSet = true; m_submissions = std::move(value); } + inline CardStatus& WithSubmissions(const Aws::Vector& value) { SetSubmissions(value); return *this;} + inline CardStatus& WithSubmissions(Aws::Vector&& value) { SetSubmissions(std::move(value)); return *this;} + inline CardStatus& AddSubmissions(const Submission& value) { m_submissionsHasBeenSet = true; m_submissions.push_back(value); return *this; } + inline CardStatus& AddSubmissions(Submission&& value) { m_submissionsHasBeenSet = true; m_submissions.push_back(std::move(value)); return *this; } + ///@} private: ExecutionStatus m_currentState; @@ -71,6 +87,9 @@ namespace Model Aws::String m_currentValue; bool m_currentValueHasBeenSet = false; + + Aws::Vector m_submissions; + bool m_submissionsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardType.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardType.h index a680daf5574..088cc99f433 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardType.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardType.h @@ -19,7 +19,8 @@ namespace Model text_input, q_query, file_upload, - q_plugin + q_plugin, + form_input }; namespace CardTypeMapper diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardValue.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardValue.h index 768bed7ee24..2fb814f0909 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardValue.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CardValue.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include namespace Aws @@ -65,6 +66,19 @@ namespace Model inline CardValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} inline CardValue& WithValue(const char* value) { SetValue(value); return *this;} ///@} + + ///@{ + /** + *

    The structure that describes how the current form card value is mutated. Only + * applies for form cards when multiple responses are allowed.

    + */ + inline const SubmissionMutation& GetSubmissionMutation() const{ return m_submissionMutation; } + inline bool SubmissionMutationHasBeenSet() const { return m_submissionMutationHasBeenSet; } + inline void SetSubmissionMutation(const SubmissionMutation& value) { m_submissionMutationHasBeenSet = true; m_submissionMutation = value; } + inline void SetSubmissionMutation(SubmissionMutation&& value) { m_submissionMutationHasBeenSet = true; m_submissionMutation = std::move(value); } + inline CardValue& WithSubmissionMutation(const SubmissionMutation& value) { SetSubmissionMutation(value); return *this;} + inline CardValue& WithSubmissionMutation(SubmissionMutation&& value) { SetSubmissionMutation(std::move(value)); return *this;} + ///@} private: Aws::String m_cardId; @@ -72,6 +86,9 @@ namespace Model Aws::String m_value; bool m_valueHasBeenSet = false; + + SubmissionMutation m_submissionMutation; + bool m_submissionMutationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CreatePresignedUrlRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CreatePresignedUrlRequest.h new file mode 100644 index 00000000000..d3908a0e972 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CreatePresignedUrlRequest.h @@ -0,0 +1,163 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + + /** + */ + class CreatePresignedUrlRequest : public QAppsRequest + { + public: + AWS_QAPPS_API CreatePresignedUrlRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreatePresignedUrl"; } + + AWS_QAPPS_API Aws::String SerializePayload() const override; + + AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The unique identifier of the Amazon Q Business application environment + * instance.

    + */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline CreatePresignedUrlRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline CreatePresignedUrlRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline CreatePresignedUrlRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the card the file is associated with.

    + */ + inline const Aws::String& GetCardId() const{ return m_cardId; } + inline bool CardIdHasBeenSet() const { return m_cardIdHasBeenSet; } + inline void SetCardId(const Aws::String& value) { m_cardIdHasBeenSet = true; m_cardId = value; } + inline void SetCardId(Aws::String&& value) { m_cardIdHasBeenSet = true; m_cardId = std::move(value); } + inline void SetCardId(const char* value) { m_cardIdHasBeenSet = true; m_cardId.assign(value); } + inline CreatePresignedUrlRequest& WithCardId(const Aws::String& value) { SetCardId(value); return *this;} + inline CreatePresignedUrlRequest& WithCardId(Aws::String&& value) { SetCardId(std::move(value)); return *this;} + inline CreatePresignedUrlRequest& WithCardId(const char* value) { SetCardId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Q App the file is associated with.

    + */ + inline const Aws::String& GetAppId() const{ return m_appId; } + inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } + inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } + inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } + inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } + inline CreatePresignedUrlRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} + inline CreatePresignedUrlRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} + inline CreatePresignedUrlRequest& WithAppId(const char* value) { SetAppId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Base64-encoded SHA-256 digest of the contents of the file to be + * uploaded.

    + */ + inline const Aws::String& GetFileContentsSha256() const{ return m_fileContentsSha256; } + inline bool FileContentsSha256HasBeenSet() const { return m_fileContentsSha256HasBeenSet; } + inline void SetFileContentsSha256(const Aws::String& value) { m_fileContentsSha256HasBeenSet = true; m_fileContentsSha256 = value; } + inline void SetFileContentsSha256(Aws::String&& value) { m_fileContentsSha256HasBeenSet = true; m_fileContentsSha256 = std::move(value); } + inline void SetFileContentsSha256(const char* value) { m_fileContentsSha256HasBeenSet = true; m_fileContentsSha256.assign(value); } + inline CreatePresignedUrlRequest& WithFileContentsSha256(const Aws::String& value) { SetFileContentsSha256(value); return *this;} + inline CreatePresignedUrlRequest& WithFileContentsSha256(Aws::String&& value) { SetFileContentsSha256(std::move(value)); return *this;} + inline CreatePresignedUrlRequest& WithFileContentsSha256(const char* value) { SetFileContentsSha256(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the file to be uploaded.

    + */ + inline const Aws::String& GetFileName() const{ return m_fileName; } + inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; } + inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; } + inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); } + inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); } + inline CreatePresignedUrlRequest& WithFileName(const Aws::String& value) { SetFileName(value); return *this;} + inline CreatePresignedUrlRequest& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;} + inline CreatePresignedUrlRequest& WithFileName(const char* value) { SetFileName(value); return *this;} + ///@} + + ///@{ + /** + *

    Whether the file is associated with a Q App definition or a specific Q App + * session.

    + */ + inline const DocumentScope& GetScope() const{ return m_scope; } + inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; } + inline void SetScope(const DocumentScope& value) { m_scopeHasBeenSet = true; m_scope = value; } + inline void SetScope(DocumentScope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); } + inline CreatePresignedUrlRequest& WithScope(const DocumentScope& value) { SetScope(value); return *this;} + inline CreatePresignedUrlRequest& WithScope(DocumentScope&& value) { SetScope(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Q App session the file is associated with, if + * applicable.

    + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline CreatePresignedUrlRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline CreatePresignedUrlRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline CreatePresignedUrlRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_cardId; + bool m_cardIdHasBeenSet = false; + + Aws::String m_appId; + bool m_appIdHasBeenSet = false; + + Aws::String m_fileContentsSha256; + bool m_fileContentsSha256HasBeenSet = false; + + Aws::String m_fileName; + bool m_fileNameHasBeenSet = false; + + DocumentScope m_scope; + bool m_scopeHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CreatePresignedUrlResult.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CreatePresignedUrlResult.h new file mode 100644 index 00000000000..0d0d81a5dbc --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/CreatePresignedUrlResult.h @@ -0,0 +1,118 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + class CreatePresignedUrlResult + { + public: + AWS_QAPPS_API CreatePresignedUrlResult(); + AWS_QAPPS_API CreatePresignedUrlResult(const Aws::AmazonWebServiceResult& result); + AWS_QAPPS_API CreatePresignedUrlResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The unique identifier assigned to the file to be uploaded.

    + */ + inline const Aws::String& GetFileId() const{ return m_fileId; } + inline void SetFileId(const Aws::String& value) { m_fileId = value; } + inline void SetFileId(Aws::String&& value) { m_fileId = std::move(value); } + inline void SetFileId(const char* value) { m_fileId.assign(value); } + inline CreatePresignedUrlResult& WithFileId(const Aws::String& value) { SetFileId(value); return *this;} + inline CreatePresignedUrlResult& WithFileId(Aws::String&& value) { SetFileId(std::move(value)); return *this;} + inline CreatePresignedUrlResult& WithFileId(const char* value) { SetFileId(value); return *this;} + ///@} + + ///@{ + /** + *

    The URL for a presigned S3 POST operation used to upload a file.

    + */ + inline const Aws::String& GetPresignedUrl() const{ return m_presignedUrl; } + inline void SetPresignedUrl(const Aws::String& value) { m_presignedUrl = value; } + inline void SetPresignedUrl(Aws::String&& value) { m_presignedUrl = std::move(value); } + inline void SetPresignedUrl(const char* value) { m_presignedUrl.assign(value); } + inline CreatePresignedUrlResult& WithPresignedUrl(const Aws::String& value) { SetPresignedUrl(value); return *this;} + inline CreatePresignedUrlResult& WithPresignedUrl(Aws::String&& value) { SetPresignedUrl(std::move(value)); return *this;} + inline CreatePresignedUrlResult& WithPresignedUrl(const char* value) { SetPresignedUrl(value); return *this;} + ///@} + + ///@{ + /** + *

    The form fields to include in the presigned S3 POST operation used to upload + * a file.

    + */ + inline const Aws::Map& GetPresignedUrlFields() const{ return m_presignedUrlFields; } + inline void SetPresignedUrlFields(const Aws::Map& value) { m_presignedUrlFields = value; } + inline void SetPresignedUrlFields(Aws::Map&& value) { m_presignedUrlFields = std::move(value); } + inline CreatePresignedUrlResult& WithPresignedUrlFields(const Aws::Map& value) { SetPresignedUrlFields(value); return *this;} + inline CreatePresignedUrlResult& WithPresignedUrlFields(Aws::Map&& value) { SetPresignedUrlFields(std::move(value)); return *this;} + inline CreatePresignedUrlResult& AddPresignedUrlFields(const Aws::String& key, const Aws::String& value) { m_presignedUrlFields.emplace(key, value); return *this; } + inline CreatePresignedUrlResult& AddPresignedUrlFields(Aws::String&& key, const Aws::String& value) { m_presignedUrlFields.emplace(std::move(key), value); return *this; } + inline CreatePresignedUrlResult& AddPresignedUrlFields(const Aws::String& key, Aws::String&& value) { m_presignedUrlFields.emplace(key, std::move(value)); return *this; } + inline CreatePresignedUrlResult& AddPresignedUrlFields(Aws::String&& key, Aws::String&& value) { m_presignedUrlFields.emplace(std::move(key), std::move(value)); return *this; } + inline CreatePresignedUrlResult& AddPresignedUrlFields(const char* key, Aws::String&& value) { m_presignedUrlFields.emplace(key, std::move(value)); return *this; } + inline CreatePresignedUrlResult& AddPresignedUrlFields(Aws::String&& key, const char* value) { m_presignedUrlFields.emplace(std::move(key), value); return *this; } + inline CreatePresignedUrlResult& AddPresignedUrlFields(const char* key, const char* value) { m_presignedUrlFields.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The date and time that the presigned URL will expire in ISO 8601 format.

    + */ + inline const Aws::Utils::DateTime& GetPresignedUrlExpiration() const{ return m_presignedUrlExpiration; } + inline void SetPresignedUrlExpiration(const Aws::Utils::DateTime& value) { m_presignedUrlExpiration = value; } + inline void SetPresignedUrlExpiration(Aws::Utils::DateTime&& value) { m_presignedUrlExpiration = std::move(value); } + inline CreatePresignedUrlResult& WithPresignedUrlExpiration(const Aws::Utils::DateTime& value) { SetPresignedUrlExpiration(value); return *this;} + inline CreatePresignedUrlResult& WithPresignedUrlExpiration(Aws::Utils::DateTime&& value) { SetPresignedUrlExpiration(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreatePresignedUrlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreatePresignedUrlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreatePresignedUrlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_fileId; + + Aws::String m_presignedUrl; + + Aws::Map m_presignedUrlFields; + + Aws::Utils::DateTime m_presignedUrlExpiration; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/DescribeQAppPermissionsRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/DescribeQAppPermissionsRequest.h new file mode 100644 index 00000000000..c9c56836c9d --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/DescribeQAppPermissionsRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace QApps +{ +namespace Model +{ + + /** + */ + class DescribeQAppPermissionsRequest : public QAppsRequest + { + public: + AWS_QAPPS_API DescribeQAppPermissionsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DescribeQAppPermissions"; } + + AWS_QAPPS_API Aws::String SerializePayload() const override; + + AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The unique identifier of the Amazon Q Business application environment + * instance.

    + */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline DescribeQAppPermissionsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline DescribeQAppPermissionsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline DescribeQAppPermissionsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Amazon Q App for which to retrieve + * permissions.

    + */ + inline const Aws::String& GetAppId() const{ return m_appId; } + inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } + inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } + inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } + inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } + inline DescribeQAppPermissionsRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} + inline DescribeQAppPermissionsRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} + inline DescribeQAppPermissionsRequest& WithAppId(const char* value) { SetAppId(value); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_appId; + bool m_appIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/DescribeQAppPermissionsResult.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/DescribeQAppPermissionsResult.h new file mode 100644 index 00000000000..6530e4a3b3e --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/DescribeQAppPermissionsResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + class DescribeQAppPermissionsResult + { + public: + AWS_QAPPS_API DescribeQAppPermissionsResult(); + AWS_QAPPS_API DescribeQAppPermissionsResult(const Aws::AmazonWebServiceResult& result); + AWS_QAPPS_API DescribeQAppPermissionsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the Amazon Q App for which permissions are + * returned.

    + */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } + inline DescribeQAppPermissionsResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline DescribeQAppPermissionsResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline DescribeQAppPermissionsResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Amazon Q App for which permissions are + * returned.

    + */ + inline const Aws::String& GetAppId() const{ return m_appId; } + inline void SetAppId(const Aws::String& value) { m_appId = value; } + inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); } + inline void SetAppId(const char* value) { m_appId.assign(value); } + inline DescribeQAppPermissionsResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} + inline DescribeQAppPermissionsResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} + inline DescribeQAppPermissionsResult& WithAppId(const char* value) { SetAppId(value); return *this;} + ///@} + + ///@{ + /** + *

    The list of permissions granted for the Amazon Q App.

    + */ + inline const Aws::Vector& GetPermissions() const{ return m_permissions; } + inline void SetPermissions(const Aws::Vector& value) { m_permissions = value; } + inline void SetPermissions(Aws::Vector&& value) { m_permissions = std::move(value); } + inline DescribeQAppPermissionsResult& WithPermissions(const Aws::Vector& value) { SetPermissions(value); return *this;} + inline DescribeQAppPermissionsResult& WithPermissions(Aws::Vector&& value) { SetPermissions(std::move(value)); return *this;} + inline DescribeQAppPermissionsResult& AddPermissions(const PermissionOutput& value) { m_permissions.push_back(value); return *this; } + inline DescribeQAppPermissionsResult& AddPermissions(PermissionOutput&& value) { m_permissions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DescribeQAppPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DescribeQAppPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DescribeQAppPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + + Aws::String m_appId; + + Aws::Vector m_permissions; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExecutionStatus.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExecutionStatus.h index f57af0afc26..2fd7f2f494e 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExecutionStatus.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExecutionStatus.h @@ -18,7 +18,8 @@ namespace Model NOT_SET, IN_PROGRESS, WAITING, - COMPLETED + COMPLETED, + ERROR_ }; namespace ExecutionStatusMapper diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExportQAppSessionDataRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExportQAppSessionDataRequest.h new file mode 100644 index 00000000000..8a3bf0e99aa --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExportQAppSessionDataRequest.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + + /** + */ + class ExportQAppSessionDataRequest : public QAppsRequest + { + public: + AWS_QAPPS_API ExportQAppSessionDataRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ExportQAppSessionData"; } + + AWS_QAPPS_API Aws::String SerializePayload() const override; + + AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The unique identifier of the Amazon Q Business application environment + * instance.

    + */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline ExportQAppSessionDataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline ExportQAppSessionDataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline ExportQAppSessionDataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Q App data collection session.

    + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline ExportQAppSessionDataRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline ExportQAppSessionDataRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline ExportQAppSessionDataRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExportQAppSessionDataResult.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExportQAppSessionDataResult.h new file mode 100644 index 00000000000..d492c1886f4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ExportQAppSessionDataResult.h @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + class ExportQAppSessionDataResult + { + public: + AWS_QAPPS_API ExportQAppSessionDataResult(); + AWS_QAPPS_API ExportQAppSessionDataResult(const Aws::AmazonWebServiceResult& result); + AWS_QAPPS_API ExportQAppSessionDataResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The link where the exported Q App session data can be downloaded from.

    + */ + inline const Aws::String& GetCsvFileLink() const{ return m_csvFileLink; } + inline void SetCsvFileLink(const Aws::String& value) { m_csvFileLink = value; } + inline void SetCsvFileLink(Aws::String&& value) { m_csvFileLink = std::move(value); } + inline void SetCsvFileLink(const char* value) { m_csvFileLink.assign(value); } + inline ExportQAppSessionDataResult& WithCsvFileLink(const Aws::String& value) { SetCsvFileLink(value); return *this;} + inline ExportQAppSessionDataResult& WithCsvFileLink(Aws::String&& value) { SetCsvFileLink(std::move(value)); return *this;} + inline ExportQAppSessionDataResult& WithCsvFileLink(const char* value) { SetCsvFileLink(value); return *this;} + ///@} + + ///@{ + /** + *

    The date and time when the link for the exported Q App session data + * expires.

    + */ + inline const Aws::Utils::DateTime& GetExpiresAt() const{ return m_expiresAt; } + inline void SetExpiresAt(const Aws::Utils::DateTime& value) { m_expiresAt = value; } + inline void SetExpiresAt(Aws::Utils::DateTime&& value) { m_expiresAt = std::move(value); } + inline ExportQAppSessionDataResult& WithExpiresAt(const Aws::Utils::DateTime& value) { SetExpiresAt(value); return *this;} + inline ExportQAppSessionDataResult& WithExpiresAt(Aws::Utils::DateTime&& value) { SetExpiresAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the Q App data collection session.

    + */ + inline const Aws::String& GetSessionArn() const{ return m_sessionArn; } + inline void SetSessionArn(const Aws::String& value) { m_sessionArn = value; } + inline void SetSessionArn(Aws::String&& value) { m_sessionArn = std::move(value); } + inline void SetSessionArn(const char* value) { m_sessionArn.assign(value); } + inline ExportQAppSessionDataResult& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;} + inline ExportQAppSessionDataResult& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;} + inline ExportQAppSessionDataResult& WithSessionArn(const char* value) { SetSessionArn(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ExportQAppSessionDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ExportQAppSessionDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ExportQAppSessionDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_csvFileLink; + + Aws::Utils::DateTime m_expiresAt; + + Aws::String m_sessionArn; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/FormInputCard.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/FormInputCard.h new file mode 100644 index 00000000000..9c84be73ad0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/FormInputCard.h @@ -0,0 +1,151 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    A card in an Amazon Q App that allows the user to submit a + * response.

    See Also:

    AWS + * API Reference

    + */ + class FormInputCard + { + public: + AWS_QAPPS_API FormInputCard(); + AWS_QAPPS_API FormInputCard(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API FormInputCard& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The unique identifier of the form input card.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline FormInputCard& WithId(const Aws::String& value) { SetId(value); return *this;} + inline FormInputCard& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline FormInputCard& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The title of the form input card.

    + */ + inline const Aws::String& GetTitle() const{ return m_title; } + inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } + inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } + inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } + inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } + inline FormInputCard& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} + inline FormInputCard& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} + inline FormInputCard& WithTitle(const char* value) { SetTitle(value); return *this;} + ///@} + + ///@{ + /** + *

    Any dependencies or requirements for the form input card.

    + */ + inline const Aws::Vector& GetDependencies() const{ return m_dependencies; } + inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; } + inline void SetDependencies(const Aws::Vector& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; } + inline void SetDependencies(Aws::Vector&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); } + inline FormInputCard& WithDependencies(const Aws::Vector& value) { SetDependencies(value); return *this;} + inline FormInputCard& WithDependencies(Aws::Vector&& value) { SetDependencies(std::move(value)); return *this;} + inline FormInputCard& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; } + inline FormInputCard& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; } + inline FormInputCard& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The type of the card.

    + */ + inline const CardType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline FormInputCard& WithType(const CardType& value) { SetType(value); return *this;} + inline FormInputCard& WithType(CardType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The metadata that defines the form input card data.

    + */ + inline const FormInputCardMetadata& GetMetadata() const{ return m_metadata; } + inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } + inline void SetMetadata(const FormInputCardMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; } + inline void SetMetadata(FormInputCardMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } + inline FormInputCard& WithMetadata(const FormInputCardMetadata& value) { SetMetadata(value); return *this;} + inline FormInputCard& WithMetadata(FormInputCardMetadata&& value) { SetMetadata(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The compute mode of the form input card. This property determines whether + * individual participants of a data collection session can submit multiple + * response or one response. A compute mode of append shall allow + * participants to submit the same form multiple times with different values. A + * compute mode of replacecode> shall overwrite the current value + * for each participant.

    + */ + inline const InputCardComputeMode& GetComputeMode() const{ return m_computeMode; } + inline bool ComputeModeHasBeenSet() const { return m_computeModeHasBeenSet; } + inline void SetComputeMode(const InputCardComputeMode& value) { m_computeModeHasBeenSet = true; m_computeMode = value; } + inline void SetComputeMode(InputCardComputeMode&& value) { m_computeModeHasBeenSet = true; m_computeMode = std::move(value); } + inline FormInputCard& WithComputeMode(const InputCardComputeMode& value) { SetComputeMode(value); return *this;} + inline FormInputCard& WithComputeMode(InputCardComputeMode&& value) { SetComputeMode(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_id; + bool m_idHasBeenSet = false; + + Aws::String m_title; + bool m_titleHasBeenSet = false; + + Aws::Vector m_dependencies; + bool m_dependenciesHasBeenSet = false; + + CardType m_type; + bool m_typeHasBeenSet = false; + + FormInputCardMetadata m_metadata; + bool m_metadataHasBeenSet = false; + + InputCardComputeMode m_computeMode; + bool m_computeModeHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/FormInputCardInput.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/FormInputCardInput.h new file mode 100644 index 00000000000..2171cfa62af --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/FormInputCardInput.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    Represents a form input card for an Amazon Q App.

    See Also:

    + * AWS + * API Reference

    + */ + class FormInputCardInput + { + public: + AWS_QAPPS_API FormInputCardInput(); + AWS_QAPPS_API FormInputCardInput(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API FormInputCardInput& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The title or label of the form input card.

    + */ + inline const Aws::String& GetTitle() const{ return m_title; } + inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } + inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } + inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } + inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } + inline FormInputCardInput& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} + inline FormInputCardInput& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} + inline FormInputCardInput& WithTitle(const char* value) { SetTitle(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the form input card.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline FormInputCardInput& WithId(const Aws::String& value) { SetId(value); return *this;} + inline FormInputCardInput& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline FormInputCardInput& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of the card.

    + */ + inline const CardType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline FormInputCardInput& WithType(const CardType& value) { SetType(value); return *this;} + inline FormInputCardInput& WithType(CardType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The metadata that defines the form input card data.

    + */ + inline const FormInputCardMetadata& GetMetadata() const{ return m_metadata; } + inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } + inline void SetMetadata(const FormInputCardMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; } + inline void SetMetadata(FormInputCardMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } + inline FormInputCardInput& WithMetadata(const FormInputCardMetadata& value) { SetMetadata(value); return *this;} + inline FormInputCardInput& WithMetadata(FormInputCardMetadata&& value) { SetMetadata(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The compute mode of the form input card. This property determines whether + * individual participants of a data collection session can submit multiple + * response or one response. A compute mode of append shall allow + * participants to submit the same form multiple times with different values. A + * compute mode of replacecode> shall overwrite the current value + * for each participant.

    + */ + inline const InputCardComputeMode& GetComputeMode() const{ return m_computeMode; } + inline bool ComputeModeHasBeenSet() const { return m_computeModeHasBeenSet; } + inline void SetComputeMode(const InputCardComputeMode& value) { m_computeModeHasBeenSet = true; m_computeMode = value; } + inline void SetComputeMode(InputCardComputeMode&& value) { m_computeModeHasBeenSet = true; m_computeMode = std::move(value); } + inline FormInputCardInput& WithComputeMode(const InputCardComputeMode& value) { SetComputeMode(value); return *this;} + inline FormInputCardInput& WithComputeMode(InputCardComputeMode&& value) { SetComputeMode(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_title; + bool m_titleHasBeenSet = false; + + Aws::String m_id; + bool m_idHasBeenSet = false; + + CardType m_type; + bool m_typeHasBeenSet = false; + + FormInputCardMetadata m_metadata; + bool m_metadataHasBeenSet = false; + + InputCardComputeMode m_computeMode; + bool m_computeModeHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/FormInputCardMetadata.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/FormInputCardMetadata.h new file mode 100644 index 00000000000..b4a03f67f7b --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/FormInputCardMetadata.h @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    The metadata of the form input card.

    See Also:

    AWS + * API Reference

    + */ + class FormInputCardMetadata + { + public: + AWS_QAPPS_API FormInputCardMetadata(); + AWS_QAPPS_API FormInputCardMetadata(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API FormInputCardMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The JSON schema that defines the shape of the response data.

    + */ + inline Aws::Utils::DocumentView GetSchema() const{ return m_schema; } + inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } + inline void SetSchema(const Aws::Utils::Document& value) { m_schemaHasBeenSet = true; m_schema = value; } + inline void SetSchema(Aws::Utils::Document&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); } + inline FormInputCardMetadata& WithSchema(const Aws::Utils::Document& value) { SetSchema(value); return *this;} + inline FormInputCardMetadata& WithSchema(Aws::Utils::Document&& value) { SetSchema(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::Document m_schema; + bool m_schemaHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppRequest.h index 477093c69c5..20c8e58625b 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppRequest.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppRequest.h @@ -68,6 +68,16 @@ namespace Model inline GetQAppRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} inline GetQAppRequest& WithAppId(const char* value) { SetAppId(value); return *this;} ///@} + + ///@{ + /** + *

    The version of the Q App.

    + */ + inline int GetAppVersion() const{ return m_appVersion; } + inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; } + inline void SetAppVersion(int value) { m_appVersionHasBeenSet = true; m_appVersion = value; } + inline GetQAppRequest& WithAppVersion(int value) { SetAppVersion(value); return *this;} + ///@} private: Aws::String m_instanceId; @@ -75,6 +85,9 @@ namespace Model Aws::String m_appId; bool m_appIdHasBeenSet = false; + + int m_appVersion; + bool m_appVersionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionMetadataRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionMetadataRequest.h new file mode 100644 index 00000000000..51fba6a3d47 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionMetadataRequest.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace QApps +{ +namespace Model +{ + + /** + */ + class GetQAppSessionMetadataRequest : public QAppsRequest + { + public: + AWS_QAPPS_API GetQAppSessionMetadataRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetQAppSessionMetadata"; } + + AWS_QAPPS_API Aws::String SerializePayload() const override; + + AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The unique identifier of the Amazon Q Business application environment + * instance.

    + */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline GetQAppSessionMetadataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline GetQAppSessionMetadataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline GetQAppSessionMetadataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Q App session.

    + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline GetQAppSessionMetadataRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline GetQAppSessionMetadataRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline GetQAppSessionMetadataRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionMetadataResult.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionMetadataResult.h new file mode 100644 index 00000000000..19447221a1a --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionMetadataResult.h @@ -0,0 +1,122 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + class GetQAppSessionMetadataResult + { + public: + AWS_QAPPS_API GetQAppSessionMetadataResult(); + AWS_QAPPS_API GetQAppSessionMetadataResult(const Aws::AmazonWebServiceResult& result); + AWS_QAPPS_API GetQAppSessionMetadataResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The unique identifier of the Q App session.

    + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline void SetSessionId(const Aws::String& value) { m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionId.assign(value); } + inline GetQAppSessionMetadataResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline GetQAppSessionMetadataResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline GetQAppSessionMetadataResult& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the Q App session.

    + */ + inline const Aws::String& GetSessionArn() const{ return m_sessionArn; } + inline void SetSessionArn(const Aws::String& value) { m_sessionArn = value; } + inline void SetSessionArn(Aws::String&& value) { m_sessionArn = std::move(value); } + inline void SetSessionArn(const char* value) { m_sessionArn.assign(value); } + inline GetQAppSessionMetadataResult& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;} + inline GetQAppSessionMetadataResult& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;} + inline GetQAppSessionMetadataResult& WithSessionArn(const char* value) { SetSessionArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the Q App session.

    + */ + inline const Aws::String& GetSessionName() const{ return m_sessionName; } + inline void SetSessionName(const Aws::String& value) { m_sessionName = value; } + inline void SetSessionName(Aws::String&& value) { m_sessionName = std::move(value); } + inline void SetSessionName(const char* value) { m_sessionName.assign(value); } + inline GetQAppSessionMetadataResult& WithSessionName(const Aws::String& value) { SetSessionName(value); return *this;} + inline GetQAppSessionMetadataResult& WithSessionName(Aws::String&& value) { SetSessionName(std::move(value)); return *this;} + inline GetQAppSessionMetadataResult& WithSessionName(const char* value) { SetSessionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The sharing configuration of the Q App data collection session.

    + */ + inline const SessionSharingConfiguration& GetSharingConfiguration() const{ return m_sharingConfiguration; } + inline void SetSharingConfiguration(const SessionSharingConfiguration& value) { m_sharingConfiguration = value; } + inline void SetSharingConfiguration(SessionSharingConfiguration&& value) { m_sharingConfiguration = std::move(value); } + inline GetQAppSessionMetadataResult& WithSharingConfiguration(const SessionSharingConfiguration& value) { SetSharingConfiguration(value); return *this;} + inline GetQAppSessionMetadataResult& WithSharingConfiguration(SessionSharingConfiguration&& value) { SetSharingConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether the current user is the owner of the Q App session.

    + */ + inline bool GetSessionOwner() const{ return m_sessionOwner; } + inline void SetSessionOwner(bool value) { m_sessionOwner = value; } + inline GetQAppSessionMetadataResult& WithSessionOwner(bool value) { SetSessionOwner(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetQAppSessionMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetQAppSessionMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetQAppSessionMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_sessionId; + + Aws::String m_sessionArn; + + Aws::String m_sessionName; + + SessionSharingConfiguration m_sharingConfiguration; + + bool m_sessionOwner; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionResult.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionResult.h index bd98fcaf6ff..399b21a5fbd 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionResult.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/GetQAppSessionResult.h @@ -61,6 +61,37 @@ namespace Model inline GetQAppSessionResult& WithSessionArn(const char* value) { SetSessionArn(value); return *this;} ///@} + ///@{ + /** + *

    The name of the Q App session.

    + */ + inline const Aws::String& GetSessionName() const{ return m_sessionName; } + inline void SetSessionName(const Aws::String& value) { m_sessionName = value; } + inline void SetSessionName(Aws::String&& value) { m_sessionName = std::move(value); } + inline void SetSessionName(const char* value) { m_sessionName.assign(value); } + inline GetQAppSessionResult& WithSessionName(const Aws::String& value) { SetSessionName(value); return *this;} + inline GetQAppSessionResult& WithSessionName(Aws::String&& value) { SetSessionName(std::move(value)); return *this;} + inline GetQAppSessionResult& WithSessionName(const char* value) { SetSessionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The version of the Q App used for the session.

    + */ + inline int GetAppVersion() const{ return m_appVersion; } + inline void SetAppVersion(int value) { m_appVersion = value; } + inline GetQAppSessionResult& WithAppVersion(int value) { SetAppVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    The latest published version of the Q App used for the session.

    + */ + inline int GetLatestPublishedAppVersion() const{ return m_latestPublishedAppVersion; } + inline void SetLatestPublishedAppVersion(int value) { m_latestPublishedAppVersion = value; } + inline GetQAppSessionResult& WithLatestPublishedAppVersion(int value) { SetLatestPublishedAppVersion(value); return *this;} + ///@} + ///@{ /** *

    The current status of the Q App session.

    @@ -89,6 +120,16 @@ namespace Model inline GetQAppSessionResult& AddCardStatus(const char* key, const CardStatus& value) { m_cardStatus.emplace(key, value); return *this; } ///@} + ///@{ + /** + *

    Indicates whether the current user is the owner of the Q App data collection + * session.

    + */ + inline bool GetUserIsHost() const{ return m_userIsHost; } + inline void SetUserIsHost(bool value) { m_userIsHost = value; } + inline GetQAppSessionResult& WithUserIsHost(bool value) { SetUserIsHost(value); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -105,10 +146,18 @@ namespace Model Aws::String m_sessionArn; + Aws::String m_sessionName; + + int m_appVersion; + + int m_latestPublishedAppVersion; + ExecutionStatus m_status; Aws::Map m_cardStatus; + bool m_userIsHost; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ImportDocumentRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ImportDocumentRequest.h index 9809e70e78f..afe9f04ecd1 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ImportDocumentRequest.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ImportDocumentRequest.h @@ -52,8 +52,7 @@ namespace Model ///@{ /** - *

    The unique identifier of the card the file is associated with, if - * applicable.

    + *

    The unique identifier of the card the file is associated with.

    */ inline const Aws::String& GetCardId() const{ return m_cardId; } inline bool CardIdHasBeenSet() const { return m_cardIdHasBeenSet; } @@ -109,7 +108,7 @@ namespace Model ///@{ /** - *

    Whether the file is associated with an Q App definition or a specific Q App + *

    Whether the file is associated with a Q App definition or a specific Q App * session.

    */ inline const DocumentScope& GetScope() const{ return m_scope; } diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/InputCardComputeMode.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/InputCardComputeMode.h new file mode 100644 index 00000000000..73bf675ee52 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/InputCardComputeMode.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + enum class InputCardComputeMode + { + NOT_SET, + append, + replace + }; + +namespace InputCardComputeModeMapper +{ +AWS_QAPPS_API InputCardComputeMode GetInputCardComputeModeForName(const Aws::String& name); + +AWS_QAPPS_API Aws::String GetNameForInputCardComputeMode(InputCardComputeMode value); +} // namespace InputCardComputeModeMapper +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ListQAppSessionDataRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ListQAppSessionDataRequest.h new file mode 100644 index 00000000000..3412a6978ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ListQAppSessionDataRequest.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace QApps +{ +namespace Model +{ + + /** + */ + class ListQAppSessionDataRequest : public QAppsRequest + { + public: + AWS_QAPPS_API ListQAppSessionDataRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListQAppSessionData"; } + + AWS_QAPPS_API Aws::String SerializePayload() const override; + + AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The unique identifier of the Amazon Q Business application environment + * instance.

    + */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline ListQAppSessionDataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline ListQAppSessionDataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline ListQAppSessionDataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Q App data collection session.

    + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline ListQAppSessionDataRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline ListQAppSessionDataRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline ListQAppSessionDataRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ListQAppSessionDataResult.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ListQAppSessionDataResult.h new file mode 100644 index 00000000000..6278cb4fc5d --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/ListQAppSessionDataResult.h @@ -0,0 +1,114 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + class ListQAppSessionDataResult + { + public: + AWS_QAPPS_API ListQAppSessionDataResult(); + AWS_QAPPS_API ListQAppSessionDataResult(const Aws::AmazonWebServiceResult& result); + AWS_QAPPS_API ListQAppSessionDataResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The unique identifier of the Q App data collection session.

    + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline void SetSessionId(const Aws::String& value) { m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionId.assign(value); } + inline ListQAppSessionDataResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline ListQAppSessionDataResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline ListQAppSessionDataResult& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the Q App data collection session.

    + */ + inline const Aws::String& GetSessionArn() const{ return m_sessionArn; } + inline void SetSessionArn(const Aws::String& value) { m_sessionArn = value; } + inline void SetSessionArn(Aws::String&& value) { m_sessionArn = std::move(value); } + inline void SetSessionArn(const char* value) { m_sessionArn.assign(value); } + inline ListQAppSessionDataResult& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;} + inline ListQAppSessionDataResult& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;} + inline ListQAppSessionDataResult& WithSessionArn(const char* value) { SetSessionArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The collected responses of a Q App session.

    + */ + inline const Aws::Vector& GetSessionData() const{ return m_sessionData; } + inline void SetSessionData(const Aws::Vector& value) { m_sessionData = value; } + inline void SetSessionData(Aws::Vector&& value) { m_sessionData = std::move(value); } + inline ListQAppSessionDataResult& WithSessionData(const Aws::Vector& value) { SetSessionData(value); return *this;} + inline ListQAppSessionDataResult& WithSessionData(Aws::Vector&& value) { SetSessionData(std::move(value)); return *this;} + inline ListQAppSessionDataResult& AddSessionData(const QAppSessionData& value) { m_sessionData.push_back(value); return *this; } + inline ListQAppSessionDataResult& AddSessionData(QAppSessionData&& value) { m_sessionData.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The pagination token that indicates the next set of results to retrieve.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListQAppSessionDataResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListQAppSessionDataResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListQAppSessionDataResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListQAppSessionDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListQAppSessionDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListQAppSessionDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_sessionId; + + Aws::String m_sessionArn; + + Aws::Vector m_sessionData; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionInput.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionInput.h new file mode 100644 index 00000000000..23e148effd6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionInput.h @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    The permission to grant or revoke for a Amazon Q App.

    See + * Also:

    AWS + * API Reference

    + */ + class PermissionInput + { + public: + AWS_QAPPS_API PermissionInput(); + AWS_QAPPS_API PermissionInput(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API PermissionInput& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The action associated with the permission.

    + */ + inline const PermissionInputActionEnum& GetAction() const{ return m_action; } + inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } + inline void SetAction(const PermissionInputActionEnum& value) { m_actionHasBeenSet = true; m_action = value; } + inline void SetAction(PermissionInputActionEnum&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } + inline PermissionInput& WithAction(const PermissionInputActionEnum& value) { SetAction(value); return *this;} + inline PermissionInput& WithAction(PermissionInputActionEnum&& value) { SetAction(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The principal user to which the permission applies.

    + */ + inline const Aws::String& GetPrincipal() const{ return m_principal; } + inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; } + inline void SetPrincipal(const Aws::String& value) { m_principalHasBeenSet = true; m_principal = value; } + inline void SetPrincipal(Aws::String&& value) { m_principalHasBeenSet = true; m_principal = std::move(value); } + inline void SetPrincipal(const char* value) { m_principalHasBeenSet = true; m_principal.assign(value); } + inline PermissionInput& WithPrincipal(const Aws::String& value) { SetPrincipal(value); return *this;} + inline PermissionInput& WithPrincipal(Aws::String&& value) { SetPrincipal(std::move(value)); return *this;} + inline PermissionInput& WithPrincipal(const char* value) { SetPrincipal(value); return *this;} + ///@} + private: + + PermissionInputActionEnum m_action; + bool m_actionHasBeenSet = false; + + Aws::String m_principal; + bool m_principalHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionInputActionEnum.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionInputActionEnum.h new file mode 100644 index 00000000000..4b54d03a697 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionInputActionEnum.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + enum class PermissionInputActionEnum + { + NOT_SET, + read, + write + }; + +namespace PermissionInputActionEnumMapper +{ +AWS_QAPPS_API PermissionInputActionEnum GetPermissionInputActionEnumForName(const Aws::String& name); + +AWS_QAPPS_API Aws::String GetNameForPermissionInputActionEnum(PermissionInputActionEnum value); +} // namespace PermissionInputActionEnumMapper +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionOutput.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionOutput.h new file mode 100644 index 00000000000..e36eea8b0dd --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionOutput.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    The permission granted to the Amazon Q App.

    See Also:

    AWS + * API Reference

    + */ + class PermissionOutput + { + public: + AWS_QAPPS_API PermissionOutput(); + AWS_QAPPS_API PermissionOutput(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API PermissionOutput& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The action associated with the permission.

    + */ + inline const PermissionOutputActionEnum& GetAction() const{ return m_action; } + inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } + inline void SetAction(const PermissionOutputActionEnum& value) { m_actionHasBeenSet = true; m_action = value; } + inline void SetAction(PermissionOutputActionEnum&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } + inline PermissionOutput& WithAction(const PermissionOutputActionEnum& value) { SetAction(value); return *this;} + inline PermissionOutput& WithAction(PermissionOutputActionEnum&& value) { SetAction(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The principal user to which the permission applies.

    + */ + inline const PrincipalOutput& GetPrincipal() const{ return m_principal; } + inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; } + inline void SetPrincipal(const PrincipalOutput& value) { m_principalHasBeenSet = true; m_principal = value; } + inline void SetPrincipal(PrincipalOutput&& value) { m_principalHasBeenSet = true; m_principal = std::move(value); } + inline PermissionOutput& WithPrincipal(const PrincipalOutput& value) { SetPrincipal(value); return *this;} + inline PermissionOutput& WithPrincipal(PrincipalOutput&& value) { SetPrincipal(std::move(value)); return *this;} + ///@} + private: + + PermissionOutputActionEnum m_action; + bool m_actionHasBeenSet = false; + + PrincipalOutput m_principal; + bool m_principalHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionOutputActionEnum.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionOutputActionEnum.h new file mode 100644 index 00000000000..07d01f7a0ed --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PermissionOutputActionEnum.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + enum class PermissionOutputActionEnum + { + NOT_SET, + read, + write + }; + +namespace PermissionOutputActionEnumMapper +{ +AWS_QAPPS_API PermissionOutputActionEnum GetPermissionOutputActionEnumForName(const Aws::String& name); + +AWS_QAPPS_API Aws::String GetNameForPermissionOutputActionEnum(PermissionOutputActionEnum value); +} // namespace PermissionOutputActionEnumMapper +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PrincipalOutput.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PrincipalOutput.h new file mode 100644 index 00000000000..74ad9730d3f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PrincipalOutput.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    The principal for which the permission applies.

    See Also:

    AWS + * API Reference

    + */ + class PrincipalOutput + { + public: + AWS_QAPPS_API PrincipalOutput(); + AWS_QAPPS_API PrincipalOutput(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API PrincipalOutput& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The unique identifier of the user.

    + */ + inline const Aws::String& GetUserId() const{ return m_userId; } + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + inline PrincipalOutput& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + inline PrincipalOutput& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + inline PrincipalOutput& WithUserId(const char* value) { SetUserId(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of the user.

    + */ + inline const PrincipalOutputUserTypeEnum& GetUserType() const{ return m_userType; } + inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; } + inline void SetUserType(const PrincipalOutputUserTypeEnum& value) { m_userTypeHasBeenSet = true; m_userType = value; } + inline void SetUserType(PrincipalOutputUserTypeEnum&& value) { m_userTypeHasBeenSet = true; m_userType = std::move(value); } + inline PrincipalOutput& WithUserType(const PrincipalOutputUserTypeEnum& value) { SetUserType(value); return *this;} + inline PrincipalOutput& WithUserType(PrincipalOutputUserTypeEnum&& value) { SetUserType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The email address associated with the user.

    + */ + inline const Aws::String& GetEmail() const{ return m_email; } + inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } + inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } + inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } + inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } + inline PrincipalOutput& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} + inline PrincipalOutput& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} + inline PrincipalOutput& WithEmail(const char* value) { SetEmail(value); return *this;} + ///@} + private: + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + + PrincipalOutputUserTypeEnum m_userType; + bool m_userTypeHasBeenSet = false; + + Aws::String m_email; + bool m_emailHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PrincipalOutputUserTypeEnum.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PrincipalOutputUserTypeEnum.h new file mode 100644 index 00000000000..5a1d04b9c9e --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PrincipalOutputUserTypeEnum.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + enum class PrincipalOutputUserTypeEnum + { + NOT_SET, + owner, + user + }; + +namespace PrincipalOutputUserTypeEnumMapper +{ +AWS_QAPPS_API PrincipalOutputUserTypeEnum GetPrincipalOutputUserTypeEnumForName(const Aws::String& name); + +AWS_QAPPS_API Aws::String GetNameForPrincipalOutputUserTypeEnum(PrincipalOutputUserTypeEnum value); +} // namespace PrincipalOutputUserTypeEnumMapper +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QAppSessionData.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QAppSessionData.h new file mode 100644 index 00000000000..a486b766267 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QAppSessionData.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    The response collected for a Amazon Q App session. This container represents + * a single response to a Q App session.

    See Also:

    AWS + * API Reference

    + */ + class QAppSessionData + { + public: + AWS_QAPPS_API QAppSessionData(); + AWS_QAPPS_API QAppSessionData(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API QAppSessionData& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The card Id associated with the response submitted for a Q App session.

    + */ + inline const Aws::String& GetCardId() const{ return m_cardId; } + inline bool CardIdHasBeenSet() const { return m_cardIdHasBeenSet; } + inline void SetCardId(const Aws::String& value) { m_cardIdHasBeenSet = true; m_cardId = value; } + inline void SetCardId(Aws::String&& value) { m_cardIdHasBeenSet = true; m_cardId = std::move(value); } + inline void SetCardId(const char* value) { m_cardIdHasBeenSet = true; m_cardId.assign(value); } + inline QAppSessionData& WithCardId(const Aws::String& value) { SetCardId(value); return *this;} + inline QAppSessionData& WithCardId(Aws::String&& value) { SetCardId(std::move(value)); return *this;} + inline QAppSessionData& WithCardId(const char* value) { SetCardId(value); return *this;} + ///@} + + ///@{ + /** + *

    The response submitted for a Q App session.

    + */ + inline Aws::Utils::DocumentView GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::Utils::Document& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::Utils::Document&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline QAppSessionData& WithValue(const Aws::Utils::Document& value) { SetValue(value); return *this;} + inline QAppSessionData& WithValue(Aws::Utils::Document&& value) { SetValue(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The user who submitted the response for a Q App session.

    + */ + inline const User& GetUser() const{ return m_user; } + inline bool UserHasBeenSet() const { return m_userHasBeenSet; } + inline void SetUser(const User& value) { m_userHasBeenSet = true; m_user = value; } + inline void SetUser(User&& value) { m_userHasBeenSet = true; m_user = std::move(value); } + inline QAppSessionData& WithUser(const User& value) { SetUser(value); return *this;} + inline QAppSessionData& WithUser(User&& value) { SetUser(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the submission.

    + */ + inline const Aws::String& GetSubmissionId() const{ return m_submissionId; } + inline bool SubmissionIdHasBeenSet() const { return m_submissionIdHasBeenSet; } + inline void SetSubmissionId(const Aws::String& value) { m_submissionIdHasBeenSet = true; m_submissionId = value; } + inline void SetSubmissionId(Aws::String&& value) { m_submissionIdHasBeenSet = true; m_submissionId = std::move(value); } + inline void SetSubmissionId(const char* value) { m_submissionIdHasBeenSet = true; m_submissionId.assign(value); } + inline QAppSessionData& WithSubmissionId(const Aws::String& value) { SetSubmissionId(value); return *this;} + inline QAppSessionData& WithSubmissionId(Aws::String&& value) { SetSubmissionId(std::move(value)); return *this;} + inline QAppSessionData& WithSubmissionId(const char* value) { SetSubmissionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The date and time when the session data is submitted.

    + */ + inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; } + inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } + inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; } + inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } + inline QAppSessionData& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;} + inline QAppSessionData& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_cardId; + bool m_cardIdHasBeenSet = false; + + Aws::Utils::Document m_value; + bool m_valueHasBeenSet = false; + + User m_user; + bool m_userHasBeenSet = false; + + Aws::String m_submissionId; + bool m_submissionIdHasBeenSet = false; + + Aws::Utils::DateTime m_timestamp; + bool m_timestampHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QQueryCard.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QQueryCard.h index 37e1f58927c..c4ec7b7b6d6 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QQueryCard.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QQueryCard.h @@ -135,6 +135,22 @@ namespace Model inline QQueryCard& WithAttributeFilter(const AttributeFilter& value) { SetAttributeFilter(value); return *this;} inline QQueryCard& WithAttributeFilter(AttributeFilter&& value) { SetAttributeFilter(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Any dependencies for the query card, where the dependencies are references to + * the collected responses.

    + */ + inline const Aws::Vector& GetMemoryReferences() const{ return m_memoryReferences; } + inline bool MemoryReferencesHasBeenSet() const { return m_memoryReferencesHasBeenSet; } + inline void SetMemoryReferences(const Aws::Vector& value) { m_memoryReferencesHasBeenSet = true; m_memoryReferences = value; } + inline void SetMemoryReferences(Aws::Vector&& value) { m_memoryReferencesHasBeenSet = true; m_memoryReferences = std::move(value); } + inline QQueryCard& WithMemoryReferences(const Aws::Vector& value) { SetMemoryReferences(value); return *this;} + inline QQueryCard& WithMemoryReferences(Aws::Vector&& value) { SetMemoryReferences(std::move(value)); return *this;} + inline QQueryCard& AddMemoryReferences(const Aws::String& value) { m_memoryReferencesHasBeenSet = true; m_memoryReferences.push_back(value); return *this; } + inline QQueryCard& AddMemoryReferences(Aws::String&& value) { m_memoryReferencesHasBeenSet = true; m_memoryReferences.push_back(std::move(value)); return *this; } + inline QQueryCard& AddMemoryReferences(const char* value) { m_memoryReferencesHasBeenSet = true; m_memoryReferences.push_back(value); return *this; } + ///@} private: Aws::String m_id; @@ -157,6 +173,9 @@ namespace Model AttributeFilter m_attributeFilter; bool m_attributeFilterHasBeenSet = false; + + Aws::Vector m_memoryReferences; + bool m_memoryReferencesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/SessionSharingConfiguration.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/SessionSharingConfiguration.h new file mode 100644 index 00000000000..691de8a7580 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/SessionSharingConfiguration.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    The sharing configuration of an Amazon Q App data collection + * session.

    See Also:

    AWS + * API Reference

    + */ + class SessionSharingConfiguration + { + public: + AWS_QAPPS_API SessionSharingConfiguration(); + AWS_QAPPS_API SessionSharingConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API SessionSharingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    Indicates whether an Q App session is shareable with other users.

    + */ + inline bool GetEnabled() const{ return m_enabled; } + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + inline SessionSharingConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether an Q App session can accept responses from users.

    + */ + inline bool GetAcceptResponses() const{ return m_acceptResponses; } + inline bool AcceptResponsesHasBeenSet() const { return m_acceptResponsesHasBeenSet; } + inline void SetAcceptResponses(bool value) { m_acceptResponsesHasBeenSet = true; m_acceptResponses = value; } + inline SessionSharingConfiguration& WithAcceptResponses(bool value) { SetAcceptResponses(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether collected responses for an Q App session are revealed for + * all users.

    + */ + inline bool GetRevealCards() const{ return m_revealCards; } + inline bool RevealCardsHasBeenSet() const { return m_revealCardsHasBeenSet; } + inline void SetRevealCards(bool value) { m_revealCardsHasBeenSet = true; m_revealCards = value; } + inline SessionSharingConfiguration& WithRevealCards(bool value) { SetRevealCards(value); return *this;} + ///@} + private: + + bool m_enabled; + bool m_enabledHasBeenSet = false; + + bool m_acceptResponses; + bool m_acceptResponsesHasBeenSet = false; + + bool m_revealCards; + bool m_revealCardsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/StartQAppSessionRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/StartQAppSessionRequest.h index d6c648e0bd6..aed59006fa8 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/StartQAppSessionRequest.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/StartQAppSessionRequest.h @@ -90,6 +90,20 @@ namespace Model inline StartQAppSessionRequest& AddInitialValues(CardValue&& value) { m_initialValuesHasBeenSet = true; m_initialValues.push_back(std::move(value)); return *this; } ///@} + ///@{ + /** + *

    The unique identifier of the a Q App session.

    + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline StartQAppSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline StartQAppSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline StartQAppSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} + ///@{ /** *

    Optional tags to associate with the new Q App session.

    @@ -122,6 +136,9 @@ namespace Model Aws::Vector m_initialValues; bool m_initialValuesHasBeenSet = false; + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/StartQAppSessionResult.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/StartQAppSessionResult.h index 09f5cd295a9..f0554c1edfc 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/StartQAppSessionResult.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/StartQAppSessionResult.h @@ -34,7 +34,7 @@ namespace Model ///@{ /** - *

    The unique identifier of the new Q App session.

    + *

    The unique identifier of the new or retrieved Q App session.

    */ inline const Aws::String& GetSessionId() const{ return m_sessionId; } inline void SetSessionId(const Aws::String& value) { m_sessionId = value; } diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/Submission.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/Submission.h new file mode 100644 index 00000000000..459ae664b88 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/Submission.h @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    A record created when a user submits a form card.

    See Also:

    + * AWS + * API Reference

    + */ + class Submission + { + public: + AWS_QAPPS_API Submission(); + AWS_QAPPS_API Submission(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Submission& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The data submitted by the user.

    + */ + inline Aws::Utils::DocumentView GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::Utils::Document& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::Utils::Document&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline Submission& WithValue(const Aws::Utils::Document& value) { SetValue(value); return *this;} + inline Submission& WithValue(Aws::Utils::Document&& value) { SetValue(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the submission.

    + */ + inline const Aws::String& GetSubmissionId() const{ return m_submissionId; } + inline bool SubmissionIdHasBeenSet() const { return m_submissionIdHasBeenSet; } + inline void SetSubmissionId(const Aws::String& value) { m_submissionIdHasBeenSet = true; m_submissionId = value; } + inline void SetSubmissionId(Aws::String&& value) { m_submissionIdHasBeenSet = true; m_submissionId = std::move(value); } + inline void SetSubmissionId(const char* value) { m_submissionIdHasBeenSet = true; m_submissionId.assign(value); } + inline Submission& WithSubmissionId(const Aws::String& value) { SetSubmissionId(value); return *this;} + inline Submission& WithSubmissionId(Aws::String&& value) { SetSubmissionId(std::move(value)); return *this;} + inline Submission& WithSubmissionId(const char* value) { SetSubmissionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The date and time when the card is submitted.

    + */ + inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; } + inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } + inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; } + inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } + inline Submission& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;} + inline Submission& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::Document m_value; + bool m_valueHasBeenSet = false; + + Aws::String m_submissionId; + bool m_submissionIdHasBeenSet = false; + + Aws::Utils::DateTime m_timestamp; + bool m_timestampHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/SubmissionMutation.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/SubmissionMutation.h new file mode 100644 index 00000000000..bc8715c4b09 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/SubmissionMutation.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    Represents an action performed on a submission.

    See Also:

    AWS + * API Reference

    + */ + class SubmissionMutation + { + public: + AWS_QAPPS_API SubmissionMutation(); + AWS_QAPPS_API SubmissionMutation(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API SubmissionMutation& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The unique identifier of the submission.

    + */ + inline const Aws::String& GetSubmissionId() const{ return m_submissionId; } + inline bool SubmissionIdHasBeenSet() const { return m_submissionIdHasBeenSet; } + inline void SetSubmissionId(const Aws::String& value) { m_submissionIdHasBeenSet = true; m_submissionId = value; } + inline void SetSubmissionId(Aws::String&& value) { m_submissionIdHasBeenSet = true; m_submissionId = std::move(value); } + inline void SetSubmissionId(const char* value) { m_submissionIdHasBeenSet = true; m_submissionId.assign(value); } + inline SubmissionMutation& WithSubmissionId(const Aws::String& value) { SetSubmissionId(value); return *this;} + inline SubmissionMutation& WithSubmissionId(Aws::String&& value) { SetSubmissionId(std::move(value)); return *this;} + inline SubmissionMutation& WithSubmissionId(const char* value) { SetSubmissionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The operation that is performed on a submission.

    + */ + inline const SubmissionMutationKind& GetMutationType() const{ return m_mutationType; } + inline bool MutationTypeHasBeenSet() const { return m_mutationTypeHasBeenSet; } + inline void SetMutationType(const SubmissionMutationKind& value) { m_mutationTypeHasBeenSet = true; m_mutationType = value; } + inline void SetMutationType(SubmissionMutationKind&& value) { m_mutationTypeHasBeenSet = true; m_mutationType = std::move(value); } + inline SubmissionMutation& WithMutationType(const SubmissionMutationKind& value) { SetMutationType(value); return *this;} + inline SubmissionMutation& WithMutationType(SubmissionMutationKind&& value) { SetMutationType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_submissionId; + bool m_submissionIdHasBeenSet = false; + + SubmissionMutationKind m_mutationType; + bool m_mutationTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/SubmissionMutationKind.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/SubmissionMutationKind.h new file mode 100644 index 00000000000..f5e057168ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/SubmissionMutationKind.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + enum class SubmissionMutationKind + { + NOT_SET, + edit, + delete_, + add + }; + +namespace SubmissionMutationKindMapper +{ +AWS_QAPPS_API SubmissionMutationKind GetSubmissionMutationKindForName(const Aws::String& name); + +AWS_QAPPS_API Aws::String GetNameForSubmissionMutationKind(SubmissionMutationKind value); +} // namespace SubmissionMutationKindMapper +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppPermissionsRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppPermissionsRequest.h new file mode 100644 index 00000000000..5d2bbbd35f2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppPermissionsRequest.h @@ -0,0 +1,113 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + + /** + */ + class UpdateQAppPermissionsRequest : public QAppsRequest + { + public: + AWS_QAPPS_API UpdateQAppPermissionsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateQAppPermissions"; } + + AWS_QAPPS_API Aws::String SerializePayload() const override; + + AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The unique identifier of the Amazon Q Business application environment + * instance.

    + */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline UpdateQAppPermissionsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline UpdateQAppPermissionsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline UpdateQAppPermissionsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Amazon Q App for which permissions are being + * updated.

    + */ + inline const Aws::String& GetAppId() const{ return m_appId; } + inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } + inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } + inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } + inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } + inline UpdateQAppPermissionsRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} + inline UpdateQAppPermissionsRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} + inline UpdateQAppPermissionsRequest& WithAppId(const char* value) { SetAppId(value); return *this;} + ///@} + + ///@{ + /** + *

    The list of permissions to grant for the Amazon Q App.

    + */ + inline const Aws::Vector& GetGrantPermissions() const{ return m_grantPermissions; } + inline bool GrantPermissionsHasBeenSet() const { return m_grantPermissionsHasBeenSet; } + inline void SetGrantPermissions(const Aws::Vector& value) { m_grantPermissionsHasBeenSet = true; m_grantPermissions = value; } + inline void SetGrantPermissions(Aws::Vector&& value) { m_grantPermissionsHasBeenSet = true; m_grantPermissions = std::move(value); } + inline UpdateQAppPermissionsRequest& WithGrantPermissions(const Aws::Vector& value) { SetGrantPermissions(value); return *this;} + inline UpdateQAppPermissionsRequest& WithGrantPermissions(Aws::Vector&& value) { SetGrantPermissions(std::move(value)); return *this;} + inline UpdateQAppPermissionsRequest& AddGrantPermissions(const PermissionInput& value) { m_grantPermissionsHasBeenSet = true; m_grantPermissions.push_back(value); return *this; } + inline UpdateQAppPermissionsRequest& AddGrantPermissions(PermissionInput&& value) { m_grantPermissionsHasBeenSet = true; m_grantPermissions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The list of permissions to revoke for the Amazon Q App.

    + */ + inline const Aws::Vector& GetRevokePermissions() const{ return m_revokePermissions; } + inline bool RevokePermissionsHasBeenSet() const { return m_revokePermissionsHasBeenSet; } + inline void SetRevokePermissions(const Aws::Vector& value) { m_revokePermissionsHasBeenSet = true; m_revokePermissions = value; } + inline void SetRevokePermissions(Aws::Vector&& value) { m_revokePermissionsHasBeenSet = true; m_revokePermissions = std::move(value); } + inline UpdateQAppPermissionsRequest& WithRevokePermissions(const Aws::Vector& value) { SetRevokePermissions(value); return *this;} + inline UpdateQAppPermissionsRequest& WithRevokePermissions(Aws::Vector&& value) { SetRevokePermissions(std::move(value)); return *this;} + inline UpdateQAppPermissionsRequest& AddRevokePermissions(const PermissionInput& value) { m_revokePermissionsHasBeenSet = true; m_revokePermissions.push_back(value); return *this; } + inline UpdateQAppPermissionsRequest& AddRevokePermissions(PermissionInput&& value) { m_revokePermissionsHasBeenSet = true; m_revokePermissions.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_appId; + bool m_appIdHasBeenSet = false; + + Aws::Vector m_grantPermissions; + bool m_grantPermissionsHasBeenSet = false; + + Aws::Vector m_revokePermissions; + bool m_revokePermissionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppPermissionsResult.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppPermissionsResult.h new file mode 100644 index 00000000000..da3159b8080 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppPermissionsResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + class UpdateQAppPermissionsResult + { + public: + AWS_QAPPS_API UpdateQAppPermissionsResult(); + AWS_QAPPS_API UpdateQAppPermissionsResult(const Aws::AmazonWebServiceResult& result); + AWS_QAPPS_API UpdateQAppPermissionsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the Amazon Q App for which permissions were + * updated.

    + */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } + inline UpdateQAppPermissionsResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline UpdateQAppPermissionsResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline UpdateQAppPermissionsResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Amazon Q App for which permissions were + * updated.

    + */ + inline const Aws::String& GetAppId() const{ return m_appId; } + inline void SetAppId(const Aws::String& value) { m_appId = value; } + inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); } + inline void SetAppId(const char* value) { m_appId.assign(value); } + inline UpdateQAppPermissionsResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} + inline UpdateQAppPermissionsResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} + inline UpdateQAppPermissionsResult& WithAppId(const char* value) { SetAppId(value); return *this;} + ///@} + + ///@{ + /** + *

    The updated list of permissions for the Amazon Q App.

    + */ + inline const Aws::Vector& GetPermissions() const{ return m_permissions; } + inline void SetPermissions(const Aws::Vector& value) { m_permissions = value; } + inline void SetPermissions(Aws::Vector&& value) { m_permissions = std::move(value); } + inline UpdateQAppPermissionsResult& WithPermissions(const Aws::Vector& value) { SetPermissions(value); return *this;} + inline UpdateQAppPermissionsResult& WithPermissions(Aws::Vector&& value) { SetPermissions(std::move(value)); return *this;} + inline UpdateQAppPermissionsResult& AddPermissions(const PermissionOutput& value) { m_permissions.push_back(value); return *this; } + inline UpdateQAppPermissionsResult& AddPermissions(PermissionOutput&& value) { m_permissions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateQAppPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateQAppPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateQAppPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + + Aws::String m_appId; + + Aws::Vector m_permissions; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppSessionMetadataRequest.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppSessionMetadataRequest.h new file mode 100644 index 00000000000..ed4581ed12f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppSessionMetadataRequest.h @@ -0,0 +1,109 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + + /** + */ + class UpdateQAppSessionMetadataRequest : public QAppsRequest + { + public: + AWS_QAPPS_API UpdateQAppSessionMetadataRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateQAppSessionMetadata"; } + + AWS_QAPPS_API Aws::String SerializePayload() const override; + + AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The unique identifier of the Amazon Q Business application environment + * instance.

    + */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline UpdateQAppSessionMetadataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline UpdateQAppSessionMetadataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline UpdateQAppSessionMetadataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Q App session to update configuration for.

    + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline UpdateQAppSessionMetadataRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline UpdateQAppSessionMetadataRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline UpdateQAppSessionMetadataRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The new name for the Q App session.

    + */ + inline const Aws::String& GetSessionName() const{ return m_sessionName; } + inline bool SessionNameHasBeenSet() const { return m_sessionNameHasBeenSet; } + inline void SetSessionName(const Aws::String& value) { m_sessionNameHasBeenSet = true; m_sessionName = value; } + inline void SetSessionName(Aws::String&& value) { m_sessionNameHasBeenSet = true; m_sessionName = std::move(value); } + inline void SetSessionName(const char* value) { m_sessionNameHasBeenSet = true; m_sessionName.assign(value); } + inline UpdateQAppSessionMetadataRequest& WithSessionName(const Aws::String& value) { SetSessionName(value); return *this;} + inline UpdateQAppSessionMetadataRequest& WithSessionName(Aws::String&& value) { SetSessionName(std::move(value)); return *this;} + inline UpdateQAppSessionMetadataRequest& WithSessionName(const char* value) { SetSessionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The new sharing configuration for the Q App data collection session.

    + */ + inline const SessionSharingConfiguration& GetSharingConfiguration() const{ return m_sharingConfiguration; } + inline bool SharingConfigurationHasBeenSet() const { return m_sharingConfigurationHasBeenSet; } + inline void SetSharingConfiguration(const SessionSharingConfiguration& value) { m_sharingConfigurationHasBeenSet = true; m_sharingConfiguration = value; } + inline void SetSharingConfiguration(SessionSharingConfiguration&& value) { m_sharingConfigurationHasBeenSet = true; m_sharingConfiguration = std::move(value); } + inline UpdateQAppSessionMetadataRequest& WithSharingConfiguration(const SessionSharingConfiguration& value) { SetSharingConfiguration(value); return *this;} + inline UpdateQAppSessionMetadataRequest& WithSharingConfiguration(SessionSharingConfiguration&& value) { SetSharingConfiguration(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + + Aws::String m_sessionName; + bool m_sessionNameHasBeenSet = false; + + SessionSharingConfiguration m_sharingConfiguration; + bool m_sharingConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppSessionMetadataResult.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppSessionMetadataResult.h new file mode 100644 index 00000000000..9ddbb5c9f56 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateQAppSessionMetadataResult.h @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + class UpdateQAppSessionMetadataResult + { + public: + AWS_QAPPS_API UpdateQAppSessionMetadataResult(); + AWS_QAPPS_API UpdateQAppSessionMetadataResult(const Aws::AmazonWebServiceResult& result); + AWS_QAPPS_API UpdateQAppSessionMetadataResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The unique identifier of the updated Q App session.

    + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline void SetSessionId(const Aws::String& value) { m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionId.assign(value); } + inline UpdateQAppSessionMetadataResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline UpdateQAppSessionMetadataResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline UpdateQAppSessionMetadataResult& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the updated Q App session.

    + */ + inline const Aws::String& GetSessionArn() const{ return m_sessionArn; } + inline void SetSessionArn(const Aws::String& value) { m_sessionArn = value; } + inline void SetSessionArn(Aws::String&& value) { m_sessionArn = std::move(value); } + inline void SetSessionArn(const char* value) { m_sessionArn.assign(value); } + inline UpdateQAppSessionMetadataResult& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;} + inline UpdateQAppSessionMetadataResult& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;} + inline UpdateQAppSessionMetadataResult& WithSessionArn(const char* value) { SetSessionArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The new name of the updated Q App session.

    + */ + inline const Aws::String& GetSessionName() const{ return m_sessionName; } + inline void SetSessionName(const Aws::String& value) { m_sessionName = value; } + inline void SetSessionName(Aws::String&& value) { m_sessionName = std::move(value); } + inline void SetSessionName(const char* value) { m_sessionName.assign(value); } + inline UpdateQAppSessionMetadataResult& WithSessionName(const Aws::String& value) { SetSessionName(value); return *this;} + inline UpdateQAppSessionMetadataResult& WithSessionName(Aws::String&& value) { SetSessionName(std::move(value)); return *this;} + inline UpdateQAppSessionMetadataResult& WithSessionName(const char* value) { SetSessionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The new sharing configuration of the updated Q App data collection + * session.

    + */ + inline const SessionSharingConfiguration& GetSharingConfiguration() const{ return m_sharingConfiguration; } + inline void SetSharingConfiguration(const SessionSharingConfiguration& value) { m_sharingConfiguration = value; } + inline void SetSharingConfiguration(SessionSharingConfiguration&& value) { m_sharingConfiguration = std::move(value); } + inline UpdateQAppSessionMetadataResult& WithSharingConfiguration(const SessionSharingConfiguration& value) { SetSharingConfiguration(value); return *this;} + inline UpdateQAppSessionMetadataResult& WithSharingConfiguration(SessionSharingConfiguration&& value) { SetSharingConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateQAppSessionMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateQAppSessionMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateQAppSessionMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_sessionId; + + Aws::String m_sessionArn; + + Aws::String m_sessionName; + + SessionSharingConfiguration m_sharingConfiguration; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/User.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/User.h new file mode 100644 index 00000000000..0819ae37c9d --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/User.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QApps +{ +namespace Model +{ + + /** + *

    A user of an Amazon Q App.

    See Also:

    AWS API + * Reference

    + */ + class User + { + public: + AWS_QAPPS_API User(); + AWS_QAPPS_API User(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API User& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The unique identifier of a user.

    + */ + inline const Aws::String& GetUserId() const{ return m_userId; } + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + inline User& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + inline User& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + inline User& WithUserId(const char* value) { SetUserId(value); return *this;} + ///@} + private: + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/QAppsClient.cpp b/generated/src/aws-cpp-sdk-qapps/source/QAppsClient.cpp index 804ee1eb573..db9cca5a213 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/QAppsClient.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/QAppsClient.cpp @@ -27,17 +27,22 @@ #include #include #include +#include #include #include #include +#include #include #include +#include #include #include #include +#include #include #include #include +#include #include #include #include @@ -48,7 +53,9 @@ #include #include #include +#include #include +#include #include @@ -384,6 +391,38 @@ CreateLibraryItemOutcome QAppsClient::CreateLibraryItem(const CreateLibraryItemR {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreatePresignedUrlOutcome QAppsClient::CreatePresignedUrl(const CreatePresignedUrlRequest& request) const +{ + AWS_OPERATION_GUARD(CreatePresignedUrl); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreatePresignedUrl, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.InstanceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreatePresignedUrl", "Required field: InstanceId, is not set"); + return CreatePresignedUrlOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreatePresignedUrl, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreatePresignedUrl, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreatePresignedUrl", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreatePresignedUrlOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreatePresignedUrl, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/apps.createPresignedUrl"); + return CreatePresignedUrlOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateQAppOutcome QAppsClient::CreateQApp(const CreateQAppRequest& request) const { AWS_OPERATION_GUARD(CreateQApp); @@ -480,6 +519,43 @@ DeleteQAppOutcome QAppsClient::DeleteQApp(const DeleteQAppRequest& request) cons {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeQAppPermissionsOutcome QAppsClient::DescribeQAppPermissions(const DescribeQAppPermissionsRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeQAppPermissions); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeQAppPermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.InstanceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeQAppPermissions", "Required field: InstanceId, is not set"); + return DescribeQAppPermissionsOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); + } + if (!request.AppIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeQAppPermissions", "Required field: AppId, is not set"); + return DescribeQAppPermissionsOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AppId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeQAppPermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeQAppPermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeQAppPermissions", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DescribeQAppPermissionsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DescribeQAppPermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/apps.describeQAppPermissions"); + return DescribeQAppPermissionsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DisassociateLibraryItemReviewOutcome QAppsClient::DisassociateLibraryItemReview(const DisassociateLibraryItemReviewRequest& request) const { AWS_OPERATION_GUARD(DisassociateLibraryItemReview); @@ -544,6 +620,38 @@ DisassociateQAppFromUserOutcome QAppsClient::DisassociateQAppFromUser(const Disa {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ExportQAppSessionDataOutcome QAppsClient::ExportQAppSessionData(const ExportQAppSessionDataRequest& request) const +{ + AWS_OPERATION_GUARD(ExportQAppSessionData); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ExportQAppSessionData, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.InstanceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ExportQAppSessionData", "Required field: InstanceId, is not set"); + return ExportQAppSessionDataOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ExportQAppSessionData, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ExportQAppSessionData, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ExportQAppSessionData", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ExportQAppSessionDataOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ExportQAppSessionData, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/runtime.exportQAppSessionData"); + return ExportQAppSessionDataOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetLibraryItemOutcome QAppsClient::GetLibraryItem(const GetLibraryItemRequest& request) const { AWS_OPERATION_GUARD(GetLibraryItem); @@ -655,6 +763,43 @@ GetQAppSessionOutcome QAppsClient::GetQAppSession(const GetQAppSessionRequest& r {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetQAppSessionMetadataOutcome QAppsClient::GetQAppSessionMetadata(const GetQAppSessionMetadataRequest& request) const +{ + AWS_OPERATION_GUARD(GetQAppSessionMetadata); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetQAppSessionMetadata, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.InstanceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQAppSessionMetadata", "Required field: InstanceId, is not set"); + return GetQAppSessionMetadataOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); + } + if (!request.SessionIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQAppSessionMetadata", "Required field: SessionId, is not set"); + return GetQAppSessionMetadataOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SessionId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetQAppSessionMetadata, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetQAppSessionMetadata, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetQAppSessionMetadata", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetQAppSessionMetadataOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetQAppSessionMetadata, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/runtime.getQAppSessionMetadata"); + return GetQAppSessionMetadataOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ImportDocumentOutcome QAppsClient::ImportDocument(const ImportDocumentRequest& request) const { AWS_OPERATION_GUARD(ImportDocument); @@ -751,6 +896,43 @@ ListLibraryItemsOutcome QAppsClient::ListLibraryItems(const ListLibraryItemsRequ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListQAppSessionDataOutcome QAppsClient::ListQAppSessionData(const ListQAppSessionDataRequest& request) const +{ + AWS_OPERATION_GUARD(ListQAppSessionData); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListQAppSessionData, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.InstanceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListQAppSessionData", "Required field: InstanceId, is not set"); + return ListQAppSessionDataOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); + } + if (!request.SessionIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListQAppSessionData", "Required field: SessionId, is not set"); + return ListQAppSessionDataOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SessionId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListQAppSessionData, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListQAppSessionData, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListQAppSessionData", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListQAppSessionDataOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListQAppSessionData, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/runtime.listQAppSessionData"); + return ListQAppSessionDataOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListQAppsOutcome QAppsClient::ListQApps(const ListQAppsRequest& request) const { AWS_OPERATION_GUARD(ListQApps); @@ -1079,6 +1261,38 @@ UpdateQAppOutcome QAppsClient::UpdateQApp(const UpdateQAppRequest& request) cons {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateQAppPermissionsOutcome QAppsClient::UpdateQAppPermissions(const UpdateQAppPermissionsRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateQAppPermissions); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateQAppPermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.InstanceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQAppPermissions", "Required field: InstanceId, is not set"); + return UpdateQAppPermissionsOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateQAppPermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateQAppPermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateQAppPermissions", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateQAppPermissionsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateQAppPermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/apps.updateQAppPermissions"); + return UpdateQAppPermissionsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateQAppSessionOutcome QAppsClient::UpdateQAppSession(const UpdateQAppSessionRequest& request) const { AWS_OPERATION_GUARD(UpdateQAppSession); @@ -1111,3 +1325,35 @@ UpdateQAppSessionOutcome QAppsClient::UpdateQAppSession(const UpdateQAppSessionR {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateQAppSessionMetadataOutcome QAppsClient::UpdateQAppSessionMetadata(const UpdateQAppSessionMetadataRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateQAppSessionMetadata); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateQAppSessionMetadata, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.InstanceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQAppSessionMetadata", "Required field: InstanceId, is not set"); + return UpdateQAppSessionMetadataOutcome(Aws::Client::AWSError(QAppsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateQAppSessionMetadata, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateQAppSessionMetadata, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateQAppSessionMetadata", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateQAppSessionMetadataOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateQAppSessionMetadata, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/runtime.updateQAppSessionMetadata"); + return UpdateQAppSessionMetadataOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/Card.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/Card.cpp index ffb4142bbbb..711e15be181 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/Card.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/Card.cpp @@ -22,7 +22,8 @@ Card::Card() : m_textInputHasBeenSet(false), m_qQueryHasBeenSet(false), m_qPluginHasBeenSet(false), - m_fileUploadHasBeenSet(false) + m_fileUploadHasBeenSet(false), + m_formInputHasBeenSet(false) { } @@ -62,6 +63,13 @@ Card& Card::operator =(JsonView jsonValue) m_fileUploadHasBeenSet = true; } + if(jsonValue.ValueExists("formInput")) + { + m_formInput = jsonValue.GetObject("formInput"); + + m_formInputHasBeenSet = true; + } + return *this; } @@ -93,6 +101,12 @@ JsonValue Card::Jsonize() const } + if(m_formInputHasBeenSet) + { + payload.WithObject("formInput", m_formInput.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/CardInput.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/CardInput.cpp index a7861e050e3..3a2f65763e6 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/CardInput.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/CardInput.cpp @@ -22,7 +22,8 @@ CardInput::CardInput() : m_textInputHasBeenSet(false), m_qQueryHasBeenSet(false), m_qPluginHasBeenSet(false), - m_fileUploadHasBeenSet(false) + m_fileUploadHasBeenSet(false), + m_formInputHasBeenSet(false) { } @@ -62,6 +63,13 @@ CardInput& CardInput::operator =(JsonView jsonValue) m_fileUploadHasBeenSet = true; } + if(jsonValue.ValueExists("formInput")) + { + m_formInput = jsonValue.GetObject("formInput"); + + m_formInputHasBeenSet = true; + } + return *this; } @@ -93,6 +101,12 @@ JsonValue CardInput::Jsonize() const } + if(m_formInputHasBeenSet) + { + payload.WithObject("formInput", m_formInput.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/CardStatus.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/CardStatus.cpp index 0c0a7b9ebd5..510c3a74d7b 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/CardStatus.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/CardStatus.cpp @@ -21,7 +21,8 @@ namespace Model CardStatus::CardStatus() : m_currentState(ExecutionStatus::NOT_SET), m_currentStateHasBeenSet(false), - m_currentValueHasBeenSet(false) + m_currentValueHasBeenSet(false), + m_submissionsHasBeenSet(false) { } @@ -47,6 +48,16 @@ CardStatus& CardStatus::operator =(JsonView jsonValue) m_currentValueHasBeenSet = true; } + if(jsonValue.ValueExists("submissions")) + { + Aws::Utils::Array submissionsJsonList = jsonValue.GetArray("submissions"); + for(unsigned submissionsIndex = 0; submissionsIndex < submissionsJsonList.GetLength(); ++submissionsIndex) + { + m_submissions.push_back(submissionsJsonList[submissionsIndex].AsObject()); + } + m_submissionsHasBeenSet = true; + } + return *this; } @@ -65,6 +76,17 @@ JsonValue CardStatus::Jsonize() const } + if(m_submissionsHasBeenSet) + { + Aws::Utils::Array submissionsJsonList(m_submissions.size()); + for(unsigned submissionsIndex = 0; submissionsIndex < submissionsJsonList.GetLength(); ++submissionsIndex) + { + submissionsJsonList[submissionsIndex].AsObject(m_submissions[submissionsIndex].Jsonize()); + } + payload.WithArray("submissions", std::move(submissionsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/CardType.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/CardType.cpp index ca4ec12b53d..6e384bf8a36 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/CardType.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/CardType.cpp @@ -24,6 +24,7 @@ namespace Aws static const int q_query_HASH = HashingUtils::HashString("q-query"); static const int file_upload_HASH = HashingUtils::HashString("file-upload"); static const int q_plugin_HASH = HashingUtils::HashString("q-plugin"); + static const int form_input_HASH = HashingUtils::HashString("form-input"); CardType GetCardTypeForName(const Aws::String& name) @@ -45,6 +46,10 @@ namespace Aws { return CardType::q_plugin; } + else if (hashCode == form_input_HASH) + { + return CardType::form_input; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -69,6 +74,8 @@ namespace Aws return "file-upload"; case CardType::q_plugin: return "q-plugin"; + case CardType::form_input: + return "form-input"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/CardValue.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/CardValue.cpp index 9c0a0108625..2dbf6df3718 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/CardValue.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/CardValue.cpp @@ -20,7 +20,8 @@ namespace Model CardValue::CardValue() : m_cardIdHasBeenSet(false), - m_valueHasBeenSet(false) + m_valueHasBeenSet(false), + m_submissionMutationHasBeenSet(false) { } @@ -46,6 +47,13 @@ CardValue& CardValue::operator =(JsonView jsonValue) m_valueHasBeenSet = true; } + if(jsonValue.ValueExists("submissionMutation")) + { + m_submissionMutation = jsonValue.GetObject("submissionMutation"); + + m_submissionMutationHasBeenSet = true; + } + return *this; } @@ -65,6 +73,12 @@ JsonValue CardValue::Jsonize() const } + if(m_submissionMutationHasBeenSet) + { + payload.WithObject("submissionMutation", m_submissionMutation.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/CreatePresignedUrlRequest.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/CreatePresignedUrlRequest.cpp new file mode 100644 index 00000000000..9afced44061 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/CreatePresignedUrlRequest.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreatePresignedUrlRequest::CreatePresignedUrlRequest() : + m_instanceIdHasBeenSet(false), + m_cardIdHasBeenSet(false), + m_appIdHasBeenSet(false), + m_fileContentsSha256HasBeenSet(false), + m_fileNameHasBeenSet(false), + m_scope(DocumentScope::NOT_SET), + m_scopeHasBeenSet(false), + m_sessionIdHasBeenSet(false) +{ +} + +Aws::String CreatePresignedUrlRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_cardIdHasBeenSet) + { + payload.WithString("cardId", m_cardId); + + } + + if(m_appIdHasBeenSet) + { + payload.WithString("appId", m_appId); + + } + + if(m_fileContentsSha256HasBeenSet) + { + payload.WithString("fileContentsSha256", m_fileContentsSha256); + + } + + if(m_fileNameHasBeenSet) + { + payload.WithString("fileName", m_fileName); + + } + + if(m_scopeHasBeenSet) + { + payload.WithString("scope", DocumentScopeMapper::GetNameForDocumentScope(m_scope)); + } + + if(m_sessionIdHasBeenSet) + { + payload.WithString("sessionId", m_sessionId); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreatePresignedUrlRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_instanceIdHasBeenSet) + { + ss << m_instanceId; + headers.emplace("instance-id", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/CreatePresignedUrlResult.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/CreatePresignedUrlResult.cpp new file mode 100644 index 00000000000..25726f70d5a --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/CreatePresignedUrlResult.cpp @@ -0,0 +1,69 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreatePresignedUrlResult::CreatePresignedUrlResult() +{ +} + +CreatePresignedUrlResult::CreatePresignedUrlResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreatePresignedUrlResult& CreatePresignedUrlResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("fileId")) + { + m_fileId = jsonValue.GetString("fileId"); + + } + + if(jsonValue.ValueExists("presignedUrl")) + { + m_presignedUrl = jsonValue.GetString("presignedUrl"); + + } + + if(jsonValue.ValueExists("presignedUrlFields")) + { + Aws::Map presignedUrlFieldsJsonMap = jsonValue.GetObject("presignedUrlFields").GetAllObjects(); + for(auto& presignedUrlFieldsItem : presignedUrlFieldsJsonMap) + { + m_presignedUrlFields[presignedUrlFieldsItem.first] = presignedUrlFieldsItem.second.AsString(); + } + } + + if(jsonValue.ValueExists("presignedUrlExpiration")) + { + m_presignedUrlExpiration = jsonValue.GetString("presignedUrlExpiration"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/DescribeQAppPermissionsRequest.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/DescribeQAppPermissionsRequest.cpp new file mode 100644 index 00000000000..0eb048f269f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/DescribeQAppPermissionsRequest.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +DescribeQAppPermissionsRequest::DescribeQAppPermissionsRequest() : + m_instanceIdHasBeenSet(false), + m_appIdHasBeenSet(false) +{ +} + +Aws::String DescribeQAppPermissionsRequest::SerializePayload() const +{ + return {}; +} + +Aws::Http::HeaderValueCollection DescribeQAppPermissionsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_instanceIdHasBeenSet) + { + ss << m_instanceId; + headers.emplace("instance-id", ss.str()); + ss.str(""); + } + + return headers; + +} + +void DescribeQAppPermissionsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_appIdHasBeenSet) + { + ss << m_appId; + uri.AddQueryStringParameter("appId", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/DescribeQAppPermissionsResult.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/DescribeQAppPermissionsResult.cpp new file mode 100644 index 00000000000..8cf4235ec8f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/DescribeQAppPermissionsResult.cpp @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DescribeQAppPermissionsResult::DescribeQAppPermissionsResult() +{ +} + +DescribeQAppPermissionsResult::DescribeQAppPermissionsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DescribeQAppPermissionsResult& DescribeQAppPermissionsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("resourceArn")) + { + m_resourceArn = jsonValue.GetString("resourceArn"); + + } + + if(jsonValue.ValueExists("appId")) + { + m_appId = jsonValue.GetString("appId"); + + } + + if(jsonValue.ValueExists("permissions")) + { + Aws::Utils::Array permissionsJsonList = jsonValue.GetArray("permissions"); + for(unsigned permissionsIndex = 0; permissionsIndex < permissionsJsonList.GetLength(); ++permissionsIndex) + { + m_permissions.push_back(permissionsJsonList[permissionsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/ExecutionStatus.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/ExecutionStatus.cpp index 2f0f976f3e8..7058fa197e9 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/ExecutionStatus.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/ExecutionStatus.cpp @@ -23,6 +23,7 @@ namespace Aws static const int IN_PROGRESS_HASH = HashingUtils::HashString("IN_PROGRESS"); static const int WAITING_HASH = HashingUtils::HashString("WAITING"); static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); + static const int ERROR__HASH = HashingUtils::HashString("ERROR"); ExecutionStatus GetExecutionStatusForName(const Aws::String& name) @@ -40,6 +41,10 @@ namespace Aws { return ExecutionStatus::COMPLETED; } + else if (hashCode == ERROR__HASH) + { + return ExecutionStatus::ERROR_; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -62,6 +67,8 @@ namespace Aws return "WAITING"; case ExecutionStatus::COMPLETED: return "COMPLETED"; + case ExecutionStatus::ERROR_: + return "ERROR"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/ExportQAppSessionDataRequest.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/ExportQAppSessionDataRequest.cpp new file mode 100644 index 00000000000..44da9164fb9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/ExportQAppSessionDataRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ExportQAppSessionDataRequest::ExportQAppSessionDataRequest() : + m_instanceIdHasBeenSet(false), + m_sessionIdHasBeenSet(false) +{ +} + +Aws::String ExportQAppSessionDataRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_sessionIdHasBeenSet) + { + payload.WithString("sessionId", m_sessionId); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ExportQAppSessionDataRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_instanceIdHasBeenSet) + { + ss << m_instanceId; + headers.emplace("instance-id", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/ExportQAppSessionDataResult.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/ExportQAppSessionDataResult.cpp new file mode 100644 index 00000000000..c6f8b712c0c --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/ExportQAppSessionDataResult.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ExportQAppSessionDataResult::ExportQAppSessionDataResult() +{ +} + +ExportQAppSessionDataResult::ExportQAppSessionDataResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ExportQAppSessionDataResult& ExportQAppSessionDataResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("csvFileLink")) + { + m_csvFileLink = jsonValue.GetString("csvFileLink"); + + } + + if(jsonValue.ValueExists("expiresAt")) + { + m_expiresAt = jsonValue.GetString("expiresAt"); + + } + + if(jsonValue.ValueExists("sessionArn")) + { + m_sessionArn = jsonValue.GetString("sessionArn"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/FormInputCard.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/FormInputCard.cpp new file mode 100644 index 00000000000..b8391c974e5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/FormInputCard.cpp @@ -0,0 +1,137 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +FormInputCard::FormInputCard() : + m_idHasBeenSet(false), + m_titleHasBeenSet(false), + m_dependenciesHasBeenSet(false), + m_type(CardType::NOT_SET), + m_typeHasBeenSet(false), + m_metadataHasBeenSet(false), + m_computeMode(InputCardComputeMode::NOT_SET), + m_computeModeHasBeenSet(false) +{ +} + +FormInputCard::FormInputCard(JsonView jsonValue) + : FormInputCard() +{ + *this = jsonValue; +} + +FormInputCard& FormInputCard::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + m_idHasBeenSet = true; + } + + if(jsonValue.ValueExists("title")) + { + m_title = jsonValue.GetString("title"); + + m_titleHasBeenSet = true; + } + + if(jsonValue.ValueExists("dependencies")) + { + Aws::Utils::Array dependenciesJsonList = jsonValue.GetArray("dependencies"); + for(unsigned dependenciesIndex = 0; dependenciesIndex < dependenciesJsonList.GetLength(); ++dependenciesIndex) + { + m_dependencies.push_back(dependenciesJsonList[dependenciesIndex].AsString()); + } + m_dependenciesHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = CardTypeMapper::GetCardTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + if(jsonValue.ValueExists("metadata")) + { + m_metadata = jsonValue.GetObject("metadata"); + + m_metadataHasBeenSet = true; + } + + if(jsonValue.ValueExists("computeMode")) + { + m_computeMode = InputCardComputeModeMapper::GetInputCardComputeModeForName(jsonValue.GetString("computeMode")); + + m_computeModeHasBeenSet = true; + } + + return *this; +} + +JsonValue FormInputCard::Jsonize() const +{ + JsonValue payload; + + if(m_idHasBeenSet) + { + payload.WithString("id", m_id); + + } + + if(m_titleHasBeenSet) + { + payload.WithString("title", m_title); + + } + + if(m_dependenciesHasBeenSet) + { + Aws::Utils::Array dependenciesJsonList(m_dependencies.size()); + for(unsigned dependenciesIndex = 0; dependenciesIndex < dependenciesJsonList.GetLength(); ++dependenciesIndex) + { + dependenciesJsonList[dependenciesIndex].AsString(m_dependencies[dependenciesIndex]); + } + payload.WithArray("dependencies", std::move(dependenciesJsonList)); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", CardTypeMapper::GetNameForCardType(m_type)); + } + + if(m_metadataHasBeenSet) + { + payload.WithObject("metadata", m_metadata.Jsonize()); + + } + + if(m_computeModeHasBeenSet) + { + payload.WithString("computeMode", InputCardComputeModeMapper::GetNameForInputCardComputeMode(m_computeMode)); + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/FormInputCardInput.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/FormInputCardInput.cpp new file mode 100644 index 00000000000..11dcecb2432 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/FormInputCardInput.cpp @@ -0,0 +1,115 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +FormInputCardInput::FormInputCardInput() : + m_titleHasBeenSet(false), + m_idHasBeenSet(false), + m_type(CardType::NOT_SET), + m_typeHasBeenSet(false), + m_metadataHasBeenSet(false), + m_computeMode(InputCardComputeMode::NOT_SET), + m_computeModeHasBeenSet(false) +{ +} + +FormInputCardInput::FormInputCardInput(JsonView jsonValue) + : FormInputCardInput() +{ + *this = jsonValue; +} + +FormInputCardInput& FormInputCardInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("title")) + { + m_title = jsonValue.GetString("title"); + + m_titleHasBeenSet = true; + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + m_idHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = CardTypeMapper::GetCardTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + if(jsonValue.ValueExists("metadata")) + { + m_metadata = jsonValue.GetObject("metadata"); + + m_metadataHasBeenSet = true; + } + + if(jsonValue.ValueExists("computeMode")) + { + m_computeMode = InputCardComputeModeMapper::GetInputCardComputeModeForName(jsonValue.GetString("computeMode")); + + m_computeModeHasBeenSet = true; + } + + return *this; +} + +JsonValue FormInputCardInput::Jsonize() const +{ + JsonValue payload; + + if(m_titleHasBeenSet) + { + payload.WithString("title", m_title); + + } + + if(m_idHasBeenSet) + { + payload.WithString("id", m_id); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", CardTypeMapper::GetNameForCardType(m_type)); + } + + if(m_metadataHasBeenSet) + { + payload.WithObject("metadata", m_metadata.Jsonize()); + + } + + if(m_computeModeHasBeenSet) + { + payload.WithString("computeMode", InputCardComputeModeMapper::GetNameForInputCardComputeMode(m_computeMode)); + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/FormInputCardMetadata.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/FormInputCardMetadata.cpp new file mode 100644 index 00000000000..549bbc240ec --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/FormInputCardMetadata.cpp @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +FormInputCardMetadata::FormInputCardMetadata() : + m_schemaHasBeenSet(false) +{ +} + +FormInputCardMetadata::FormInputCardMetadata(JsonView jsonValue) + : FormInputCardMetadata() +{ + *this = jsonValue; +} + +FormInputCardMetadata& FormInputCardMetadata::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("schema")) + { + m_schema = jsonValue.GetObject("schema"); + + m_schemaHasBeenSet = true; + } + + return *this; +} + +JsonValue FormInputCardMetadata::Jsonize() const +{ + JsonValue payload; + + if(m_schemaHasBeenSet) + { + if(!m_schema.View().IsNull()) + { + payload.WithObject("schema", JsonValue(m_schema.View())); + } + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppRequest.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppRequest.cpp index 3a50422564f..b0849eb86fb 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppRequest.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppRequest.cpp @@ -17,7 +17,9 @@ using namespace Aws::Http; GetQAppRequest::GetQAppRequest() : m_instanceIdHasBeenSet(false), - m_appIdHasBeenSet(false) + m_appIdHasBeenSet(false), + m_appVersion(0), + m_appVersionHasBeenSet(false) { } @@ -51,6 +53,13 @@ void GetQAppRequest::AddQueryStringParameters(URI& uri) const ss.str(""); } + if(m_appVersionHasBeenSet) + { + ss << m_appVersion; + uri.AddQueryStringParameter("appVersion", ss.str()); + ss.str(""); + } + } diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionMetadataRequest.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionMetadataRequest.cpp new file mode 100644 index 00000000000..5e0c3048e9e --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionMetadataRequest.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetQAppSessionMetadataRequest::GetQAppSessionMetadataRequest() : + m_instanceIdHasBeenSet(false), + m_sessionIdHasBeenSet(false) +{ +} + +Aws::String GetQAppSessionMetadataRequest::SerializePayload() const +{ + return {}; +} + +Aws::Http::HeaderValueCollection GetQAppSessionMetadataRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_instanceIdHasBeenSet) + { + ss << m_instanceId; + headers.emplace("instance-id", ss.str()); + ss.str(""); + } + + return headers; + +} + +void GetQAppSessionMetadataRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_sessionIdHasBeenSet) + { + ss << m_sessionId; + uri.AddQueryStringParameter("sessionId", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionMetadataResult.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionMetadataResult.cpp new file mode 100644 index 00000000000..9b66745bcf3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionMetadataResult.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetQAppSessionMetadataResult::GetQAppSessionMetadataResult() : + m_sessionOwner(false) +{ +} + +GetQAppSessionMetadataResult::GetQAppSessionMetadataResult(const Aws::AmazonWebServiceResult& result) + : GetQAppSessionMetadataResult() +{ + *this = result; +} + +GetQAppSessionMetadataResult& GetQAppSessionMetadataResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("sessionId")) + { + m_sessionId = jsonValue.GetString("sessionId"); + + } + + if(jsonValue.ValueExists("sessionArn")) + { + m_sessionArn = jsonValue.GetString("sessionArn"); + + } + + if(jsonValue.ValueExists("sessionName")) + { + m_sessionName = jsonValue.GetString("sessionName"); + + } + + if(jsonValue.ValueExists("sharingConfiguration")) + { + m_sharingConfiguration = jsonValue.GetObject("sharingConfiguration"); + + } + + if(jsonValue.ValueExists("sessionOwner")) + { + m_sessionOwner = jsonValue.GetBool("sessionOwner"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionResult.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionResult.cpp index c5e69b0c583..da3a614db45 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionResult.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/GetQAppSessionResult.cpp @@ -18,7 +18,10 @@ using namespace Aws::Utils; using namespace Aws; GetQAppSessionResult::GetQAppSessionResult() : - m_status(ExecutionStatus::NOT_SET) + m_appVersion(0), + m_latestPublishedAppVersion(0), + m_status(ExecutionStatus::NOT_SET), + m_userIsHost(false) { } @@ -43,6 +46,24 @@ GetQAppSessionResult& GetQAppSessionResult::operator =(const Aws::AmazonWebServi } + if(jsonValue.ValueExists("sessionName")) + { + m_sessionName = jsonValue.GetString("sessionName"); + + } + + if(jsonValue.ValueExists("appVersion")) + { + m_appVersion = jsonValue.GetInteger("appVersion"); + + } + + if(jsonValue.ValueExists("latestPublishedAppVersion")) + { + m_latestPublishedAppVersion = jsonValue.GetInteger("latestPublishedAppVersion"); + + } + if(jsonValue.ValueExists("status")) { m_status = ExecutionStatusMapper::GetExecutionStatusForName(jsonValue.GetString("status")); @@ -58,6 +79,12 @@ GetQAppSessionResult& GetQAppSessionResult::operator =(const Aws::AmazonWebServi } } + if(jsonValue.ValueExists("userIsHost")) + { + m_userIsHost = jsonValue.GetBool("userIsHost"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/InputCardComputeMode.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/InputCardComputeMode.cpp new file mode 100644 index 00000000000..c6a524eec53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/InputCardComputeMode.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QApps + { + namespace Model + { + namespace InputCardComputeModeMapper + { + + static const int append_HASH = HashingUtils::HashString("append"); + static const int replace_HASH = HashingUtils::HashString("replace"); + + + InputCardComputeMode GetInputCardComputeModeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == append_HASH) + { + return InputCardComputeMode::append; + } + else if (hashCode == replace_HASH) + { + return InputCardComputeMode::replace; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return InputCardComputeMode::NOT_SET; + } + + Aws::String GetNameForInputCardComputeMode(InputCardComputeMode enumValue) + { + switch(enumValue) + { + case InputCardComputeMode::NOT_SET: + return {}; + case InputCardComputeMode::append: + return "append"; + case InputCardComputeMode::replace: + return "replace"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace InputCardComputeModeMapper + } // namespace Model + } // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/ListQAppSessionDataRequest.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/ListQAppSessionDataRequest.cpp new file mode 100644 index 00000000000..715ae7abbd3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/ListQAppSessionDataRequest.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListQAppSessionDataRequest::ListQAppSessionDataRequest() : + m_instanceIdHasBeenSet(false), + m_sessionIdHasBeenSet(false) +{ +} + +Aws::String ListQAppSessionDataRequest::SerializePayload() const +{ + return {}; +} + +Aws::Http::HeaderValueCollection ListQAppSessionDataRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_instanceIdHasBeenSet) + { + ss << m_instanceId; + headers.emplace("instance-id", ss.str()); + ss.str(""); + } + + return headers; + +} + +void ListQAppSessionDataRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_sessionIdHasBeenSet) + { + ss << m_sessionId; + uri.AddQueryStringParameter("sessionId", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/ListQAppSessionDataResult.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/ListQAppSessionDataResult.cpp new file mode 100644 index 00000000000..368e5946946 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/ListQAppSessionDataResult.cpp @@ -0,0 +1,69 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListQAppSessionDataResult::ListQAppSessionDataResult() +{ +} + +ListQAppSessionDataResult::ListQAppSessionDataResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListQAppSessionDataResult& ListQAppSessionDataResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("sessionId")) + { + m_sessionId = jsonValue.GetString("sessionId"); + + } + + if(jsonValue.ValueExists("sessionArn")) + { + m_sessionArn = jsonValue.GetString("sessionArn"); + + } + + if(jsonValue.ValueExists("sessionData")) + { + Aws::Utils::Array sessionDataJsonList = jsonValue.GetArray("sessionData"); + for(unsigned sessionDataIndex = 0; sessionDataIndex < sessionDataJsonList.GetLength(); ++sessionDataIndex) + { + m_sessionData.push_back(sessionDataJsonList[sessionDataIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/PermissionInput.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/PermissionInput.cpp new file mode 100644 index 00000000000..82fbd6dbbee --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/PermissionInput.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +PermissionInput::PermissionInput() : + m_action(PermissionInputActionEnum::NOT_SET), + m_actionHasBeenSet(false), + m_principalHasBeenSet(false) +{ +} + +PermissionInput::PermissionInput(JsonView jsonValue) + : PermissionInput() +{ + *this = jsonValue; +} + +PermissionInput& PermissionInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("action")) + { + m_action = PermissionInputActionEnumMapper::GetPermissionInputActionEnumForName(jsonValue.GetString("action")); + + m_actionHasBeenSet = true; + } + + if(jsonValue.ValueExists("principal")) + { + m_principal = jsonValue.GetString("principal"); + + m_principalHasBeenSet = true; + } + + return *this; +} + +JsonValue PermissionInput::Jsonize() const +{ + JsonValue payload; + + if(m_actionHasBeenSet) + { + payload.WithString("action", PermissionInputActionEnumMapper::GetNameForPermissionInputActionEnum(m_action)); + } + + if(m_principalHasBeenSet) + { + payload.WithString("principal", m_principal); + + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/PermissionInputActionEnum.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/PermissionInputActionEnum.cpp new file mode 100644 index 00000000000..3ae653c4e58 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/PermissionInputActionEnum.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QApps + { + namespace Model + { + namespace PermissionInputActionEnumMapper + { + + static const int read_HASH = HashingUtils::HashString("read"); + static const int write_HASH = HashingUtils::HashString("write"); + + + PermissionInputActionEnum GetPermissionInputActionEnumForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == read_HASH) + { + return PermissionInputActionEnum::read; + } + else if (hashCode == write_HASH) + { + return PermissionInputActionEnum::write; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PermissionInputActionEnum::NOT_SET; + } + + Aws::String GetNameForPermissionInputActionEnum(PermissionInputActionEnum enumValue) + { + switch(enumValue) + { + case PermissionInputActionEnum::NOT_SET: + return {}; + case PermissionInputActionEnum::read: + return "read"; + case PermissionInputActionEnum::write: + return "write"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PermissionInputActionEnumMapper + } // namespace Model + } // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/PermissionOutput.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/PermissionOutput.cpp new file mode 100644 index 00000000000..39c3712c172 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/PermissionOutput.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +PermissionOutput::PermissionOutput() : + m_action(PermissionOutputActionEnum::NOT_SET), + m_actionHasBeenSet(false), + m_principalHasBeenSet(false) +{ +} + +PermissionOutput::PermissionOutput(JsonView jsonValue) + : PermissionOutput() +{ + *this = jsonValue; +} + +PermissionOutput& PermissionOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("action")) + { + m_action = PermissionOutputActionEnumMapper::GetPermissionOutputActionEnumForName(jsonValue.GetString("action")); + + m_actionHasBeenSet = true; + } + + if(jsonValue.ValueExists("principal")) + { + m_principal = jsonValue.GetObject("principal"); + + m_principalHasBeenSet = true; + } + + return *this; +} + +JsonValue PermissionOutput::Jsonize() const +{ + JsonValue payload; + + if(m_actionHasBeenSet) + { + payload.WithString("action", PermissionOutputActionEnumMapper::GetNameForPermissionOutputActionEnum(m_action)); + } + + if(m_principalHasBeenSet) + { + payload.WithObject("principal", m_principal.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/PermissionOutputActionEnum.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/PermissionOutputActionEnum.cpp new file mode 100644 index 00000000000..d3e06e28ab9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/PermissionOutputActionEnum.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QApps + { + namespace Model + { + namespace PermissionOutputActionEnumMapper + { + + static const int read_HASH = HashingUtils::HashString("read"); + static const int write_HASH = HashingUtils::HashString("write"); + + + PermissionOutputActionEnum GetPermissionOutputActionEnumForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == read_HASH) + { + return PermissionOutputActionEnum::read; + } + else if (hashCode == write_HASH) + { + return PermissionOutputActionEnum::write; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PermissionOutputActionEnum::NOT_SET; + } + + Aws::String GetNameForPermissionOutputActionEnum(PermissionOutputActionEnum enumValue) + { + switch(enumValue) + { + case PermissionOutputActionEnum::NOT_SET: + return {}; + case PermissionOutputActionEnum::read: + return "read"; + case PermissionOutputActionEnum::write: + return "write"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PermissionOutputActionEnumMapper + } // namespace Model + } // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/PrincipalOutput.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/PrincipalOutput.cpp new file mode 100644 index 00000000000..c2ce047e1aa --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/PrincipalOutput.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +PrincipalOutput::PrincipalOutput() : + m_userIdHasBeenSet(false), + m_userType(PrincipalOutputUserTypeEnum::NOT_SET), + m_userTypeHasBeenSet(false), + m_emailHasBeenSet(false) +{ +} + +PrincipalOutput::PrincipalOutput(JsonView jsonValue) + : PrincipalOutput() +{ + *this = jsonValue; +} + +PrincipalOutput& PrincipalOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("userId")) + { + m_userId = jsonValue.GetString("userId"); + + m_userIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("userType")) + { + m_userType = PrincipalOutputUserTypeEnumMapper::GetPrincipalOutputUserTypeEnumForName(jsonValue.GetString("userType")); + + m_userTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("email")) + { + m_email = jsonValue.GetString("email"); + + m_emailHasBeenSet = true; + } + + return *this; +} + +JsonValue PrincipalOutput::Jsonize() const +{ + JsonValue payload; + + if(m_userIdHasBeenSet) + { + payload.WithString("userId", m_userId); + + } + + if(m_userTypeHasBeenSet) + { + payload.WithString("userType", PrincipalOutputUserTypeEnumMapper::GetNameForPrincipalOutputUserTypeEnum(m_userType)); + } + + if(m_emailHasBeenSet) + { + payload.WithString("email", m_email); + + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/PrincipalOutputUserTypeEnum.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/PrincipalOutputUserTypeEnum.cpp new file mode 100644 index 00000000000..67c3470ce0f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/PrincipalOutputUserTypeEnum.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QApps + { + namespace Model + { + namespace PrincipalOutputUserTypeEnumMapper + { + + static const int owner_HASH = HashingUtils::HashString("owner"); + static const int user_HASH = HashingUtils::HashString("user"); + + + PrincipalOutputUserTypeEnum GetPrincipalOutputUserTypeEnumForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == owner_HASH) + { + return PrincipalOutputUserTypeEnum::owner; + } + else if (hashCode == user_HASH) + { + return PrincipalOutputUserTypeEnum::user; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PrincipalOutputUserTypeEnum::NOT_SET; + } + + Aws::String GetNameForPrincipalOutputUserTypeEnum(PrincipalOutputUserTypeEnum enumValue) + { + switch(enumValue) + { + case PrincipalOutputUserTypeEnum::NOT_SET: + return {}; + case PrincipalOutputUserTypeEnum::owner: + return "owner"; + case PrincipalOutputUserTypeEnum::user: + return "user"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PrincipalOutputUserTypeEnumMapper + } // namespace Model + } // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/QAppSessionData.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/QAppSessionData.cpp new file mode 100644 index 00000000000..c5beff3de5c --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/QAppSessionData.cpp @@ -0,0 +1,116 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +QAppSessionData::QAppSessionData() : + m_cardIdHasBeenSet(false), + m_valueHasBeenSet(false), + m_userHasBeenSet(false), + m_submissionIdHasBeenSet(false), + m_timestampHasBeenSet(false) +{ +} + +QAppSessionData::QAppSessionData(JsonView jsonValue) + : QAppSessionData() +{ + *this = jsonValue; +} + +QAppSessionData& QAppSessionData::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("cardId")) + { + m_cardId = jsonValue.GetString("cardId"); + + m_cardIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetObject("value"); + + m_valueHasBeenSet = true; + } + + if(jsonValue.ValueExists("user")) + { + m_user = jsonValue.GetObject("user"); + + m_userHasBeenSet = true; + } + + if(jsonValue.ValueExists("submissionId")) + { + m_submissionId = jsonValue.GetString("submissionId"); + + m_submissionIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("timestamp")) + { + m_timestamp = jsonValue.GetString("timestamp"); + + m_timestampHasBeenSet = true; + } + + return *this; +} + +JsonValue QAppSessionData::Jsonize() const +{ + JsonValue payload; + + if(m_cardIdHasBeenSet) + { + payload.WithString("cardId", m_cardId); + + } + + if(m_valueHasBeenSet) + { + if(!m_value.View().IsNull()) + { + payload.WithObject("value", JsonValue(m_value.View())); + } + } + + if(m_userHasBeenSet) + { + payload.WithObject("user", m_user.Jsonize()); + + } + + if(m_submissionIdHasBeenSet) + { + payload.WithString("submissionId", m_submissionId); + + } + + if(m_timestampHasBeenSet) + { + payload.WithString("timestamp", m_timestamp.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/QQueryCard.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/QQueryCard.cpp index 1eb27e733dd..b703da24286 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/QQueryCard.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/QQueryCard.cpp @@ -27,7 +27,8 @@ QQueryCard::QQueryCard() : m_promptHasBeenSet(false), m_outputSource(CardOutputSource::NOT_SET), m_outputSourceHasBeenSet(false), - m_attributeFilterHasBeenSet(false) + m_attributeFilterHasBeenSet(false), + m_memoryReferencesHasBeenSet(false) { } @@ -91,6 +92,16 @@ QQueryCard& QQueryCard::operator =(JsonView jsonValue) m_attributeFilterHasBeenSet = true; } + if(jsonValue.ValueExists("memoryReferences")) + { + Aws::Utils::Array memoryReferencesJsonList = jsonValue.GetArray("memoryReferences"); + for(unsigned memoryReferencesIndex = 0; memoryReferencesIndex < memoryReferencesJsonList.GetLength(); ++memoryReferencesIndex) + { + m_memoryReferences.push_back(memoryReferencesJsonList[memoryReferencesIndex].AsString()); + } + m_memoryReferencesHasBeenSet = true; + } + return *this; } @@ -143,6 +154,17 @@ JsonValue QQueryCard::Jsonize() const } + if(m_memoryReferencesHasBeenSet) + { + Aws::Utils::Array memoryReferencesJsonList(m_memoryReferences.size()); + for(unsigned memoryReferencesIndex = 0; memoryReferencesIndex < memoryReferencesJsonList.GetLength(); ++memoryReferencesIndex) + { + memoryReferencesJsonList[memoryReferencesIndex].AsString(m_memoryReferences[memoryReferencesIndex]); + } + payload.WithArray("memoryReferences", std::move(memoryReferencesJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/SessionSharingConfiguration.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/SessionSharingConfiguration.cpp new file mode 100644 index 00000000000..647d7621340 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/SessionSharingConfiguration.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +SessionSharingConfiguration::SessionSharingConfiguration() : + m_enabled(false), + m_enabledHasBeenSet(false), + m_acceptResponses(false), + m_acceptResponsesHasBeenSet(false), + m_revealCards(false), + m_revealCardsHasBeenSet(false) +{ +} + +SessionSharingConfiguration::SessionSharingConfiguration(JsonView jsonValue) + : SessionSharingConfiguration() +{ + *this = jsonValue; +} + +SessionSharingConfiguration& SessionSharingConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("enabled")) + { + m_enabled = jsonValue.GetBool("enabled"); + + m_enabledHasBeenSet = true; + } + + if(jsonValue.ValueExists("acceptResponses")) + { + m_acceptResponses = jsonValue.GetBool("acceptResponses"); + + m_acceptResponsesHasBeenSet = true; + } + + if(jsonValue.ValueExists("revealCards")) + { + m_revealCards = jsonValue.GetBool("revealCards"); + + m_revealCardsHasBeenSet = true; + } + + return *this; +} + +JsonValue SessionSharingConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_enabledHasBeenSet) + { + payload.WithBool("enabled", m_enabled); + + } + + if(m_acceptResponsesHasBeenSet) + { + payload.WithBool("acceptResponses", m_acceptResponses); + + } + + if(m_revealCardsHasBeenSet) + { + payload.WithBool("revealCards", m_revealCards); + + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/StartQAppSessionRequest.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/StartQAppSessionRequest.cpp index 781db7395bd..16bb8240b99 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/StartQAppSessionRequest.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/StartQAppSessionRequest.cpp @@ -19,6 +19,7 @@ StartQAppSessionRequest::StartQAppSessionRequest() : m_appVersion(0), m_appVersionHasBeenSet(false), m_initialValuesHasBeenSet(false), + m_sessionIdHasBeenSet(false), m_tagsHasBeenSet(false) { } @@ -50,6 +51,12 @@ Aws::String StartQAppSessionRequest::SerializePayload() const } + if(m_sessionIdHasBeenSet) + { + payload.WithString("sessionId", m_sessionId); + + } + if(m_tagsHasBeenSet) { JsonValue tagsJsonMap; diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/Submission.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/Submission.cpp new file mode 100644 index 00000000000..4ef286a0f1b --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/Submission.cpp @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +Submission::Submission() : + m_valueHasBeenSet(false), + m_submissionIdHasBeenSet(false), + m_timestampHasBeenSet(false) +{ +} + +Submission::Submission(JsonView jsonValue) + : Submission() +{ + *this = jsonValue; +} + +Submission& Submission::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetObject("value"); + + m_valueHasBeenSet = true; + } + + if(jsonValue.ValueExists("submissionId")) + { + m_submissionId = jsonValue.GetString("submissionId"); + + m_submissionIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("timestamp")) + { + m_timestamp = jsonValue.GetString("timestamp"); + + m_timestampHasBeenSet = true; + } + + return *this; +} + +JsonValue Submission::Jsonize() const +{ + JsonValue payload; + + if(m_valueHasBeenSet) + { + if(!m_value.View().IsNull()) + { + payload.WithObject("value", JsonValue(m_value.View())); + } + } + + if(m_submissionIdHasBeenSet) + { + payload.WithString("submissionId", m_submissionId); + + } + + if(m_timestampHasBeenSet) + { + payload.WithString("timestamp", m_timestamp.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/SubmissionMutation.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/SubmissionMutation.cpp new file mode 100644 index 00000000000..52a55e25b90 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/SubmissionMutation.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +SubmissionMutation::SubmissionMutation() : + m_submissionIdHasBeenSet(false), + m_mutationType(SubmissionMutationKind::NOT_SET), + m_mutationTypeHasBeenSet(false) +{ +} + +SubmissionMutation::SubmissionMutation(JsonView jsonValue) + : SubmissionMutation() +{ + *this = jsonValue; +} + +SubmissionMutation& SubmissionMutation::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("submissionId")) + { + m_submissionId = jsonValue.GetString("submissionId"); + + m_submissionIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("mutationType")) + { + m_mutationType = SubmissionMutationKindMapper::GetSubmissionMutationKindForName(jsonValue.GetString("mutationType")); + + m_mutationTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue SubmissionMutation::Jsonize() const +{ + JsonValue payload; + + if(m_submissionIdHasBeenSet) + { + payload.WithString("submissionId", m_submissionId); + + } + + if(m_mutationTypeHasBeenSet) + { + payload.WithString("mutationType", SubmissionMutationKindMapper::GetNameForSubmissionMutationKind(m_mutationType)); + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/SubmissionMutationKind.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/SubmissionMutationKind.cpp new file mode 100644 index 00000000000..4720e5434cb --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/SubmissionMutationKind.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QApps + { + namespace Model + { + namespace SubmissionMutationKindMapper + { + + static const int edit_HASH = HashingUtils::HashString("edit"); + static const int delete__HASH = HashingUtils::HashString("delete"); + static const int add_HASH = HashingUtils::HashString("add"); + + + SubmissionMutationKind GetSubmissionMutationKindForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == edit_HASH) + { + return SubmissionMutationKind::edit; + } + else if (hashCode == delete__HASH) + { + return SubmissionMutationKind::delete_; + } + else if (hashCode == add_HASH) + { + return SubmissionMutationKind::add; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SubmissionMutationKind::NOT_SET; + } + + Aws::String GetNameForSubmissionMutationKind(SubmissionMutationKind enumValue) + { + switch(enumValue) + { + case SubmissionMutationKind::NOT_SET: + return {}; + case SubmissionMutationKind::edit: + return "edit"; + case SubmissionMutationKind::delete_: + return "delete"; + case SubmissionMutationKind::add: + return "add"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SubmissionMutationKindMapper + } // namespace Model + } // namespace QApps +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppPermissionsRequest.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppPermissionsRequest.cpp new file mode 100644 index 00000000000..2426095ca00 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppPermissionsRequest.cpp @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateQAppPermissionsRequest::UpdateQAppPermissionsRequest() : + m_instanceIdHasBeenSet(false), + m_appIdHasBeenSet(false), + m_grantPermissionsHasBeenSet(false), + m_revokePermissionsHasBeenSet(false) +{ +} + +Aws::String UpdateQAppPermissionsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_appIdHasBeenSet) + { + payload.WithString("appId", m_appId); + + } + + if(m_grantPermissionsHasBeenSet) + { + Aws::Utils::Array grantPermissionsJsonList(m_grantPermissions.size()); + for(unsigned grantPermissionsIndex = 0; grantPermissionsIndex < grantPermissionsJsonList.GetLength(); ++grantPermissionsIndex) + { + grantPermissionsJsonList[grantPermissionsIndex].AsObject(m_grantPermissions[grantPermissionsIndex].Jsonize()); + } + payload.WithArray("grantPermissions", std::move(grantPermissionsJsonList)); + + } + + if(m_revokePermissionsHasBeenSet) + { + Aws::Utils::Array revokePermissionsJsonList(m_revokePermissions.size()); + for(unsigned revokePermissionsIndex = 0; revokePermissionsIndex < revokePermissionsJsonList.GetLength(); ++revokePermissionsIndex) + { + revokePermissionsJsonList[revokePermissionsIndex].AsObject(m_revokePermissions[revokePermissionsIndex].Jsonize()); + } + payload.WithArray("revokePermissions", std::move(revokePermissionsJsonList)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateQAppPermissionsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_instanceIdHasBeenSet) + { + ss << m_instanceId; + headers.emplace("instance-id", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppPermissionsResult.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppPermissionsResult.cpp new file mode 100644 index 00000000000..1f815e5d697 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppPermissionsResult.cpp @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateQAppPermissionsResult::UpdateQAppPermissionsResult() +{ +} + +UpdateQAppPermissionsResult::UpdateQAppPermissionsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateQAppPermissionsResult& UpdateQAppPermissionsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("resourceArn")) + { + m_resourceArn = jsonValue.GetString("resourceArn"); + + } + + if(jsonValue.ValueExists("appId")) + { + m_appId = jsonValue.GetString("appId"); + + } + + if(jsonValue.ValueExists("permissions")) + { + Aws::Utils::Array permissionsJsonList = jsonValue.GetArray("permissions"); + for(unsigned permissionsIndex = 0; permissionsIndex < permissionsJsonList.GetLength(); ++permissionsIndex) + { + m_permissions.push_back(permissionsJsonList[permissionsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppSessionMetadataRequest.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppSessionMetadataRequest.cpp new file mode 100644 index 00000000000..11fec78ab2b --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppSessionMetadataRequest.cpp @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateQAppSessionMetadataRequest::UpdateQAppSessionMetadataRequest() : + m_instanceIdHasBeenSet(false), + m_sessionIdHasBeenSet(false), + m_sessionNameHasBeenSet(false), + m_sharingConfigurationHasBeenSet(false) +{ +} + +Aws::String UpdateQAppSessionMetadataRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_sessionIdHasBeenSet) + { + payload.WithString("sessionId", m_sessionId); + + } + + if(m_sessionNameHasBeenSet) + { + payload.WithString("sessionName", m_sessionName); + + } + + if(m_sharingConfigurationHasBeenSet) + { + payload.WithObject("sharingConfiguration", m_sharingConfiguration.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateQAppSessionMetadataRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_instanceIdHasBeenSet) + { + ss << m_instanceId; + headers.emplace("instance-id", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppSessionMetadataResult.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppSessionMetadataResult.cpp new file mode 100644 index 00000000000..f6668511dc0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/UpdateQAppSessionMetadataResult.cpp @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QApps::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateQAppSessionMetadataResult::UpdateQAppSessionMetadataResult() +{ +} + +UpdateQAppSessionMetadataResult::UpdateQAppSessionMetadataResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateQAppSessionMetadataResult& UpdateQAppSessionMetadataResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("sessionId")) + { + m_sessionId = jsonValue.GetString("sessionId"); + + } + + if(jsonValue.ValueExists("sessionArn")) + { + m_sessionArn = jsonValue.GetString("sessionArn"); + + } + + if(jsonValue.ValueExists("sessionName")) + { + m_sessionName = jsonValue.GetString("sessionName"); + + } + + if(jsonValue.ValueExists("sharingConfiguration")) + { + m_sharingConfiguration = jsonValue.GetObject("sharingConfiguration"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/User.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/User.cpp new file mode 100644 index 00000000000..72f22812144 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qapps/source/model/User.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QApps +{ +namespace Model +{ + +User::User() : + m_userIdHasBeenSet(false) +{ +} + +User::User(JsonView jsonValue) + : User() +{ + *this = jsonValue; +} + +User& User::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("userId")) + { + m_userId = jsonValue.GetString("userId"); + + m_userIdHasBeenSet = true; + } + + return *this; +} + +JsonValue User::Jsonize() const +{ + JsonValue payload; + + if(m_userIdHasBeenSet) + { + payload.WithString("userId", m_userId); + + } + + return payload; +} + +} // namespace Model +} // namespace QApps +} // namespace Aws diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 07d2e12b903..1963f464481 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.455" +#define AWS_SDK_VERSION_STRING "1.11.456" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 455 +#define AWS_SDK_VERSION_PATCH 456 diff --git a/tools/code-generation/api-descriptions/bedrock-agent-2023-06-05.normal.json b/tools/code-generation/api-descriptions/bedrock-agent-2023-06-05.normal.json index 6a6ea6793e9..5594edf4970 100644 --- a/tools/code-generation/api-descriptions/bedrock-agent-2023-06-05.normal.json +++ b/tools/code-generation/api-descriptions/bedrock-agent-2023-06-05.normal.json @@ -1371,6 +1371,10 @@ "shape":"DateTimestamp", "documentation":"

    The time at which the agent was created.

    " }, + "customOrchestration":{ + "shape":"CustomOrchestration", + "documentation":"

    Contains custom orchestration configurations for the agent.

    " + }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"

    The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.

    " @@ -1403,6 +1407,10 @@ "shape":"MemoryConfiguration", "documentation":"

    Contains memory configuration for the agent.

    " }, + "orchestrationType":{ + "shape":"OrchestrationType", + "documentation":"

    Specifies the orchestration strategy for the agent.

    " + }, "preparedAt":{ "shape":"DateTimestamp", "documentation":"

    The time at which the agent was last prepared.

    " @@ -2401,6 +2409,10 @@ "documentation":"

    A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

    ", "idempotencyToken":true }, + "customOrchestration":{ + "shape":"CustomOrchestration", + "documentation":"

    Contains details of the custom orchestration configured for the agent.

    " + }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"

    The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.

    " @@ -2429,6 +2441,10 @@ "shape":"MemoryConfiguration", "documentation":"

    Contains the details of the memory configured for the agent.

    " }, + "orchestrationType":{ + "shape":"OrchestrationType", + "documentation":"

    Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default.

    " + }, "promptOverrideConfiguration":{ "shape":"PromptOverrideConfiguration", "documentation":"

    Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.

    " @@ -2986,6 +3002,16 @@ "type":"string", "enum":["RETURN_CONTROL"] }, + "CustomOrchestration":{ + "type":"structure", + "members":{ + "executor":{ + "shape":"OrchestrationExecutor", + "documentation":"

    The structure of the executor invoking the actions in custom orchestration.

    " + } + }, + "documentation":"

    Details of custom orchestration.

    " + }, "CustomTransformationConfiguration":{ "type":"structure", "required":[ @@ -6533,6 +6559,24 @@ "min":0, "pattern":"^.*$" }, + "OrchestrationExecutor":{ + "type":"structure", + "members":{ + "lambda":{ + "shape":"LambdaArn", + "documentation":"

    The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.

    " + } + }, + "documentation":"

    Contains details about the Lambda function containing the orchestration logic carried out upon invoking the custom orchestration.

    ", + "union":true + }, + "OrchestrationType":{ + "type":"string", + "enum":[ + "DEFAULT", + "CUSTOM_ORCHESTRATION" + ] + }, "OutputFlowNodeConfiguration":{ "type":"structure", "members":{ @@ -8443,6 +8487,10 @@ "shape":"AgentRoleArn", "documentation":"

    The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.

    " }, + "customOrchestration":{ + "shape":"CustomOrchestration", + "documentation":"

    Contains details of the custom orchestration configured for the agent.

    " + }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"

    The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.

    " @@ -8471,6 +8519,10 @@ "shape":"MemoryConfiguration", "documentation":"

    Specifies the new memory configuration for the agent.

    " }, + "orchestrationType":{ + "shape":"OrchestrationType", + "documentation":"

    Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default.

    " + }, "promptOverrideConfiguration":{ "shape":"PromptOverrideConfiguration", "documentation":"

    Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.

    " diff --git a/tools/code-generation/api-descriptions/bedrock-agent-runtime-2023-07-26.normal.json b/tools/code-generation/api-descriptions/bedrock-agent-runtime-2023-07-26.normal.json index 70f8eec30bc..fc063540de7 100644 --- a/tools/code-generation/api-descriptions/bedrock-agent-runtime-2023-07-26.normal.json +++ b/tools/code-generation/api-descriptions/bedrock-agent-runtime-2023-07-26.normal.json @@ -681,6 +681,32 @@ "type":"string", "enum":["RETURN_CONTROL"] }, + "CustomOrchestrationTrace":{ + "type":"structure", + "members":{ + "event":{ + "shape":"CustomOrchestrationTraceEvent", + "documentation":"

    The trace event details used with the custom orchestration.

    " + }, + "traceId":{ + "shape":"TraceId", + "documentation":"

    The unique identifier of the trace.

    " + } + }, + "documentation":"

    The trace behavior for the custom orchestration.

    ", + "sensitive":true + }, + "CustomOrchestrationTraceEvent":{ + "type":"structure", + "members":{ + "text":{ + "shape":"String", + "documentation":"

    The text that prompted the event at this step.

    " + } + }, + "documentation":"

    The event in the custom orchestration sequence.

    ", + "sensitive":true + }, "DateTimestamp":{ "type":"timestamp", "documentation":"

    Time Stamp.

    ", @@ -2279,6 +2305,10 @@ "sessionState":{ "shape":"SessionState", "documentation":"

    Contains parameters that specify various attributes of the session. For more information, see Control session context.

    If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored.

    " + }, + "streamingConfigurations":{ + "shape":"StreamingConfigurations", + "documentation":"

    Specifies the configurations for streaming.

    " } } }, @@ -4064,6 +4094,25 @@ "max":4, "min":0 }, + "StreamingConfigurations":{ + "type":"structure", + "members":{ + "applyGuardrailInterval":{ + "shape":"StreamingConfigurationsApplyGuardrailIntervalInteger", + "documentation":"

    The guardrail interval to apply as response is generated.

    " + }, + "streamFinalResponse":{ + "shape":"Boolean", + "documentation":"

    Specifies whether to enable streaming for the final response. This is set to false by default.

    " + } + }, + "documentation":"

    Configurations for streaming.

    " + }, + "StreamingConfigurationsApplyGuardrailIntervalInteger":{ + "type":"integer", + "box":true, + "min":1 + }, "String":{"type":"string"}, "SummaryText":{ "type":"string", @@ -4163,6 +4212,10 @@ "Trace":{ "type":"structure", "members":{ + "customOrchestrationTrace":{ + "shape":"CustomOrchestrationTrace", + "documentation":"

    Details about the custom orchestration step in which the agent determines the order in which actions are executed.

    " + }, "failureTrace":{ "shape":"FailureTrace", "documentation":"

    Contains information about the failure of the interaction.

    " diff --git a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json index 39a2b1528a8..c689ede72da 100644 --- a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json +++ b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json @@ -438,7 +438,7 @@ {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], - "documentation":"

    " + "documentation":"

    Creates a new contact.

    " }, "CreateContactFlow":{ "name":"CreateContactFlow", @@ -521,7 +521,7 @@ {"shape":"DuplicateResourceException"}, {"shape":"ResourceConflictException"} ], - "documentation":"

    " + "documentation":"

    Create new email address in the specified Amazon Connect instance. For more information about email addresses, see Create email addresses in the Amazon Connect Administrator Guide.

    " }, "CreateEvaluationForm":{ "name":"CreateEvaluationForm", @@ -1020,7 +1020,7 @@ {"shape":"InternalServiceException"}, {"shape":"ResourceConflictException"} ], - "documentation":"

    " + "documentation":"

    Deletes email address from the specified Amazon Connect instance.

    " }, "DeleteEvaluationForm":{ "name":"DeleteEvaluationForm", @@ -1423,7 +1423,7 @@ {"shape":"ThrottlingException"}, {"shape":"InternalServiceException"} ], - "documentation":"

    Describes the specified flow.

    You can also create and update flows using the Amazon Connect Flow language.

    Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. Once a contact flow is published, $SAVED needs to be supplied to view saved content that has not been published.

    In the response, Status indicates the flow status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. SAVED does not initiate validation of the content. SAVED | PUBLISHED

    " + "documentation":"

    Describes the specified flow.

    You can also create and update flows using the Amazon Connect Flow language.

    Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.

    In the response, Status indicates the flow status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. SAVED does not initiate validation of the content. SAVED | PUBLISHED

    " }, "DescribeContactFlowModule":{ "name":"DescribeContactFlowModule", @@ -1441,7 +1441,7 @@ {"shape":"ThrottlingException"}, {"shape":"InternalServiceException"} ], - "documentation":"

    Describes the specified flow module.

    Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. Once a contact flow is published, $SAVED needs to be supplied to view saved content that has not been published.

    " + "documentation":"

    Describes the specified flow module.

    Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.

    " }, "DescribeEmailAddress":{ "name":"DescribeEmailAddress", @@ -1459,7 +1459,7 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalServiceException"} ], - "documentation":"

    " + "documentation":"

    Describe email address form the specified Amazon Connect instance.

    " }, "DescribeEvaluationForm":{ "name":"DescribeEvaluationForm", @@ -2283,7 +2283,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], - "documentation":"

    " + "documentation":"

    Provides information about contact tree, a list of associated contacts with a unique identifier.

    " }, "ListAuthenticationProfiles":{ "name":"ListAuthenticationProfiles", @@ -3205,7 +3205,7 @@ {"shape":"ThrottlingException"}, {"shape":"InternalServiceException"} ], - "documentation":"

    Searches the contact flows in an Amazon Connect instance, with optional filtering.

    " + "documentation":"

    Searches the flows in an Amazon Connect instance, with optional filtering.

    " }, "SearchContacts":{ "name":"SearchContacts", @@ -3240,7 +3240,7 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalServiceException"} ], - "documentation":"

    " + "documentation":"

    Searches email address in an instance, with optional filtering.

    " }, "SearchHoursOfOperations":{ "name":"SearchHoursOfOperations", @@ -3463,7 +3463,7 @@ {"shape":"InternalServiceException"}, {"shape":"IdempotencyException"} ], - "documentation":"

    " + "documentation":"

    Send outbound email for outbound campaigns. For more information about outbound campaigns, see Set up Amazon Connect outbound campaigns.

    Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call this API.

    " }, "StartAttachedFileUpload":{ "name":"StartAttachedFileUpload", @@ -3481,7 +3481,7 @@ {"shape":"ResourceConflictException"}, {"shape":"ServiceQuotaExceededException"} ], - "documentation":"

    Provides a pre-signed Amazon S3 URL in response for uploading your content.

    You may only use this API to upload attachments to an Amazon Connect Case.

    " + "documentation":"

    Provides a pre-signed Amazon S3 URL in response for uploading your content.

    You may only use this API to upload attachments to an Amazon Connect Case or Amazon Connect Email.

    " }, "StartChatContact":{ "name":"StartChatContact", @@ -3569,7 +3569,7 @@ {"shape":"InternalServiceException"}, {"shape":"IdempotencyException"} ], - "documentation":"

    " + "documentation":"

    Creates an inbound email contact and initiates a flow to start the email contact for the customer. Response of this API provides the ContactId of the email contact created.

    " }, "StartOutboundChatContact":{ "name":"StartOutboundChatContact", @@ -3607,7 +3607,7 @@ {"shape":"InternalServiceException"}, {"shape":"IdempotencyException"} ], - "documentation":"

    " + "documentation":"

    Initiates a flow to send an agent reply or outbound email contact (created from the CreateContact API) to a customer.

    " }, "StartOutboundVoiceContact":{ "name":"StartOutboundVoiceContact", @@ -3793,7 +3793,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], - "documentation":"

    Adds the specified tags to the specified resource.

    Some of the supported resource types are agents, routing profiles, queues, quick connects, contact flows, agent statuses, hours of operation, phone numbers, security profiles, and task templates. For a complete list, see Tagging resources in Amazon Connect.

    For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.

    " + "documentation":"

    Adds the specified tags to the specified resource.

    Some of the supported resource types are agents, routing profiles, queues, quick connects, flows, agent statuses, hours of operation, phone numbers, security profiles, and task templates. For a complete list, see Tagging resources in Amazon Connect.

    For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.

    " }, "TransferContact":{ "name":"TransferContact", @@ -3948,7 +3948,7 @@ {"shape":"ThrottlingException"}, {"shape":"InternalServiceException"} ], - "documentation":"

    Updates the specified flow.

    You can also create and update flows using the Amazon Connect Flow language.

    Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. Once a contact flow is published, $SAVED needs to be supplied to view saved content that has not been published.

    " + "documentation":"

    Updates the specified flow.

    You can also create and update flows using the Amazon Connect Flow language.

    Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.

    " }, "UpdateContactFlowMetadata":{ "name":"UpdateContactFlowMetadata", @@ -3984,7 +3984,7 @@ {"shape":"ThrottlingException"}, {"shape":"InternalServiceException"} ], - "documentation":"

    Updates specified flow module for the specified Amazon Connect instance.

    Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. Once a contact flow is published, $SAVED needs to be supplied to view saved content that has not been published.

    " + "documentation":"

    Updates specified flow module for the specified Amazon Connect instance.

    Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.

    " }, "UpdateContactFlowModuleMetadata":{ "name":"UpdateContactFlowModuleMetadata", @@ -4076,7 +4076,7 @@ {"shape":"InternalServiceException"}, {"shape":"IdempotencyException"} ], - "documentation":"

    " + "documentation":"

    Updates an email address metadata. For more information about email addresses, see Create email addresses in the Amazon Connect Administrator Guide.

    " }, "UpdateEvaluationForm":{ "name":"UpdateEvaluationForm", @@ -4316,7 +4316,7 @@ {"shape":"AccessDeniedException"}, {"shape":"ConditionalOperationFailedException"} ], - "documentation":"

    " + "documentation":"

    Updates the outbound email address Id for a specified queue.

    " }, "UpdateQueueStatus":{ "name":"UpdateQueueStatus", @@ -4785,14 +4785,14 @@ "members":{ "ToList":{ "shape":"EmailRecipientsList", - "documentation":"

    " + "documentation":"

    List of additional TO email recipients for an email contact.

    " }, "CcList":{ "shape":"EmailRecipientsList", - "documentation":"

    " + "documentation":"

    List of additional CC email recipients for an email contact.

    " } }, - "documentation":"

    " + "documentation":"

    List of additional email addresses for an email contact.

    " }, "AfterContactWorkTimeLimit":{ "type":"integer", @@ -5663,42 +5663,42 @@ "members":{ "ContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    The identifier of the contact in this instance of Amazon Connect.

    " }, "ContactArn":{ "shape":"ARN", - "documentation":"

    " + "documentation":"

    The Amazon Resource Name (ARN) of the contact

    " }, "InitiationTimestamp":{ "shape":"Timestamp", - "documentation":"

    " + "documentation":"

    The date and time this contact was initiated, in UTC time.

    " }, "DisconnectTimestamp":{ "shape":"Timestamp", - "documentation":"

    " + "documentation":"

    The timestamp when the customer endpoint disconnected from Amazon Connect.

    " }, "InitialContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    If this contact is related to other contacts, this is the ID of the initial contact.

    " }, "PreviousContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    If this contact is not the first contact, this is the ID of the previous contact.

    " }, "RelatedContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    The contactId that is related to this contact.

    " }, "InitiationMethod":{ "shape":"ContactInitiationMethod", - "documentation":"

    " + "documentation":"

    Indicates how the contact was initiated.

    " }, "Channel":{ "shape":"Channel", - "documentation":"

    " + "documentation":"

    How the contact reached your contact center.

    " } }, - "documentation":"

    " + "documentation":"

    Contact summary of a contact in contact tree associated with unique identifier.

    " }, "AssociatedContactSummaryList":{ "type":"list", @@ -5831,7 +5831,7 @@ }, "Arn":{ "shape":"ReferenceArn", - "documentation":"

    " + "documentation":"

    The Amazon Resource Name (ARN) of the attachment reference.

    " } }, "documentation":"

    Information about a reference when the referenceType is ATTACHMENT. Otherwise, null.

    " @@ -6174,7 +6174,7 @@ }, "AssociatedResourceArn":{ "shape":"ARN", - "documentation":"

    The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

    This value must be a valid ARN.

    ", + "documentation":"

    The resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.

    This value must be a valid ARN.

    ", "location":"querystring", "locationName":"associatedResourceArn" } @@ -6559,7 +6559,7 @@ }, "AssociatedResourceArn":{ "shape":"ARN", - "documentation":"

    The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

    This value must be a valid ARN.

    ", + "documentation":"

    The resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.

    This value must be a valid ARN.

    ", "location":"querystring", "locationName":"associatedResourceArn" } @@ -6596,7 +6596,7 @@ "members":{ "Message":{"shape":"Message"} }, - "documentation":"

    ", + "documentation":"

    A conditional check failed.

    ", "error":{"httpStatusCode":409}, "exception":true }, @@ -6648,7 +6648,7 @@ }, "ContactAssociationId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    This is the root contactId which is used as a unique identifier for all subsequent contacts in a contact tree.

    " }, "InitiationMethod":{ "shape":"ContactInitiationMethod", @@ -6716,11 +6716,11 @@ }, "CustomerEndpoint":{ "shape":"EndpointInfo", - "documentation":"

    " + "documentation":"

    The customer or external third party participant endpoint.

    " }, "SystemEndpoint":{ "shape":"EndpointInfo", - "documentation":"

    " + "documentation":"

    The system endpoint. For INBOUND, this is the phone number or email address that the customer dialed. For OUTBOUND and EXTERNAL_OUTBOUND, this is the outbound caller ID number assigned to the outbound queue that is used to dial the customer. For callback, this shows up as Softphone for calls handled by agents with softphone.

    " }, "QueueTimeAdjustmentSeconds":{ "shape":"QueueTimeAdjustmentSeconds", @@ -6765,7 +6765,7 @@ }, "AdditionalEmailRecipients":{ "shape":"AdditionalEmailRecipients", - "documentation":"

    " + "documentation":"

    List of additional email addresses for an email contact.

    " }, "SegmentAttributes":{ "shape":"SegmentAttributes", @@ -6855,7 +6855,7 @@ }, "Status":{ "shape":"ContactFlowStatus", - "documentation":"

    The status of the contact flow.

    " + "documentation":"

    The status of the flow.

    " }, "Description":{ "shape":"ContactFlowDescription", @@ -6869,10 +6869,6 @@ "shape":"TagMap", "documentation":"

    The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

    " }, - "IsDefault":{ - "shape":"Boolean", - "documentation":"

    Amazon Connect includes a set of default flows that have already been published. It uses them to power your contact center.

    " - }, "FlowContentSha256":{ "shape":"FlowContentSha256", "documentation":"

    Indicates the checksum value of the flow content.

    " @@ -6887,11 +6883,11 @@ }, "LastModifiedTime":{ "shape":"Timestamp", - "documentation":"

    The time at which the contact flow was last modified.

    " + "documentation":"

    The time at which the flow was last modified.

    " }, "LastModifiedRegion":{ "shape":"RegionName", - "documentation":"

    The region in which the contact flow was last modified

    " + "documentation":"

    The region in which the flow was last modified

    " } }, "documentation":"

    Contains information about a flow.

    " @@ -7074,7 +7070,7 @@ "documentation":"

    The status of the flow.

    " } }, - "documentation":"

    The search criteria to be used to return contact flows.

    " + "documentation":"

    The search criteria to be used to return flows.

    " }, "ContactFlowSearchFilter":{ "type":"structure", @@ -7126,7 +7122,7 @@ }, "ContactFlowStatus":{ "shape":"ContactFlowStatus", - "documentation":"

    The status of the contact flow.

    " + "documentation":"

    The status of the flow.

    " } }, "documentation":"

    Contains summary information about a flow.

    You can also create and update flows using the Amazon Connect Flow language.

    " @@ -7170,7 +7166,7 @@ "documentation":"

    The identifier of the flow version.

    " } }, - "documentation":"

    A summary of a contact flow version's metadata.

    " + "documentation":"

    A summary of a flow version's metadata.

    " }, "ContactFlowVersionSummaryList":{ "type":"list", @@ -7264,7 +7260,7 @@ }, "SegmentAttributes":{ "shape":"ContactSearchSummarySegmentAttributes", - "documentation":"

    " + "documentation":"

    Set of segment attributes for a contact.

    " } }, "documentation":"

    Information of returned contact.

    " @@ -7302,10 +7298,10 @@ "members":{ "ValueString":{ "shape":"SegmentAttributeValueString", - "documentation":"

    " + "documentation":"

    The value of a segment attribute represented as a string.

    " } }, - "documentation":"

    " + "documentation":"

    The value of a segment attribute. This is structured as a map with a single key-value pair. The key 'valueString' indicates that the attribute type is a string, and its corresponding value is the actual string value of the segment attribute.

    " }, "ContactSearchSummarySegmentAttributes":{ "type":"map", @@ -7653,56 +7649,56 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    " + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    " }, "ClientToken":{ "shape":"ClientToken", - "documentation":"

    ", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    ", "idempotencyToken":true }, "RelatedContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    The identifier of the contact in this instance of Amazon Connect.

    " }, "Attributes":{ "shape":"Attributes", - "documentation":"

    " + "documentation":"

    A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.

    There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

    " }, "References":{ "shape":"ContactReferences", - "documentation":"

    " + "documentation":"

    A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL | ATTACHMENT.

    " }, "Channel":{ "shape":"Channel", - "documentation":"

    " + "documentation":"

    The channel for the contact

    " }, "InitiationMethod":{ "shape":"ContactInitiationMethod", - "documentation":"

    " + "documentation":"

    Indicates how the contact was initiated.

    " }, "ExpiryDurationInMinutes":{ "shape":"ExpiryDurationInMinutes", - "documentation":"

    " + "documentation":"

    Number of minutes the contact will be active for before expiring

    " }, "UserInfo":{ "shape":"UserInfo", - "documentation":"

    " + "documentation":"

    User details for the contact

    " }, "InitiateAs":{ "shape":"InitiateAs", - "documentation":"

    " + "documentation":"

    Initial state of the contact when it's created

    " }, "Name":{ "shape":"Name", - "documentation":"

    " + "documentation":"

    The name of a the contact.

    " }, "Description":{ "shape":"Description", - "documentation":"

    " + "documentation":"

    A description of the contact.

    " }, "SegmentAttributes":{ "shape":"SegmentAttributes", - "documentation":"

    " + "documentation":"

    A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.

    Attribute keys can include only alphanumeric, -, and _.

    This field can be used to set Segment Contact Expiry as a duration in minutes.

    To set contact expiry, a ValueMap must be specified containing the integer number of minutes the contact will be active for before expiring, with SegmentAttributes like { \"connect:ContactExpiry\": {\"ValueMap\" : { \"ExpiryDuration\": { \"ValueInteger\": 135}}}}.

    " } } }, @@ -7711,11 +7707,11 @@ "members":{ "ContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    The identifier of the contact in this instance of Amazon Connect.

    " }, "ContactArn":{ "shape":"ARN", - "documentation":"

    " + "documentation":"

    The Amazon Resource Name (ARN) of the created contact.

    " } } }, @@ -7728,29 +7724,29 @@ "members":{ "Description":{ "shape":"Description", - "documentation":"

    " + "documentation":"

    The description of the email address.

    " }, "InstanceId":{ "shape":"InstanceId", - "documentation":"

    ", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    ", "location":"uri", "locationName":"InstanceId" }, "EmailAddress":{ "shape":"EmailAddress", - "documentation":"

    " + "documentation":"

    The email address with the instance, in [^\\s@]+@[^\\s@]+\\.[^\\s@]+ format.

    " }, "DisplayName":{ "shape":"EmailAddressDisplayName", - "documentation":"

    " + "documentation":"

    The display name of email address

    " }, "Tags":{ "shape":"TagMap", - "documentation":"

    " + "documentation":"

    The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

    " }, "ClientToken":{ "shape":"ClientToken", - "documentation":"

    " + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    " } } }, @@ -7759,11 +7755,11 @@ "members":{ "EmailAddressId":{ "shape":"EmailAddressId", - "documentation":"

    " + "documentation":"

    The identifier of the email address.

    " }, "EmailAddressArn":{ "shape":"EmailAddressArn", - "documentation":"

    " + "documentation":"

    The Amazon Resource Name (ARN) of the email address.

    " } } }, @@ -8156,7 +8152,7 @@ }, "OutboundEmailConfig":{ "shape":"OutboundEmailConfig", - "documentation":"

    " + "documentation":"

    The outbound email address ID for a specified queue.

    " }, "HoursOfOperationId":{ "shape":"HoursOfOperationId", @@ -8453,7 +8449,7 @@ }, "SelfAssignFlowId":{ "shape":"ContactFlowId", - "documentation":"

    " + "documentation":"

    The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.

    " }, "Constraints":{ "shape":"TaskTemplateConstraints", @@ -9237,13 +9233,13 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    ", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    ", "location":"uri", "locationName":"InstanceId" }, "EmailAddressId":{ "shape":"EmailAddressId", - "documentation":"

    ", + "documentation":"

    The identifier of the email address.

    ", "location":"uri", "locationName":"EmailAddressId" } @@ -9895,13 +9891,13 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    ", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    ", "location":"uri", "locationName":"InstanceId" }, "EmailAddressId":{ "shape":"EmailAddressId", - "documentation":"

    ", + "documentation":"

    The identifier of the email address.

    ", "location":"uri", "locationName":"EmailAddressId" } @@ -9912,35 +9908,35 @@ "members":{ "EmailAddressId":{ "shape":"EmailAddressId", - "documentation":"

    " + "documentation":"

    The identifier of the email address.

    " }, "EmailAddressArn":{ "shape":"EmailAddressArn", - "documentation":"

    " + "documentation":"

    The Amazon Resource Name (ARN) of the email address.

    " }, "EmailAddress":{ "shape":"EmailAddress", - "documentation":"

    " + "documentation":"

    The email address with the instance, in [^\\s@]+@[^\\s@]+\\.[^\\s@]+ format.

    " }, "DisplayName":{ "shape":"EmailAddressDisplayName", - "documentation":"

    " + "documentation":"

    The display name of email address

    " }, "Description":{ "shape":"Description", - "documentation":"

    " + "documentation":"

    The description of the email address.

    " }, "CreateTimestamp":{ "shape":"ISO8601Datetime", - "documentation":"

    " + "documentation":"

    The email address creation timestamp in ISO 8601 Datetime.

    " }, "ModifiedTimestamp":{ "shape":"ISO8601Datetime", - "documentation":"

    " + "documentation":"

    The email address last modification timestamp in ISO 8601 Datetime.

    " }, "Tags":{ "shape":"TagMap", - "documentation":"

    " + "documentation":"

    The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

    " } } }, @@ -11055,14 +11051,14 @@ "members":{ "EmailAddress":{ "shape":"EmailAddress", - "documentation":"

    " + "documentation":"

    The email address with the instance, in [^\\s@]+@[^\\s@]+\\.[^\\s@]+ format.

    " }, "DisplayName":{ "shape":"EmailAddressDisplayName", - "documentation":"

    " + "documentation":"

    The display name of email address.

    " } }, - "documentation":"

    " + "documentation":"

    Contains information about a source or destination email address

    " }, "EmailAddressList":{ "type":"list", @@ -11073,26 +11069,26 @@ "members":{ "EmailAddressId":{ "shape":"EmailAddressId", - "documentation":"

    " + "documentation":"

    The identifier of the email address.

    " }, "EmailAddressArn":{ "shape":"EmailAddressArn", - "documentation":"

    " + "documentation":"

    The Amazon Resource Name (ARN) of the email address.

    " }, "EmailAddress":{ "shape":"EmailAddress", - "documentation":"

    " + "documentation":"

    The email address with the instance, in [^\\s@]+@[^\\s@]+\\.[^\\s@]+ format.

    " }, "Description":{ "shape":"Description", - "documentation":"

    " + "documentation":"

    The description of the email address.

    " }, "DisplayName":{ "shape":"EmailAddressDisplayName", - "documentation":"

    " + "documentation":"

    The display name of email address.

    " } }, - "documentation":"

    " + "documentation":"

    Contains information about an email address for a contact center.

    " }, "EmailAddressRecipientList":{ "type":"list", @@ -11109,22 +11105,22 @@ "members":{ "OrConditions":{ "shape":"EmailAddressSearchConditionList", - "documentation":"

    " + "documentation":"

    A list of conditions which would be applied together with an OR condition.

    " }, "AndConditions":{ "shape":"EmailAddressSearchConditionList", - "documentation":"

    " + "documentation":"

    A list of conditions which would be applied together with an AND condition.

    " }, "StringCondition":{"shape":"StringCondition"} }, - "documentation":"

    " + "documentation":"

    The search criteria to be used to return email addresses.

    " }, "EmailAddressSearchFilter":{ "type":"structure", "members":{ "TagFilter":{"shape":"ControlPlaneTagFilter"} }, - "documentation":"

    " + "documentation":"

    Filters to be applied to search results.

    " }, "EmailAttachment":{ "type":"structure", @@ -11135,14 +11131,14 @@ "members":{ "FileName":{ "shape":"FileName", - "documentation":"

    " + "documentation":"

    A case-sensitive name of the attached file being uploaded.

    " }, "S3Url":{ "shape":"PreSignedAttachmentUrl", - "documentation":"

    " + "documentation":"

    The pre-signed URLs for the S3 bucket where the email attachment is stored.

    " } }, - "documentation":"

    " + "documentation":"

    Information about the email attachment files.

    " }, "EmailAttachments":{ "type":"list", @@ -11181,28 +11177,28 @@ "members":{ "Name":{ "shape":"ReferenceKey", - "documentation":"

    " + "documentation":"

    The name of the email message reference

    " }, "Arn":{ "shape":"ReferenceArn", - "documentation":"

    " + "documentation":"

    The Amazon Resource Name (ARN) of the email message reference

    " } }, - "documentation":"

    " + "documentation":"

    Information about the reference when the referenceType is EMAIL_MESSAGE. Otherwise, null.

    " }, "EmailRecipient":{ "type":"structure", "members":{ "Address":{ "shape":"EndpointAddress", - "documentation":"

    " + "documentation":"

    Address of the email recipient.

    Type: String

    Length Constraints: Minimum length of 1. Maximum length of 256.

    " }, "DisplayName":{ "shape":"EndpointDisplayName", - "documentation":"

    " + "documentation":"

    Display name of the email recipient.

    Type: String

    Length Constraints: Minimum length of 1. Maximum length of 256.

    " } }, - "documentation":"

    " + "documentation":"

    Information about the email recipient

    " }, "EmailRecipientsList":{ "type":"list", @@ -11285,18 +11281,18 @@ "members":{ "Type":{ "shape":"EndpointType", - "documentation":"

    " + "documentation":"

    Type of endpoint.

    " }, "Address":{ "shape":"EndpointAddress", - "documentation":"

    " + "documentation":"

    Address of the endpoint.

    " }, "DisplayName":{ "shape":"EndpointDisplayName", - "documentation":"

    " + "documentation":"

    Display name of the endpoint.

    " } }, - "documentation":"

    " + "documentation":"

    Information about the endpoint.

    " }, "EndpointType":{ "type":"string", @@ -12481,7 +12477,7 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    The unique identifier of the Connect instance.

    ", + "documentation":"

    The unique identifier of the Amazon Connect instance.

    ", "location":"uri", "locationName":"InstanceId" }, @@ -12499,7 +12495,7 @@ }, "AssociatedResourceArn":{ "shape":"ARN", - "documentation":"

    The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

    This value must be a valid ARN.

    ", + "documentation":"

    The resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.

    This value must be a valid ARN.

    ", "location":"querystring", "locationName":"associatedResourceArn" } @@ -12994,7 +12990,7 @@ }, "SelfAssignFlowId":{ "shape":"ContactFlowId", - "documentation":"

    " + "documentation":"

    ContactFlowId for the flow that will be run if this template is used to create a self-assigned task

    " }, "Constraints":{ "shape":"TaskTemplateConstraints", @@ -13713,14 +13709,14 @@ "members":{ "ToAddresses":{ "shape":"EmailAddressRecipientList", - "documentation":"

    " + "documentation":"

    The additional recipients information present in to list.

    " }, "CcAddresses":{ "shape":"EmailAddressRecipientList", - "documentation":"

    " + "documentation":"

    The additional recipients information present in cc list.

    " } }, - "documentation":"

    " + "documentation":"

    The additional TO CC recipients information of inbound email.

    " }, "InboundCallsEnabled":{"type":"boolean"}, "InboundEmailContent":{ @@ -13729,14 +13725,14 @@ "members":{ "MessageSourceType":{ "shape":"InboundMessageSourceType", - "documentation":"

    " + "documentation":"

    The message source type, that is, RAW.

    " }, "RawMessage":{ "shape":"InboundRawMessage", - "documentation":"

    " + "documentation":"

    The raw email body content.

    " } }, - "documentation":"

    " + "documentation":"

    Information about email body content.

    " }, "InboundMessageSourceType":{ "type":"string", @@ -13752,22 +13748,22 @@ "members":{ "Subject":{ "shape":"InboundSubject", - "documentation":"

    " + "documentation":"

    The email subject.

    " }, "Body":{ "shape":"Body", - "documentation":"

    " + "documentation":"

    The email message body.

    " }, "ContentType":{ "shape":"EmailMessageContentType", - "documentation":"

    " + "documentation":"

    Type of content, that is, text/plain or text/html.

    " }, "Headers":{ "shape":"EmailHeaders", - "documentation":"

    " + "documentation":"

    Headers present in inbound email.

    " } }, - "documentation":"

    " + "documentation":"

    Information about the raw email body content.

    " }, "InboundSubject":{ "type":"string", @@ -14455,25 +14451,25 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    ", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    ", "location":"uri", "locationName":"InstanceId" }, "ContactId":{ "shape":"ContactId", - "documentation":"

    ", + "documentation":"

    The identifier of the contact in this instance of Amazon Connect.

    ", "location":"querystring", "locationName":"contactId" }, "MaxResults":{ "shape":"ListAssociatedContactsRequestMaxResults", - "documentation":"

    ", + "documentation":"

    The maximum number of results to return per page.

    The maximum number of results to return per page. The default MaxResult size is 25.

    Valid Range: Minimum value of 1. Maximum value of 100.

    ", "location":"querystring", "locationName":"maxResults" }, "NextToken":{ "shape":"NextToken", - "documentation":"

    ", + "documentation":"

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    ", "location":"querystring", "locationName":"nextToken" } @@ -14489,11 +14485,11 @@ "members":{ "ContactSummaryList":{ "shape":"AssociatedContactSummaryList", - "documentation":"

    " + "documentation":"

    List of the contact summary for all the contacts in contact tree associated with unique identifier.

    " }, "NextToken":{ "shape":"NextToken", - "documentation":"

    " + "documentation":"

    If there are additional results, this is the token for the next set of results.

    " } } }, @@ -16943,10 +16939,10 @@ "members":{ "CcEmailAddresses":{ "shape":"EmailAddressRecipientList", - "documentation":"

    " + "documentation":"

    The additional CC email address recipients information.

    " } }, - "documentation":"

    " + "documentation":"

    The additional recipients information of outbound email.

    " }, "OutboundCallerConfig":{ "type":"structure", @@ -16989,10 +16985,10 @@ "members":{ "OutboundEmailAddressId":{ "shape":"EmailAddressId", - "documentation":"

    " + "documentation":"

    The identifier of the email address.

    " } }, - "documentation":"

    " + "documentation":"

    The outbound email address Id.

    " }, "OutboundEmailContent":{ "type":"structure", @@ -17000,18 +16996,18 @@ "members":{ "MessageSourceType":{ "shape":"OutboundMessageSourceType", - "documentation":"

    " + "documentation":"

    The message source type, that is, RAW or TEMPLATE.

    " }, "TemplatedMessageConfig":{ "shape":"TemplatedMessageConfig", - "documentation":"

    " + "documentation":"

    Information about template message configuration.

    " }, "RawMessage":{ "shape":"OutboundRawMessage", - "documentation":"

    " + "documentation":"

    The raw email body content.

    " } }, - "documentation":"

    " + "documentation":"

    Information about email body content.

    " }, "OutboundMessageSourceType":{ "type":"string", @@ -17030,18 +17026,18 @@ "members":{ "Subject":{ "shape":"OutboundSubject", - "documentation":"

    " + "documentation":"

    The email subject.

    " }, "Body":{ "shape":"Body", - "documentation":"

    " + "documentation":"

    The email message body.

    " }, "ContentType":{ "shape":"EmailMessageContentType", - "documentation":"

    " + "documentation":"

    Type of content, that is, text/plain or text/html.

    " } }, - "documentation":"

    " + "documentation":"

    Information about the raw email body content.

    " }, "OutboundRequestId":{ "type":"string", @@ -17059,7 +17055,7 @@ "members":{ "Message":{"shape":"Message"} }, - "documentation":"

    Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact flow.

    ", + "documentation":"

    Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in the flow.

    ", "error":{"httpStatusCode":404}, "exception":true }, @@ -18019,7 +18015,7 @@ }, "OutboundEmailConfig":{ "shape":"OutboundEmailConfig", - "documentation":"

    " + "documentation":"

    The outbound email address ID for a specified queue.

    " }, "HoursOfOperationId":{ "shape":"HoursOfOperationId", @@ -18854,15 +18850,15 @@ }, "Status":{ "shape":"ReferenceStatus", - "documentation":"

    " + "documentation":"

    Status of the attachment reference type.

    " }, "Arn":{ "shape":"ReferenceArn", - "documentation":"

    " + "documentation":"

    The Amazon Resource Name (ARN) of the reference

    " }, "StatusReason":{ "shape":"ReferenceStatusReason", - "documentation":"

    " + "documentation":"

    Relevant details why the reference was not successfully created.

    " } }, "documentation":"

    Well-formed data on a contact, used by agents to complete a contact request. You can have up to 4,096 UTF-8 bytes across all references for a contact.

    " @@ -18912,7 +18908,7 @@ }, "EmailMessage":{ "shape":"EmailMessageReference", - "documentation":"

    " + "documentation":"

    Information about the reference when the referenceType is EMAIL_MESSAGE. Otherwise, null.

    " }, "String":{ "shape":"StringReference", @@ -19920,7 +19916,7 @@ }, "SearchCriteria":{ "shape":"ContactFlowModuleSearchCriteria", - "documentation":"

    The search criteria to be used to return contact flow modules.

    The name and description fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in invalid results.

    " + "documentation":"

    The search criteria to be used to return flow modules.

    The name and description fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in invalid results.

    " } } }, @@ -19929,7 +19925,7 @@ "members":{ "ContactFlowModules":{ "shape":"ContactFlowModuleSearchSummaryList", - "documentation":"

    The search criteria to be used to return contact flow modules.

    " + "documentation":"

    The search criteria to be used to return flow modules.

    " }, "NextToken":{ "shape":"NextToken2500", @@ -19937,7 +19933,7 @@ }, "ApproximateTotalCount":{ "shape":"ApproximateTotalCount", - "documentation":"

    The total number of contact flows which matched your search query.

    " + "documentation":"

    The total number of flows which matched your search query.

    " } } }, @@ -19981,7 +19977,7 @@ }, "ApproximateTotalCount":{ "shape":"ApproximateTotalCount", - "documentation":"

    The total number of contact flows which matched your search query.

    " + "documentation":"

    The total number of flows which matched your search query.

    " } } }, @@ -20109,7 +20105,7 @@ }, "SearchableSegmentAttributes":{ "shape":"SearchableSegmentAttributes", - "documentation":"

    " + "documentation":"

    The search criteria based on searchable segment attributes of a contact.

    " } }, "documentation":"

    A structure of search criteria to be used to return contacts.

    " @@ -20120,23 +20116,23 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    " + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    " }, "MaxResults":{ "shape":"MaxResult100", - "documentation":"

    " + "documentation":"

    The maximum number of results to return per page.

    " }, "NextToken":{ "shape":"NextToken2500", - "documentation":"

    " + "documentation":"

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    " }, "SearchCriteria":{ "shape":"EmailAddressSearchCriteria", - "documentation":"

    " + "documentation":"

    The search criteria to be used to return email addresses.

    " }, "SearchFilter":{ "shape":"EmailAddressSearchFilter", - "documentation":"

    " + "documentation":"

    Filters to be applied to search results.

    " } } }, @@ -20145,15 +20141,15 @@ "members":{ "NextToken":{ "shape":"NextToken", - "documentation":"

    " + "documentation":"

    If there are additional results, this is the token for the next set of results.

    " }, "EmailAddresses":{ "shape":"EmailAddressList", - "documentation":"

    " + "documentation":"

    List of email addresses matching SearchFilter and SearchCriteria

    " }, "ApproximateTotalCount":{ "shape":"ApproximateTotalCount", - "documentation":"

    " + "documentation":"

    The total number of email addresses which matched your search query.

    " } } }, @@ -20691,7 +20687,7 @@ "documentation":"

    The list of values to search for within a user-defined contact attribute.

    " } }, - "documentation":"

    The search criteria based on user-defned contact attribute key and values to search on.

    " + "documentation":"

    The search criteria based on user-defined contact attribute key and values to search on.

    " }, "SearchableContactAttributesCriteriaList":{ "type":"list", @@ -20728,14 +20724,14 @@ "members":{ "Criteria":{ "shape":"SearchableSegmentAttributesCriteriaList", - "documentation":"

    " + "documentation":"

    The list of criteria based on searchable segment attributes.

    " }, "MatchType":{ "shape":"SearchContactsMatchType", - "documentation":"

    " + "documentation":"

    The match type combining search criteria using multiple searchable segment attributes.

    " } }, - "documentation":"

    " + "documentation":"

    The search criteria based on searchable segment attributes of a contact

    " }, "SearchableSegmentAttributesCriteria":{ "type":"structure", @@ -20746,14 +20742,14 @@ "members":{ "Key":{ "shape":"SearchableSegmentAttributeKey", - "documentation":"

    " + "documentation":"

    The key containing a searchable segment attribute.

    " }, "Values":{ "shape":"SearchableSegmentAttributeValueList", - "documentation":"

    " + "documentation":"

    The list of values to search for within a searchable segment attribute.

    " } }, - "documentation":"

    " + "documentation":"

    The search criteria based on searchable segment attribute key and values to search on.

    " }, "SearchableSegmentAttributesCriteriaList":{ "type":"list", @@ -20968,10 +20964,24 @@ "ValueString":{ "shape":"SegmentAttributeValueString", "documentation":"

    The value of a segment attribute.

    " + }, + "ValueMap":{ + "shape":"SegmentAttributeValueMap", + "documentation":"

    The value of a segment attribute.

    " + }, + "ValueInteger":{ + "shape":"SegmentAttributeValueInteger", + "documentation":"

    The value of a segment attribute.

    " } }, "documentation":"

    A value for a segment attribute. This is structured as a map where the key is valueString and the value is a string.

    " }, + "SegmentAttributeValueInteger":{"type":"integer"}, + "SegmentAttributeValueMap":{ + "type":"map", + "key":{"shape":"SegmentAttributeName"}, + "value":{"shape":"SegmentAttributeValue"} + }, "SegmentAttributeValueString":{ "type":"string", "max":1024, @@ -21069,37 +21079,37 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    ", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    ", "location":"uri", "locationName":"InstanceId" }, "FromEmailAddress":{ "shape":"EmailAddressInfo", - "documentation":"

    " + "documentation":"

    The email address to be used for sending email.

    " }, "DestinationEmailAddress":{ "shape":"EmailAddressInfo", - "documentation":"

    " + "documentation":"

    The email address to send the email to.

    " }, "AdditionalRecipients":{ "shape":"OutboundAdditionalRecipients", - "documentation":"

    " + "documentation":"

    The additional recipients address of the email in CC.

    " }, "EmailMessage":{ "shape":"OutboundEmailContent", - "documentation":"

    " + "documentation":"

    The email message body to be sent to the newly created email.

    " }, "TrafficType":{ "shape":"TrafficType", - "documentation":"

    " + "documentation":"

    Denotes the class of traffic.

    " }, "SourceCampaign":{ "shape":"SourceCampaign", - "documentation":"

    " + "documentation":"

    A Campaign object need for Campaign traffic type.

    " }, "ClientToken":{ "shape":"ClientToken", - "documentation":"

    ", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    ", "idempotencyToken":true } } @@ -21124,10 +21134,10 @@ "members":{ "AttachedFileServiceQuotaExceededExceptionReason":{ "shape":"AttachedFileServiceQuotaExceededExceptionReason", - "documentation":"

    " + "documentation":"

    Total file size of all files or total number of files exceeds the service quota

    " } }, - "documentation":"

    ", + "documentation":"

    The reason for the exception.

    ", "union":true }, "SignInConfig":{ @@ -21250,14 +21260,14 @@ "members":{ "CampaignId":{ "shape":"CampaignId", - "documentation":"

    " + "documentation":"

    A unique identifier for a campaign.

    " }, "OutboundRequestId":{ "shape":"OutboundRequestId", - "documentation":"

    " + "documentation":"

    A unique identifier for a each request part of same campaign.

    " } }, - "documentation":"

    " + "documentation":"

    Information about the campaign.

    " }, "SourceId":{ "type":"string", @@ -21308,11 +21318,11 @@ }, "FileUseCaseType":{ "shape":"FileUseCaseType", - "documentation":"

    The use case for the file.

    " + "documentation":"

    The use case for the file.

    Only ATTACHMENTS are supported.

    " }, "AssociatedResourceArn":{ "shape":"ARN", - "documentation":"

    The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

    This value must be a valid ARN.

    ", + "documentation":"

    The resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.

    This value must be a valid ARN.

    ", "location":"querystring", "locationName":"associatedResourceArn" }, @@ -21370,7 +21380,7 @@ }, "ContactFlowId":{ "shape":"ContactFlowId", - "documentation":"

    The identifier of the flow for initiating the chat. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

    arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

    " + "documentation":"

    The identifier of the flow for initiating the chat. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

    arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

    " }, "Attributes":{ "shape":"Attributes", @@ -21559,59 +21569,59 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    " + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    " }, "FromEmailAddress":{ "shape":"EmailAddressInfo", - "documentation":"

    " + "documentation":"

    The email address of the customer.

    " }, "DestinationEmailAddress":{ "shape":"EmailAddress", - "documentation":"

    " + "documentation":"

    The email address associated with the instance.

    " }, "Description":{ "shape":"Description", - "documentation":"

    " + "documentation":"

    A description of the email contact.

    " }, "References":{ "shape":"ContactReferences", - "documentation":"

    " + "documentation":"

    A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Emails can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE. EMAIL | EMAIL_MESSAGE |ATTACHMENT are not a supported reference type during email creation.

    " }, "Name":{ "shape":"Name", - "documentation":"

    " + "documentation":"

    The name of a email that is shown to an agent in the Contact Control Panel (CCP).

    " }, "EmailMessage":{ "shape":"InboundEmailContent", - "documentation":"

    " + "documentation":"

    The email message body to be sent to the newly created email.

    " }, "AdditionalRecipients":{ "shape":"InboundAdditionalRecipients", - "documentation":"

    " + "documentation":"

    The addtional recipients address of the email.

    " }, "Attachments":{ "shape":"EmailAttachments", - "documentation":"

    " + "documentation":"

    List of S3 presigned URLs of email attachments and their file name.

    " }, "ContactFlowId":{ "shape":"ContactFlowId", - "documentation":"

    " + "documentation":"

    The identifier of the flow for initiating the emails. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

    arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

    " }, "RelatedContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    The contactId that is related to this contact. Linking emails together by using RelatedContactID copies over contact attributes from the related email contact to the new email contact. All updates to user-defined attributes in the new email contact are limited to the individual contact ID. There are no limits to the number of contacts that can be linked by using RelatedContactId.

    " }, "Attributes":{ "shape":"Attributes", - "documentation":"

    " + "documentation":"

    A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.

    There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

    " }, "SegmentAttributes":{ "shape":"SegmentAttributes", - "documentation":"

    " + "documentation":"

    A set of system defined key-value pairs stored on individual contact segments using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.

    Attribute keys can include only alphanumeric, -, and _.

    This field can be used to show channel subtype, such as connect:Guide.

    To set contact expiry, a ValueMap must be specified containing the integer number of minutes the contact will be active for before expiring, with SegmentAttributes like { \"connect:ContactExpiry\": {\"ValueMap\" : { \"ExpiryDuration\": { \"ValueInteger\":135}}}}.

    " }, "ClientToken":{ "shape":"ClientToken", - "documentation":"

    ", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    ", "idempotencyToken":true } } @@ -21621,7 +21631,7 @@ "members":{ "ContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    The identifier of this contact within the Amazon Connect instance.

    " } } }, @@ -21694,31 +21704,31 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    " + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    " }, "ContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    The identifier of the contact in this instance of Amazon Connect.

    " }, "FromEmailAddress":{ "shape":"EmailAddressInfo", - "documentation":"

    " + "documentation":"

    The email address associated with the instance.

    " }, "DestinationEmailAddress":{ "shape":"EmailAddressInfo", - "documentation":"

    " + "documentation":"

    The email address of the customer.

    " }, "AdditionalRecipients":{ "shape":"OutboundAdditionalRecipients", - "documentation":"

    " + "documentation":"

    The addtional recipients address of email in CC.

    " }, "EmailMessage":{ "shape":"OutboundEmailContent", - "documentation":"

    " + "documentation":"

    The email message body to be sent to the newly created email.

    " }, "ClientToken":{ "shape":"ClientToken", - "documentation":"

    ", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    ", "idempotencyToken":true } } @@ -21728,7 +21738,7 @@ "members":{ "ContactId":{ "shape":"ContactId", - "documentation":"

    " + "documentation":"

    The identifier of the contact in this instance of Amazon Connect.

    " } } }, @@ -21852,7 +21862,7 @@ }, "ContactFlowId":{ "shape":"ContactFlowId", - "documentation":"

    The identifier of the flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

    arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

    " + "documentation":"

    The identifier of the flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

    arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

    " }, "Attributes":{ "shape":"Attributes", @@ -21893,7 +21903,7 @@ }, "SegmentAttributes":{ "shape":"SegmentAttributes", - "documentation":"

    " + "documentation":"

    A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.

    Attribute keys can include only alphanumeric, -, and _.

    This field can be used to set Contact Expiry as a duration in minutes and set a UserId for the User who created a task.

    To set contact expiry, a ValueMap must be specified containing the integer number of minutes the contact will be active for before expiring, with SegmentAttributes like { \"connect:ContactExpiry\": {\"ValueMap\" : { \"ExpiryDuration\": { \"ValueInteger\": 135}}}}.

    To set the created by user, a valid AgentResourceId must be supplied, with SegmentAttributes like { \"connect:CreatedByUser\" { \"ValueString\": \"arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/agent/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"}}}.

    " } } }, @@ -22649,14 +22659,14 @@ "members":{ "CustomAttributes":{ "shape":"Attributes", - "documentation":"

    " + "documentation":"

    An object that specifies the custom attributes values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template.

    " }, "CustomerProfileAttributes":{ "shape":"CustomerProfileAttributesSerialized", - "documentation":"

    " + "documentation":"

    An object that specifies the customer profile attributes values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template.

    " } }, - "documentation":"

    " + "documentation":"

    Information about the template attributes.

    " }, "TemplateId":{ "type":"string", @@ -22673,18 +22683,18 @@ "members":{ "KnowledgeBaseId":{ "shape":"MessageTemplateKnowledgeBaseId", - "documentation":"

    " + "documentation":"

    The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

    " }, "MessageTemplateId":{ "shape":"MessageTemplateId", - "documentation":"

    " + "documentation":"

    The identifier of the message template Id.

    " }, "TemplateAttributes":{ "shape":"TemplateAttributes", - "documentation":"

    " + "documentation":"

    Information about template attributes, that is, CustomAttributes or CustomerProfileAttributes.

    " } }, - "documentation":"

    " + "documentation":"

    Information about template message configuration.

    " }, "Threshold":{ "type":"structure", @@ -23421,7 +23431,7 @@ }, "SegmentAttributes":{ "shape":"SegmentAttributes", - "documentation":"

    " + "documentation":"

    A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.

    Attribute keys can include only alphanumeric, -, and _.

    This field can be used to show channel subtype, such as connect:Guide.

    Currently Contact Expiry is the only segment attribute which can be updated by using the UpdateContact API.

    " } } }, @@ -23504,27 +23514,27 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    ", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    ", "location":"uri", "locationName":"InstanceId" }, "EmailAddressId":{ "shape":"EmailAddressId", - "documentation":"

    ", + "documentation":"

    The identifier of the email address.

    ", "location":"uri", "locationName":"EmailAddressId" }, "Description":{ "shape":"Description", - "documentation":"

    " + "documentation":"

    The description of the email address.

    " }, "DisplayName":{ "shape":"EmailAddressDisplayName", - "documentation":"

    " + "documentation":"

    The display name of email address.

    " }, "ClientToken":{ "shape":"ClientToken", - "documentation":"

    " + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    " } } }, @@ -23533,11 +23543,11 @@ "members":{ "EmailAddressId":{ "shape":"EmailAddressId", - "documentation":"

    " + "documentation":"

    The identifier of the email address.

    " }, "EmailAddressArn":{ "shape":"EmailAddressArn", - "documentation":"

    " + "documentation":"

    The Amazon Resource Name (ARN) of the email address.

    " } } }, @@ -24004,19 +24014,19 @@ "members":{ "InstanceId":{ "shape":"InstanceId", - "documentation":"

    ", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    ", "location":"uri", "locationName":"InstanceId" }, "QueueId":{ "shape":"QueueId", - "documentation":"

    ", + "documentation":"

    The identifier for the queue.

    ", "location":"uri", "locationName":"QueueId" }, "OutboundEmailConfig":{ "shape":"OutboundEmailConfig", - "documentation":"

    " + "documentation":"

    The outbound email address ID for a specified queue.

    " } } }, @@ -24362,7 +24372,7 @@ }, "SelfAssignFlowId":{ "shape":"ContactFlowId", - "documentation":"

    " + "documentation":"

    The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.

    " }, "Constraints":{ "shape":"TaskTemplateConstraints", @@ -24411,7 +24421,7 @@ }, "SelfAssignFlowId":{ "shape":"ContactFlowId", - "documentation":"

    " + "documentation":"

    The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.

    " }, "Constraints":{ "shape":"TaskTemplateConstraints", @@ -25042,10 +25052,10 @@ "members":{ "UserId":{ "shape":"AgentResourceId", - "documentation":"

    " + "documentation":"

    The user identifier for the contact.

    " } }, - "documentation":"

    " + "documentation":"

    The user details for the contact.

    " }, "UserNotFoundException":{ "type":"structure", diff --git a/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json b/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json index 01fe5b082f4..b988267798a 100644 --- a/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json +++ b/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json @@ -5618,7 +5618,7 @@ }, "input":{"shape":"ModifyVpcEndpointServiceConfigurationRequest"}, "output":{"shape":"ModifyVpcEndpointServiceConfigurationResult"}, - "documentation":"

    Modifies the attributes of your VPC endpoint service configuration. You can change the Network Load Balancers or Gateway Load Balancers for your service, and you can specify whether acceptance is required for requests to connect to your endpoint service through an interface VPC endpoint.

    If you set or modify the private DNS name, you must prove that you own the private DNS domain name.

    " + "documentation":"

    Modifies the attributes of the specified VPC endpoint service configuration.

    If you set or modify the private DNS name, you must prove that you own the private DNS domain name.

    " }, "ModifyVpcEndpointServicePayerResponsibility":{ "name":"ModifyVpcEndpointServicePayerResponsibility", @@ -12349,6 +12349,11 @@ "shape":"ConnectionNotificationState", "documentation":"

    The state of the notification.

    ", "locationName":"connectionNotificationState" + }, + "ServiceRegion":{ + "shape":"String", + "documentation":"

    The Region for the endpoint service.

    ", + "locationName":"serviceRegion" } }, "documentation":"

    Describes a connection notification for a VPC endpoint or VPC endpoint service.

    " @@ -12696,6 +12701,10 @@ "documentation":"

    The tags to apply to the new snapshot.

    ", "locationName":"TagSpecification" }, + "CompletionDurationMinutes":{ + "shape":"SnapshotCompletionDurationMinutesRequest", + "documentation":"

    Specify a completion duration, in 15 minute increments, to initiate a time-based snapshot copy. Time-based snapshot copy operations complete within the specified duration. For more information, see Time-based copies.

    If you do not specify a value, the snapshot copy operation is completed on a best-effort basis.

    " + }, "DryRun":{ "shape":"Boolean", "documentation":"

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    ", @@ -16953,6 +16962,10 @@ "shape":"SubnetConfigurationsList", "documentation":"

    The subnet configurations for the endpoint.

    ", "locationName":"SubnetConfiguration" + }, + "ServiceRegion":{ + "shape":"String", + "documentation":"

    The Region where the service is hosted. The default is the current Region.

    " } } }, @@ -17001,6 +17014,11 @@ "documentation":"

    The supported IP address types. The possible values are ipv4 and ipv6.

    ", "locationName":"SupportedIpAddressType" }, + "SupportedRegions":{ + "shape":"ValueStringList", + "documentation":"

    The Regions from which service consumers can access the service.

    ", + "locationName":"SupportedRegion" + }, "ClientToken":{ "shape":"String", "documentation":"

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

    " @@ -22190,7 +22208,7 @@ }, "Filters":{ "shape":"FilterList", - "documentation":"

    The filters.

    • availability-zone - The Availability Zone of the instance.

    • event.code - The code for the scheduled event (instance-reboot | system-reboot | system-maintenance | instance-retirement | instance-stop).

    • event.description - A description of the event.

    • event.instance-event-id - The ID of the event whose date and time you are modifying.

    • event.not-after - The latest end time for the scheduled event (for example, 2014-09-15T17:15:20.000Z).

    • event.not-before - The earliest start time for the scheduled event (for example, 2014-09-15T17:15:20.000Z).

    • event.not-before-deadline - The deadline for starting the event (for example, 2014-09-15T17:15:20.000Z).

    • instance-state-code - The code for the instance state, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).

    • instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).

    • instance-status.reachability - Filters on instance status where the name is reachability (passed | failed | initializing | insufficient-data).

    • instance-status.status - The status of the instance (ok | impaired | initializing | insufficient-data | not-applicable).

    • system-status.reachability - Filters on system status where the name is reachability (passed | failed | initializing | insufficient-data).

    • system-status.status - The system status of the instance (ok | impaired | initializing | insufficient-data | not-applicable).

    • attached-ebs-status.status - The status of the attached EBS volume for the instance (ok | impaired | initializing | insufficient-data | not-applicable).

    ", + "documentation":"

    The filters.

    • availability-zone - The Availability Zone of the instance.

    • event.code - The code for the scheduled event (instance-reboot | system-reboot | system-maintenance | instance-retirement | instance-stop).

    • event.description - A description of the event.

    • event.instance-event-id - The ID of the event whose date and time you are modifying.

    • event.not-after - The latest end time for the scheduled event (for example, 2014-09-15T17:15:20.000Z).

    • event.not-before - The earliest start time for the scheduled event (for example, 2014-09-15T17:15:20.000Z).

    • event.not-before-deadline - The deadline for starting the event (for example, 2014-09-15T17:15:20.000Z).

    • instance-state-code - The code for the instance state, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).

    • instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).

    • instance-status.reachability - Filters on instance status where the name is reachability (passed | failed | initializing | insufficient-data).

    • instance-status.status - The status of the instance (ok | impaired | initializing | insufficient-data | not-applicable).

    • operator.managed - A Boolean that indicates whether this is a managed instance.

    • operator.principal - The principal that manages the instance. Only valid for managed instances, where managed is true.

    • system-status.reachability - Filters on system status where the name is reachability (passed | failed | initializing | insufficient-data).

    • system-status.status - The system status of the instance (ok | impaired | initializing | insufficient-data | not-applicable).

    • attached-ebs-status.status - The status of the attached EBS volume for the instance (ok | impaired | initializing | insufficient-data | not-applicable).

    ", "locationName":"Filter" }, "IncludeAllInstances":{ @@ -22373,7 +22391,7 @@ }, "Filters":{ "shape":"FilterList", - "documentation":"

    The filters.

    • affinity - The affinity setting for an instance running on a Dedicated Host (default | host).

    • architecture - The instance architecture (i386 | x86_64 | arm64).

    • availability-zone - The Availability Zone of the instance.

    • block-device-mapping.attach-time - The attach time for an EBS volume mapped to the instance, for example, 2022-09-15T17:15:20.000Z.

    • block-device-mapping.delete-on-termination - A Boolean that indicates whether the EBS volume is deleted on instance termination.

    • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

    • block-device-mapping.status - The status for the EBS volume (attaching | attached | detaching | detached).

    • block-device-mapping.volume-id - The volume ID of the EBS volume.

    • boot-mode - The boot mode that was specified by the AMI (legacy-bios | uefi | uefi-preferred).

    • capacity-reservation-id - The ID of the Capacity Reservation into which the instance was launched.

    • capacity-reservation-specification.capacity-reservation-preference - The instance's Capacity Reservation preference (open | none).

    • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id - The ID of the targeted Capacity Reservation.

    • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn - The ARN of the targeted Capacity Reservation group.

    • client-token - The idempotency token you provided when you launched the instance.

    • current-instance-boot-mode - The boot mode that is used to launch the instance at launch or start (legacy-bios | uefi).

    • dns-name - The public DNS name of the instance.

    • ebs-optimized - A Boolean that indicates whether the instance is optimized for Amazon EBS I/O.

    • ena-support - A Boolean that indicates whether the instance is enabled for enhanced networking with ENA.

    • enclave-options.enabled - A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

    • hibernation-options.configured - A Boolean that indicates whether the instance is enabled for hibernation. A value of true means that the instance is enabled for hibernation.

    • host-id - The ID of the Dedicated Host on which the instance is running, if applicable.

    • hypervisor - The hypervisor type of the instance (ovm | xen). The value xen is used for both Xen and Nitro hypervisors.

    • iam-instance-profile.arn - The instance profile associated with the instance. Specified as an ARN.

    • iam-instance-profile.id - The instance profile associated with the instance. Specified as an ID.

    • image-id - The ID of the image used to launch the instance.

    • instance-id - The ID of the instance.

    • instance-lifecycle - Indicates whether this is a Spot Instance, a Scheduled Instance, or a Capacity Block (spot | scheduled | capacity-block).

    • instance-state-code - The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).

    • instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).

    • instance-type - The type of instance (for example, t2.micro).

    • instance.group-id - The ID of the security group for the instance.

    • instance.group-name - The name of the security group for the instance.

    • ip-address - The public IPv4 address of the instance.

    • ipv6-address - The IPv6 address of the instance.

    • kernel-id - The kernel ID.

    • key-name - The name of the key pair used when the instance was launched.

    • launch-index - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).

    • launch-time - The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

    • maintenance-options.auto-recovery - The current automatic recovery behavior of the instance (disabled | default).

    • metadata-options.http-endpoint - The status of access to the HTTP metadata endpoint on your instance (enabled | disabled)

    • metadata-options.http-protocol-ipv4 - Indicates whether the IPv4 endpoint is enabled (disabled | enabled).

    • metadata-options.http-protocol-ipv6 - Indicates whether the IPv6 endpoint is enabled (disabled | enabled).

    • metadata-options.http-put-response-hop-limit - The HTTP metadata request put response hop limit (integer, possible values 1 to 64)

    • metadata-options.http-tokens - The metadata request authorization state (optional | required)

    • metadata-options.instance-metadata-tags - The status of access to instance tags from the instance metadata (enabled | disabled)

    • metadata-options.state - The state of the metadata option changes (pending | applied).

    • monitoring-state - Indicates whether detailed monitoring is enabled (disabled | enabled).

    • network-interface.addresses.association.allocation-id - The allocation ID.

    • network-interface.addresses.association.association-id - The association ID.

    • network-interface.addresses.association.carrier-ip - The carrier IP address.

    • network-interface.addresses.association.customer-owned-ip - The customer-owned IP address.

    • network-interface.addresses.association.ip-owner-id - The owner ID of the private IPv4 address associated with the network interface.

    • network-interface.addresses.association.public-dns-name - The public DNS name.

    • network-interface.addresses.association.public-ip - The ID of the association of an Elastic IP address (IPv4) with a network interface.

    • network-interface.addresses.primary - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.

    • network-interface.addresses.private-dns-name - The private DNS name.

    • network-interface.addresses.private-ip-address - The private IPv4 address associated with the network interface.

    • network-interface.association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

    • network-interface.association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

    • network-interface.association.carrier-ip - The customer-owned IP address.

    • network-interface.association.customer-owned-ip - The customer-owned IP address.

    • network-interface.association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

    • network-interface.association.public-dns-name - The public DNS name.

    • network-interface.association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

    • network-interface.attachment.attach-time - The time that the network interface was attached to an instance.

    • network-interface.attachment.attachment-id - The ID of the interface attachment.

    • network-interface.attachment.delete-on-termination - Specifies whether the attachment is deleted when an instance is terminated.

    • network-interface.attachment.device-index - The device index to which the network interface is attached.

    • network-interface.attachment.instance-id - The ID of the instance to which the network interface is attached.

    • network-interface.attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

    • network-interface.attachment.network-card-index - The index of the network card.

    • network-interface.attachment.status - The status of the attachment (attaching | attached | detaching | detached).

    • network-interface.availability-zone - The Availability Zone for the network interface.

    • network-interface.deny-all-igw-traffic - A Boolean that indicates whether a network interface with an IPv6 address is unreachable from the public internet.

    • network-interface.description - The description of the network interface.

    • network-interface.group-id - The ID of a security group associated with the network interface.

    • network-interface.group-name - The name of a security group associated with the network interface.

    • network-interface.ipv4-prefixes.ipv4-prefix - The IPv4 prefixes that are assigned to the network interface.

    • network-interface.ipv6-address - The IPv6 address associated with the network interface.

    • network-interface.ipv6-addresses.ipv6-address - The IPv6 address associated with the network interface.

    • network-interface.ipv6-addresses.is-primary-ipv6 - A Boolean that indicates whether this is the primary IPv6 address.

    • network-interface.ipv6-native - A Boolean that indicates whether this is an IPv6 only network interface.

    • network-interface.ipv6-prefixes.ipv6-prefix - The IPv6 prefix assigned to the network interface.

    • network-interface.mac-address - The MAC address of the network interface.

    • network-interface.network-interface-id - The ID of the network interface.

    • network-interface.outpost-arn - The ARN of the Outpost.

    • network-interface.owner-id - The ID of the owner of the network interface.

    • network-interface.private-dns-name - The private DNS name of the network interface.

    • network-interface.private-ip-address - The private IPv4 address.

    • network-interface.public-dns-name - The public DNS name.

    • network-interface.requester-id - The requester ID for the network interface.

    • network-interface.requester-managed - Indicates whether the network interface is being managed by Amazon Web Services.

    • network-interface.status - The status of the network interface (available) | in-use).

    • network-interface.source-dest-check - Whether the network interface performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

    • network-interface.subnet-id - The ID of the subnet for the network interface.

    • network-interface.tag-key - The key of a tag assigned to the network interface.

    • network-interface.tag-value - The value of a tag assigned to the network interface.

    • network-interface.vpc-id - The ID of the VPC for the network interface.

    • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

    • owner-id - The Amazon Web Services account ID of the instance owner.

    • placement-group-name - The name of the placement group for the instance.

    • placement-partition-number - The partition in which the instance is located.

    • platform - The platform. To list only Windows instances, use windows.

    • platform-details - The platform (Linux/UNIX | Red Hat BYOL Linux | Red Hat Enterprise Linux | Red Hat Enterprise Linux with HA | Red Hat Enterprise Linux with SQL Server Standard and HA | Red Hat Enterprise Linux with SQL Server Enterprise and HA | Red Hat Enterprise Linux with SQL Server Standard | Red Hat Enterprise Linux with SQL Server Web | Red Hat Enterprise Linux with SQL Server Enterprise | SQL Server Enterprise | SQL Server Standard | SQL Server Web | SUSE Linux | Ubuntu Pro | Windows | Windows BYOL | Windows with SQL Server Enterprise | Windows with SQL Server Standard | Windows with SQL Server Web).

    • private-dns-name - The private IPv4 DNS name of the instance.

    • private-dns-name-options.enable-resource-name-dns-a-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records.

    • private-dns-name-options.enable-resource-name-dns-aaaa-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

    • private-dns-name-options.hostname-type - The type of hostname (ip-name | resource-name).

    • private-ip-address - The private IPv4 address of the instance. This can only be used to filter by the primary IP address of the network interface attached to the instance. To filter by additional IP addresses assigned to the network interface, use the filter network-interface.addresses.private-ip-address.

    • product-code - The product code associated with the AMI used to launch the instance.

    • product-code.type - The type of product code (devpay | marketplace).

    • ramdisk-id - The RAM disk ID.

    • reason - The reason for the current state of the instance (for example, shows \"User Initiated [date]\" when you stop or terminate the instance). Similar to the state-reason-code filter.

    • requester-id - The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

    • reservation-id - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.

    • root-device-name - The device name of the root device volume (for example, /dev/sda1).

    • root-device-type - The type of the root device volume (ebs | instance-store).

    • source-dest-check - Indicates whether the instance performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform network address translation (NAT) in your VPC.

    • spot-instance-request-id - The ID of the Spot Instance request.

    • state-reason-code - The reason code for the state change.

    • state-reason-message - A message that describes the state change.

    • subnet-id - The ID of the subnet for the instance.

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

    • tenancy - The tenancy of an instance (dedicated | default | host).

    • tpm-support - Indicates if the instance is configured for NitroTPM support (v2.0).

    • usage-operation - The usage operation value for the instance (RunInstances | RunInstances:00g0 | RunInstances:0010 | RunInstances:1010 | RunInstances:1014 | RunInstances:1110 | RunInstances:0014 | RunInstances:0210 | RunInstances:0110 | RunInstances:0100 | RunInstances:0004 | RunInstances:0200 | RunInstances:000g | RunInstances:0g00 | RunInstances:0002 | RunInstances:0800 | RunInstances:0102 | RunInstances:0006 | RunInstances:0202).

    • usage-operation-update-time - The time that the usage operation was last updated, for example, 2022-09-15T17:15:20.000Z.

    • virtualization-type - The virtualization type of the instance (paravirtual | hvm).

    • vpc-id - The ID of the VPC that the instance is running in.

    ", + "documentation":"

    The filters.

    • affinity - The affinity setting for an instance running on a Dedicated Host (default | host).

    • architecture - The instance architecture (i386 | x86_64 | arm64).

    • availability-zone - The Availability Zone of the instance.

    • block-device-mapping.attach-time - The attach time for an EBS volume mapped to the instance, for example, 2022-09-15T17:15:20.000Z.

    • block-device-mapping.delete-on-termination - A Boolean that indicates whether the EBS volume is deleted on instance termination.

    • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

    • block-device-mapping.status - The status for the EBS volume (attaching | attached | detaching | detached).

    • block-device-mapping.volume-id - The volume ID of the EBS volume.

    • boot-mode - The boot mode that was specified by the AMI (legacy-bios | uefi | uefi-preferred).

    • capacity-reservation-id - The ID of the Capacity Reservation into which the instance was launched.

    • capacity-reservation-specification.capacity-reservation-preference - The instance's Capacity Reservation preference (open | none).

    • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id - The ID of the targeted Capacity Reservation.

    • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn - The ARN of the targeted Capacity Reservation group.

    • client-token - The idempotency token you provided when you launched the instance.

    • current-instance-boot-mode - The boot mode that is used to launch the instance at launch or start (legacy-bios | uefi).

    • dns-name - The public DNS name of the instance.

    • ebs-optimized - A Boolean that indicates whether the instance is optimized for Amazon EBS I/O.

    • ena-support - A Boolean that indicates whether the instance is enabled for enhanced networking with ENA.

    • enclave-options.enabled - A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

    • hibernation-options.configured - A Boolean that indicates whether the instance is enabled for hibernation. A value of true means that the instance is enabled for hibernation.

    • host-id - The ID of the Dedicated Host on which the instance is running, if applicable.

    • hypervisor - The hypervisor type of the instance (ovm | xen). The value xen is used for both Xen and Nitro hypervisors.

    • iam-instance-profile.arn - The instance profile associated with the instance. Specified as an ARN.

    • iam-instance-profile.id - The instance profile associated with the instance. Specified as an ID.

    • image-id - The ID of the image used to launch the instance.

    • instance-id - The ID of the instance.

    • instance-lifecycle - Indicates whether this is a Spot Instance, a Scheduled Instance, or a Capacity Block (spot | scheduled | capacity-block).

    • instance-state-code - The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).

    • instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).

    • instance-type - The type of instance (for example, t2.micro).

    • instance.group-id - The ID of the security group for the instance.

    • instance.group-name - The name of the security group for the instance.

    • ip-address - The public IPv4 address of the instance.

    • ipv6-address - The IPv6 address of the instance.

    • kernel-id - The kernel ID.

    • key-name - The name of the key pair used when the instance was launched.

    • launch-index - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).

    • launch-time - The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

    • maintenance-options.auto-recovery - The current automatic recovery behavior of the instance (disabled | default).

    • metadata-options.http-endpoint - The status of access to the HTTP metadata endpoint on your instance (enabled | disabled)

    • metadata-options.http-protocol-ipv4 - Indicates whether the IPv4 endpoint is enabled (disabled | enabled).

    • metadata-options.http-protocol-ipv6 - Indicates whether the IPv6 endpoint is enabled (disabled | enabled).

    • metadata-options.http-put-response-hop-limit - The HTTP metadata request put response hop limit (integer, possible values 1 to 64)

    • metadata-options.http-tokens - The metadata request authorization state (optional | required)

    • metadata-options.instance-metadata-tags - The status of access to instance tags from the instance metadata (enabled | disabled)

    • metadata-options.state - The state of the metadata option changes (pending | applied).

    • monitoring-state - Indicates whether detailed monitoring is enabled (disabled | enabled).

    • network-interface.addresses.association.allocation-id - The allocation ID.

    • network-interface.addresses.association.association-id - The association ID.

    • network-interface.addresses.association.carrier-ip - The carrier IP address.

    • network-interface.addresses.association.customer-owned-ip - The customer-owned IP address.

    • network-interface.addresses.association.ip-owner-id - The owner ID of the private IPv4 address associated with the network interface.

    • network-interface.addresses.association.public-dns-name - The public DNS name.

    • network-interface.addresses.association.public-ip - The ID of the association of an Elastic IP address (IPv4) with a network interface.

    • network-interface.addresses.primary - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.

    • network-interface.addresses.private-dns-name - The private DNS name.

    • network-interface.addresses.private-ip-address - The private IPv4 address associated with the network interface.

    • network-interface.association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

    • network-interface.association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

    • network-interface.association.carrier-ip - The customer-owned IP address.

    • network-interface.association.customer-owned-ip - The customer-owned IP address.

    • network-interface.association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

    • network-interface.association.public-dns-name - The public DNS name.

    • network-interface.association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

    • network-interface.attachment.attach-time - The time that the network interface was attached to an instance.

    • network-interface.attachment.attachment-id - The ID of the interface attachment.

    • network-interface.attachment.delete-on-termination - Specifies whether the attachment is deleted when an instance is terminated.

    • network-interface.attachment.device-index - The device index to which the network interface is attached.

    • network-interface.attachment.instance-id - The ID of the instance to which the network interface is attached.

    • network-interface.attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

    • network-interface.attachment.network-card-index - The index of the network card.

    • network-interface.attachment.status - The status of the attachment (attaching | attached | detaching | detached).

    • network-interface.availability-zone - The Availability Zone for the network interface.

    • network-interface.deny-all-igw-traffic - A Boolean that indicates whether a network interface with an IPv6 address is unreachable from the public internet.

    • network-interface.description - The description of the network interface.

    • network-interface.group-id - The ID of a security group associated with the network interface.

    • network-interface.group-name - The name of a security group associated with the network interface.

    • network-interface.ipv4-prefixes.ipv4-prefix - The IPv4 prefixes that are assigned to the network interface.

    • network-interface.ipv6-address - The IPv6 address associated with the network interface.

    • network-interface.ipv6-addresses.ipv6-address - The IPv6 address associated with the network interface.

    • network-interface.ipv6-addresses.is-primary-ipv6 - A Boolean that indicates whether this is the primary IPv6 address.

    • network-interface.ipv6-native - A Boolean that indicates whether this is an IPv6 only network interface.

    • network-interface.ipv6-prefixes.ipv6-prefix - The IPv6 prefix assigned to the network interface.

    • network-interface.mac-address - The MAC address of the network interface.

    • network-interface.network-interface-id - The ID of the network interface.

    • network-interface.operator.managed - A Boolean that indicates whether the instance has a managed network interface.

    • network-interface.operator.principal - The principal that manages the network interface. Only valid for instances with managed network interfaces, where managed is true.

    • network-interface.outpost-arn - The ARN of the Outpost.

    • network-interface.owner-id - The ID of the owner of the network interface.

    • network-interface.private-dns-name - The private DNS name of the network interface.

    • network-interface.private-ip-address - The private IPv4 address.

    • network-interface.public-dns-name - The public DNS name.

    • network-interface.requester-id - The requester ID for the network interface.

    • network-interface.requester-managed - Indicates whether the network interface is being managed by Amazon Web Services.

    • network-interface.status - The status of the network interface (available) | in-use).

    • network-interface.source-dest-check - Whether the network interface performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

    • network-interface.subnet-id - The ID of the subnet for the network interface.

    • network-interface.tag-key - The key of a tag assigned to the network interface.

    • network-interface.tag-value - The value of a tag assigned to the network interface.

    • network-interface.vpc-id - The ID of the VPC for the network interface.

    • operator.managed - A Boolean that indicates whether this is a managed instance.

    • operator.principal - The principal that manages the instance. Only valid for managed instances, where managed is true.

    • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

    • owner-id - The Amazon Web Services account ID of the instance owner.

    • placement-group-name - The name of the placement group for the instance.

    • placement-partition-number - The partition in which the instance is located.

    • platform - The platform. To list only Windows instances, use windows.

    • platform-details - The platform (Linux/UNIX | Red Hat BYOL Linux | Red Hat Enterprise Linux | Red Hat Enterprise Linux with HA | Red Hat Enterprise Linux with SQL Server Standard and HA | Red Hat Enterprise Linux with SQL Server Enterprise and HA | Red Hat Enterprise Linux with SQL Server Standard | Red Hat Enterprise Linux with SQL Server Web | Red Hat Enterprise Linux with SQL Server Enterprise | SQL Server Enterprise | SQL Server Standard | SQL Server Web | SUSE Linux | Ubuntu Pro | Windows | Windows BYOL | Windows with SQL Server Enterprise | Windows with SQL Server Standard | Windows with SQL Server Web).

    • private-dns-name - The private IPv4 DNS name of the instance.

    • private-dns-name-options.enable-resource-name-dns-a-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records.

    • private-dns-name-options.enable-resource-name-dns-aaaa-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

    • private-dns-name-options.hostname-type - The type of hostname (ip-name | resource-name).

    • private-ip-address - The private IPv4 address of the instance. This can only be used to filter by the primary IP address of the network interface attached to the instance. To filter by additional IP addresses assigned to the network interface, use the filter network-interface.addresses.private-ip-address.

    • product-code - The product code associated with the AMI used to launch the instance.

    • product-code.type - The type of product code (devpay | marketplace).

    • ramdisk-id - The RAM disk ID.

    • reason - The reason for the current state of the instance (for example, shows \"User Initiated [date]\" when you stop or terminate the instance). Similar to the state-reason-code filter.

    • requester-id - The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

    • reservation-id - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.

    • root-device-name - The device name of the root device volume (for example, /dev/sda1).

    • root-device-type - The type of the root device volume (ebs | instance-store).

    • source-dest-check - Indicates whether the instance performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform network address translation (NAT) in your VPC.

    • spot-instance-request-id - The ID of the Spot Instance request.

    • state-reason-code - The reason code for the state change.

    • state-reason-message - A message that describes the state change.

    • subnet-id - The ID of the subnet for the instance.

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

    • tenancy - The tenancy of an instance (dedicated | default | host).

    • tpm-support - Indicates if the instance is configured for NitroTPM support (v2.0).

    • usage-operation - The usage operation value for the instance (RunInstances | RunInstances:00g0 | RunInstances:0010 | RunInstances:1010 | RunInstances:1014 | RunInstances:1110 | RunInstances:0014 | RunInstances:0210 | RunInstances:0110 | RunInstances:0100 | RunInstances:0004 | RunInstances:0200 | RunInstances:000g | RunInstances:0g00 | RunInstances:0002 | RunInstances:0800 | RunInstances:0102 | RunInstances:0006 | RunInstances:0202).

    • usage-operation-update-time - The time that the usage operation was last updated, for example, 2022-09-15T17:15:20.000Z.

    • virtualization-type - The virtualization type of the instance (paravirtual | hvm).

    • vpc-id - The ID of the VPC that the instance is running in.

    ", "locationName":"Filter" }, "NextToken":{ @@ -23786,7 +23804,7 @@ }, "Filters":{ "shape":"FilterList", - "documentation":"

    One or more filters.

    • association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

    • association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

    • addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

    • addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4).

    • addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface.

    • addresses.private-ip-address - The private IPv4 addresses associated with the network interface.

    • association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

    • association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

    • association.public-dns-name - The public DNS name for the network interface (IPv4).

    • attachment.attach-time - The time that the network interface was attached to an instance.

    • attachment.attachment-id - The ID of the interface attachment.

    • attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

    • attachment.device-index - The device index to which the network interface is attached.

    • attachment.instance-id - The ID of the instance to which the network interface is attached.

    • attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

    • attachment.status - The status of the attachment (attaching | attached | detaching | detached).

    • availability-zone - The Availability Zone of the network interface.

    • description - The description of the network interface.

    • group-id - The ID of a security group associated with the network interface.

    • ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface.

    • interface-type - The type of network interface (api_gateway_managed | aws_codestar_connections_managed | branch | ec2_instance_connect_endpoint | efa | efa-only | efs | gateway_load_balancer | gateway_load_balancer_endpoint | global_accelerator_managed | interface | iot_rules_managed | lambda | load_balancer | nat_gateway | network_load_balancer | quicksight | transit_gateway | trunk | vpc_endpoint).

    • mac-address - The MAC address of the network interface.

    • network-interface-id - The ID of the network interface.

    • owner-id - The Amazon Web Services account ID of the network interface owner.

    • private-dns-name - The private DNS name of the network interface (IPv4).

    • private-ip-address - The private IPv4 address or addresses of the network interface.

    • requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.

    • requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

    • source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

    • status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use.

    • subnet-id - The ID of the subnet for the network interface.

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    • vpc-id - The ID of the VPC for the network interface.

    ", + "documentation":"

    One or more filters.

    • association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

    • association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

    • addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

    • addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4).

    • addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface.

    • addresses.private-ip-address - The private IPv4 addresses associated with the network interface.

    • association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

    • association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

    • association.public-dns-name - The public DNS name for the network interface (IPv4).

    • attachment.attach-time - The time that the network interface was attached to an instance.

    • attachment.attachment-id - The ID of the interface attachment.

    • attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

    • attachment.device-index - The device index to which the network interface is attached.

    • attachment.instance-id - The ID of the instance to which the network interface is attached.

    • attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

    • attachment.status - The status of the attachment (attaching | attached | detaching | detached).

    • availability-zone - The Availability Zone of the network interface.

    • description - The description of the network interface.

    • group-id - The ID of a security group associated with the network interface.

    • ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface.

    • interface-type - The type of network interface (api_gateway_managed | aws_codestar_connections_managed | branch | ec2_instance_connect_endpoint | efa | efa-only | efs | gateway_load_balancer | gateway_load_balancer_endpoint | global_accelerator_managed | interface | iot_rules_managed | lambda | load_balancer | nat_gateway | network_load_balancer | quicksight | transit_gateway | trunk | vpc_endpoint).

    • mac-address - The MAC address of the network interface.

    • network-interface-id - The ID of the network interface.

    • operator.managed - A Boolean that indicates whether this is a managed network interface.

    • operator.principal - The principal that manages the network interface. Only valid for managed network interfaces, where managed is true.

    • owner-id - The Amazon Web Services account ID of the network interface owner.

    • private-dns-name - The private DNS name of the network interface (IPv4).

    • private-ip-address - The private IPv4 address or addresses of the network interface.

    • requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.

    • requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

    • source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

    • status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use.

    • subnet-id - The ID of the subnet for the network interface.

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    • vpc-id - The ID of the VPC for the network interface.

    ", "locationName":"filter" } }, @@ -26209,7 +26227,7 @@ }, "Filters":{ "shape":"FilterList", - "documentation":"

    The filters.

    • attachment.attach-time - The time stamp when the attachment initiated.

    • attachment.delete-on-termination - Whether the volume is deleted on instance termination.

    • attachment.device - The device name specified in the block device mapping (for example, /dev/sda1).

    • attachment.instance-id - The ID of the instance the volume is attached to.

    • attachment.status - The attachment state (attaching | attached | detaching).

    • availability-zone - The Availability Zone in which the volume was created.

    • create-time - The time stamp when the volume was created.

    • encrypted - Indicates whether the volume is encrypted (true | false)

    • multi-attach-enabled - Indicates whether the volume is enabled for Multi-Attach (true | false)

    • fast-restored - Indicates whether the volume was created from a snapshot that is enabled for fast snapshot restore (true | false).

    • size - The size of the volume, in GiB.

    • snapshot-id - The snapshot from which the volume was created.

    • status - The state of the volume (creating | available | in-use | deleting | deleted | error).

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    • volume-id - The volume ID.

    • volume-type - The Amazon EBS volume type (gp2 | gp3 | io1 | io2 | st1 | sc1| standard)

    ", + "documentation":"

    The filters.

    • attachment.attach-time - The time stamp when the attachment initiated.

    • attachment.delete-on-termination - Whether the volume is deleted on instance termination.

    • attachment.device - The device name specified in the block device mapping (for example, /dev/sda1).

    • attachment.instance-id - The ID of the instance the volume is attached to.

    • attachment.status - The attachment state (attaching | attached | detaching).

    • availability-zone - The Availability Zone in which the volume was created.

    • create-time - The time stamp when the volume was created.

    • encrypted - Indicates whether the volume is encrypted (true | false)

    • fast-restored - Indicates whether the volume was created from a snapshot that is enabled for fast snapshot restore (true | false).

    • multi-attach-enabled - Indicates whether the volume is enabled for Multi-Attach (true | false)

    • operator.managed - A Boolean that indicates whether this is a managed volume.

    • operator.principal - The principal that manages the volume. Only valid for managed volumes, where managed is true.

    • size - The size of the volume, in GiB.

    • snapshot-id - The snapshot from which the volume was created.

    • status - The state of the volume (creating | available | in-use | deleting | deleted | error).

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    • volume-id - The volume ID.

    • volume-type - The Amazon EBS volume type (gp2 | gp3 | io1 | io2 | st1 | sc1| standard)

    ", "locationName":"Filter" }, "NextToken":{ @@ -26476,7 +26494,7 @@ }, "Filters":{ "shape":"FilterList", - "documentation":"

    The filters.

    • ip-address-type - The IP address type (ipv4 | ipv6).

    • service-id - The ID of the service.

    • vpc-endpoint-owner - The ID of the Amazon Web Services account ID that owns the endpoint.

    • vpc-endpoint-state - The state of the endpoint (pendingAcceptance | pending | available | deleting | deleted | rejected | failed).

    • vpc-endpoint-id - The ID of the endpoint.

    ", + "documentation":"

    The filters.

    • ip-address-type - The IP address type (ipv4 | ipv6).

    • service-id - The ID of the service.

    • vpc-endpoint-owner - The ID of the Amazon Web Services account ID that owns the endpoint.

    • vpc-endpoint-region - The Region of the endpoint or cross-region to find endpoints for other Regions.

    • vpc-endpoint-state - The state of the endpoint (pendingAcceptance | pending | available | deleting | deleted | rejected | failed).

    • vpc-endpoint-id - The ID of the endpoint.

    ", "locationName":"Filter" }, "MaxResults":{ @@ -26602,7 +26620,7 @@ }, "Filters":{ "shape":"FilterList", - "documentation":"

    The filters.

    • owner - The ID or alias of the Amazon Web Services account that owns the service.

    • service-name - The name of the service.

    • service-type - The type of service (Interface | Gateway | GatewayLoadBalancer).

    • supported-ip-address-types - The IP address type (ipv4 | ipv6).

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    ", + "documentation":"

    The filters.

    • owner - The ID or alias of the Amazon Web Services account that owns the service.

    • service-name - The name of the service.

    • service-region - The Region of the service.

    • service-type - The type of service (Interface | Gateway | GatewayLoadBalancer).

    • supported-ip-address-types - The IP address type (ipv4 | ipv6).

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    ", "locationName":"Filter" }, "MaxResults":{ @@ -26612,6 +26630,11 @@ "NextToken":{ "shape":"String", "documentation":"

    The token for the next set of items to return. (You received this token from a prior call.)

    " + }, + "ServiceRegions":{ + "shape":"ValueStringList", + "documentation":"

    The service Regions.

    ", + "locationName":"ServiceRegion" } } }, @@ -26649,7 +26672,7 @@ }, "Filters":{ "shape":"FilterList", - "documentation":"

    The filters.

    • ip-address-type - The IP address type (ipv4 | ipv6).

    • service-name - The name of the service.

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    • vpc-id - The ID of the VPC in which the endpoint resides.

    • vpc-endpoint-id - The ID of the endpoint.

    • vpc-endpoint-state - The state of the endpoint (pendingAcceptance | pending | available | deleting | deleted | rejected | failed).

    • vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | GatewayLoadBalancer).

    ", + "documentation":"

    The filters.

    • ip-address-type - The IP address type (ipv4 | ipv6).

    • service-name - The name of the service.

    • service-region - The Region of the service.

    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    • vpc-id - The ID of the VPC in which the endpoint resides.

    • vpc-endpoint-id - The ID of the endpoint.

    • vpc-endpoint-state - The state of the endpoint (pendingAcceptance | pending | available | deleting | deleted | rejected | failed).

    • vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | GatewayLoadBalancer).

    ", "locationName":"Filter" }, "MaxResults":{ @@ -37346,7 +37369,7 @@ }, "CpuManufacturers":{ "shape":"CpuManufacturerSet", - "documentation":"

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel.

    • For instance types with AMD CPUs, specify amd.

    • For instance types with Amazon Web Services CPUs, specify amazon-web-services.

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    ", + "documentation":"

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel.

    • For instance types with AMD CPUs, specify amd.

    • For instance types with Amazon Web Services CPUs, specify amazon-web-services.

    • For instance types with Apple CPUs, specify apple.

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    ", "locationName":"cpuManufacturerSet" }, "MemoryGiBPerVCpu":{ @@ -37479,7 +37502,7 @@ }, "CpuManufacturers":{ "shape":"CpuManufacturerSet", - "documentation":"

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel.

    • For instance types with AMD CPUs, specify amd.

    • For instance types with Amazon Web Services CPUs, specify amazon-web-services.

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    ", + "documentation":"

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel.

    • For instance types with AMD CPUs, specify amd.

    • For instance types with Amazon Web Services CPUs, specify amazon-web-services.

    • For instance types with Apple CPUs, specify apple.

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    ", "locationName":"CpuManufacturer" }, "MemoryGiBPerVCpu":{ @@ -41402,7 +41425,7 @@ "members":{ "CapacityReservationPreference":{ "shape":"CapacityReservationPreference", - "documentation":"

    Indicates the instance's Capacity Reservation preferences. Possible preferences include:

    • open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

    • none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.

    " + "documentation":"

    Indicates the instance's Capacity Reservation preferences. Possible preferences include:

    • capacity-reservations-only - The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.

    • open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).

    • none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.

    " }, "CapacityReservationTarget":{ "shape":"CapacityReservationTarget", @@ -46358,37 +46381,47 @@ }, "AcceptanceRequired":{ "shape":"Boolean", - "documentation":"

    Indicates whether requests to create an endpoint to your service must be accepted.

    " + "documentation":"

    Indicates whether requests to create an endpoint to the service must be accepted.

    " }, "AddNetworkLoadBalancerArns":{ "shape":"ValueStringList", - "documentation":"

    The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.

    ", + "documentation":"

    The Amazon Resource Names (ARNs) of Network Load Balancers to add to the service configuration.

    ", "locationName":"AddNetworkLoadBalancerArn" }, "RemoveNetworkLoadBalancerArns":{ "shape":"ValueStringList", - "documentation":"

    The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.

    ", + "documentation":"

    The Amazon Resource Names (ARNs) of Network Load Balancers to remove from the service configuration.

    ", "locationName":"RemoveNetworkLoadBalancerArn" }, "AddGatewayLoadBalancerArns":{ "shape":"ValueStringList", - "documentation":"

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.

    ", + "documentation":"

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to the service configuration.

    ", "locationName":"AddGatewayLoadBalancerArn" }, "RemoveGatewayLoadBalancerArns":{ "shape":"ValueStringList", - "documentation":"

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.

    ", + "documentation":"

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from the service configuration.

    ", "locationName":"RemoveGatewayLoadBalancerArn" }, "AddSupportedIpAddressTypes":{ "shape":"ValueStringList", - "documentation":"

    The IP address types to add to your service configuration.

    ", + "documentation":"

    The IP address types to add to the service configuration.

    ", "locationName":"AddSupportedIpAddressType" }, "RemoveSupportedIpAddressTypes":{ "shape":"ValueStringList", - "documentation":"

    The IP address types to remove from your service configuration.

    ", + "documentation":"

    The IP address types to remove from the service configuration.

    ", "locationName":"RemoveSupportedIpAddressType" + }, + "AddSupportedRegions":{ + "shape":"ValueStringList", + "documentation":"

    The supported Regions to add to the service configuration.

    ", + "locationName":"AddSupportedRegion" + }, + "RemoveSupportedRegions":{ + "shape":"ValueStringList", + "documentation":"

    The supported Regions to remove from the service configuration.

    ", + "locationName":"RemoveSupportedRegion" } } }, @@ -55512,6 +55545,16 @@ "shape":"TagList", "documentation":"

    The tags assigned to the service.

    ", "locationName":"tagSet" + }, + "SupportedRegions":{ + "shape":"SupportedRegionSet", + "documentation":"

    The supported Regions.

    ", + "locationName":"supportedRegionSet" + }, + "RemoteAccessEnabled":{ + "shape":"Boolean", + "documentation":"

    Indicates whether consumers can access the service from a Region other than the Region where the service is hosted.

    ", + "locationName":"remoteAccessEnabled" } }, "documentation":"

    Describes a service configuration for a VPC endpoint service.

    " @@ -55548,6 +55591,11 @@ "documentation":"

    The type of service.

    ", "locationName":"serviceType" }, + "ServiceRegion":{ + "shape":"String", + "documentation":"

    The Region where the service is hosted.

    ", + "locationName":"serviceRegion" + }, "AvailabilityZones":{ "shape":"ValueStringList", "documentation":"

    The Availability Zones in which the service is available.

    ", @@ -55726,6 +55774,21 @@ "documentation":"

    Reserved for future use.

    ", "locationName":"sseType" }, + "TransferType":{ + "shape":"TransferType", + "documentation":"

    Only for snapshot copies.

    Indicates whether the snapshot copy was created with a standard or time-based snapshot copy operation. Time-based snapshot copy operations complete within the completion duration specified in the request. Standard snapshot copy operations are completed on a best-effort basis.

    • standard - The snapshot copy was created with a standard snapshot copy operation.

    • time-based - The snapshot copy was created with a time-based snapshot copy operation.

    ", + "locationName":"transferType" + }, + "CompletionDurationMinutes":{ + "shape":"SnapshotCompletionDurationMinutesResponse", + "documentation":"

    Only for snapshot copies created with time-based snapshot copy operations.

    The completion duration requested for the time-based snapshot copy operation.

    ", + "locationName":"completionDurationMinutes" + }, + "CompletionTime":{ + "shape":"MillisecondDateTime", + "documentation":"

    The time stamp when the snapshot was completed.

    ", + "locationName":"completionTime" + }, "SnapshotId":{ "shape":"String", "documentation":"

    The ID of the snapshot. Each snapshot receives a unique identifier when it is created.

    ", @@ -55804,6 +55867,12 @@ "unblocked" ] }, + "SnapshotCompletionDurationMinutesRequest":{ + "type":"integer", + "max":2880, + "min":1 + }, + "SnapshotCompletionDurationMinutesResponse":{"type":"integer"}, "SnapshotDetail":{ "type":"structure", "members":{ @@ -57765,6 +57834,29 @@ "max":2, "min":0 }, + "SupportedRegionDetail":{ + "type":"structure", + "members":{ + "Region":{ + "shape":"String", + "documentation":"

    The Region code.

    ", + "locationName":"region" + }, + "ServiceState":{ + "shape":"String", + "documentation":"

    The service state. The possible values are Pending, Available, Deleting, Deleted, Failed, and Closed.

    ", + "locationName":"serviceState" + } + }, + "documentation":"

    Describes a supported Region.

    " + }, + "SupportedRegionSet":{ + "type":"list", + "member":{ + "shape":"SupportedRegionDetail", + "locationName":"item" + } + }, "Tag":{ "type":"structure", "members":{ @@ -58633,6 +58725,13 @@ "ALL" ] }, + "TransferType":{ + "type":"string", + "enum":[ + "time-based", + "standard" + ] + }, "TransitAssociationGatewayId":{"type":"string"}, "TransitGateway":{ "type":"structure", @@ -62828,6 +62927,11 @@ "shape":"LastError", "documentation":"

    The last error that occurred for endpoint.

    ", "locationName":"lastError" + }, + "ServiceRegion":{ + "shape":"String", + "documentation":"

    The Region where the service is hosted.

    ", + "locationName":"serviceRegion" } }, "documentation":"

    Describes a VPC endpoint.

    " @@ -62889,6 +62993,11 @@ "shape":"TagList", "documentation":"

    The tags.

    ", "locationName":"tagSet" + }, + "VpcEndpointRegion":{ + "shape":"String", + "documentation":"

    The Region of the endpoint.

    ", + "locationName":"vpcEndpointRegion" } }, "documentation":"

    Describes a VPC endpoint connection to a service.

    " diff --git a/tools/code-generation/api-descriptions/qapps-2023-11-27.normal.json b/tools/code-generation/api-descriptions/qapps-2023-11-27.normal.json index a2bf087de15..c0e097ff341 100644 --- a/tools/code-generation/api-descriptions/qapps-2023-11-27.normal.json +++ b/tools/code-generation/api-descriptions/qapps-2023-11-27.normal.json @@ -129,6 +129,24 @@ ], "documentation":"

    Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.

    " }, + "CreatePresignedUrl":{ + "name":"CreatePresignedUrl", + "http":{ + "method":"POST", + "requestUri":"/apps.createPresignedUrl", + "responseCode":200 + }, + "input":{"shape":"CreatePresignedUrlInput"}, + "output":{"shape":"CreatePresignedUrlOutput"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Creates a presigned URL for an S3 POST operation to upload a file. You can use this URL to set a default file for a FileUploadCard in a Q App definition or to provide a file for a single Q App run. The scope parameter determines how the file will be used, either at the app definition level or the app session level.

    " + }, "CreateQApp":{ "name":"CreateQApp", "http":{ @@ -189,6 +207,25 @@ "documentation":"

    Deletes an Amazon Q App owned by the user. If the Q App was previously published to the library, it is also removed from the library.

    ", "idempotent":true }, + "DescribeQAppPermissions":{ + "name":"DescribeQAppPermissions", + "http":{ + "method":"GET", + "requestUri":"/apps.describeQAppPermissions", + "responseCode":200 + }, + "input":{"shape":"DescribeQAppPermissionsInput"}, + "output":{"shape":"DescribeQAppPermissionsOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Describes read permissions for a Amazon Q App in Amazon Q Business application environment instance.

    " + }, "DisassociateLibraryItemReview":{ "name":"DisassociateLibraryItemReview", "http":{ @@ -227,6 +264,27 @@ ], "documentation":"

    Disassociates a Q App from a user removing the user's access to run the Q App.

    " }, + "ExportQAppSessionData":{ + "name":"ExportQAppSessionData", + "http":{ + "method":"POST", + "requestUri":"/runtime.exportQAppSessionData", + "responseCode":200 + }, + "input":{"shape":"ExportQAppSessionDataInput"}, + "output":{"shape":"ExportQAppSessionDataOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Exports the collected data of a Q App data collection session.

    " + }, "GetLibraryItem":{ "name":"GetLibraryItem", "http":{ @@ -285,6 +343,26 @@ ], "documentation":"

    Retrieves the current state and results for an active session of an Amazon Q App.

    " }, + "GetQAppSessionMetadata":{ + "name":"GetQAppSessionMetadata", + "http":{ + "method":"GET", + "requestUri":"/runtime.getQAppSessionMetadata", + "responseCode":200 + }, + "input":{"shape":"GetQAppSessionMetadataInput"}, + "output":{"shape":"GetQAppSessionMetadataOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Retrieves the current configuration of a Q App session.

    " + }, "ImportDocument":{ "name":"ImportDocument", "http":{ @@ -344,6 +422,26 @@ ], "documentation":"

    Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services account.

    " }, + "ListQAppSessionData":{ + "name":"ListQAppSessionData", + "http":{ + "method":"GET", + "requestUri":"/runtime.listQAppSessionData", + "responseCode":200 + }, + "input":{"shape":"ListQAppSessionDataInput"}, + "output":{"shape":"ListQAppSessionDataOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Lists the collected data of a Q App data collection session.

    " + }, "ListQApps":{ "name":"ListQApps", "http":{ @@ -536,6 +634,25 @@ ], "documentation":"

    Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.

    " }, + "UpdateQAppPermissions":{ + "name":"UpdateQAppPermissions", + "http":{ + "method":"POST", + "requestUri":"/apps.updateQAppPermissions", + "responseCode":200 + }, + "input":{"shape":"UpdateQAppPermissionsInput"}, + "output":{"shape":"UpdateQAppPermissionsOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Updates read permissions for a Amazon Q App in Amazon Q Business application environment instance.

    " + }, "UpdateQAppSession":{ "name":"UpdateQAppSession", "http":{ @@ -555,6 +672,26 @@ {"shape":"ThrottlingException"} ], "documentation":"

    Updates the session for a given Q App sessionId. This is only valid when at least one card of the session is in the WAITING state. Data for each WAITING card can be provided as input. If inputs are not provided, the call will be accepted but session will not move forward. Inputs for cards that are not in the WAITING status will be ignored.

    " + }, + "UpdateQAppSessionMetadata":{ + "name":"UpdateQAppSessionMetadata", + "http":{ + "method":"POST", + "requestUri":"/runtime.updateQAppSessionMetadata", + "responseCode":200 + }, + "input":{"shape":"UpdateQAppSessionMetadataInput"}, + "output":{"shape":"UpdateQAppSessionMetadataOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Updates the configuration metadata of a session for a given Q App sessionId.

    " } }, "shapes":{ @@ -845,6 +982,10 @@ "fileUpload":{ "shape":"FileUploadCard", "documentation":"

    A container for the properties of the file upload card.

    " + }, + "formInput":{ + "shape":"FormInputCard", + "documentation":"

    A container for the properties of the form input card.

    " } }, "documentation":"

    A card representing a component or step in an Amazon Q App's flow.

    ", @@ -868,6 +1009,10 @@ "fileUpload":{ "shape":"FileUploadCardInput", "documentation":"

    A container for the properties of the file upload input card.

    " + }, + "formInput":{ + "shape":"FormInputCardInput", + "documentation":"

    A container for the properties of the form input card.

    " } }, "documentation":"

    The properties defining an input card in an Amazon Q App.

    ", @@ -906,6 +1051,10 @@ "currentValue":{ "shape":"String", "documentation":"

    The current value or result associated with the card.

    " + }, + "submissions":{ + "shape":"SubmissionList", + "documentation":"

    A list of previous submissions, if the card is a form card.

    " } }, "documentation":"

    The current status and value of a card in an active Amazon Q App session.

    " @@ -921,7 +1070,8 @@ "text-input", "q-query", "file-upload", - "q-plugin" + "q-plugin", + "form-input" ] }, "CardValue":{ @@ -938,6 +1088,10 @@ "value":{ "shape":"CardValueValueString", "documentation":"

    The value or result associated with the card.

    " + }, + "submissionMutation":{ + "shape":"SubmissionMutation", + "documentation":"

    The structure that describes how the current form card value is mutated. Only applies for form cards when multiple responses are allowed.

    " } }, "documentation":"

    The value or result associated with a card in a Amazon Q App session.

    " @@ -950,7 +1104,7 @@ }, "CardValueValueString":{ "type":"string", - "max":5000, + "max":40000, "min":0 }, "CategoriesList":{ @@ -1183,6 +1337,80 @@ } } }, + "CreatePresignedUrlInput":{ + "type":"structure", + "required":[ + "instanceId", + "cardId", + "appId", + "fileContentsSha256", + "fileName", + "scope" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

    The unique identifier of the Amazon Q Business application environment instance.

    ", + "location":"header", + "locationName":"instance-id" + }, + "cardId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the card the file is associated with.

    " + }, + "appId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Q App the file is associated with.

    " + }, + "fileContentsSha256":{ + "shape":"CreatePresignedUrlInputFileContentsSha256String", + "documentation":"

    The Base64-encoded SHA-256 digest of the contents of the file to be uploaded.

    " + }, + "fileName":{ + "shape":"Filename", + "documentation":"

    The name of the file to be uploaded.

    " + }, + "scope":{ + "shape":"DocumentScope", + "documentation":"

    Whether the file is associated with a Q App definition or a specific Q App session.

    " + }, + "sessionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Q App session the file is associated with, if applicable.

    " + } + } + }, + "CreatePresignedUrlInputFileContentsSha256String":{ + "type":"string", + "pattern":"[A-Za-z0-9+/]{43}=$|^[A-Za-z0-9+/]{42}==$|^[A-Za-z0-9+/]{44}" + }, + "CreatePresignedUrlOutput":{ + "type":"structure", + "required":[ + "fileId", + "presignedUrl", + "presignedUrlFields", + "presignedUrlExpiration" + ], + "members":{ + "fileId":{ + "shape":"String", + "documentation":"

    The unique identifier assigned to the file to be uploaded.

    " + }, + "presignedUrl":{ + "shape":"String", + "documentation":"

    The URL for a presigned S3 POST operation used to upload a file.

    " + }, + "presignedUrlFields":{ + "shape":"PresignedUrlFields", + "documentation":"

    The form fields to include in the presigned S3 POST operation used to upload a file.

    " + }, + "presignedUrlExpiration":{ + "shape":"QAppsTimestamp", + "documentation":"

    The date and time that the presigned URL will expire in ISO 8601 format.

    " + } + } + }, "CreateQAppInput":{ "type":"structure", "required":[ @@ -1332,6 +1560,44 @@ "type":"list", "member":{"shape":"String"} }, + "DescribeQAppPermissionsInput":{ + "type":"structure", + "required":[ + "instanceId", + "appId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

    The unique identifier of the Amazon Q Business application environment instance.

    ", + "location":"header", + "locationName":"instance-id" + }, + "appId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Amazon Q App for which to retrieve permissions.

    ", + "location":"querystring", + "locationName":"appId" + } + } + }, + "DescribeQAppPermissionsOutput":{ + "type":"structure", + "members":{ + "resourceArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the Amazon Q App for which permissions are returned.

    " + }, + "appId":{ + "shape":"String", + "documentation":"

    The unique identifier of the Amazon Q App for which permissions are returned.

    " + }, + "permissions":{ + "shape":"PermissionsOutputList", + "documentation":"

    The list of permissions granted for the Amazon Q App.

    " + } + } + }, "Description":{ "type":"string", "max":500, @@ -1375,6 +1641,12 @@ } } }, + "Document":{ + "type":"structure", + "members":{ + }, + "document":true + }, "DocumentAttribute":{ "type":"structure", "required":[ @@ -1443,9 +1715,51 @@ "enum":[ "IN_PROGRESS", "WAITING", - "COMPLETED" + "COMPLETED", + "ERROR" ] }, + "ExportQAppSessionDataInput":{ + "type":"structure", + "required":[ + "instanceId", + "sessionId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

    The unique identifier of the Amazon Q Business application environment instance.

    ", + "location":"header", + "locationName":"instance-id" + }, + "sessionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Q App data collection session.

    " + } + } + }, + "ExportQAppSessionDataOutput":{ + "type":"structure", + "required":[ + "csvFileLink", + "expiresAt", + "sessionArn" + ], + "members":{ + "csvFileLink":{ + "shape":"String", + "documentation":"

    The link where the exported Q App session data can be downloaded from.

    " + }, + "expiresAt":{ + "shape":"QAppsTimestamp", + "documentation":"

    The date and time when the link for the exported Q App session data expires.

    " + }, + "sessionArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the Q App data collection session.

    " + } + } + }, "FileUploadCard":{ "type":"structure", "required":[ @@ -1526,41 +1840,127 @@ "max":100, "min":0 }, - "GetLibraryItemInput":{ + "FormInputCard":{ "type":"structure", "required":[ - "instanceId", - "libraryItemId" + "id", + "title", + "dependencies", + "type", + "metadata" ], "members":{ - "instanceId":{ - "shape":"InstanceId", - "documentation":"

    The unique identifier of the Amazon Q Business application environment instance.

    ", - "location":"header", - "locationName":"instance-id" - }, - "libraryItemId":{ + "id":{ "shape":"UUID", - "documentation":"

    The unique identifier of the library item to retrieve.

    ", - "location":"querystring", - "locationName":"libraryItemId" + "documentation":"

    The unique identifier of the form input card.

    " }, - "appId":{ - "shape":"UUID", - "documentation":"

    The unique identifier of the Amazon Q App associated with the library item.

    ", - "location":"querystring", - "locationName":"appId" + "title":{ + "shape":"Title", + "documentation":"

    The title of the form input card.

    " + }, + "dependencies":{ + "shape":"DependencyList", + "documentation":"

    Any dependencies or requirements for the form input card.

    " + }, + "type":{ + "shape":"CardType", + "documentation":"

    The type of the card.

    " + }, + "metadata":{ + "shape":"FormInputCardMetadata", + "documentation":"

    The metadata that defines the form input card data.

    " + }, + "computeMode":{ + "shape":"InputCardComputeMode", + "documentation":"

    The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of append shall allow participants to submit the same form multiple times with different values. A compute mode of replacecode> shall overwrite the current value for each participant.

    " } - } + }, + "documentation":"

    A card in an Amazon Q App that allows the user to submit a response.

    " }, - "GetLibraryItemOutput":{ + "FormInputCardInput":{ "type":"structure", "required":[ - "libraryItemId", - "appId", - "appVersion", - "categories", - "status", + "title", + "id", + "type", + "metadata" + ], + "members":{ + "title":{ + "shape":"Title", + "documentation":"

    The title or label of the form input card.

    " + }, + "id":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the form input card.

    " + }, + "type":{ + "shape":"CardType", + "documentation":"

    The type of the card.

    " + }, + "metadata":{ + "shape":"FormInputCardMetadata", + "documentation":"

    The metadata that defines the form input card data.

    " + }, + "computeMode":{ + "shape":"InputCardComputeMode", + "documentation":"

    The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of append shall allow participants to submit the same form multiple times with different values. A compute mode of replacecode> shall overwrite the current value for each participant.

    " + } + }, + "documentation":"

    Represents a form input card for an Amazon Q App.

    " + }, + "FormInputCardMetadata":{ + "type":"structure", + "required":["schema"], + "members":{ + "schema":{ + "shape":"FormInputCardMetadataSchema", + "documentation":"

    The JSON schema that defines the shape of the response data.

    " + } + }, + "documentation":"

    The metadata of the form input card.

    " + }, + "FormInputCardMetadataSchema":{ + "type":"structure", + "members":{ + }, + "document":true + }, + "GetLibraryItemInput":{ + "type":"structure", + "required":[ + "instanceId", + "libraryItemId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

    The unique identifier of the Amazon Q Business application environment instance.

    ", + "location":"header", + "locationName":"instance-id" + }, + "libraryItemId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the library item to retrieve.

    ", + "location":"querystring", + "locationName":"libraryItemId" + }, + "appId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Amazon Q App associated with the library item.

    ", + "location":"querystring", + "locationName":"appId" + } + } + }, + "GetLibraryItemOutput":{ + "type":"structure", + "required":[ + "libraryItemId", + "appId", + "appVersion", + "categories", + "status", "createdAt", "createdBy", "ratingCount" @@ -1638,6 +2038,12 @@ "documentation":"

    The unique identifier of the Q App to retrieve.

    ", "location":"querystring", "locationName":"appId" + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

    The version of the Q App.

    ", + "location":"querystring", + "locationName":"appVersion" } } }, @@ -1731,6 +2137,57 @@ } } }, + "GetQAppSessionMetadataInput":{ + "type":"structure", + "required":[ + "instanceId", + "sessionId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

    The unique identifier of the Amazon Q Business application environment instance.

    ", + "location":"header", + "locationName":"instance-id" + }, + "sessionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Q App session.

    ", + "location":"querystring", + "locationName":"sessionId" + } + } + }, + "GetQAppSessionMetadataOutput":{ + "type":"structure", + "required":[ + "sessionId", + "sessionArn", + "sharingConfiguration" + ], + "members":{ + "sessionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Q App session.

    " + }, + "sessionArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the Q App session.

    " + }, + "sessionName":{ + "shape":"SessionName", + "documentation":"

    The name of the Q App session.

    " + }, + "sharingConfiguration":{ + "shape":"SessionSharingConfiguration", + "documentation":"

    The sharing configuration of the Q App data collection session.

    " + }, + "sessionOwner":{ + "shape":"Boolean", + "documentation":"

    Indicates whether the current user is the owner of the Q App session.

    " + } + } + }, "GetQAppSessionOutput":{ "type":"structure", "required":[ @@ -1748,6 +2205,18 @@ "shape":"String", "documentation":"

    The Amazon Resource Name (ARN) of the Q App session.

    " }, + "sessionName":{ + "shape":"SessionName", + "documentation":"

    The name of the Q App session.

    " + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

    The version of the Q App used for the session.

    " + }, + "latestPublishedAppVersion":{ + "shape":"AppVersion", + "documentation":"

    The latest published version of the Q App used for the session.

    " + }, "status":{ "shape":"ExecutionStatus", "documentation":"

    The current status of the Q App session.

    " @@ -1755,6 +2224,10 @@ "cardStatus":{ "shape":"CardStatusMap", "documentation":"

    The current status for each card in the Q App session.

    " + }, + "userIsHost":{ + "shape":"Boolean", + "documentation":"

    Indicates whether the current user is the owner of the Q App data collection session.

    " } } }, @@ -1777,7 +2250,7 @@ }, "cardId":{ "shape":"UUID", - "documentation":"

    The unique identifier of the card the file is associated with, if applicable.

    " + "documentation":"

    The unique identifier of the card the file is associated with.

    " }, "appId":{ "shape":"UUID", @@ -1793,7 +2266,7 @@ }, "scope":{ "shape":"DocumentScope", - "documentation":"

    Whether the file is associated with an Q App definition or a specific Q App session.

    " + "documentation":"

    Whether the file is associated with a Q App definition or a specific Q App session.

    " }, "sessionId":{ "shape":"UUID", @@ -1815,6 +2288,13 @@ "max":10000, "min":0 }, + "InputCardComputeMode":{ + "type":"string", + "enum":[ + "append", + "replace" + ] + }, "InstanceId":{"type":"string"}, "Integer":{ "type":"integer", @@ -1981,6 +2461,52 @@ } } }, + "ListQAppSessionDataInput":{ + "type":"structure", + "required":[ + "instanceId", + "sessionId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

    The unique identifier of the Amazon Q Business application environment instance.

    ", + "location":"header", + "locationName":"instance-id" + }, + "sessionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Q App data collection session.

    ", + "location":"querystring", + "locationName":"sessionId" + } + } + }, + "ListQAppSessionDataOutput":{ + "type":"structure", + "required":[ + "sessionId", + "sessionArn" + ], + "members":{ + "sessionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Q App data collection session.

    " + }, + "sessionArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the Q App data collection session.

    " + }, + "sessionData":{ + "shape":"QAppSessionDataList", + "documentation":"

    The collected responses of a Q App session.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The pagination token that indicates the next set of results to retrieve.

    " + } + } + }, "ListQAppsInput":{ "type":"structure", "required":["instanceId"], @@ -2044,6 +2570,10 @@ "type":"long", "box":true }, + "MemoryReferenceList":{ + "type":"list", + "member":{"shape":"String"} + }, "PageLimit":{ "type":"integer", "box":true, @@ -2055,6 +2585,70 @@ "max":300, "min":0 }, + "PermissionInput":{ + "type":"structure", + "required":[ + "action", + "principal" + ], + "members":{ + "action":{ + "shape":"PermissionInputActionEnum", + "documentation":"

    The action associated with the permission.

    " + }, + "principal":{ + "shape":"PermissionInputPrincipalString", + "documentation":"

    The principal user to which the permission applies.

    " + } + }, + "documentation":"

    The permission to grant or revoke for a Amazon Q App.

    " + }, + "PermissionInputActionEnum":{ + "type":"string", + "enum":[ + "read", + "write" + ], + "max":20, + "min":1 + }, + "PermissionInputPrincipalString":{ + "type":"string", + "max":256, + "min":1 + }, + "PermissionOutput":{ + "type":"structure", + "required":[ + "action", + "principal" + ], + "members":{ + "action":{ + "shape":"PermissionOutputActionEnum", + "documentation":"

    The action associated with the permission.

    " + }, + "principal":{ + "shape":"PrincipalOutput", + "documentation":"

    The principal user to which the permission applies.

    " + } + }, + "documentation":"

    The permission granted to the Amazon Q App.

    " + }, + "PermissionOutputActionEnum":{ + "type":"string", + "enum":[ + "read", + "write" + ], + "max":20, + "min":1 + }, + "PermissionsOutputList":{ + "type":"list", + "member":{"shape":"PermissionOutput"}, + "documentation":"

    A list of permissions granted for a Amazon Q App.

    " + }, "Placeholder":{ "type":"string", "max":500, @@ -2161,11 +2755,87 @@ } } }, + "PresignedUrlFields":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "PrincipalOutput":{ + "type":"structure", + "members":{ + "userId":{ + "shape":"PrincipalOutputUserIdString", + "documentation":"

    The unique identifier of the user.

    " + }, + "userType":{ + "shape":"PrincipalOutputUserTypeEnum", + "documentation":"

    The type of the user.

    " + }, + "email":{ + "shape":"PrincipalOutputEmailString", + "documentation":"

    The email address associated with the user.

    " + } + }, + "documentation":"

    The principal for which the permission applies.

    " + }, + "PrincipalOutputEmailString":{ + "type":"string", + "max":256, + "min":1 + }, + "PrincipalOutputUserIdString":{ + "type":"string", + "max":256, + "min":1 + }, + "PrincipalOutputUserTypeEnum":{ + "type":"string", + "enum":[ + "owner", + "user" + ], + "max":256, + "min":1 + }, "Prompt":{ "type":"string", - "max":7000, + "max":50000, "min":0 }, + "QAppSessionData":{ + "type":"structure", + "required":[ + "cardId", + "user" + ], + "members":{ + "cardId":{ + "shape":"UUID", + "documentation":"

    The card Id associated with the response submitted for a Q App session.

    " + }, + "value":{ + "shape":"Document", + "documentation":"

    The response submitted for a Q App session.

    " + }, + "user":{ + "shape":"User", + "documentation":"

    The user who submitted the response for a Q App session.

    " + }, + "submissionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the submission.

    " + }, + "timestamp":{ + "shape":"QAppsTimestamp", + "documentation":"

    The date and time when the session data is submitted.

    " + } + }, + "documentation":"

    The response collected for a Amazon Q App session. This container represents a single response to a Q App session.

    " + }, + "QAppSessionDataList":{ + "type":"list", + "member":{"shape":"QAppSessionData"} + }, "QAppsTimestamp":{ "type":"timestamp", "timestampFormat":"iso8601" @@ -2284,6 +2954,10 @@ "attributeFilter":{ "shape":"AttributeFilter", "documentation":"

    The Amazon Q Business filters applied in this query card when resolving data sources

    " + }, + "memoryReferences":{ + "shape":"MemoryReferenceList", + "documentation":"

    Any dependencies for the query card, where the dependencies are references to the collected responses.

    " } }, "documentation":"

    A card in a Amazon Q App that generates a response based on the Amazon Q Business service.

    " @@ -2391,6 +3065,42 @@ }, "exception":true }, + "SessionName":{ + "type":"string", + "max":100, + "min":0 + }, + "SessionSharingAcceptResponses":{ + "type":"boolean", + "box":true + }, + "SessionSharingConfiguration":{ + "type":"structure", + "required":["enabled"], + "members":{ + "enabled":{ + "shape":"SessionSharingEnabled", + "documentation":"

    Indicates whether an Q App session is shareable with other users.

    " + }, + "acceptResponses":{ + "shape":"SessionSharingAcceptResponses", + "documentation":"

    Indicates whether an Q App session can accept responses from users.

    " + }, + "revealCards":{ + "shape":"SessionSharingRevealCards", + "documentation":"

    Indicates whether collected responses for an Q App session are revealed for all users.

    " + } + }, + "documentation":"

    The sharing configuration of an Amazon Q App data collection session.

    " + }, + "SessionSharingEnabled":{ + "type":"boolean", + "box":true + }, + "SessionSharingRevealCards":{ + "type":"boolean", + "box":true + }, "StartQAppSessionInput":{ "type":"structure", "required":[ @@ -2417,6 +3127,10 @@ "shape":"CardValueList", "documentation":"

    Optional initial input values to provide for the Q App session.

    " }, + "sessionId":{ + "shape":"String", + "documentation":"

    The unique identifier of the a Q App session.

    " + }, "tags":{ "shape":"TagMap", "documentation":"

    Optional tags to associate with the new Q App session.

    " @@ -2432,7 +3146,7 @@ "members":{ "sessionId":{ "shape":"String", - "documentation":"

    The unique identifier of the new Q App session.

    " + "documentation":"

    The unique identifier of the new or retrieved Q App session.

    " }, "sessionArn":{ "shape":"String", @@ -2460,6 +3174,54 @@ } }, "String":{"type":"string"}, + "Submission":{ + "type":"structure", + "members":{ + "value":{ + "shape":"Document", + "documentation":"

    The data submitted by the user.

    " + }, + "submissionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the submission.

    " + }, + "timestamp":{ + "shape":"QAppsTimestamp", + "documentation":"

    The date and time when the card is submitted.

    " + } + }, + "documentation":"

    A record created when a user submits a form card.

    " + }, + "SubmissionList":{ + "type":"list", + "member":{"shape":"Submission"} + }, + "SubmissionMutation":{ + "type":"structure", + "required":[ + "submissionId", + "mutationType" + ], + "members":{ + "submissionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the submission.

    " + }, + "mutationType":{ + "shape":"SubmissionMutationKind", + "documentation":"

    The operation that is performed on a submission.

    " + } + }, + "documentation":"

    Represents an action performed on a submission.

    " + }, + "SubmissionMutationKind":{ + "type":"string", + "enum":[ + "edit", + "delete", + "add" + ] + }, "TagKey":{ "type":"string", "max":128, @@ -2871,6 +3633,64 @@ } } }, + "UpdateQAppPermissionsInput":{ + "type":"structure", + "required":[ + "instanceId", + "appId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

    The unique identifier of the Amazon Q Business application environment instance.

    ", + "location":"header", + "locationName":"instance-id" + }, + "appId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Amazon Q App for which permissions are being updated.

    " + }, + "grantPermissions":{ + "shape":"UpdateQAppPermissionsInputGrantPermissionsList", + "documentation":"

    The list of permissions to grant for the Amazon Q App.

    " + }, + "revokePermissions":{ + "shape":"UpdateQAppPermissionsInputRevokePermissionsList", + "documentation":"

    The list of permissions to revoke for the Amazon Q App.

    " + } + } + }, + "UpdateQAppPermissionsInputGrantPermissionsList":{ + "type":"list", + "member":{"shape":"PermissionInput"}, + "documentation":"

    A list of permissions to grant or revoke for a Amazon Q App.

    ", + "max":100, + "min":0 + }, + "UpdateQAppPermissionsInputRevokePermissionsList":{ + "type":"list", + "member":{"shape":"PermissionInput"}, + "documentation":"

    A list of permissions to grant or revoke for a Amazon Q App.

    ", + "max":100, + "min":0 + }, + "UpdateQAppPermissionsOutput":{ + "type":"structure", + "members":{ + "resourceArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the Amazon Q App for which permissions were updated.

    " + }, + "appId":{ + "shape":"String", + "documentation":"

    The unique identifier of the Amazon Q App for which permissions were updated.

    " + }, + "permissions":{ + "shape":"PermissionsOutputList", + "documentation":"

    The updated list of permissions for the Amazon Q App.

    " + } + } + }, "UpdateQAppSessionInput":{ "type":"structure", "required":[ @@ -2894,6 +3714,60 @@ } } }, + "UpdateQAppSessionMetadataInput":{ + "type":"structure", + "required":[ + "instanceId", + "sessionId", + "sharingConfiguration" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

    The unique identifier of the Amazon Q Business application environment instance.

    ", + "location":"header", + "locationName":"instance-id" + }, + "sessionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the Q App session to update configuration for.

    " + }, + "sessionName":{ + "shape":"SessionName", + "documentation":"

    The new name for the Q App session.

    " + }, + "sharingConfiguration":{ + "shape":"SessionSharingConfiguration", + "documentation":"

    The new sharing configuration for the Q App data collection session.

    " + } + } + }, + "UpdateQAppSessionMetadataOutput":{ + "type":"structure", + "required":[ + "sessionId", + "sessionArn", + "sharingConfiguration" + ], + "members":{ + "sessionId":{ + "shape":"UUID", + "documentation":"

    The unique identifier of the updated Q App session.

    " + }, + "sessionArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the updated Q App session.

    " + }, + "sessionName":{ + "shape":"SessionName", + "documentation":"

    The new name of the updated Q App session.

    " + }, + "sharingConfiguration":{ + "shape":"SessionSharingConfiguration", + "documentation":"

    The new sharing configuration of the updated Q App data collection session.

    " + } + } + }, "UpdateQAppSessionOutput":{ "type":"structure", "required":[ @@ -2911,6 +3785,16 @@ } } }, + "User":{ + "type":"structure", + "members":{ + "userId":{ + "shape":"UserId", + "documentation":"

    The unique identifier of a user.

    " + } + }, + "documentation":"

    A user of an Amazon Q App.

    " + }, "UserAppItem":{ "type":"structure", "required":[ @@ -2959,6 +3843,7 @@ "type":"list", "member":{"shape":"UserAppItem"} }, + "UserId":{"type":"string"}, "ValidationException":{ "type":"structure", "required":["message"],