diff --git a/VERSION b/VERSION index 7263dfca01a..e8cf023c279 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.396 \ No newline at end of file +1.11.397 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateSecurityKeyRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateSecurityKeyRequest.h index 4799c774747..889c5925434 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateSecurityKeyRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateSecurityKeyRequest.h @@ -50,7 +50,7 @@ namespace Model ///@{ /** - *

A valid security key in PEM format.

+ *

A valid security key in PEM format as a String.

*/ inline const Aws::String& GetKey() const{ return m_key; } inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeInstanceResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeInstanceResult.h index e760f67a43d..fefbe364620 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeInstanceResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DescribeInstanceResult.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include @@ -44,6 +45,24 @@ namespace Model inline DescribeInstanceResult& WithInstance(Instance&& value) { SetInstance(std::move(value)); return *this;} ///@} + ///@{ + /** + *

Status information about the replication process. This field is included only + * when you are using the ReplicateInstance + * API to replicate an Amazon Connect instance across Amazon Web Services Regions. + * For information about replicating Amazon Connect instances, see Create + * a replica of your existing Amazon Connect instance in the Amazon Connect + * Administrator Guide.

+ */ + inline const ReplicationConfiguration& GetReplicationConfiguration() const{ return m_replicationConfiguration; } + inline void SetReplicationConfiguration(const ReplicationConfiguration& value) { m_replicationConfiguration = value; } + inline void SetReplicationConfiguration(ReplicationConfiguration&& value) { m_replicationConfiguration = std::move(value); } + inline DescribeInstanceResult& WithReplicationConfiguration(const ReplicationConfiguration& value) { SetReplicationConfiguration(value); return *this;} + inline DescribeInstanceResult& WithReplicationConfiguration(ReplicationConfiguration&& value) { SetReplicationConfiguration(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -58,6 +77,8 @@ namespace Model Instance m_instance; + ReplicationConfiguration m_replicationConfiguration; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetMetricDataV2Request.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetMetricDataV2Request.h index 269983d2314..0114a5203ff 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetMetricDataV2Request.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetMetricDataV2Request.h @@ -652,8 +652,8 @@ namespace Model * href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#htm-agent-api-connecting-time">Agent * API connecting time

The Negate key in Metric * Level Filters is not applicable for this metric.

- *
SUM_CONTACTS_ABANDONED

Unit: Count

Metric filter:

- *
  • Valid values: API| Incoming | + *

    CONTACTS_ABANDONED

    Unit: Count

    Metric filter:

      + *
    • Valid values: API| Incoming | * Outbound | Transfer | Callback | * Queue_Transfer| Disconnect

    Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InstanceReplicationStatus.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InstanceReplicationStatus.h new file mode 100644 index 00000000000..afaa0ec5e22 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InstanceReplicationStatus.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Connect +{ +namespace Model +{ + enum class InstanceReplicationStatus + { + NOT_SET, + INSTANCE_REPLICATION_COMPLETE, + INSTANCE_REPLICATION_IN_PROGRESS, + INSTANCE_REPLICATION_FAILED, + INSTANCE_REPLICA_DELETING, + INSTANCE_REPLICATION_DELETION_FAILED, + RESOURCE_REPLICATION_NOT_STARTED + }; + +namespace InstanceReplicationStatusMapper +{ +AWS_CONNECT_API InstanceReplicationStatus GetInstanceReplicationStatusForName(const Aws::String& name); + +AWS_CONNECT_API Aws::String GetNameForInstanceReplicationStatus(InstanceReplicationStatus value); +} // namespace InstanceReplicationStatusMapper +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReplicationConfiguration.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReplicationConfiguration.h new file mode 100644 index 00000000000..1ceb3907c1e --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReplicationConfiguration.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 +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Connect +{ +namespace Model +{ + + /** + *

    Details about the status of the replication of a source Amazon Connect + * instance across Amazon Web Services Regions. Use these details to understand the + * general status of a given replication. For information about why a replication + * process may fail, see Why + * a ReplicateInstance call fails in the Create a replica of your existing + * Amazon Connect instance topic in the Amazon Connect Administrator + * Guide.

    See Also:

    AWS + * API Reference

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

    A list of replication status summaries. The summaries contain details about + * the replication of configuration information for Amazon Connect resources, for + * each Amazon Web Services Region.

    + */ + inline const Aws::Vector& GetReplicationStatusSummaryList() const{ return m_replicationStatusSummaryList; } + inline bool ReplicationStatusSummaryListHasBeenSet() const { return m_replicationStatusSummaryListHasBeenSet; } + inline void SetReplicationStatusSummaryList(const Aws::Vector& value) { m_replicationStatusSummaryListHasBeenSet = true; m_replicationStatusSummaryList = value; } + inline void SetReplicationStatusSummaryList(Aws::Vector&& value) { m_replicationStatusSummaryListHasBeenSet = true; m_replicationStatusSummaryList = std::move(value); } + inline ReplicationConfiguration& WithReplicationStatusSummaryList(const Aws::Vector& value) { SetReplicationStatusSummaryList(value); return *this;} + inline ReplicationConfiguration& WithReplicationStatusSummaryList(Aws::Vector&& value) { SetReplicationStatusSummaryList(std::move(value)); return *this;} + inline ReplicationConfiguration& AddReplicationStatusSummaryList(const ReplicationStatusSummary& value) { m_replicationStatusSummaryListHasBeenSet = true; m_replicationStatusSummaryList.push_back(value); return *this; } + inline ReplicationConfiguration& AddReplicationStatusSummaryList(ReplicationStatusSummary&& value) { m_replicationStatusSummaryListHasBeenSet = true; m_replicationStatusSummaryList.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The Amazon Web Services Region where the source Amazon Connect instance was + * created. This is the Region where the ReplicateInstance + * API was called to start the replication process.

    + */ + inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; } + inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; } + inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; } + inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); } + inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); } + inline ReplicationConfiguration& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;} + inline ReplicationConfiguration& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;} + inline ReplicationConfiguration& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;} + ///@} + + ///@{ + /** + *

    The URL that is used to sign-in to your Amazon Connect instance according to + * your traffic distribution group configuration. For more information about + * sign-in and traffic distribution groups, see Important + * things to know in the Create traffic distribution groups topic in the + * Amazon Connect Administrator Guide.

    + */ + inline const Aws::String& GetGlobalSignInEndpoint() const{ return m_globalSignInEndpoint; } + inline bool GlobalSignInEndpointHasBeenSet() const { return m_globalSignInEndpointHasBeenSet; } + inline void SetGlobalSignInEndpoint(const Aws::String& value) { m_globalSignInEndpointHasBeenSet = true; m_globalSignInEndpoint = value; } + inline void SetGlobalSignInEndpoint(Aws::String&& value) { m_globalSignInEndpointHasBeenSet = true; m_globalSignInEndpoint = std::move(value); } + inline void SetGlobalSignInEndpoint(const char* value) { m_globalSignInEndpointHasBeenSet = true; m_globalSignInEndpoint.assign(value); } + inline ReplicationConfiguration& WithGlobalSignInEndpoint(const Aws::String& value) { SetGlobalSignInEndpoint(value); return *this;} + inline ReplicationConfiguration& WithGlobalSignInEndpoint(Aws::String&& value) { SetGlobalSignInEndpoint(std::move(value)); return *this;} + inline ReplicationConfiguration& WithGlobalSignInEndpoint(const char* value) { SetGlobalSignInEndpoint(value); return *this;} + ///@} + private: + + Aws::Vector m_replicationStatusSummaryList; + bool m_replicationStatusSummaryListHasBeenSet = false; + + Aws::String m_sourceRegion; + bool m_sourceRegionHasBeenSet = false; + + Aws::String m_globalSignInEndpoint; + bool m_globalSignInEndpointHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReplicationStatusSummary.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReplicationStatusSummary.h new file mode 100644 index 00000000000..690a6dada08 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ReplicationStatusSummary.h @@ -0,0 +1,103 @@ +/** + * 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 Connect +{ +namespace Model +{ + + /** + *

    Status information about the replication process, where you use the ReplicateInstance + * API to create a replica of your Amazon Connect instance in another Amazon Web + * Services Region. For more information, see Set + * up Amazon Connect Global Resiliency in the Amazon Connect Administrator + * Guide.

    See Also:

    AWS + * API Reference

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

    The Amazon Web Services Region. This can be either the source or the replica + * Region, depending where it appears in the summary list.

    + */ + 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 ReplicationStatusSummary& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} + inline ReplicationStatusSummary& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} + inline ReplicationStatusSummary& WithRegion(const char* value) { SetRegion(value); return *this;} + ///@} + + ///@{ + /** + *

    The state of the replication.

    + */ + inline const InstanceReplicationStatus& GetReplicationStatus() const{ return m_replicationStatus; } + inline bool ReplicationStatusHasBeenSet() const { return m_replicationStatusHasBeenSet; } + inline void SetReplicationStatus(const InstanceReplicationStatus& value) { m_replicationStatusHasBeenSet = true; m_replicationStatus = value; } + inline void SetReplicationStatus(InstanceReplicationStatus&& value) { m_replicationStatusHasBeenSet = true; m_replicationStatus = std::move(value); } + inline ReplicationStatusSummary& WithReplicationStatus(const InstanceReplicationStatus& value) { SetReplicationStatus(value); return *this;} + inline ReplicationStatusSummary& WithReplicationStatus(InstanceReplicationStatus&& value) { SetReplicationStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A description of the replication status. Use this information to resolve any + * issues that are preventing the successful replication of your Amazon Connect + * instance to another Region.

    + */ + inline const Aws::String& GetReplicationStatusReason() const{ return m_replicationStatusReason; } + inline bool ReplicationStatusReasonHasBeenSet() const { return m_replicationStatusReasonHasBeenSet; } + inline void SetReplicationStatusReason(const Aws::String& value) { m_replicationStatusReasonHasBeenSet = true; m_replicationStatusReason = value; } + inline void SetReplicationStatusReason(Aws::String&& value) { m_replicationStatusReasonHasBeenSet = true; m_replicationStatusReason = std::move(value); } + inline void SetReplicationStatusReason(const char* value) { m_replicationStatusReasonHasBeenSet = true; m_replicationStatusReason.assign(value); } + inline ReplicationStatusSummary& WithReplicationStatusReason(const Aws::String& value) { SetReplicationStatusReason(value); return *this;} + inline ReplicationStatusSummary& WithReplicationStatusReason(Aws::String&& value) { SetReplicationStatusReason(std::move(value)); return *this;} + inline ReplicationStatusSummary& WithReplicationStatusReason(const char* value) { SetReplicationStatusReason(value); return *this;} + ///@} + private: + + Aws::String m_region; + bool m_regionHasBeenSet = false; + + InstanceReplicationStatus m_replicationStatus; + bool m_replicationStatusHasBeenSet = false; + + Aws::String m_replicationStatusReason; + bool m_replicationStatusReasonHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/DescribeInstanceResult.cpp b/generated/src/aws-cpp-sdk-connect/source/model/DescribeInstanceResult.cpp index af74c803a30..941692cca53 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/DescribeInstanceResult.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/DescribeInstanceResult.cpp @@ -35,6 +35,12 @@ DescribeInstanceResult& DescribeInstanceResult::operator =(const Aws::AmazonWebS } + if(jsonValue.ValueExists("ReplicationConfiguration")) + { + m_replicationConfiguration = jsonValue.GetObject("ReplicationConfiguration"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-connect/source/model/InstanceReplicationStatus.cpp b/generated/src/aws-cpp-sdk-connect/source/model/InstanceReplicationStatus.cpp new file mode 100644 index 00000000000..384ce97efd4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/InstanceReplicationStatus.cpp @@ -0,0 +1,100 @@ +/** + * 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 Connect + { + namespace Model + { + namespace InstanceReplicationStatusMapper + { + + static const int INSTANCE_REPLICATION_COMPLETE_HASH = HashingUtils::HashString("INSTANCE_REPLICATION_COMPLETE"); + static const int INSTANCE_REPLICATION_IN_PROGRESS_HASH = HashingUtils::HashString("INSTANCE_REPLICATION_IN_PROGRESS"); + static const int INSTANCE_REPLICATION_FAILED_HASH = HashingUtils::HashString("INSTANCE_REPLICATION_FAILED"); + static const int INSTANCE_REPLICA_DELETING_HASH = HashingUtils::HashString("INSTANCE_REPLICA_DELETING"); + static const int INSTANCE_REPLICATION_DELETION_FAILED_HASH = HashingUtils::HashString("INSTANCE_REPLICATION_DELETION_FAILED"); + static const int RESOURCE_REPLICATION_NOT_STARTED_HASH = HashingUtils::HashString("RESOURCE_REPLICATION_NOT_STARTED"); + + + InstanceReplicationStatus GetInstanceReplicationStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == INSTANCE_REPLICATION_COMPLETE_HASH) + { + return InstanceReplicationStatus::INSTANCE_REPLICATION_COMPLETE; + } + else if (hashCode == INSTANCE_REPLICATION_IN_PROGRESS_HASH) + { + return InstanceReplicationStatus::INSTANCE_REPLICATION_IN_PROGRESS; + } + else if (hashCode == INSTANCE_REPLICATION_FAILED_HASH) + { + return InstanceReplicationStatus::INSTANCE_REPLICATION_FAILED; + } + else if (hashCode == INSTANCE_REPLICA_DELETING_HASH) + { + return InstanceReplicationStatus::INSTANCE_REPLICA_DELETING; + } + else if (hashCode == INSTANCE_REPLICATION_DELETION_FAILED_HASH) + { + return InstanceReplicationStatus::INSTANCE_REPLICATION_DELETION_FAILED; + } + else if (hashCode == RESOURCE_REPLICATION_NOT_STARTED_HASH) + { + return InstanceReplicationStatus::RESOURCE_REPLICATION_NOT_STARTED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return InstanceReplicationStatus::NOT_SET; + } + + Aws::String GetNameForInstanceReplicationStatus(InstanceReplicationStatus enumValue) + { + switch(enumValue) + { + case InstanceReplicationStatus::NOT_SET: + return {}; + case InstanceReplicationStatus::INSTANCE_REPLICATION_COMPLETE: + return "INSTANCE_REPLICATION_COMPLETE"; + case InstanceReplicationStatus::INSTANCE_REPLICATION_IN_PROGRESS: + return "INSTANCE_REPLICATION_IN_PROGRESS"; + case InstanceReplicationStatus::INSTANCE_REPLICATION_FAILED: + return "INSTANCE_REPLICATION_FAILED"; + case InstanceReplicationStatus::INSTANCE_REPLICA_DELETING: + return "INSTANCE_REPLICA_DELETING"; + case InstanceReplicationStatus::INSTANCE_REPLICATION_DELETION_FAILED: + return "INSTANCE_REPLICATION_DELETION_FAILED"; + case InstanceReplicationStatus::RESOURCE_REPLICATION_NOT_STARTED: + return "RESOURCE_REPLICATION_NOT_STARTED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace InstanceReplicationStatusMapper + } // namespace Model + } // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/ReplicationConfiguration.cpp b/generated/src/aws-cpp-sdk-connect/source/model/ReplicationConfiguration.cpp new file mode 100644 index 00000000000..0f7e225d2a3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/ReplicationConfiguration.cpp @@ -0,0 +1,95 @@ +/** + * 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 Connect +{ +namespace Model +{ + +ReplicationConfiguration::ReplicationConfiguration() : + m_replicationStatusSummaryListHasBeenSet(false), + m_sourceRegionHasBeenSet(false), + m_globalSignInEndpointHasBeenSet(false) +{ +} + +ReplicationConfiguration::ReplicationConfiguration(JsonView jsonValue) + : ReplicationConfiguration() +{ + *this = jsonValue; +} + +ReplicationConfiguration& ReplicationConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ReplicationStatusSummaryList")) + { + Aws::Utils::Array replicationStatusSummaryListJsonList = jsonValue.GetArray("ReplicationStatusSummaryList"); + for(unsigned replicationStatusSummaryListIndex = 0; replicationStatusSummaryListIndex < replicationStatusSummaryListJsonList.GetLength(); ++replicationStatusSummaryListIndex) + { + m_replicationStatusSummaryList.push_back(replicationStatusSummaryListJsonList[replicationStatusSummaryListIndex].AsObject()); + } + m_replicationStatusSummaryListHasBeenSet = true; + } + + if(jsonValue.ValueExists("SourceRegion")) + { + m_sourceRegion = jsonValue.GetString("SourceRegion"); + + m_sourceRegionHasBeenSet = true; + } + + if(jsonValue.ValueExists("GlobalSignInEndpoint")) + { + m_globalSignInEndpoint = jsonValue.GetString("GlobalSignInEndpoint"); + + m_globalSignInEndpointHasBeenSet = true; + } + + return *this; +} + +JsonValue ReplicationConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_replicationStatusSummaryListHasBeenSet) + { + Aws::Utils::Array replicationStatusSummaryListJsonList(m_replicationStatusSummaryList.size()); + for(unsigned replicationStatusSummaryListIndex = 0; replicationStatusSummaryListIndex < replicationStatusSummaryListJsonList.GetLength(); ++replicationStatusSummaryListIndex) + { + replicationStatusSummaryListJsonList[replicationStatusSummaryListIndex].AsObject(m_replicationStatusSummaryList[replicationStatusSummaryListIndex].Jsonize()); + } + payload.WithArray("ReplicationStatusSummaryList", std::move(replicationStatusSummaryListJsonList)); + + } + + if(m_sourceRegionHasBeenSet) + { + payload.WithString("SourceRegion", m_sourceRegion); + + } + + if(m_globalSignInEndpointHasBeenSet) + { + payload.WithString("GlobalSignInEndpoint", m_globalSignInEndpoint); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/ReplicationStatusSummary.cpp b/generated/src/aws-cpp-sdk-connect/source/model/ReplicationStatusSummary.cpp new file mode 100644 index 00000000000..0b9dce63035 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/ReplicationStatusSummary.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 Connect +{ +namespace Model +{ + +ReplicationStatusSummary::ReplicationStatusSummary() : + m_regionHasBeenSet(false), + m_replicationStatus(InstanceReplicationStatus::NOT_SET), + m_replicationStatusHasBeenSet(false), + m_replicationStatusReasonHasBeenSet(false) +{ +} + +ReplicationStatusSummary::ReplicationStatusSummary(JsonView jsonValue) + : ReplicationStatusSummary() +{ + *this = jsonValue; +} + +ReplicationStatusSummary& ReplicationStatusSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Region")) + { + m_region = jsonValue.GetString("Region"); + + m_regionHasBeenSet = true; + } + + if(jsonValue.ValueExists("ReplicationStatus")) + { + m_replicationStatus = InstanceReplicationStatusMapper::GetInstanceReplicationStatusForName(jsonValue.GetString("ReplicationStatus")); + + m_replicationStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("ReplicationStatusReason")) + { + m_replicationStatusReason = jsonValue.GetString("ReplicationStatusReason"); + + m_replicationStatusReasonHasBeenSet = true; + } + + return *this; +} + +JsonValue ReplicationStatusSummary::Jsonize() const +{ + JsonValue payload; + + if(m_regionHasBeenSet) + { + payload.WithString("Region", m_region); + + } + + if(m_replicationStatusHasBeenSet) + { + payload.WithString("ReplicationStatus", InstanceReplicationStatusMapper::GetNameForInstanceReplicationStatus(m_replicationStatus)); + } + + if(m_replicationStatusReasonHasBeenSet) + { + payload.WithString("ReplicationStatusReason", m_replicationStatusReason); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptSubscriptionRequestRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptSubscriptionRequestRequest.h index b6eec9852a2..461c2ad9980 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptSubscriptionRequestRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptSubscriptionRequestRequest.h @@ -6,7 +6,9 @@ #pragma once #include #include +#include #include +#include #include namespace Aws @@ -32,6 +34,20 @@ namespace Model AWS_DATAZONE_API Aws::String SerializePayload() const override; + ///@{ + /** + *

    The asset scopes of the accept subscription request.

    + */ + inline const Aws::Vector& GetAssetScopes() const{ return m_assetScopes; } + inline bool AssetScopesHasBeenSet() const { return m_assetScopesHasBeenSet; } + inline void SetAssetScopes(const Aws::Vector& value) { m_assetScopesHasBeenSet = true; m_assetScopes = value; } + inline void SetAssetScopes(Aws::Vector&& value) { m_assetScopesHasBeenSet = true; m_assetScopes = std::move(value); } + inline AcceptSubscriptionRequestRequest& WithAssetScopes(const Aws::Vector& value) { SetAssetScopes(value); return *this;} + inline AcceptSubscriptionRequestRequest& WithAssetScopes(Aws::Vector&& value) { SetAssetScopes(std::move(value)); return *this;} + inline AcceptSubscriptionRequestRequest& AddAssetScopes(const AcceptedAssetScope& value) { m_assetScopesHasBeenSet = true; m_assetScopes.push_back(value); return *this; } + inline AcceptSubscriptionRequestRequest& AddAssetScopes(AcceptedAssetScope&& value) { m_assetScopesHasBeenSet = true; m_assetScopes.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

    A description that specifies the reason for accepting the specified @@ -77,6 +93,9 @@ namespace Model ///@} private: + Aws::Vector m_assetScopes; + bool m_assetScopesHasBeenSet = false; + Aws::String m_decisionComment; bool m_decisionCommentHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptedAssetScope.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptedAssetScope.h new file mode 100644 index 00000000000..9c2caac13aa --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptedAssetScope.h @@ -0,0 +1,80 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The accepted asset scope.

    See Also:

    AWS + * API Reference

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

    The asset ID of the accepted asset scope.

    + */ + inline const Aws::String& GetAssetId() const{ return m_assetId; } + inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; } + inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; } + inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); } + inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); } + inline AcceptedAssetScope& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} + inline AcceptedAssetScope& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} + inline AcceptedAssetScope& WithAssetId(const char* value) { SetAssetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The filter IDs of the accepted asset scope.

    + */ + inline const Aws::Vector& GetFilterIds() const{ return m_filterIds; } + inline bool FilterIdsHasBeenSet() const { return m_filterIdsHasBeenSet; } + inline void SetFilterIds(const Aws::Vector& value) { m_filterIdsHasBeenSet = true; m_filterIds = value; } + inline void SetFilterIds(Aws::Vector&& value) { m_filterIdsHasBeenSet = true; m_filterIds = std::move(value); } + inline AcceptedAssetScope& WithFilterIds(const Aws::Vector& value) { SetFilterIds(value); return *this;} + inline AcceptedAssetScope& WithFilterIds(Aws::Vector&& value) { SetFilterIds(std::move(value)); return *this;} + inline AcceptedAssetScope& AddFilterIds(const Aws::String& value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(value); return *this; } + inline AcceptedAssetScope& AddFilterIds(Aws::String&& value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(std::move(value)); return *this; } + inline AcceptedAssetScope& AddFilterIds(const char* value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(value); return *this; } + ///@} + private: + + Aws::String m_assetId; + bool m_assetIdHasBeenSet = false; + + Aws::Vector m_filterIds; + bool m_filterIdsHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetScope.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetScope.h new file mode 100644 index 00000000000..bb48de19d9e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetScope.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 + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The asset scope.

    See Also:

    AWS + * API Reference

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

    The asset ID of the asset scope.

    + */ + inline const Aws::String& GetAssetId() const{ return m_assetId; } + inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; } + inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; } + inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); } + inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); } + inline AssetScope& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} + inline AssetScope& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} + inline AssetScope& WithAssetId(const char* value) { SetAssetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The error message of the asset scope.

    + */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } + inline AssetScope& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline AssetScope& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline AssetScope& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + + ///@{ + /** + *

    The filter IDs of the asset scope.

    + */ + inline const Aws::Vector& GetFilterIds() const{ return m_filterIds; } + inline bool FilterIdsHasBeenSet() const { return m_filterIdsHasBeenSet; } + inline void SetFilterIds(const Aws::Vector& value) { m_filterIdsHasBeenSet = true; m_filterIds = value; } + inline void SetFilterIds(Aws::Vector&& value) { m_filterIdsHasBeenSet = true; m_filterIds = std::move(value); } + inline AssetScope& WithFilterIds(const Aws::Vector& value) { SetFilterIds(value); return *this;} + inline AssetScope& WithFilterIds(Aws::Vector&& value) { SetFilterIds(std::move(value)); return *this;} + inline AssetScope& AddFilterIds(const Aws::String& value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(value); return *this; } + inline AssetScope& AddFilterIds(Aws::String&& value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(std::move(value)); return *this; } + inline AssetScope& AddFilterIds(const char* value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The status of the asset scope.

    + */ + inline const Aws::String& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } + inline AssetScope& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} + inline AssetScope& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} + inline AssetScope& WithStatus(const char* value) { SetStatus(value); return *this;} + ///@} + private: + + Aws::String m_assetId; + bool m_assetIdHasBeenSet = false; + + Aws::String m_errorMessage; + bool m_errorMessageHasBeenSet = false; + + Aws::Vector m_filterIds; + bool m_filterIdsHasBeenSet = false; + + Aws::String m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAsset.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAsset.h index 4c3f0cb8977..ab20872158b 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAsset.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAsset.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -69,6 +70,18 @@ namespace Model inline SubscribedAsset& WithAssetRevision(const char* value) { SetAssetRevision(value); return *this;} ///@} + ///@{ + /** + *

    The asset scope of the subscribed asset.

    + */ + inline const AssetScope& GetAssetScope() const{ return m_assetScope; } + inline bool AssetScopeHasBeenSet() const { return m_assetScopeHasBeenSet; } + inline void SetAssetScope(const AssetScope& value) { m_assetScopeHasBeenSet = true; m_assetScope = value; } + inline void SetAssetScope(AssetScope&& value) { m_assetScopeHasBeenSet = true; m_assetScope = std::move(value); } + inline SubscribedAsset& WithAssetScope(const AssetScope& value) { SetAssetScope(value); return *this;} + inline SubscribedAsset& WithAssetScope(AssetScope&& value) { SetAssetScope(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The failure cause included in the details of the asset for which the @@ -140,6 +153,9 @@ namespace Model Aws::String m_assetRevision; bool m_assetRevisionHasBeenSet = false; + AssetScope m_assetScope; + bool m_assetScopeHasBeenSet = false; + FailureCause m_failureCause; bool m_failureCauseHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAssetListing.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAssetListing.h index 040928b0b6a..6721e5a1ca4 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAssetListing.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAssetListing.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include #include @@ -40,6 +41,18 @@ namespace Model AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

    The asset scope of the subscribed asset listing.

    + */ + inline const AssetScope& GetAssetScope() const{ return m_assetScope; } + inline bool AssetScopeHasBeenSet() const { return m_assetScopeHasBeenSet; } + inline void SetAssetScope(const AssetScope& value) { m_assetScopeHasBeenSet = true; m_assetScope = value; } + inline void SetAssetScope(AssetScope&& value) { m_assetScopeHasBeenSet = true; m_assetScope = std::move(value); } + inline SubscribedAssetListing& WithAssetScope(const AssetScope& value) { SetAssetScope(value); return *this;} + inline SubscribedAssetListing& WithAssetScope(AssetScope&& value) { SetAssetScope(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The identifier of the published asset for which the subscription grant is @@ -116,6 +129,9 @@ namespace Model ///@} private: + AssetScope m_assetScope; + bool m_assetScopeHasBeenSet = false; + Aws::String m_entityId; bool m_entityIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AcceptSubscriptionRequestRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptSubscriptionRequestRequest.cpp index 5bd93f5a332..cb6f6caf4f0 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/AcceptSubscriptionRequestRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptSubscriptionRequestRequest.cpp @@ -13,6 +13,7 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; AcceptSubscriptionRequestRequest::AcceptSubscriptionRequestRequest() : + m_assetScopesHasBeenSet(false), m_decisionCommentHasBeenSet(false), m_domainIdentifierHasBeenSet(false), m_identifierHasBeenSet(false) @@ -23,6 +24,17 @@ Aws::String AcceptSubscriptionRequestRequest::SerializePayload() const { JsonValue payload; + if(m_assetScopesHasBeenSet) + { + Aws::Utils::Array assetScopesJsonList(m_assetScopes.size()); + for(unsigned assetScopesIndex = 0; assetScopesIndex < assetScopesJsonList.GetLength(); ++assetScopesIndex) + { + assetScopesJsonList[assetScopesIndex].AsObject(m_assetScopes[assetScopesIndex].Jsonize()); + } + payload.WithArray("assetScopes", std::move(assetScopesJsonList)); + + } + if(m_decisionCommentHasBeenSet) { payload.WithString("decisionComment", m_decisionComment); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AcceptedAssetScope.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptedAssetScope.cpp new file mode 100644 index 00000000000..a61d9d06f12 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptedAssetScope.cpp @@ -0,0 +1,81 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +AcceptedAssetScope::AcceptedAssetScope() : + m_assetIdHasBeenSet(false), + m_filterIdsHasBeenSet(false) +{ +} + +AcceptedAssetScope::AcceptedAssetScope(JsonView jsonValue) + : AcceptedAssetScope() +{ + *this = jsonValue; +} + +AcceptedAssetScope& AcceptedAssetScope::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("assetId")) + { + m_assetId = jsonValue.GetString("assetId"); + + m_assetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("filterIds")) + { + Aws::Utils::Array filterIdsJsonList = jsonValue.GetArray("filterIds"); + for(unsigned filterIdsIndex = 0; filterIdsIndex < filterIdsJsonList.GetLength(); ++filterIdsIndex) + { + m_filterIds.push_back(filterIdsJsonList[filterIdsIndex].AsString()); + } + m_filterIdsHasBeenSet = true; + } + + return *this; +} + +JsonValue AcceptedAssetScope::Jsonize() const +{ + JsonValue payload; + + if(m_assetIdHasBeenSet) + { + payload.WithString("assetId", m_assetId); + + } + + if(m_filterIdsHasBeenSet) + { + Aws::Utils::Array filterIdsJsonList(m_filterIds.size()); + for(unsigned filterIdsIndex = 0; filterIdsIndex < filterIdsJsonList.GetLength(); ++filterIdsIndex) + { + filterIdsJsonList[filterIdsIndex].AsString(m_filterIds[filterIdsIndex]); + } + payload.WithArray("filterIds", std::move(filterIdsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AssetScope.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AssetScope.cpp new file mode 100644 index 00000000000..e207cce79fc --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AssetScope.cpp @@ -0,0 +1,109 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +AssetScope::AssetScope() : + m_assetIdHasBeenSet(false), + m_errorMessageHasBeenSet(false), + m_filterIdsHasBeenSet(false), + m_statusHasBeenSet(false) +{ +} + +AssetScope::AssetScope(JsonView jsonValue) + : AssetScope() +{ + *this = jsonValue; +} + +AssetScope& AssetScope::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("assetId")) + { + m_assetId = jsonValue.GetString("assetId"); + + m_assetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("errorMessage")) + { + m_errorMessage = jsonValue.GetString("errorMessage"); + + m_errorMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("filterIds")) + { + Aws::Utils::Array filterIdsJsonList = jsonValue.GetArray("filterIds"); + for(unsigned filterIdsIndex = 0; filterIdsIndex < filterIdsJsonList.GetLength(); ++filterIdsIndex) + { + m_filterIds.push_back(filterIdsJsonList[filterIdsIndex].AsString()); + } + m_filterIdsHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = jsonValue.GetString("status"); + + m_statusHasBeenSet = true; + } + + return *this; +} + +JsonValue AssetScope::Jsonize() const +{ + JsonValue payload; + + if(m_assetIdHasBeenSet) + { + payload.WithString("assetId", m_assetId); + + } + + if(m_errorMessageHasBeenSet) + { + payload.WithString("errorMessage", m_errorMessage); + + } + + if(m_filterIdsHasBeenSet) + { + Aws::Utils::Array filterIdsJsonList(m_filterIds.size()); + for(unsigned filterIdsIndex = 0; filterIdsIndex < filterIdsJsonList.GetLength(); ++filterIdsIndex) + { + filterIdsJsonList[filterIdsIndex].AsString(m_filterIds[filterIdsIndex]); + } + payload.WithArray("filterIds", std::move(filterIdsJsonList)); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", m_status); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAsset.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAsset.cpp index 9ffc3c3c20f..906d22f7b62 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAsset.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAsset.cpp @@ -21,6 +21,7 @@ namespace Model SubscribedAsset::SubscribedAsset() : m_assetIdHasBeenSet(false), m_assetRevisionHasBeenSet(false), + m_assetScopeHasBeenSet(false), m_failureCauseHasBeenSet(false), m_failureTimestampHasBeenSet(false), m_grantedTimestampHasBeenSet(false), @@ -52,6 +53,13 @@ SubscribedAsset& SubscribedAsset::operator =(JsonView jsonValue) m_assetRevisionHasBeenSet = true; } + if(jsonValue.ValueExists("assetScope")) + { + m_assetScope = jsonValue.GetObject("assetScope"); + + m_assetScopeHasBeenSet = true; + } + if(jsonValue.ValueExists("failureCause")) { m_failureCause = jsonValue.GetObject("failureCause"); @@ -106,6 +114,12 @@ JsonValue SubscribedAsset::Jsonize() const } + if(m_assetScopeHasBeenSet) + { + payload.WithObject("assetScope", m_assetScope.Jsonize()); + + } + if(m_failureCauseHasBeenSet) { payload.WithObject("failureCause", m_failureCause.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAssetListing.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAssetListing.cpp index fbdcf1f4595..3d3e60ccb0a 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAssetListing.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAssetListing.cpp @@ -19,6 +19,7 @@ namespace Model { SubscribedAssetListing::SubscribedAssetListing() : + m_assetScopeHasBeenSet(false), m_entityIdHasBeenSet(false), m_entityRevisionHasBeenSet(false), m_entityTypeHasBeenSet(false), @@ -35,6 +36,13 @@ SubscribedAssetListing::SubscribedAssetListing(JsonView jsonValue) SubscribedAssetListing& SubscribedAssetListing::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("assetScope")) + { + m_assetScope = jsonValue.GetObject("assetScope"); + + m_assetScopeHasBeenSet = true; + } + if(jsonValue.ValueExists("entityId")) { m_entityId = jsonValue.GetString("entityId"); @@ -80,6 +88,12 @@ JsonValue SubscribedAssetListing::Jsonize() const { JsonValue payload; + if(m_assetScopeHasBeenSet) + { + payload.WithObject("assetScope", m_assetScope.Jsonize()); + + } + if(m_entityIdHasBeenSet) { payload.WithString("entityId", m_entityId); diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h index 287d3eaaf0d..6bdd0bf9033 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h @@ -596,6 +596,32 @@ namespace ElasticLoadBalancingv2 return SubmitAsync(&ElasticLoadBalancingv2Client::DescribeAccountLimits, request, handler, context); } + /** + *

    Describes the attributes for the specified listener.

    See Also:

    + * AWS + * API Reference

    + */ + virtual Model::DescribeListenerAttributesOutcome DescribeListenerAttributes(const Model::DescribeListenerAttributesRequest& request) const; + + /** + * A Callable wrapper for DescribeListenerAttributes that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeListenerAttributesOutcomeCallable DescribeListenerAttributesCallable(const DescribeListenerAttributesRequestT& request) const + { + return SubmitCallable(&ElasticLoadBalancingv2Client::DescribeListenerAttributes, request); + } + + /** + * An Async wrapper for DescribeListenerAttributes that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeListenerAttributesAsync(const DescribeListenerAttributesRequestT& request, const DescribeListenerAttributesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ElasticLoadBalancingv2Client::DescribeListenerAttributes, request, handler, context); + } + /** *

    Describes the default certificate and the certificate list for the specified * HTTPS or TLS listener.

    If the default certificate is also in the @@ -1085,6 +1111,32 @@ namespace ElasticLoadBalancingv2 return SubmitAsync(&ElasticLoadBalancingv2Client::ModifyListener, request, handler, context); } + /** + *

    Modifies the specified attributes of the specified listener.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::ModifyListenerAttributesOutcome ModifyListenerAttributes(const Model::ModifyListenerAttributesRequest& request) const; + + /** + * A Callable wrapper for ModifyListenerAttributes that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ModifyListenerAttributesOutcomeCallable ModifyListenerAttributesCallable(const ModifyListenerAttributesRequestT& request) const + { + return SubmitCallable(&ElasticLoadBalancingv2Client::ModifyListenerAttributes, request); + } + + /** + * An Async wrapper for ModifyListenerAttributes that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ModifyListenerAttributesAsync(const ModifyListenerAttributesRequestT& request, const ModifyListenerAttributesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ElasticLoadBalancingv2Client::ModifyListenerAttributes, request, handler, context); + } + /** *

    Modifies the specified attributes of the specified Application Load Balancer, * Network Load Balancer, or Gateway Load Balancer.

    If any of the specified diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2ServiceClientModel.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2ServiceClientModel.h index dc3a8dbdfbb..a2bb995fbf2 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2ServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2ServiceClientModel.h @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -51,6 +52,7 @@ #include #include #include +#include #include #include #include @@ -127,6 +129,7 @@ namespace Aws class DeleteTrustStoreRequest; class DeregisterTargetsRequest; class DescribeAccountLimitsRequest; + class DescribeListenerAttributesRequest; class DescribeListenerCertificatesRequest; class DescribeListenersRequest; class DescribeLoadBalancerAttributesRequest; @@ -144,6 +147,7 @@ namespace Aws class GetTrustStoreCaCertificatesBundleRequest; class GetTrustStoreRevocationContentRequest; class ModifyListenerRequest; + class ModifyListenerAttributesRequest; class ModifyLoadBalancerAttributesRequest; class ModifyRuleRequest; class ModifyTargetGroupRequest; @@ -176,6 +180,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteTrustStoreOutcome; typedef Aws::Utils::Outcome DeregisterTargetsOutcome; typedef Aws::Utils::Outcome DescribeAccountLimitsOutcome; + typedef Aws::Utils::Outcome DescribeListenerAttributesOutcome; typedef Aws::Utils::Outcome DescribeListenerCertificatesOutcome; typedef Aws::Utils::Outcome DescribeListenersOutcome; typedef Aws::Utils::Outcome DescribeLoadBalancerAttributesOutcome; @@ -193,6 +198,7 @@ namespace Aws typedef Aws::Utils::Outcome GetTrustStoreCaCertificatesBundleOutcome; typedef Aws::Utils::Outcome GetTrustStoreRevocationContentOutcome; typedef Aws::Utils::Outcome ModifyListenerOutcome; + typedef Aws::Utils::Outcome ModifyListenerAttributesOutcome; typedef Aws::Utils::Outcome ModifyLoadBalancerAttributesOutcome; typedef Aws::Utils::Outcome ModifyRuleOutcome; typedef Aws::Utils::Outcome ModifyTargetGroupOutcome; @@ -225,6 +231,7 @@ namespace Aws typedef std::future DeleteTrustStoreOutcomeCallable; typedef std::future DeregisterTargetsOutcomeCallable; typedef std::future DescribeAccountLimitsOutcomeCallable; + typedef std::future DescribeListenerAttributesOutcomeCallable; typedef std::future DescribeListenerCertificatesOutcomeCallable; typedef std::future DescribeListenersOutcomeCallable; typedef std::future DescribeLoadBalancerAttributesOutcomeCallable; @@ -242,6 +249,7 @@ namespace Aws typedef std::future GetTrustStoreCaCertificatesBundleOutcomeCallable; typedef std::future GetTrustStoreRevocationContentOutcomeCallable; typedef std::future ModifyListenerOutcomeCallable; + typedef std::future ModifyListenerAttributesOutcomeCallable; typedef std::future ModifyLoadBalancerAttributesOutcomeCallable; typedef std::future ModifyRuleOutcomeCallable; typedef std::future ModifyTargetGroupOutcomeCallable; @@ -277,6 +285,7 @@ namespace Aws typedef std::function&) > DeleteTrustStoreResponseReceivedHandler; typedef std::function&) > DeregisterTargetsResponseReceivedHandler; typedef std::function&) > DescribeAccountLimitsResponseReceivedHandler; + typedef std::function&) > DescribeListenerAttributesResponseReceivedHandler; typedef std::function&) > DescribeListenerCertificatesResponseReceivedHandler; typedef std::function&) > DescribeListenersResponseReceivedHandler; typedef std::function&) > DescribeLoadBalancerAttributesResponseReceivedHandler; @@ -294,6 +303,7 @@ namespace Aws typedef std::function&) > GetTrustStoreCaCertificatesBundleResponseReceivedHandler; typedef std::function&) > GetTrustStoreRevocationContentResponseReceivedHandler; typedef std::function&) > ModifyListenerResponseReceivedHandler; + typedef std::function&) > ModifyListenerAttributesResponseReceivedHandler; typedef std::function&) > ModifyLoadBalancerAttributesResponseReceivedHandler; typedef std::function&) > ModifyRuleResponseReceivedHandler; typedef std::function&) > ModifyTargetGroupResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesRequest.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesRequest.h new file mode 100644 index 00000000000..d2f880153a8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesRequest.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 +#include + +namespace Aws +{ +namespace ElasticLoadBalancingv2 +{ +namespace Model +{ + + /** + */ + class DescribeListenerAttributesRequest : public ElasticLoadBalancingv2Request + { + public: + AWS_ELASTICLOADBALANCINGV2_API DescribeListenerAttributesRequest(); + + // 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 "DescribeListenerAttributes"; } + + AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override; + + protected: + AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; + + public: + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the listener.

    + */ + inline const Aws::String& GetListenerArn() const{ return m_listenerArn; } + inline bool ListenerArnHasBeenSet() const { return m_listenerArnHasBeenSet; } + inline void SetListenerArn(const Aws::String& value) { m_listenerArnHasBeenSet = true; m_listenerArn = value; } + inline void SetListenerArn(Aws::String&& value) { m_listenerArnHasBeenSet = true; m_listenerArn = std::move(value); } + inline void SetListenerArn(const char* value) { m_listenerArnHasBeenSet = true; m_listenerArn.assign(value); } + inline DescribeListenerAttributesRequest& WithListenerArn(const Aws::String& value) { SetListenerArn(value); return *this;} + inline DescribeListenerAttributesRequest& WithListenerArn(Aws::String&& value) { SetListenerArn(std::move(value)); return *this;} + inline DescribeListenerAttributesRequest& WithListenerArn(const char* value) { SetListenerArn(value); return *this;} + ///@} + private: + + Aws::String m_listenerArn; + bool m_listenerArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace ElasticLoadBalancingv2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesResult.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesResult.h new file mode 100644 index 00000000000..92d7cb6f31e --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesResult.h @@ -0,0 +1,67 @@ +/** + * 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 Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace ElasticLoadBalancingv2 +{ +namespace Model +{ + class DescribeListenerAttributesResult + { + public: + AWS_ELASTICLOADBALANCINGV2_API DescribeListenerAttributesResult(); + AWS_ELASTICLOADBALANCINGV2_API DescribeListenerAttributesResult(const Aws::AmazonWebServiceResult& result); + AWS_ELASTICLOADBALANCINGV2_API DescribeListenerAttributesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    Information about the listener attributes.

    + */ + inline const Aws::Vector& GetAttributes() const{ return m_attributes; } + inline void SetAttributes(const Aws::Vector& value) { m_attributes = value; } + inline void SetAttributes(Aws::Vector&& value) { m_attributes = std::move(value); } + inline DescribeListenerAttributesResult& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} + inline DescribeListenerAttributesResult& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} + inline DescribeListenerAttributesResult& AddAttributes(const ListenerAttribute& value) { m_attributes.push_back(value); return *this; } + inline DescribeListenerAttributesResult& AddAttributes(ListenerAttribute&& value) { m_attributes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } + inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } + inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } + inline DescribeListenerAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} + inline DescribeListenerAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_attributes; + + ResponseMetadata m_responseMetadata; + }; + +} // namespace Model +} // namespace ElasticLoadBalancingv2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ListenerAttribute.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ListenerAttribute.h new file mode 100644 index 00000000000..ee14f11d3b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ListenerAttribute.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 Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace ElasticLoadBalancingv2 +{ +namespace Model +{ + + /** + *

    Information about a listener attribute.

    See Also:

    AWS + * API Reference

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

    The name of the attribute.

    The following attribute is supported by + * Network Load Balancers, and Gateway Load Balancers.

    • + * tcp.idle_timeout.seconds - The tcp idle timeout value, in seconds. + * The valid range is 60-6000 seconds. The default is 350 seconds.

    + */ + inline const Aws::String& GetKey() const{ return m_key; } + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline ListenerAttribute& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline ListenerAttribute& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline ListenerAttribute& WithKey(const char* value) { SetKey(value); return *this;} + ///@} + + ///@{ + /** + *

    The value of the attribute.

    + */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline ListenerAttribute& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline ListenerAttribute& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline ListenerAttribute& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_key; + bool m_keyHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace ElasticLoadBalancingv2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesRequest.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesRequest.h new file mode 100644 index 00000000000..0f8e17d4c45 --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesRequest.h @@ -0,0 +1,79 @@ +/** + * 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 ElasticLoadBalancingv2 +{ +namespace Model +{ + + /** + */ + class ModifyListenerAttributesRequest : public ElasticLoadBalancingv2Request + { + public: + AWS_ELASTICLOADBALANCINGV2_API ModifyListenerAttributesRequest(); + + // 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 "ModifyListenerAttributes"; } + + AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override; + + protected: + AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; + + public: + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the listener.

    + */ + inline const Aws::String& GetListenerArn() const{ return m_listenerArn; } + inline bool ListenerArnHasBeenSet() const { return m_listenerArnHasBeenSet; } + inline void SetListenerArn(const Aws::String& value) { m_listenerArnHasBeenSet = true; m_listenerArn = value; } + inline void SetListenerArn(Aws::String&& value) { m_listenerArnHasBeenSet = true; m_listenerArn = std::move(value); } + inline void SetListenerArn(const char* value) { m_listenerArnHasBeenSet = true; m_listenerArn.assign(value); } + inline ModifyListenerAttributesRequest& WithListenerArn(const Aws::String& value) { SetListenerArn(value); return *this;} + inline ModifyListenerAttributesRequest& WithListenerArn(Aws::String&& value) { SetListenerArn(std::move(value)); return *this;} + inline ModifyListenerAttributesRequest& WithListenerArn(const char* value) { SetListenerArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The listener attributes.

    + */ + inline const Aws::Vector& GetAttributes() const{ return m_attributes; } + inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } + inline void SetAttributes(const Aws::Vector& value) { m_attributesHasBeenSet = true; m_attributes = value; } + inline void SetAttributes(Aws::Vector&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } + inline ModifyListenerAttributesRequest& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} + inline ModifyListenerAttributesRequest& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} + inline ModifyListenerAttributesRequest& AddAttributes(const ListenerAttribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } + inline ModifyListenerAttributesRequest& AddAttributes(ListenerAttribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_listenerArn; + bool m_listenerArnHasBeenSet = false; + + Aws::Vector m_attributes; + bool m_attributesHasBeenSet = false; + }; + +} // namespace Model +} // namespace ElasticLoadBalancingv2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesResult.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesResult.h new file mode 100644 index 00000000000..25e3448df84 --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesResult.h @@ -0,0 +1,67 @@ +/** + * 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 Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace ElasticLoadBalancingv2 +{ +namespace Model +{ + class ModifyListenerAttributesResult + { + public: + AWS_ELASTICLOADBALANCINGV2_API ModifyListenerAttributesResult(); + AWS_ELASTICLOADBALANCINGV2_API ModifyListenerAttributesResult(const Aws::AmazonWebServiceResult& result); + AWS_ELASTICLOADBALANCINGV2_API ModifyListenerAttributesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    Information about the listener attributes.

    + */ + inline const Aws::Vector& GetAttributes() const{ return m_attributes; } + inline void SetAttributes(const Aws::Vector& value) { m_attributes = value; } + inline void SetAttributes(Aws::Vector&& value) { m_attributes = std::move(value); } + inline ModifyListenerAttributesResult& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} + inline ModifyListenerAttributesResult& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} + inline ModifyListenerAttributesResult& AddAttributes(const ListenerAttribute& value) { m_attributes.push_back(value); return *this; } + inline ModifyListenerAttributesResult& AddAttributes(ListenerAttribute&& value) { m_attributes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } + inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } + inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } + inline ModifyListenerAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} + inline ModifyListenerAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_attributes; + + ResponseMetadata m_responseMetadata; + }; + +} // namespace Model +} // namespace ElasticLoadBalancingv2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesRequest.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesRequest.h index 0c7b5598dde..61ec7d77cf5 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesRequest.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesRequest.h @@ -54,7 +54,7 @@ namespace Model ///@{ /** - *

    The attributes.

    + *

    The target group attributes.

    */ inline const Aws::Vector& GetAttributes() const{ return m_attributes; } inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesResult.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesResult.h index e17cc8cc469..9eb1af9fe8d 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesResult.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesResult.h @@ -36,7 +36,7 @@ namespace Model ///@{ /** - *

    Information about the attributes.

    + *

    Information about the target group attributes.

    */ inline const Aws::Vector& GetAttributes() const{ return m_attributes; } inline void SetAttributes(const Aws::Vector& value) { m_attributes = value; } diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2Client.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2Client.cpp index 15f2e35885a..00074db71b2 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2Client.cpp +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2Client.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -54,6 +55,7 @@ #include #include #include +#include #include #include #include @@ -649,6 +651,32 @@ DescribeAccountLimitsOutcome ElasticLoadBalancingv2Client::DescribeAccountLimits {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeListenerAttributesOutcome ElasticLoadBalancingv2Client::DescribeListenerAttributes(const DescribeListenerAttributesRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeListenerAttributes); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeListenerAttributes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeListenerAttributes, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeListenerAttributes, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DescribeListenerAttributesOutcome { + 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, DescribeListenerAttributes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeListenerAttributesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DescribeListenerCertificatesOutcome ElasticLoadBalancingv2Client::DescribeListenerCertificates(const DescribeListenerCertificatesRequest& request) const { AWS_OPERATION_GUARD(DescribeListenerCertificates); @@ -1091,6 +1119,32 @@ ModifyListenerOutcome ElasticLoadBalancingv2Client::ModifyListener(const ModifyL {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ModifyListenerAttributesOutcome ElasticLoadBalancingv2Client::ModifyListenerAttributes(const ModifyListenerAttributesRequest& request) const +{ + AWS_OPERATION_GUARD(ModifyListenerAttributes); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyListenerAttributes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyListenerAttributes, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ModifyListenerAttributes, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> ModifyListenerAttributesOutcome { + 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, ModifyListenerAttributes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ModifyListenerAttributesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ModifyLoadBalancerAttributesOutcome ElasticLoadBalancingv2Client::ModifyLoadBalancerAttributes(const ModifyLoadBalancerAttributesRequest& request) const { AWS_OPERATION_GUARD(ModifyLoadBalancerAttributes); diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesRequest.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesRequest.cpp new file mode 100644 index 00000000000..e731c18ff74 --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesRequest.cpp @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::ElasticLoadBalancingv2::Model; +using namespace Aws::Utils; + +DescribeListenerAttributesRequest::DescribeListenerAttributesRequest() : + m_listenerArnHasBeenSet(false) +{ +} + +Aws::String DescribeListenerAttributesRequest::SerializePayload() const +{ + Aws::StringStream ss; + ss << "Action=DescribeListenerAttributes&"; + if(m_listenerArnHasBeenSet) + { + ss << "ListenerArn=" << StringUtils::URLEncode(m_listenerArn.c_str()) << "&"; + } + + ss << "Version=2015-12-01"; + return ss.str(); +} + + +void DescribeListenerAttributesRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const +{ + uri.SetQueryString(SerializePayload()); +} diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesResult.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesResult.cpp new file mode 100644 index 00000000000..c0ca708acda --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesResult.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 + +using namespace Aws::ElasticLoadBalancingv2::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils::Logging; +using namespace Aws::Utils; +using namespace Aws; + +DescribeListenerAttributesResult::DescribeListenerAttributesResult() +{ +} + +DescribeListenerAttributesResult::DescribeListenerAttributesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DescribeListenerAttributesResult& DescribeListenerAttributesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode rootNode = xmlDocument.GetRootElement(); + XmlNode resultNode = rootNode; + if (!rootNode.IsNull() && (rootNode.GetName() != "DescribeListenerAttributesResult")) + { + resultNode = rootNode.FirstChild("DescribeListenerAttributesResult"); + } + + if(!resultNode.IsNull()) + { + XmlNode attributesNode = resultNode.FirstChild("Attributes"); + if(!attributesNode.IsNull()) + { + XmlNode attributesMember = attributesNode.FirstChild("member"); + while(!attributesMember.IsNull()) + { + m_attributes.push_back(attributesMember); + attributesMember = attributesMember.NextNode("member"); + } + + } + } + + if (!rootNode.IsNull()) { + XmlNode responseMetadataNode = rootNode.FirstChild("ResponseMetadata"); + m_responseMetadata = responseMetadataNode; + AWS_LOGSTREAM_DEBUG("Aws::ElasticLoadBalancingv2::Model::DescribeListenerAttributesResult", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() ); + } + return *this; +} diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ListenerAttribute.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ListenerAttribute.cpp new file mode 100644 index 00000000000..065a547a845 --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ListenerAttribute.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 ElasticLoadBalancingv2 +{ +namespace Model +{ + +ListenerAttribute::ListenerAttribute() : + m_keyHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +ListenerAttribute::ListenerAttribute(const XmlNode& xmlNode) + : ListenerAttribute() +{ + *this = xmlNode; +} + +ListenerAttribute& ListenerAttribute::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode keyNode = resultNode.FirstChild("Key"); + if(!keyNode.IsNull()) + { + m_key = Aws::Utils::Xml::DecodeEscapedXmlText(keyNode.GetText()); + m_keyHasBeenSet = true; + } + XmlNode valueNode = resultNode.FirstChild("Value"); + if(!valueNode.IsNull()) + { + m_value = Aws::Utils::Xml::DecodeEscapedXmlText(valueNode.GetText()); + m_valueHasBeenSet = true; + } + } + + return *this; +} + +void ListenerAttribute::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const +{ + if(m_keyHasBeenSet) + { + oStream << location << index << locationValue << ".Key=" << StringUtils::URLEncode(m_key.c_str()) << "&"; + } + + if(m_valueHasBeenSet) + { + oStream << location << index << locationValue << ".Value=" << StringUtils::URLEncode(m_value.c_str()) << "&"; + } + +} + +void ListenerAttribute::OutputToStream(Aws::OStream& oStream, const char* location) const +{ + if(m_keyHasBeenSet) + { + oStream << location << ".Key=" << StringUtils::URLEncode(m_key.c_str()) << "&"; + } + if(m_valueHasBeenSet) + { + oStream << location << ".Value=" << StringUtils::URLEncode(m_value.c_str()) << "&"; + } +} + +} // namespace Model +} // namespace ElasticLoadBalancingv2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesRequest.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesRequest.cpp new file mode 100644 index 00000000000..3b08a1291bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesRequest.cpp @@ -0,0 +1,53 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::ElasticLoadBalancingv2::Model; +using namespace Aws::Utils; + +ModifyListenerAttributesRequest::ModifyListenerAttributesRequest() : + m_listenerArnHasBeenSet(false), + m_attributesHasBeenSet(false) +{ +} + +Aws::String ModifyListenerAttributesRequest::SerializePayload() const +{ + Aws::StringStream ss; + ss << "Action=ModifyListenerAttributes&"; + if(m_listenerArnHasBeenSet) + { + ss << "ListenerArn=" << StringUtils::URLEncode(m_listenerArn.c_str()) << "&"; + } + + if(m_attributesHasBeenSet) + { + if (m_attributes.empty()) + { + ss << "Attributes=&"; + } + else + { + unsigned attributesCount = 1; + for(auto& item : m_attributes) + { + item.OutputToStream(ss, "Attributes.member.", attributesCount, ""); + attributesCount++; + } + } + } + + ss << "Version=2015-12-01"; + return ss.str(); +} + + +void ModifyListenerAttributesRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const +{ + uri.SetQueryString(SerializePayload()); +} diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesResult.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesResult.cpp new file mode 100644 index 00000000000..f998d2c1961 --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesResult.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 + +using namespace Aws::ElasticLoadBalancingv2::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils::Logging; +using namespace Aws::Utils; +using namespace Aws; + +ModifyListenerAttributesResult::ModifyListenerAttributesResult() +{ +} + +ModifyListenerAttributesResult::ModifyListenerAttributesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ModifyListenerAttributesResult& ModifyListenerAttributesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode rootNode = xmlDocument.GetRootElement(); + XmlNode resultNode = rootNode; + if (!rootNode.IsNull() && (rootNode.GetName() != "ModifyListenerAttributesResult")) + { + resultNode = rootNode.FirstChild("ModifyListenerAttributesResult"); + } + + if(!resultNode.IsNull()) + { + XmlNode attributesNode = resultNode.FirstChild("Attributes"); + if(!attributesNode.IsNull()) + { + XmlNode attributesMember = attributesNode.FirstChild("member"); + while(!attributesMember.IsNull()) + { + m_attributes.push_back(attributesMember); + attributesMember = attributesMember.NextNode("member"); + } + + } + } + + if (!rootNode.IsNull()) { + XmlNode responseMetadataNode = rootNode.FirstChild("ResponseMetadata"); + m_responseMetadata = responseMetadataNode; + AWS_LOGSTREAM_DEBUG("Aws::ElasticLoadBalancingv2::Model::ModifyListenerAttributesResult", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() ); + } + return *this; +} diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectClient.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectClient.h index d5b2e698bd5..10b73c93569 100644 --- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectClient.h +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectClient.h @@ -491,6 +491,32 @@ namespace MediaConnect return SubmitAsync(&MediaConnectClient::DescribeFlowSourceMetadata, request, handler, context); } + /** + * Displays the thumbnail details of a flow's source stream.

    See Also:

    + * AWS + * API Reference

    + */ + virtual Model::DescribeFlowSourceThumbnailOutcome DescribeFlowSourceThumbnail(const Model::DescribeFlowSourceThumbnailRequest& request) const; + + /** + * A Callable wrapper for DescribeFlowSourceThumbnail that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeFlowSourceThumbnailOutcomeCallable DescribeFlowSourceThumbnailCallable(const DescribeFlowSourceThumbnailRequestT& request) const + { + return SubmitCallable(&MediaConnectClient::DescribeFlowSourceThumbnail, request); + } + + /** + * An Async wrapper for DescribeFlowSourceThumbnail that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeFlowSourceThumbnailAsync(const DescribeFlowSourceThumbnailRequestT& request, const DescribeFlowSourceThumbnailResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&MediaConnectClient::DescribeFlowSourceThumbnail, request, handler, context); + } + /** * Displays the details of a gateway. The response includes the gateway ARN, name, * and CIDR blocks, as well as details about the networks.

    See Also:

    diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectServiceClientModel.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectServiceClientModel.h index 9840f6a5297..ef943b1ab22 100644 --- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectServiceClientModel.h @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -131,6 +132,7 @@ namespace Aws class DescribeBridgeRequest; class DescribeFlowRequest; class DescribeFlowSourceMetadataRequest; + class DescribeFlowSourceThumbnailRequest; class DescribeGatewayRequest; class DescribeGatewayInstanceRequest; class DescribeOfferingRequest; @@ -185,6 +187,7 @@ namespace Aws typedef Aws::Utils::Outcome DescribeBridgeOutcome; typedef Aws::Utils::Outcome DescribeFlowOutcome; typedef Aws::Utils::Outcome DescribeFlowSourceMetadataOutcome; + typedef Aws::Utils::Outcome DescribeFlowSourceThumbnailOutcome; typedef Aws::Utils::Outcome DescribeGatewayOutcome; typedef Aws::Utils::Outcome DescribeGatewayInstanceOutcome; typedef Aws::Utils::Outcome DescribeOfferingOutcome; @@ -239,6 +242,7 @@ namespace Aws typedef std::future DescribeBridgeOutcomeCallable; typedef std::future DescribeFlowOutcomeCallable; typedef std::future DescribeFlowSourceMetadataOutcomeCallable; + typedef std::future DescribeFlowSourceThumbnailOutcomeCallable; typedef std::future DescribeGatewayOutcomeCallable; typedef std::future DescribeGatewayInstanceOutcomeCallable; typedef std::future DescribeOfferingOutcomeCallable; @@ -296,6 +300,7 @@ namespace Aws typedef std::function&) > DescribeBridgeResponseReceivedHandler; typedef std::function&) > DescribeFlowResponseReceivedHandler; typedef std::function&) > DescribeFlowSourceMetadataResponseReceivedHandler; + typedef std::function&) > DescribeFlowSourceThumbnailResponseReceivedHandler; typedef std::function&) > DescribeGatewayResponseReceivedHandler; typedef std::function&) > DescribeGatewayInstanceResponseReceivedHandler; typedef std::function&) > DescribeOfferingResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/CreateFlowRequest.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/CreateFlowRequest.h index 1f6488e8431..b1f67af5987 100644 --- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/CreateFlowRequest.h +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/CreateFlowRequest.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -172,6 +173,16 @@ namespace Model inline CreateFlowRequest& WithMaintenance(const AddMaintenance& value) { SetMaintenance(value); return *this;} inline CreateFlowRequest& WithMaintenance(AddMaintenance&& value) { SetMaintenance(std::move(value)); return *this;} ///@} + + ///@{ + + inline const MonitoringConfig& GetSourceMonitoringConfig() const{ return m_sourceMonitoringConfig; } + inline bool SourceMonitoringConfigHasBeenSet() const { return m_sourceMonitoringConfigHasBeenSet; } + inline void SetSourceMonitoringConfig(const MonitoringConfig& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = value; } + inline void SetSourceMonitoringConfig(MonitoringConfig&& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = std::move(value); } + inline CreateFlowRequest& WithSourceMonitoringConfig(const MonitoringConfig& value) { SetSourceMonitoringConfig(value); return *this;} + inline CreateFlowRequest& WithSourceMonitoringConfig(MonitoringConfig&& value) { SetSourceMonitoringConfig(std::move(value)); return *this;} + ///@} private: Aws::String m_availabilityZone; @@ -203,6 +214,9 @@ namespace Model AddMaintenance m_maintenance; bool m_maintenanceHasBeenSet = false; + + MonitoringConfig m_sourceMonitoringConfig; + bool m_sourceMonitoringConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailRequest.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailRequest.h new file mode 100644 index 00000000000..0129c87abc1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailRequest.h @@ -0,0 +1,56 @@ +/** + * 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 MediaConnect +{ +namespace Model +{ + + /** + */ + class DescribeFlowSourceThumbnailRequest : public MediaConnectRequest + { + public: + AWS_MEDIACONNECT_API DescribeFlowSourceThumbnailRequest(); + + // 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 "DescribeFlowSourceThumbnail"; } + + AWS_MEDIACONNECT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + * The Amazon Resource Name (ARN) of the flow. + */ + inline const Aws::String& GetFlowArn() const{ return m_flowArn; } + inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; } + inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; } + inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); } + inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); } + inline DescribeFlowSourceThumbnailRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;} + inline DescribeFlowSourceThumbnailRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;} + inline DescribeFlowSourceThumbnailRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;} + ///@} + private: + + Aws::String m_flowArn; + bool m_flowArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace MediaConnect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailResult.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailResult.h new file mode 100644 index 00000000000..4f01c5ea103 --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailResult.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 +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace MediaConnect +{ +namespace Model +{ + class DescribeFlowSourceThumbnailResult + { + public: + AWS_MEDIACONNECT_API DescribeFlowSourceThumbnailResult(); + AWS_MEDIACONNECT_API DescribeFlowSourceThumbnailResult(const Aws::AmazonWebServiceResult& result); + AWS_MEDIACONNECT_API DescribeFlowSourceThumbnailResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const ThumbnailDetails& GetThumbnailDetails() const{ return m_thumbnailDetails; } + inline void SetThumbnailDetails(const ThumbnailDetails& value) { m_thumbnailDetails = value; } + inline void SetThumbnailDetails(ThumbnailDetails&& value) { m_thumbnailDetails = std::move(value); } + inline DescribeFlowSourceThumbnailResult& WithThumbnailDetails(const ThumbnailDetails& value) { SetThumbnailDetails(value); return *this;} + inline DescribeFlowSourceThumbnailResult& WithThumbnailDetails(ThumbnailDetails&& value) { SetThumbnailDetails(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 DescribeFlowSourceThumbnailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DescribeFlowSourceThumbnailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DescribeFlowSourceThumbnailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + ThumbnailDetails m_thumbnailDetails; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace MediaConnect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/Flow.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/Flow.h index 218ba6d941c..c84e8cdabde 100644 --- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/Flow.h +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/Flow.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -229,6 +230,16 @@ namespace Model inline Flow& WithMaintenance(const Maintenance& value) { SetMaintenance(value); return *this;} inline Flow& WithMaintenance(Maintenance&& value) { SetMaintenance(std::move(value)); return *this;} ///@} + + ///@{ + + inline const MonitoringConfig& GetSourceMonitoringConfig() const{ return m_sourceMonitoringConfig; } + inline bool SourceMonitoringConfigHasBeenSet() const { return m_sourceMonitoringConfigHasBeenSet; } + inline void SetSourceMonitoringConfig(const MonitoringConfig& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = value; } + inline void SetSourceMonitoringConfig(MonitoringConfig&& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = std::move(value); } + inline Flow& WithSourceMonitoringConfig(const MonitoringConfig& value) { SetSourceMonitoringConfig(value); return *this;} + inline Flow& WithSourceMonitoringConfig(MonitoringConfig&& value) { SetSourceMonitoringConfig(std::move(value)); return *this;} + ///@} private: Aws::String m_availabilityZone; @@ -272,6 +283,9 @@ namespace Model Maintenance m_maintenance; bool m_maintenanceHasBeenSet = false; + + MonitoringConfig m_sourceMonitoringConfig; + bool m_sourceMonitoringConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/MonitoringConfig.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/MonitoringConfig.h new file mode 100644 index 00000000000..e3b2a5b4ee8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/MonitoringConfig.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 MediaConnect +{ +namespace Model +{ + + /** + * The settings for source monitoring.

    See Also:

    AWS + * API Reference

    + */ + class MonitoringConfig + { + public: + AWS_MEDIACONNECT_API MonitoringConfig(); + AWS_MEDIACONNECT_API MonitoringConfig(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIACONNECT_API MonitoringConfig& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + * The state of thumbnail monitoring. + */ + inline const ThumbnailState& GetThumbnailState() const{ return m_thumbnailState; } + inline bool ThumbnailStateHasBeenSet() const { return m_thumbnailStateHasBeenSet; } + inline void SetThumbnailState(const ThumbnailState& value) { m_thumbnailStateHasBeenSet = true; m_thumbnailState = value; } + inline void SetThumbnailState(ThumbnailState&& value) { m_thumbnailStateHasBeenSet = true; m_thumbnailState = std::move(value); } + inline MonitoringConfig& WithThumbnailState(const ThumbnailState& value) { SetThumbnailState(value); return *this;} + inline MonitoringConfig& WithThumbnailState(ThumbnailState&& value) { SetThumbnailState(std::move(value)); return *this;} + ///@} + private: + + ThumbnailState m_thumbnailState; + bool m_thumbnailStateHasBeenSet = false; + }; + +} // namespace Model +} // namespace MediaConnect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailDetails.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailDetails.h new file mode 100644 index 00000000000..085fad01986 --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailDetails.h @@ -0,0 +1,131 @@ +/** + * 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 MediaConnect +{ +namespace Model +{ + + /** + * The details of the thumbnail, including thumbnail base64 string, timecode and + * the time when thumbnail was generated.

    See Also:

    AWS + * API Reference

    + */ + class ThumbnailDetails + { + public: + AWS_MEDIACONNECT_API ThumbnailDetails(); + AWS_MEDIACONNECT_API ThumbnailDetails(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIACONNECT_API ThumbnailDetails& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + * The ARN of the flow that DescribeFlowSourceThumbnail was performed on. + */ + inline const Aws::String& GetFlowArn() const{ return m_flowArn; } + inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; } + inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; } + inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); } + inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); } + inline ThumbnailDetails& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;} + inline ThumbnailDetails& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;} + inline ThumbnailDetails& WithFlowArn(const char* value) { SetFlowArn(value); return *this;} + ///@} + + ///@{ + /** + * Thumbnail Base64 string. + */ + inline const Aws::String& GetThumbnail() const{ return m_thumbnail; } + inline bool ThumbnailHasBeenSet() const { return m_thumbnailHasBeenSet; } + inline void SetThumbnail(const Aws::String& value) { m_thumbnailHasBeenSet = true; m_thumbnail = value; } + inline void SetThumbnail(Aws::String&& value) { m_thumbnailHasBeenSet = true; m_thumbnail = std::move(value); } + inline void SetThumbnail(const char* value) { m_thumbnailHasBeenSet = true; m_thumbnail.assign(value); } + inline ThumbnailDetails& WithThumbnail(const Aws::String& value) { SetThumbnail(value); return *this;} + inline ThumbnailDetails& WithThumbnail(Aws::String&& value) { SetThumbnail(std::move(value)); return *this;} + inline ThumbnailDetails& WithThumbnail(const char* value) { SetThumbnail(value); return *this;} + ///@} + + ///@{ + /** + * Status code and messages about the flow source thumbnail. + */ + inline const Aws::Vector& GetThumbnailMessages() const{ return m_thumbnailMessages; } + inline bool ThumbnailMessagesHasBeenSet() const { return m_thumbnailMessagesHasBeenSet; } + inline void SetThumbnailMessages(const Aws::Vector& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages = value; } + inline void SetThumbnailMessages(Aws::Vector&& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages = std::move(value); } + inline ThumbnailDetails& WithThumbnailMessages(const Aws::Vector& value) { SetThumbnailMessages(value); return *this;} + inline ThumbnailDetails& WithThumbnailMessages(Aws::Vector&& value) { SetThumbnailMessages(std::move(value)); return *this;} + inline ThumbnailDetails& AddThumbnailMessages(const MessageDetail& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages.push_back(value); return *this; } + inline ThumbnailDetails& AddThumbnailMessages(MessageDetail&& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + * Timecode of thumbnail. + */ + inline const Aws::String& GetTimecode() const{ return m_timecode; } + inline bool TimecodeHasBeenSet() const { return m_timecodeHasBeenSet; } + inline void SetTimecode(const Aws::String& value) { m_timecodeHasBeenSet = true; m_timecode = value; } + inline void SetTimecode(Aws::String&& value) { m_timecodeHasBeenSet = true; m_timecode = std::move(value); } + inline void SetTimecode(const char* value) { m_timecodeHasBeenSet = true; m_timecode.assign(value); } + inline ThumbnailDetails& WithTimecode(const Aws::String& value) { SetTimecode(value); return *this;} + inline ThumbnailDetails& WithTimecode(Aws::String&& value) { SetTimecode(std::move(value)); return *this;} + inline ThumbnailDetails& WithTimecode(const char* value) { SetTimecode(value); return *this;} + ///@} + + ///@{ + /** + * The timestamp of when thumbnail was generated. + */ + 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 ThumbnailDetails& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;} + inline ThumbnailDetails& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_flowArn; + bool m_flowArnHasBeenSet = false; + + Aws::String m_thumbnail; + bool m_thumbnailHasBeenSet = false; + + Aws::Vector m_thumbnailMessages; + bool m_thumbnailMessagesHasBeenSet = false; + + Aws::String m_timecode; + bool m_timecodeHasBeenSet = false; + + Aws::Utils::DateTime m_timestamp; + bool m_timestampHasBeenSet = false; + }; + +} // namespace Model +} // namespace MediaConnect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailState.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailState.h new file mode 100644 index 00000000000..391fd36cd8c --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailState.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 MediaConnect +{ +namespace Model +{ + enum class ThumbnailState + { + NOT_SET, + ENABLED, + DISABLED + }; + +namespace ThumbnailStateMapper +{ +AWS_MEDIACONNECT_API ThumbnailState GetThumbnailStateForName(const Aws::String& name); + +AWS_MEDIACONNECT_API Aws::String GetNameForThumbnailState(ThumbnailState value); +} // namespace ThumbnailStateMapper +} // namespace Model +} // namespace MediaConnect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/UpdateFlowRequest.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/UpdateFlowRequest.h index 990b54db053..a36a2643007 100644 --- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/UpdateFlowRequest.h +++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/UpdateFlowRequest.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -70,6 +71,16 @@ namespace Model inline UpdateFlowRequest& WithMaintenance(const UpdateMaintenance& value) { SetMaintenance(value); return *this;} inline UpdateFlowRequest& WithMaintenance(UpdateMaintenance&& value) { SetMaintenance(std::move(value)); return *this;} ///@} + + ///@{ + + inline const MonitoringConfig& GetSourceMonitoringConfig() const{ return m_sourceMonitoringConfig; } + inline bool SourceMonitoringConfigHasBeenSet() const { return m_sourceMonitoringConfigHasBeenSet; } + inline void SetSourceMonitoringConfig(const MonitoringConfig& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = value; } + inline void SetSourceMonitoringConfig(MonitoringConfig&& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = std::move(value); } + inline UpdateFlowRequest& WithSourceMonitoringConfig(const MonitoringConfig& value) { SetSourceMonitoringConfig(value); return *this;} + inline UpdateFlowRequest& WithSourceMonitoringConfig(MonitoringConfig&& value) { SetSourceMonitoringConfig(std::move(value)); return *this;} + ///@} private: Aws::String m_flowArn; @@ -80,6 +91,9 @@ namespace Model UpdateMaintenance m_maintenance; bool m_maintenanceHasBeenSet = false; + + MonitoringConfig m_sourceMonitoringConfig; + bool m_sourceMonitoringConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/MediaConnectClient.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/MediaConnectClient.cpp index eadb2910daf..1b85a989dd5 100644 --- a/generated/src/aws-cpp-sdk-mediaconnect/source/MediaConnectClient.cpp +++ b/generated/src/aws-cpp-sdk-mediaconnect/source/MediaConnectClient.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -732,6 +733,40 @@ DescribeFlowSourceMetadataOutcome MediaConnectClient::DescribeFlowSourceMetadata {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeFlowSourceThumbnailOutcome MediaConnectClient::DescribeFlowSourceThumbnail(const DescribeFlowSourceThumbnailRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeFlowSourceThumbnail); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeFlowSourceThumbnail, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FlowArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeFlowSourceThumbnail", "Required field: FlowArn, is not set"); + return DescribeFlowSourceThumbnailOutcome(Aws::Client::AWSError(MediaConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FlowArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeFlowSourceThumbnail, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeFlowSourceThumbnail, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeFlowSourceThumbnail", + {{ 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( + [&]()-> DescribeFlowSourceThumbnailOutcome { + 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, DescribeFlowSourceThumbnail, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v1/flows/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFlowArn()); + endpointResolutionOutcome.GetResult().AddPathSegments("/source-thumbnail"); + return DescribeFlowSourceThumbnailOutcome(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()}}); +} + DescribeGatewayOutcome MediaConnectClient::DescribeGateway(const DescribeGatewayRequest& request) const { AWS_OPERATION_GUARD(DescribeGateway); diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/CreateFlowRequest.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/CreateFlowRequest.cpp index 135823857c2..69b8e3b456b 100644 --- a/generated/src/aws-cpp-sdk-mediaconnect/source/model/CreateFlowRequest.cpp +++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/CreateFlowRequest.cpp @@ -22,7 +22,8 @@ CreateFlowRequest::CreateFlowRequest() : m_sourceFailoverConfigHasBeenSet(false), m_sourcesHasBeenSet(false), m_vpcInterfacesHasBeenSet(false), - m_maintenanceHasBeenSet(false) + m_maintenanceHasBeenSet(false), + m_sourceMonitoringConfigHasBeenSet(false) { } @@ -115,6 +116,12 @@ Aws::String CreateFlowRequest::SerializePayload() const } + if(m_sourceMonitoringConfigHasBeenSet) + { + payload.WithObject("sourceMonitoringConfig", m_sourceMonitoringConfig.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailRequest.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailRequest.cpp new file mode 100644 index 00000000000..50677554e83 --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::MediaConnect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DescribeFlowSourceThumbnailRequest::DescribeFlowSourceThumbnailRequest() : + m_flowArnHasBeenSet(false) +{ +} + +Aws::String DescribeFlowSourceThumbnailRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailResult.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailResult.cpp new file mode 100644 index 00000000000..0bc5709d788 --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::MediaConnect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DescribeFlowSourceThumbnailResult::DescribeFlowSourceThumbnailResult() +{ +} + +DescribeFlowSourceThumbnailResult::DescribeFlowSourceThumbnailResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DescribeFlowSourceThumbnailResult& DescribeFlowSourceThumbnailResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("thumbnailDetails")) + { + m_thumbnailDetails = jsonValue.GetObject("thumbnailDetails"); + + } + + + 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-mediaconnect/source/model/Flow.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/Flow.cpp index 762bda290df..ee990402982 100644 --- a/generated/src/aws-cpp-sdk-mediaconnect/source/model/Flow.cpp +++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/Flow.cpp @@ -33,7 +33,8 @@ Flow::Flow() : m_status(Status::NOT_SET), m_statusHasBeenSet(false), m_vpcInterfacesHasBeenSet(false), - m_maintenanceHasBeenSet(false) + m_maintenanceHasBeenSet(false), + m_sourceMonitoringConfigHasBeenSet(false) { } @@ -158,6 +159,13 @@ Flow& Flow::operator =(JsonView jsonValue) m_maintenanceHasBeenSet = true; } + if(jsonValue.ValueExists("sourceMonitoringConfig")) + { + m_sourceMonitoringConfig = jsonValue.GetObject("sourceMonitoringConfig"); + + m_sourceMonitoringConfigHasBeenSet = true; + } + return *this; } @@ -273,6 +281,12 @@ JsonValue Flow::Jsonize() const } + if(m_sourceMonitoringConfigHasBeenSet) + { + payload.WithObject("sourceMonitoringConfig", m_sourceMonitoringConfig.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/MonitoringConfig.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/MonitoringConfig.cpp new file mode 100644 index 00000000000..039257635c7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/MonitoringConfig.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 MediaConnect +{ +namespace Model +{ + +MonitoringConfig::MonitoringConfig() : + m_thumbnailState(ThumbnailState::NOT_SET), + m_thumbnailStateHasBeenSet(false) +{ +} + +MonitoringConfig::MonitoringConfig(JsonView jsonValue) + : MonitoringConfig() +{ + *this = jsonValue; +} + +MonitoringConfig& MonitoringConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("thumbnailState")) + { + m_thumbnailState = ThumbnailStateMapper::GetThumbnailStateForName(jsonValue.GetString("thumbnailState")); + + m_thumbnailStateHasBeenSet = true; + } + + return *this; +} + +JsonValue MonitoringConfig::Jsonize() const +{ + JsonValue payload; + + if(m_thumbnailStateHasBeenSet) + { + payload.WithString("thumbnailState", ThumbnailStateMapper::GetNameForThumbnailState(m_thumbnailState)); + } + + return payload; +} + +} // namespace Model +} // namespace MediaConnect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailDetails.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailDetails.cpp new file mode 100644 index 00000000000..4445aa3bc03 --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailDetails.cpp @@ -0,0 +1,122 @@ +/** + * 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 MediaConnect +{ +namespace Model +{ + +ThumbnailDetails::ThumbnailDetails() : + m_flowArnHasBeenSet(false), + m_thumbnailHasBeenSet(false), + m_thumbnailMessagesHasBeenSet(false), + m_timecodeHasBeenSet(false), + m_timestampHasBeenSet(false) +{ +} + +ThumbnailDetails::ThumbnailDetails(JsonView jsonValue) + : ThumbnailDetails() +{ + *this = jsonValue; +} + +ThumbnailDetails& ThumbnailDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("flowArn")) + { + m_flowArn = jsonValue.GetString("flowArn"); + + m_flowArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("thumbnail")) + { + m_thumbnail = jsonValue.GetString("thumbnail"); + + m_thumbnailHasBeenSet = true; + } + + if(jsonValue.ValueExists("thumbnailMessages")) + { + Aws::Utils::Array thumbnailMessagesJsonList = jsonValue.GetArray("thumbnailMessages"); + for(unsigned thumbnailMessagesIndex = 0; thumbnailMessagesIndex < thumbnailMessagesJsonList.GetLength(); ++thumbnailMessagesIndex) + { + m_thumbnailMessages.push_back(thumbnailMessagesJsonList[thumbnailMessagesIndex].AsObject()); + } + m_thumbnailMessagesHasBeenSet = true; + } + + if(jsonValue.ValueExists("timecode")) + { + m_timecode = jsonValue.GetString("timecode"); + + m_timecodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("timestamp")) + { + m_timestamp = jsonValue.GetString("timestamp"); + + m_timestampHasBeenSet = true; + } + + return *this; +} + +JsonValue ThumbnailDetails::Jsonize() const +{ + JsonValue payload; + + if(m_flowArnHasBeenSet) + { + payload.WithString("flowArn", m_flowArn); + + } + + if(m_thumbnailHasBeenSet) + { + payload.WithString("thumbnail", m_thumbnail); + + } + + if(m_thumbnailMessagesHasBeenSet) + { + Aws::Utils::Array thumbnailMessagesJsonList(m_thumbnailMessages.size()); + for(unsigned thumbnailMessagesIndex = 0; thumbnailMessagesIndex < thumbnailMessagesJsonList.GetLength(); ++thumbnailMessagesIndex) + { + thumbnailMessagesJsonList[thumbnailMessagesIndex].AsObject(m_thumbnailMessages[thumbnailMessagesIndex].Jsonize()); + } + payload.WithArray("thumbnailMessages", std::move(thumbnailMessagesJsonList)); + + } + + if(m_timecodeHasBeenSet) + { + payload.WithString("timecode", m_timecode); + + } + + if(m_timestampHasBeenSet) + { + payload.WithString("timestamp", m_timestamp.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + return payload; +} + +} // namespace Model +} // namespace MediaConnect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailState.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailState.cpp new file mode 100644 index 00000000000..c4d23c70ac0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailState.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 MediaConnect + { + namespace Model + { + namespace ThumbnailStateMapper + { + + static const int ENABLED_HASH = HashingUtils::HashString("ENABLED"); + static const int DISABLED_HASH = HashingUtils::HashString("DISABLED"); + + + ThumbnailState GetThumbnailStateForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ENABLED_HASH) + { + return ThumbnailState::ENABLED; + } + else if (hashCode == DISABLED_HASH) + { + return ThumbnailState::DISABLED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ThumbnailState::NOT_SET; + } + + Aws::String GetNameForThumbnailState(ThumbnailState enumValue) + { + switch(enumValue) + { + case ThumbnailState::NOT_SET: + return {}; + case ThumbnailState::ENABLED: + return "ENABLED"; + case ThumbnailState::DISABLED: + return "DISABLED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ThumbnailStateMapper + } // namespace Model + } // namespace MediaConnect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/UpdateFlowRequest.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/UpdateFlowRequest.cpp index b7ec9c56afd..20c6e92e4e7 100644 --- a/generated/src/aws-cpp-sdk-mediaconnect/source/model/UpdateFlowRequest.cpp +++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/UpdateFlowRequest.cpp @@ -15,7 +15,8 @@ using namespace Aws::Utils; UpdateFlowRequest::UpdateFlowRequest() : m_flowArnHasBeenSet(false), m_sourceFailoverConfigHasBeenSet(false), - m_maintenanceHasBeenSet(false) + m_maintenanceHasBeenSet(false), + m_sourceMonitoringConfigHasBeenSet(false) { } @@ -35,6 +36,12 @@ Aws::String UpdateFlowRequest::SerializePayload() const } + if(m_sourceMonitoringConfigHasBeenSet) + { + payload.WithObject("sourceMonitoringConfig", m_sourceMonitoringConfig.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H264Settings.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H264Settings.h index 7291543daa0..1facb4fa3cf 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H264Settings.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H264Settings.h @@ -680,6 +680,18 @@ This field is optional; when inline H264Settings& WithTimecodeBurninSettings(const TimecodeBurninSettings& value) { SetTimecodeBurninSettings(value); return *this;} inline H264Settings& WithTimecodeBurninSettings(TimecodeBurninSettings&& value) { SetTimecodeBurninSettings(std::move(value)); return *this;} ///@} + + ///@{ + /** + * Sets the minimum QP. If you aren't familiar with quantization adjustment, leave + * the field empty. MediaLive will +apply an appropriate value. + */ + inline int GetMinQp() const{ return m_minQp; } + inline bool MinQpHasBeenSet() const { return m_minQpHasBeenSet; } + inline void SetMinQp(int value) { m_minQpHasBeenSet = true; m_minQp = value; } + inline H264Settings& WithMinQp(int value) { SetMinQp(value); return *this;} + ///@} private: H264AdaptiveQuantization m_adaptiveQuantization; @@ -807,6 +819,9 @@ This field is optional; when TimecodeBurninSettings m_timecodeBurninSettings; bool m_timecodeBurninSettingsHasBeenSet = false; + + int m_minQp; + bool m_minQpHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H265Settings.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H265Settings.h index ca2587b99d5..b16d57b9133 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H265Settings.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H265Settings.h @@ -554,6 +554,18 @@ In all other configurations, you inline H265Settings& WithTreeblockSize(const H265TreeblockSize& value) { SetTreeblockSize(value); return *this;} inline H265Settings& WithTreeblockSize(H265TreeblockSize&& value) { SetTreeblockSize(std::move(value)); return *this;} ///@} + + ///@{ + /** + * Sets the minimum QP. If you aren't familiar with quantization adjustment, leave + * the field empty. MediaLive will +apply an appropriate value. + */ + inline int GetMinQp() const{ return m_minQp; } + inline bool MinQpHasBeenSet() const { return m_minQpHasBeenSet; } + inline void SetMinQp(int value) { m_minQpHasBeenSet = true; m_minQp = value; } + inline H265Settings& WithMinQp(int value) { SetMinQp(value); return *this;} + ///@} private: H265AdaptiveQuantization m_adaptiveQuantization; @@ -663,6 +675,9 @@ In all other configurations, you H265TreeblockSize m_treeblockSize; bool m_treeblockSizeHasBeenSet = false; + + int m_minQp; + bool m_minQpHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/H264Settings.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/H264Settings.cpp index 8822c8c18a5..a57fec8938a 100644 --- a/generated/src/aws-cpp-sdk-medialive/source/model/H264Settings.cpp +++ b/generated/src/aws-cpp-sdk-medialive/source/model/H264Settings.cpp @@ -99,7 +99,9 @@ H264Settings::H264Settings() : m_temporalAqHasBeenSet(false), m_timecodeInsertion(H264TimecodeInsertionBehavior::NOT_SET), m_timecodeInsertionHasBeenSet(false), - m_timecodeBurninSettingsHasBeenSet(false) + m_timecodeBurninSettingsHasBeenSet(false), + m_minQp(0), + m_minQpHasBeenSet(false) { } @@ -405,6 +407,13 @@ H264Settings& H264Settings::operator =(JsonView jsonValue) m_timecodeBurninSettingsHasBeenSet = true; } + if(jsonValue.ValueExists("minQp")) + { + m_minQp = jsonValue.GetInteger("minQp"); + + m_minQpHasBeenSet = true; + } + return *this; } @@ -641,6 +650,12 @@ JsonValue H264Settings::Jsonize() const } + if(m_minQpHasBeenSet) + { + payload.WithInteger("minQp", m_minQp); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/H265Settings.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/H265Settings.cpp index a0a748bf78d..796e9252bd0 100644 --- a/generated/src/aws-cpp-sdk-medialive/source/model/H265Settings.cpp +++ b/generated/src/aws-cpp-sdk-medialive/source/model/H265Settings.cpp @@ -87,7 +87,9 @@ H265Settings::H265Settings() : m_tileWidth(0), m_tileWidthHasBeenSet(false), m_treeblockSize(H265TreeblockSize::NOT_SET), - m_treeblockSizeHasBeenSet(false) + m_treeblockSizeHasBeenSet(false), + m_minQp(0), + m_minQpHasBeenSet(false) { } @@ -351,6 +353,13 @@ H265Settings& H265Settings::operator =(JsonView jsonValue) m_treeblockSizeHasBeenSet = true; } + if(jsonValue.ValueExists("minQp")) + { + m_minQp = jsonValue.GetInteger("minQp"); + + m_minQpHasBeenSet = true; + } + return *this; } @@ -555,6 +564,12 @@ JsonValue H265Settings::Jsonize() const payload.WithString("treeblockSize", H265TreeblockSizeMapper::GetNameForH265TreeblockSize(m_treeblockSize)); } + if(m_minQpHasBeenSet) + { + payload.WithInteger("minQp", m_minQp); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMountHomeEFS.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMountHomeEFS.h new file mode 100644 index 00000000000..7635990457a --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMountHomeEFS.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 SageMaker +{ +namespace Model +{ + enum class AutoMountHomeEFS + { + NOT_SET, + Enabled, + Disabled, + DefaultAsDomain + }; + +namespace AutoMountHomeEFSMapper +{ +AWS_SAGEMAKER_API AutoMountHomeEFS GetAutoMountHomeEFSForName(const Aws::String& name); + +AWS_SAGEMAKER_API Aws::String GetNameForAutoMountHomeEFS(AutoMountHomeEFS value); +} // namespace AutoMountHomeEFSMapper +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ContainerDefinition.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ContainerDefinition.h index 81b110e6074..25fdcf5a297 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ContainerDefinition.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ContainerDefinition.h @@ -193,10 +193,11 @@ namespace Model ///@{ /** - *

    The environment variables to set in the Docker container.

    The maximum - * length of each key and value in the Environment map is 1024 bytes. - * The maximum length of all keys and values in the map, combined, is 32 KB. If you - * pass multiple containers to a CreateModel request, then the maximum + *

    The environment variables to set in the Docker container. Don't include any + * sensitive data in your environment variables.

    The maximum length of each + * key and value in the Environment map is 1024 bytes. The maximum + * length of all keys and values in the map, combined, is 32 KB. If you pass + * multiple containers to a CreateModel request, then the maximum * length of all of their maps, combined, is also 32 KB.

    */ inline const Aws::Map& GetEnvironment() const{ return m_environment; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateTransformJobRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateTransformJobRequest.h index dcaa2deaed5..4bb40f26e78 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateTransformJobRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateTransformJobRequest.h @@ -153,8 +153,9 @@ namespace Model ///@{ /** - *

    The environment variables to set in the Docker container. We support up to 16 - * key and values entries in the map.

    + *

    The environment variables to set in the Docker container. Don't include any + * sensitive data in your environment variables. We support up to 16 key and values + * entries in the map.

    */ inline const Aws::Map& GetEnvironment() const{ return m_environment; } inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UserSettings.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UserSettings.h index 00462948ae6..00d954ccdd3 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UserSettings.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UserSettings.h @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -290,6 +291,21 @@ namespace Model inline UserSettings& WithStudioWebPortalSettings(const StudioWebPortalSettings& value) { SetStudioWebPortalSettings(value); return *this;} inline UserSettings& WithStudioWebPortalSettings(StudioWebPortalSettings&& value) { SetStudioWebPortalSettings(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Indicates whether auto-mounting of an EFS volume is supported for the user + * profile. The DefaultAsDomain value is only supported for user + * profiles. Do not use the DefaultAsDomain value when setting this + * parameter for a domain.

    + */ + inline const AutoMountHomeEFS& GetAutoMountHomeEFS() const{ return m_autoMountHomeEFS; } + inline bool AutoMountHomeEFSHasBeenSet() const { return m_autoMountHomeEFSHasBeenSet; } + inline void SetAutoMountHomeEFS(const AutoMountHomeEFS& value) { m_autoMountHomeEFSHasBeenSet = true; m_autoMountHomeEFS = value; } + inline void SetAutoMountHomeEFS(AutoMountHomeEFS&& value) { m_autoMountHomeEFSHasBeenSet = true; m_autoMountHomeEFS = std::move(value); } + inline UserSettings& WithAutoMountHomeEFS(const AutoMountHomeEFS& value) { SetAutoMountHomeEFS(value); return *this;} + inline UserSettings& WithAutoMountHomeEFS(AutoMountHomeEFS&& value) { SetAutoMountHomeEFS(std::move(value)); return *this;} + ///@} private: Aws::String m_executionRole; @@ -342,6 +358,9 @@ namespace Model StudioWebPortalSettings m_studioWebPortalSettings; bool m_studioWebPortalSettingsHasBeenSet = false; + + AutoMountHomeEFS m_autoMountHomeEFS; + bool m_autoMountHomeEFSHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMountHomeEFS.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMountHomeEFS.cpp new file mode 100644 index 00000000000..bdc8f6da0c7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMountHomeEFS.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 SageMaker + { + namespace Model + { + namespace AutoMountHomeEFSMapper + { + + static const int Enabled_HASH = HashingUtils::HashString("Enabled"); + static const int Disabled_HASH = HashingUtils::HashString("Disabled"); + static const int DefaultAsDomain_HASH = HashingUtils::HashString("DefaultAsDomain"); + + + AutoMountHomeEFS GetAutoMountHomeEFSForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Enabled_HASH) + { + return AutoMountHomeEFS::Enabled; + } + else if (hashCode == Disabled_HASH) + { + return AutoMountHomeEFS::Disabled; + } + else if (hashCode == DefaultAsDomain_HASH) + { + return AutoMountHomeEFS::DefaultAsDomain; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AutoMountHomeEFS::NOT_SET; + } + + Aws::String GetNameForAutoMountHomeEFS(AutoMountHomeEFS enumValue) + { + switch(enumValue) + { + case AutoMountHomeEFS::NOT_SET: + return {}; + case AutoMountHomeEFS::Enabled: + return "Enabled"; + case AutoMountHomeEFS::Disabled: + return "Disabled"; + case AutoMountHomeEFS::DefaultAsDomain: + return "DefaultAsDomain"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AutoMountHomeEFSMapper + } // namespace Model + } // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/UserSettings.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/UserSettings.cpp index d12af13f226..69eb4fdfa5d 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/UserSettings.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/UserSettings.cpp @@ -36,7 +36,9 @@ UserSettings::UserSettings() : m_studioWebPortalHasBeenSet(false), m_customPosixUserConfigHasBeenSet(false), m_customFileSystemConfigsHasBeenSet(false), - m_studioWebPortalSettingsHasBeenSet(false) + m_studioWebPortalSettingsHasBeenSet(false), + m_autoMountHomeEFS(AutoMountHomeEFS::NOT_SET), + m_autoMountHomeEFSHasBeenSet(false) { } @@ -173,6 +175,13 @@ UserSettings& UserSettings::operator =(JsonView jsonValue) m_studioWebPortalSettingsHasBeenSet = true; } + if(jsonValue.ValueExists("AutoMountHomeEFS")) + { + m_autoMountHomeEFS = AutoMountHomeEFSMapper::GetAutoMountHomeEFSForName(jsonValue.GetString("AutoMountHomeEFS")); + + m_autoMountHomeEFSHasBeenSet = true; + } + return *this; } @@ -291,6 +300,11 @@ JsonValue UserSettings::Jsonize() const } + if(m_autoMountHomeEFSHasBeenSet) + { + payload.WithString("AutoMountHomeEFS", AutoMountHomeEFSMapper::GetNameForAutoMountHomeEFS(m_autoMountHomeEFS)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/Status.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/Status.h index 677240fff60..891b9f2c06c 100644 --- a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/Status.h +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/Status.h @@ -22,7 +22,9 @@ namespace Model MODIFYING, UPDATING, DELETED, - FAILED + FAILED, + UPDATING_DEPLOYMENT_TYPE, + UPDATING_INSTANCE_TYPE }; namespace StatusMapper diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/UpdateDbInstanceRequest.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/UpdateDbInstanceRequest.h index 4fe3d4bc8ab..4427795eb84 100644 --- a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/UpdateDbInstanceRequest.h +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/UpdateDbInstanceRequest.h @@ -8,6 +8,8 @@ #include #include #include +#include +#include #include namespace Aws @@ -77,6 +79,31 @@ namespace Model inline UpdateDbInstanceRequest& WithDbParameterGroupIdentifier(Aws::String&& value) { SetDbParameterGroupIdentifier(std::move(value)); return *this;} inline UpdateDbInstanceRequest& WithDbParameterGroupIdentifier(const char* value) { SetDbParameterGroupIdentifier(value); return *this;} ///@} + + ///@{ + /** + *

    The Timestream for InfluxDB DB instance type to run InfluxDB on.

    + */ + inline const DbInstanceType& GetDbInstanceType() const{ return m_dbInstanceType; } + inline bool DbInstanceTypeHasBeenSet() const { return m_dbInstanceTypeHasBeenSet; } + inline void SetDbInstanceType(const DbInstanceType& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = value; } + inline void SetDbInstanceType(DbInstanceType&& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = std::move(value); } + inline UpdateDbInstanceRequest& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;} + inline UpdateDbInstanceRequest& WithDbInstanceType(DbInstanceType&& value) { SetDbInstanceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Specifies whether the DB instance will be deployed as a standalone instance + * or with a Multi-AZ standby for high availability.

    + */ + inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; } + inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; } + inline void SetDeploymentType(const DeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; } + inline void SetDeploymentType(DeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); } + inline UpdateDbInstanceRequest& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;} + inline UpdateDbInstanceRequest& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;} + ///@} private: Aws::String m_identifier; @@ -87,6 +114,12 @@ namespace Model Aws::String m_dbParameterGroupIdentifier; bool m_dbParameterGroupIdentifierHasBeenSet = false; + + DbInstanceType m_dbInstanceType; + bool m_dbInstanceTypeHasBeenSet = false; + + DeploymentType m_deploymentType; + bool m_deploymentTypeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/source/model/Status.cpp b/generated/src/aws-cpp-sdk-timestream-influxdb/source/model/Status.cpp index 3548ee6a345..300dc8d4966 100644 --- a/generated/src/aws-cpp-sdk-timestream-influxdb/source/model/Status.cpp +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/source/model/Status.cpp @@ -27,6 +27,8 @@ namespace Aws static const int UPDATING_HASH = HashingUtils::HashString("UPDATING"); static const int DELETED_HASH = HashingUtils::HashString("DELETED"); static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int UPDATING_DEPLOYMENT_TYPE_HASH = HashingUtils::HashString("UPDATING_DEPLOYMENT_TYPE"); + static const int UPDATING_INSTANCE_TYPE_HASH = HashingUtils::HashString("UPDATING_INSTANCE_TYPE"); Status GetStatusForName(const Aws::String& name) @@ -60,6 +62,14 @@ namespace Aws { return Status::FAILED; } + else if (hashCode == UPDATING_DEPLOYMENT_TYPE_HASH) + { + return Status::UPDATING_DEPLOYMENT_TYPE; + } + else if (hashCode == UPDATING_INSTANCE_TYPE_HASH) + { + return Status::UPDATING_INSTANCE_TYPE; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -90,6 +100,10 @@ namespace Aws return "DELETED"; case Status::FAILED: return "FAILED"; + case Status::UPDATING_DEPLOYMENT_TYPE: + return "UPDATING_DEPLOYMENT_TYPE"; + case Status::UPDATING_INSTANCE_TYPE: + return "UPDATING_INSTANCE_TYPE"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/source/model/UpdateDbInstanceRequest.cpp b/generated/src/aws-cpp-sdk-timestream-influxdb/source/model/UpdateDbInstanceRequest.cpp index 578341e738a..f7d54331c80 100644 --- a/generated/src/aws-cpp-sdk-timestream-influxdb/source/model/UpdateDbInstanceRequest.cpp +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/source/model/UpdateDbInstanceRequest.cpp @@ -15,7 +15,11 @@ using namespace Aws::Utils; UpdateDbInstanceRequest::UpdateDbInstanceRequest() : m_identifierHasBeenSet(false), m_logDeliveryConfigurationHasBeenSet(false), - m_dbParameterGroupIdentifierHasBeenSet(false) + m_dbParameterGroupIdentifierHasBeenSet(false), + m_dbInstanceType(DbInstanceType::NOT_SET), + m_dbInstanceTypeHasBeenSet(false), + m_deploymentType(DeploymentType::NOT_SET), + m_deploymentTypeHasBeenSet(false) { } @@ -41,6 +45,16 @@ Aws::String UpdateDbInstanceRequest::SerializePayload() const } + if(m_dbInstanceTypeHasBeenSet) + { + payload.WithString("dbInstanceType", DbInstanceTypeMapper::GetNameForDbInstanceType(m_dbInstanceType)); + } + + if(m_deploymentTypeHasBeenSet) + { + payload.WithString("deploymentType", DeploymentTypeMapper::GetNameForDeploymentType(m_deploymentType)); + } + return payload.View().WriteReadable(); } 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 155aca48ae2..0f84c30d5f3 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.396" +#define AWS_SDK_VERSION_STRING "1.11.397" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 396 +#define AWS_SDK_VERSION_PATCH 397 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 41a6491d23d..6af033be3aa 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 @@ -5293,7 +5293,7 @@ }, "Key":{ "shape":"PEM", - "documentation":"

    A valid security key in PEM format.

    " + "documentation":"

    A valid security key in PEM format as a String.

    " } } }, @@ -9335,6 +9335,10 @@ "Instance":{ "shape":"Instance", "documentation":"

    The name of the instance.

    " + }, + "ReplicationConfiguration":{ + "shape":"ReplicationConfiguration", + "documentation":"

    Status information about the replication process. This field is included only when you are using the ReplicateInstance API to replicate an Amazon Connect instance across Amazon Web Services Regions. For information about replicating Amazon Connect instances, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.

    " } } }, @@ -11918,7 +11922,7 @@ }, "Metrics":{ "shape":"MetricsV2", - "documentation":"

    The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator Guide.

    ABANDONMENT_RATE

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Abandonment rate

    AGENT_ADHERENT_TIME

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Adherent time

    AGENT_ANSWER_RATE

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent answer rate

    AGENT_NON_ADHERENT_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Non-adherent time

    AGENT_NON_RESPONSE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent non-response

    AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

    UI name: Agent non-response without customer abandons

    AGENT_OCCUPANCY

    Unit: Percentage

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Occupancy

    AGENT_SCHEDULE_ADHERENCE

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Adherence

    AGENT_SCHEDULED_TIME

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Scheduled time

    AVG_ABANDON_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average queue abandon time

    AVG_ACTIVE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Average active time

    AVG_AFTER_CONTACT_WORK_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average after contact work time

    Feature is a valid filter but not a valid grouping.

    AVG_AGENT_CONNECTING_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Average agent API connecting time

    The Negate key in Metric Level Filters is not applicable for this metric.

    AVG_AGENT_PAUSE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Average agent pause time

    AVG_CASE_RELATED_CONTACTS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Average contacts per case

    AVG_CASE_RESOLUTION_TIME

    Unit: Seconds

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Average case resolution time

    AVG_CONTACT_DURATION

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average contact duration

    Feature is a valid filter but not a valid grouping.

    AVG_CONVERSATION_DURATION

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average conversation duration

    AVG_DIALS_PER_MINUTE

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Count

    Valid groupings and filters: Campaign, Agent, Queue, Routing Profile

    UI name: Average dials per minute

    AVG_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Average flow time

    AVG_GREETING_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent greeting time

    AVG_HANDLE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression

    UI name: Average handle time

    Feature is a valid filter but not a valid grouping.

    AVG_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer hold time

    Feature is a valid filter but not a valid grouping.

    AVG_HOLD_TIME_ALL_CONTACTS

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer hold time all contacts

    AVG_HOLDS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average holds

    Feature is a valid filter but not a valid grouping.

    AVG_INTERACTION_AND_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interaction and customer hold time

    AVG_INTERACTION_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interaction time

    Feature is a valid filter but not a valid grouping.

    AVG_INTERRUPTIONS_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interruptions

    AVG_INTERRUPTION_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interruption time

    AVG_NON_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average non-talk time

    AVG_QUEUE_ANSWER_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average queue answer time

    Feature is a valid filter but not a valid grouping.

    AVG_RESOLUTION_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average resolution time

    AVG_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average talk time

    AVG_TALK_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent talk time

    AVG_TALK_TIME_CUSTOMER

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer talk time

    AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Seconds

    Valid groupings and filters: Campaign

    UI name: Average wait time after customer connection

    CAMPAIGN_CONTACTS_ABANDONED_AFTER_X

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Count

    Valid groupings and filters: Campaign, Agent

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter GT (for Greater than).

    UI name: Campaign contacts abandoned after X

    CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Percent

    Valid groupings and filters: Campaign, Agent

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter GT (for Greater than).

    UI name: Campaign contacts abandoned after X rate

    CASES_CREATED

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases created

    CONTACTS_CREATED

    Unit: Count

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts created

    Feature is a valid filter but not a valid grouping.

    CONTACTS_HANDLED

    Unit: Count

    Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

    UI name: API contacts handled

    Feature is a valid filter but not a valid grouping.

    CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT

    Unit: Count

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts handled (connected to agent timestamp)

    CONTACTS_HOLD_ABANDONS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts hold disconnect

    CONTACTS_ON_HOLD_AGENT_DISCONNECT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts hold agent disconnect

    CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts hold customer disconnect

    CONTACTS_PUT_ON_HOLD

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts put on hold

    CONTACTS_TRANSFERRED_OUT_EXTERNAL

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts transferred out external

    CONTACTS_TRANSFERRED_OUT_INTERNAL

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts transferred out internal

    CONTACTS_QUEUED

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts queued

    CONTACTS_QUEUED_BY_ENQUEUE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

    UI name: Contacts queued (enqueue timestamp)

    CONTACTS_REMOVED_FROM_QUEUE_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts removed from queue in X seconds

    CONTACTS_RESOLVED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts resolved in X

    CONTACTS_TRANSFERRED_OUT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out

    Feature is a valid filter but not a valid grouping.

    CONTACTS_TRANSFERRED_OUT_BY_AGENT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out by agent

    CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out queue

    CURRENT_CASES

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Current cases

    DELIVERY_ATTEMPTS

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Count

    Valid metric filter key: ANSWERING_MACHINE_DETECTION_STATUS, DISCONNECT_REASON

    Valid groupings and filters: Campaign, Agent, Queue, Routing Profile, Answering Machine Detection Status, Disconnect Reason

    UI name: Delivery attempts

    DELIVERY_ATTEMPT_DISPOSITION_RATE

    This metric is available only for contacts analyzed by outbound campaigns analytics, and with the answering machine detection enabled.

    Unit: Percent

    Valid metric filter key: ANSWERING_MACHINE_DETECTION_STATUS, DISCONNECT_REASON

    Valid groupings and filters: Campaign, Agent, Answering Machine Detection Status, Disconnect Reason

    Answering Machine Detection Status and Disconnect Reason are valid filters but not valid groupings.

    UI name: Delivery attempt disposition rate

    FLOWS_OUTCOME

    Unit: Count

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows outcome

    FLOWS_STARTED

    Unit: Count

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows started

    HUMAN_ANSWERED_CALLS

    This metric is available only for contacts analyzed by outbound campaigns analytics, and with the answering machine detection enabled.

    Unit: Count

    Valid groupings and filters: Campaign, Agent

    UI name: Human answered

    MAX_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Maximum flow time

    MAX_QUEUED_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Maximum queued time

    MIN_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Minimum flow time

    PERCENT_CASES_FIRST_CONTACT_RESOLVED

    Unit: Percent

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases resolved on first contact

    PERCENT_CONTACTS_STEP_EXPIRED

    Unit: Percent

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    PERCENT_CONTACTS_STEP_JOINED

    Unit: Percent

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    PERCENT_FLOWS_OUTCOME

    Unit: Percent

    Valid metric filter key: FLOWS_OUTCOME_TYPE

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows outcome percentage.

    The FLOWS_OUTCOME_TYPE is not a valid grouping.

    PERCENT_NON_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Non-talk time percent

    PERCENT_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Talk time percent

    PERCENT_TALK_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Agent talk time percent

    PERCENT_TALK_TIME_CUSTOMER

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Customer talk time percent

    REOPENED_CASE_ACTIONS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases reopened

    RESOLVED_CASE_ACTIONS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases resolved

    SERVICE_LEVEL

    You can include up to 20 SERVICE_LEVEL metrics in a request.

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Service level X

    STEP_CONTACTS_QUEUED

    Unit: Count

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    SUM_AFTER_CONTACT_WORK_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: After contact work time

    SUM_CONNECTING_TIME_AGENT

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent API connecting time

    The Negate key in Metric Level Filters is not applicable for this metric.

    SUM_CONTACTS_ABANDONED

    Unit: Count

    Metric filter:

    • Valid values: API| Incoming | Outbound | Transfer | Callback | Queue_Transfer| Disconnect

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

    UI name: Contact abandoned

    SUM_CONTACTS_ABANDONED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts abandoned in X seconds

    SUM_CONTACTS_ANSWERED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts answered in X seconds

    SUM_CONTACT_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contact flow time

    SUM_CONTACT_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Agent on contact time

    SUM_CONTACTS_DISCONNECTED

    Valid metric filter key: DISCONNECT_REASON

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contact disconnected

    SUM_ERROR_STATUS_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Error status time

    SUM_HANDLE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contact handle time

    SUM_HOLD_TIME

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Customer hold time

    SUM_IDLE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Agent idle time

    SUM_INTERACTION_AND_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Agent interaction and hold time

    SUM_INTERACTION_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent interaction time

    SUM_NON_PRODUCTIVE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Non-Productive Time

    SUM_ONLINE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Online time

    SUM_RETRY_CALLBACK_ATTEMPTS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Callback attempts

    " + "documentation":"

    The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator Guide.

    ABANDONMENT_RATE

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Abandonment rate

    AGENT_ADHERENT_TIME

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Adherent time

    AGENT_ANSWER_RATE

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent answer rate

    AGENT_NON_ADHERENT_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Non-adherent time

    AGENT_NON_RESPONSE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent non-response

    AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

    UI name: Agent non-response without customer abandons

    AGENT_OCCUPANCY

    Unit: Percentage

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Occupancy

    AGENT_SCHEDULE_ADHERENCE

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Adherence

    AGENT_SCHEDULED_TIME

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Scheduled time

    AVG_ABANDON_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average queue abandon time

    AVG_ACTIVE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Average active time

    AVG_AFTER_CONTACT_WORK_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average after contact work time

    Feature is a valid filter but not a valid grouping.

    AVG_AGENT_CONNECTING_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Average agent API connecting time

    The Negate key in Metric Level Filters is not applicable for this metric.

    AVG_AGENT_PAUSE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Average agent pause time

    AVG_CASE_RELATED_CONTACTS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Average contacts per case

    AVG_CASE_RESOLUTION_TIME

    Unit: Seconds

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Average case resolution time

    AVG_CONTACT_DURATION

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average contact duration

    Feature is a valid filter but not a valid grouping.

    AVG_CONVERSATION_DURATION

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average conversation duration

    AVG_DIALS_PER_MINUTE

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Count

    Valid groupings and filters: Campaign, Agent, Queue, Routing Profile

    UI name: Average dials per minute

    AVG_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Average flow time

    AVG_GREETING_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent greeting time

    AVG_HANDLE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression

    UI name: Average handle time

    Feature is a valid filter but not a valid grouping.

    AVG_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer hold time

    Feature is a valid filter but not a valid grouping.

    AVG_HOLD_TIME_ALL_CONTACTS

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer hold time all contacts

    AVG_HOLDS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average holds

    Feature is a valid filter but not a valid grouping.

    AVG_INTERACTION_AND_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interaction and customer hold time

    AVG_INTERACTION_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interaction time

    Feature is a valid filter but not a valid grouping.

    AVG_INTERRUPTIONS_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interruptions

    AVG_INTERRUPTION_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interruption time

    AVG_NON_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average non-talk time

    AVG_QUEUE_ANSWER_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average queue answer time

    Feature is a valid filter but not a valid grouping.

    AVG_RESOLUTION_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average resolution time

    AVG_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average talk time

    AVG_TALK_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent talk time

    AVG_TALK_TIME_CUSTOMER

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer talk time

    AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Seconds

    Valid groupings and filters: Campaign

    UI name: Average wait time after customer connection

    CAMPAIGN_CONTACTS_ABANDONED_AFTER_X

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Count

    Valid groupings and filters: Campaign, Agent

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter GT (for Greater than).

    UI name: Campaign contacts abandoned after X

    CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Percent

    Valid groupings and filters: Campaign, Agent

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter GT (for Greater than).

    UI name: Campaign contacts abandoned after X rate

    CASES_CREATED

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases created

    CONTACTS_CREATED

    Unit: Count

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts created

    Feature is a valid filter but not a valid grouping.

    CONTACTS_HANDLED

    Unit: Count

    Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

    UI name: API contacts handled

    Feature is a valid filter but not a valid grouping.

    CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT

    Unit: Count

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts handled (connected to agent timestamp)

    CONTACTS_HOLD_ABANDONS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts hold disconnect

    CONTACTS_ON_HOLD_AGENT_DISCONNECT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts hold agent disconnect

    CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts hold customer disconnect

    CONTACTS_PUT_ON_HOLD

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts put on hold

    CONTACTS_TRANSFERRED_OUT_EXTERNAL

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts transferred out external

    CONTACTS_TRANSFERRED_OUT_INTERNAL

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts transferred out internal

    CONTACTS_QUEUED

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts queued

    CONTACTS_QUEUED_BY_ENQUEUE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

    UI name: Contacts queued (enqueue timestamp)

    CONTACTS_REMOVED_FROM_QUEUE_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts removed from queue in X seconds

    CONTACTS_RESOLVED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts resolved in X

    CONTACTS_TRANSFERRED_OUT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out

    Feature is a valid filter but not a valid grouping.

    CONTACTS_TRANSFERRED_OUT_BY_AGENT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out by agent

    CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out queue

    CURRENT_CASES

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Current cases

    DELIVERY_ATTEMPTS

    This metric is available only for contacts analyzed by outbound campaigns analytics.

    Unit: Count

    Valid metric filter key: ANSWERING_MACHINE_DETECTION_STATUS, DISCONNECT_REASON

    Valid groupings and filters: Campaign, Agent, Queue, Routing Profile, Answering Machine Detection Status, Disconnect Reason

    UI name: Delivery attempts

    DELIVERY_ATTEMPT_DISPOSITION_RATE

    This metric is available only for contacts analyzed by outbound campaigns analytics, and with the answering machine detection enabled.

    Unit: Percent

    Valid metric filter key: ANSWERING_MACHINE_DETECTION_STATUS, DISCONNECT_REASON

    Valid groupings and filters: Campaign, Agent, Answering Machine Detection Status, Disconnect Reason

    Answering Machine Detection Status and Disconnect Reason are valid filters but not valid groupings.

    UI name: Delivery attempt disposition rate

    FLOWS_OUTCOME

    Unit: Count

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows outcome

    FLOWS_STARTED

    Unit: Count

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows started

    HUMAN_ANSWERED_CALLS

    This metric is available only for contacts analyzed by outbound campaigns analytics, and with the answering machine detection enabled.

    Unit: Count

    Valid groupings and filters: Campaign, Agent

    UI name: Human answered

    MAX_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Maximum flow time

    MAX_QUEUED_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Maximum queued time

    MIN_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Minimum flow time

    PERCENT_CASES_FIRST_CONTACT_RESOLVED

    Unit: Percent

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases resolved on first contact

    PERCENT_CONTACTS_STEP_EXPIRED

    Unit: Percent

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    PERCENT_CONTACTS_STEP_JOINED

    Unit: Percent

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    PERCENT_FLOWS_OUTCOME

    Unit: Percent

    Valid metric filter key: FLOWS_OUTCOME_TYPE

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows outcome percentage.

    The FLOWS_OUTCOME_TYPE is not a valid grouping.

    PERCENT_NON_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Non-talk time percent

    PERCENT_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Talk time percent

    PERCENT_TALK_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Agent talk time percent

    PERCENT_TALK_TIME_CUSTOMER

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Customer talk time percent

    REOPENED_CASE_ACTIONS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases reopened

    RESOLVED_CASE_ACTIONS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases resolved

    SERVICE_LEVEL

    You can include up to 20 SERVICE_LEVEL metrics in a request.

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Service level X

    STEP_CONTACTS_QUEUED

    Unit: Count

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    SUM_AFTER_CONTACT_WORK_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: After contact work time

    SUM_CONNECTING_TIME_AGENT

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent API connecting time

    The Negate key in Metric Level Filters is not applicable for this metric.

    CONTACTS_ABANDONED

    Unit: Count

    Metric filter:

    • Valid values: API| Incoming | Outbound | Transfer | Callback | Queue_Transfer| Disconnect

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

    UI name: Contact abandoned

    SUM_CONTACTS_ABANDONED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts abandoned in X seconds

    SUM_CONTACTS_ANSWERED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts answered in X seconds

    SUM_CONTACT_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contact flow time

    SUM_CONTACT_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Agent on contact time

    SUM_CONTACTS_DISCONNECTED

    Valid metric filter key: DISCONNECT_REASON

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contact disconnected

    SUM_ERROR_STATUS_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Error status time

    SUM_HANDLE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contact handle time

    SUM_HOLD_TIME

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Customer hold time

    SUM_IDLE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Agent idle time

    SUM_INTERACTION_AND_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Agent interaction and hold time

    SUM_INTERACTION_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent interaction time

    SUM_NON_PRODUCTIVE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Non-Productive Time

    SUM_ONLINE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Online time

    SUM_RETRY_CALLBACK_ATTEMPTS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Callback attempts

    " }, "NextToken":{ "shape":"NextToken2500", @@ -12108,6 +12112,11 @@ } } }, + "GlobalSignInEndpoint":{ + "type":"string", + "max":128, + "min":1 + }, "Grouping":{ "type":"string", "enum":[ @@ -12844,6 +12853,17 @@ "min":1, "pattern":"^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0-9]{1,20}:instance/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" }, + "InstanceReplicationStatus":{ + "type":"string", + "enum":[ + "INSTANCE_REPLICATION_COMPLETE", + "INSTANCE_REPLICATION_IN_PROGRESS", + "INSTANCE_REPLICATION_FAILED", + "INSTANCE_REPLICA_DELETING", + "INSTANCE_REPLICATION_DELETION_FAILED", + "RESOURCE_REPLICATION_NOT_STARTED" + ] + }, "InstanceStatus":{ "type":"string", "enum":[ @@ -17760,6 +17780,53 @@ } } }, + "ReplicationConfiguration":{ + "type":"structure", + "members":{ + "ReplicationStatusSummaryList":{ + "shape":"ReplicationStatusSummaryList", + "documentation":"

    A list of replication status summaries. The summaries contain details about the replication of configuration information for Amazon Connect resources, for each Amazon Web Services Region.

    " + }, + "SourceRegion":{ + "shape":"AwsRegion", + "documentation":"

    The Amazon Web Services Region where the source Amazon Connect instance was created. This is the Region where the ReplicateInstance API was called to start the replication process.

    " + }, + "GlobalSignInEndpoint":{ + "shape":"GlobalSignInEndpoint", + "documentation":"

    The URL that is used to sign-in to your Amazon Connect instance according to your traffic distribution group configuration. For more information about sign-in and traffic distribution groups, see Important things to know in the Create traffic distribution groups topic in the Amazon Connect Administrator Guide.

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

    Details about the status of the replication of a source Amazon Connect instance across Amazon Web Services Regions. Use these details to understand the general status of a given replication. For information about why a replication process may fail, see Why a ReplicateInstance call fails in the Create a replica of your existing Amazon Connect instance topic in the Amazon Connect Administrator Guide.

    " + }, + "ReplicationStatusReason":{ + "type":"string", + "max":1024, + "min":0 + }, + "ReplicationStatusSummary":{ + "type":"structure", + "members":{ + "Region":{ + "shape":"AwsRegion", + "documentation":"

    The Amazon Web Services Region. This can be either the source or the replica Region, depending where it appears in the summary list.

    " + }, + "ReplicationStatus":{ + "shape":"InstanceReplicationStatus", + "documentation":"

    The state of the replication.

    " + }, + "ReplicationStatusReason":{ + "shape":"ReplicationStatusReason", + "documentation":"

    A description of the replication status. Use this information to resolve any issues that are preventing the successful replication of your Amazon Connect instance to another Region.

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

    Status information about the replication process, where you use the ReplicateInstance API to create a replica of your Amazon Connect instance in another Amazon Web Services Region. For more information, see Set up Amazon Connect Global Resiliency in the Amazon Connect Administrator Guide.

    " + }, + "ReplicationStatusSummaryList":{ + "type":"list", + "member":{"shape":"ReplicationStatusSummary"}, + "max":11, + "min":0 + }, "RequestIdentifier":{ "type":"string", "max":80 diff --git a/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json b/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json index 9650622bf40..25cbe093c1c 100644 --- a/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json @@ -2901,6 +2901,10 @@ "identifier" ], "members":{ + "assetScopes":{ + "shape":"AcceptedAssetScopes", + "documentation":"

    The asset scopes of the accept subscription request.

    " + }, "decisionComment":{ "shape":"DecisionComment", "documentation":"

    A description that specifies the reason for accepting the specified subscription request.

    " @@ -2995,6 +2999,28 @@ "max":1, "min":1 }, + "AcceptedAssetScope":{ + "type":"structure", + "required":[ + "assetId", + "filterIds" + ], + "members":{ + "assetId":{ + "shape":"AssetId", + "documentation":"

    The asset ID of the accepted asset scope.

    " + }, + "filterIds":{ + "shape":"FilterIds", + "documentation":"

    The filter IDs of the accepted asset scope.

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

    The accepted asset scope.

    " + }, + "AcceptedAssetScopes":{ + "type":"list", + "member":{"shape":"AcceptedAssetScope"} + }, "AccessDeniedException":{ "type":"structure", "required":["message"], @@ -3498,6 +3524,33 @@ "type":"list", "member":{"shape":"AssetRevision"} }, + "AssetScope":{ + "type":"structure", + "required":[ + "assetId", + "filterIds", + "status" + ], + "members":{ + "assetId":{ + "shape":"AssetId", + "documentation":"

    The asset ID of the asset scope.

    " + }, + "errorMessage":{ + "shape":"String", + "documentation":"

    The error message of the asset scope.

    " + }, + "filterIds":{ + "shape":"FilterIds", + "documentation":"

    The filter IDs of the asset scope.

    " + }, + "status":{ + "shape":"String", + "documentation":"

    The status of the asset scope.

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

    The asset scope.

    " + }, "AssetTargetNameMap":{ "type":"structure", "required":[ @@ -8363,6 +8416,10 @@ "type":"string", "pattern":"^[a-zA-Z0-9_-]{1,36}$" }, + "FilterIds":{ + "type":"list", + "member":{"shape":"FilterId"} + }, "FilterList":{ "type":"list", "member":{"shape":"FilterClause"}, @@ -15637,6 +15694,10 @@ "shape":"Revision", "documentation":"

    The revision of the asset for which the subscription grant is created.

    " }, + "assetScope":{ + "shape":"AssetScope", + "documentation":"

    The asset scope of the subscribed asset.

    " + }, "failureCause":{ "shape":"FailureCause", "documentation":"

    The failure cause included in the details of the asset for which the subscription grant is created.

    " @@ -15663,6 +15724,10 @@ "SubscribedAssetListing":{ "type":"structure", "members":{ + "assetScope":{ + "shape":"AssetScope", + "documentation":"

    The asset scope of the subscribed asset listing.

    " + }, "entityId":{ "shape":"AssetId", "documentation":"

    The identifier of the published asset for which the subscription grant is created.

    " diff --git a/tools/code-generation/api-descriptions/elasticloadbalancingv2-2015-12-01.normal.json b/tools/code-generation/api-descriptions/elasticloadbalancingv2-2015-12-01.normal.json index 6825fd5cf36..7f14acdcb42 100644 --- a/tools/code-generation/api-descriptions/elasticloadbalancingv2-2015-12-01.normal.json +++ b/tools/code-generation/api-descriptions/elasticloadbalancingv2-2015-12-01.normal.json @@ -339,6 +339,22 @@ }, "documentation":"

    Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account.

    For more information, see the following:

    " }, + "DescribeListenerAttributes":{ + "name":"DescribeListenerAttributes", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeListenerAttributesInput"}, + "output":{ + "shape":"DescribeListenerAttributesOutput", + "resultWrapper":"DescribeListenerAttributesResult" + }, + "errors":[ + {"shape":"ListenerNotFoundException"} + ], + "documentation":"

    Describes the attributes for the specified listener.

    " + }, "DescribeListenerCertificates":{ "name":"DescribeListenerCertificates", "http":{ @@ -642,6 +658,23 @@ ], "documentation":"

    Replaces the specified properties of the specified listener. Any properties that you do not specify remain unchanged.

    Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and default certificate properties.

    To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

    " }, + "ModifyListenerAttributes":{ + "name":"ModifyListenerAttributes", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyListenerAttributesInput"}, + "output":{ + "shape":"ModifyListenerAttributesOutput", + "resultWrapper":"ModifyListenerAttributesResult" + }, + "errors":[ + {"shape":"ListenerNotFoundException"}, + {"shape":"InvalidConfigurationRequestException"} + ], + "documentation":"

    Modifies the specified attributes of the specified listener.

    " + }, "ModifyLoadBalancerAttributes":{ "name":"ModifyLoadBalancerAttributes", "http":{ @@ -1756,6 +1789,25 @@ } } }, + "DescribeListenerAttributesInput":{ + "type":"structure", + "required":["ListenerArn"], + "members":{ + "ListenerArn":{ + "shape":"ListenerArn", + "documentation":"

    The Amazon Resource Name (ARN) of the listener.

    " + } + } + }, + "DescribeListenerAttributesOutput":{ + "type":"structure", + "members":{ + "Attributes":{ + "shape":"ListenerAttributes", + "documentation":"

    Information about the listener attributes.

    " + } + } + }, "DescribeListenerCertificatesInput":{ "type":"structure", "required":["ListenerArn"], @@ -2616,6 +2668,30 @@ "type":"list", "member":{"shape":"ListenerArn"} }, + "ListenerAttribute":{ + "type":"structure", + "members":{ + "Key":{ + "shape":"ListenerAttributeKey", + "documentation":"

    The name of the attribute.

    The following attribute is supported by Network Load Balancers, and Gateway Load Balancers.

    • tcp.idle_timeout.seconds - The tcp idle timeout value, in seconds. The valid range is 60-6000 seconds. The default is 350 seconds.

    " + }, + "Value":{ + "shape":"ListenerAttributeValue", + "documentation":"

    The value of the attribute.

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

    Information about a listener attribute.

    " + }, + "ListenerAttributeKey":{ + "type":"string", + "max":256, + "pattern":"^[a-zA-Z0-9._]+$" + }, + "ListenerAttributeValue":{"type":"string"}, + "ListenerAttributes":{ + "type":"list", + "member":{"shape":"ListenerAttribute"} + }, "ListenerNotFoundException":{ "type":"structure", "members":{ @@ -2837,6 +2913,32 @@ ] }, "Mode":{"type":"string"}, + "ModifyListenerAttributesInput":{ + "type":"structure", + "required":[ + "ListenerArn", + "Attributes" + ], + "members":{ + "ListenerArn":{ + "shape":"ListenerArn", + "documentation":"

    The Amazon Resource Name (ARN) of the listener.

    " + }, + "Attributes":{ + "shape":"ListenerAttributes", + "documentation":"

    The listener attributes.

    " + } + } + }, + "ModifyListenerAttributesOutput":{ + "type":"structure", + "members":{ + "Attributes":{ + "shape":"ListenerAttributes", + "documentation":"

    Information about the listener attributes.

    " + } + } + }, "ModifyListenerInput":{ "type":"structure", "required":["ListenerArn"], @@ -2950,7 +3052,7 @@ }, "Attributes":{ "shape":"TargetGroupAttributes", - "documentation":"

    The attributes.

    " + "documentation":"

    The target group attributes.

    " } } }, @@ -2959,7 +3061,7 @@ "members":{ "Attributes":{ "shape":"TargetGroupAttributes", - "documentation":"

    Information about the attributes.

    " + "documentation":"

    Information about the target group attributes.

    " } } }, diff --git a/tools/code-generation/api-descriptions/mediaconnect-2018-11-14.normal.json b/tools/code-generation/api-descriptions/mediaconnect-2018-11-14.normal.json index 73591931d8d..8305e3575a2 100644 --- a/tools/code-generation/api-descriptions/mediaconnect-2018-11-14.normal.json +++ b/tools/code-generation/api-descriptions/mediaconnect-2018-11-14.normal.json @@ -722,6 +722,48 @@ ], "documentation": "Displays details of the flow's source stream. The response contains information about the contents of the stream and its programs." }, + "DescribeFlowSourceThumbnail": { + "name": "DescribeFlowSourceThumbnail", + "http": { + "method": "GET", + "requestUri": "/v1/flows/{flowArn}/source-thumbnail", + "responseCode": 200 + }, + "input": { + "shape": "DescribeFlowSourceThumbnailRequest" + }, + "output": { + "shape": "DescribeFlowSourceThumbnailResponse", + "documentation": "Flow source thumbnail successfully described." + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "The request that you submitted is not valid." + }, + { + "shape": "InternalServerErrorException", + "documentation": "AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition." + }, + { + "shape": "ForbiddenException", + "documentation": "You don't have the required permissions to perform this operation." + }, + { + "shape": "NotFoundException", + "documentation": "AWS Elemental MediaConnect did not find the resource that you specified in the request." + }, + { + "shape": "ServiceUnavailableException", + "documentation": "AWS Elemental MediaConnect is currently unavailable. Try again later." + }, + { + "shape": "TooManyRequestsException", + "documentation": "You have exceeded the service request rate limit for your AWS Elemental MediaConnect account." + } + ], + "documentation": "Displays the thumbnail details of a flow's source stream." + }, "DescribeGateway": { "name": "DescribeGateway", "http": { @@ -3146,6 +3188,10 @@ "Maintenance": { "shape": "AddMaintenance", "locationName": "maintenance" + }, + "SourceMonitoringConfig": { + "shape": "MonitoringConfig", + "locationName": "sourceMonitoringConfig" } }, "documentation": "Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).", @@ -3421,6 +3467,29 @@ } } }, + "DescribeFlowSourceThumbnailRequest": { + "type": "structure", + "members": { + "FlowArn": { + "shape": "__string", + "location": "uri", + "locationName": "flowArn", + "documentation": "The Amazon Resource Name (ARN) of the flow." + } + }, + "required": [ + "FlowArn" + ] + }, + "DescribeFlowSourceThumbnailResponse": { + "type": "structure", + "members": { + "ThumbnailDetails": { + "shape": "ThumbnailDetails", + "locationName": "thumbnailDetails" + } + } + }, "DescribeGatewayInstanceRequest": { "type": "structure", "members": { @@ -3868,6 +3937,10 @@ "Maintenance": { "shape": "Maintenance", "locationName": "maintenance" + }, + "SourceMonitoringConfig": { + "shape": "MonitoringConfig", + "locationName": "sourceMonitoringConfig" } }, "documentation": "The settings for a flow, including its source, outputs, and entitlements.", @@ -5087,6 +5160,17 @@ "Errors" ] }, + "MonitoringConfig": { + "type": "structure", + "members": { + "ThumbnailState": { + "shape": "ThumbnailState", + "locationName": "thumbnailState", + "documentation": "The state of thumbnail monitoring." + } + }, + "documentation": "The settings for source monitoring." + }, "NetworkInterfaceType": { "type": "string", "enum": [ @@ -6093,6 +6177,48 @@ "DENSITY" ] }, + "ThumbnailDetails": { + "type": "structure", + "members": { + "FlowArn": { + "shape": "__string", + "locationName": "flowArn", + "documentation": "The ARN of the flow that DescribeFlowSourceThumbnail was performed on." + }, + "Thumbnail": { + "shape": "__string", + "locationName": "thumbnail", + "documentation": "Thumbnail Base64 string." + }, + "ThumbnailMessages": { + "shape": "__listOfMessageDetail", + "locationName": "thumbnailMessages", + "documentation": "Status code and messages about the flow source thumbnail." + }, + "Timecode": { + "shape": "__string", + "locationName": "timecode", + "documentation": "Timecode of thumbnail." + }, + "Timestamp": { + "shape": "__timestampIso8601", + "locationName": "timestamp", + "documentation": "The timestamp of when thumbnail was generated." + } + }, + "documentation": "The details of the thumbnail, including thumbnail base64 string, timecode and the time when thumbnail was generated.", + "required": [ + "ThumbnailMessages", + "FlowArn" + ] + }, + "ThumbnailState": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] + }, "TooManyRequestsException": { "type": "structure", "members": { @@ -6884,6 +7010,10 @@ "Maintenance": { "shape": "UpdateMaintenance", "locationName": "maintenance" + }, + "SourceMonitoringConfig": { + "shape": "MonitoringConfig", + "locationName": "sourceMonitoringConfig" } }, "documentation": "A request to update flow.", diff --git a/tools/code-generation/api-descriptions/medialive-2017-10-14.normal.json b/tools/code-generation/api-descriptions/medialive-2017-10-14.normal.json index f5f1bfee64b..acf600775b5 100644 --- a/tools/code-generation/api-descriptions/medialive-2017-10-14.normal.json +++ b/tools/code-generation/api-descriptions/medialive-2017-10-14.normal.json @@ -9742,6 +9742,11 @@ "shape": "TimecodeBurninSettings", "locationName": "timecodeBurninSettings", "documentation": "Timecode burn-in settings" + }, + "MinQp": { + "shape": "__integerMin1Max51", + "locationName": "minQp", + "documentation": "Sets the minimum QP. If you aren't familiar with quantization adjustment, leave the field empty. MediaLive will\napply an appropriate value." } }, "documentation": "H264 Settings" @@ -10111,6 +10116,11 @@ "shape": "H265TreeblockSize", "locationName": "treeblockSize", "documentation": "Select the tree block size used for encoding. If you enter \"auto\", the encoder will pick the best size. If you are setting up the picture as a tile, you must set this to 32x32. In all other configurations, you typically enter \"auto\"." + }, + "MinQp": { + "shape": "__integerMin1Max51", + "locationName": "minQp", + "documentation": "Sets the minimum QP. If you aren't familiar with quantization adjustment, leave the field empty. MediaLive will\napply an appropriate value." } }, "documentation": "H265 Settings", @@ -23903,6 +23913,12 @@ "shape": "MultiplexProgramPacketIdentifiersMap" }, "documentation": "Placeholder documentation for MultiplexPacketIdentifiersMapping" + }, + "__integerMin1Max51": { + "type": "integer", + "min": 1, + "max": 51, + "documentation": "Placeholder documentation for __integerMin1Max51" } }, "documentation": "API for AWS Elemental MediaLive" diff --git a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json index 9b5c96fb65d..ceebcbf23a4 100644 --- a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json +++ b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json @@ -4435,7 +4435,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:algorithm/[\\S]{1,2048}$" + "pattern":"^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:algorithm/[\\S]{1,2048}$" }, "AlgorithmImage":{ "type":"string", @@ -6077,6 +6077,14 @@ "Descending" ] }, + "AutoMountHomeEFS":{ + "type":"string", + "enum":[ + "Enabled", + "Disabled", + "DefaultAsDomain" + ] + }, "AutoParameter":{ "type":"structure", "required":[ @@ -7306,7 +7314,7 @@ "ClusterInstanceGroupSpecifications":{ "type":"list", "member":{"shape":"ClusterInstanceGroupSpecification"}, - "max":20, + "max":100, "min":1 }, "ClusterInstancePlacement":{ @@ -7646,7 +7654,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:code-repository/[\\S]{1,2048}$" + "pattern":"^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:code-repository/[\\S]{1,2048}$" }, "CodeRepositoryContains":{ "type":"string", @@ -8018,7 +8026,7 @@ }, "Environment":{ "shape":"EnvironmentMap", - "documentation":"

    The environment variables to set in the Docker container.

    The maximum length of each key and value in the Environment map is 1024 bytes. The maximum length of all keys and values in the map, combined, is 32 KB. If you pass multiple containers to a CreateModel request, then the maximum length of all of their maps, combined, is also 32 KB.

    " + "documentation":"

    The environment variables to set in the Docker container. Don't include any sensitive data in your environment variables.

    The maximum length of each key and value in the Environment map is 1024 bytes. The maximum length of all keys and values in the map, combined, is 32 KB. If you pass multiple containers to a CreateModel request, then the maximum length of all of their maps, combined, is also 32 KB.

    " }, "ModelPackageName":{ "shape":"VersionedArnOrName", @@ -10871,7 +10879,7 @@ }, "Environment":{ "shape":"TransformEnvironmentMap", - "documentation":"

    The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.

    " + "documentation":"

    The environment variables to set in the Docker container. Don't include any sensitive data in your environment variables. We support up to 16 key and values entries in the map.

    " }, "TransformInput":{ "shape":"TransformInput", @@ -20918,7 +20926,7 @@ "ImageArn":{ "type":"string", "max":256, - "pattern":"^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$" + "pattern":"^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-zA-Z0-9]([-.]?[a-zA-Z0-9])*$" }, "ImageBaseImage":{ "type":"string", @@ -28158,7 +28166,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package/[\\S]{1,2048}$" + "pattern":"^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package/[\\S]{1,2048}$" }, "ModelPackageArnList":{ "type":"list", @@ -28268,7 +28276,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package-group/[\\S]{1,2048}$" + "pattern":"^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package-group/[\\S]{1,2048}$" }, "ModelPackageGroupSortBy":{ "type":"string", @@ -32283,7 +32291,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:project/[\\S]{1,2048}$" + "pattern":"^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:project/[\\S]{1,2048}$" }, "ProjectEntityName":{ "type":"string", @@ -35307,7 +35315,7 @@ "StudioLifecycleConfigArn":{ "type":"string", "max":256, - "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*" + "pattern":"^(arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*|None)$" }, "StudioLifecycleConfigContent":{ "type":"string", @@ -39092,6 +39100,10 @@ "StudioWebPortalSettings":{ "shape":"StudioWebPortalSettings", "documentation":"

    Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.

    " + }, + "AutoMountHomeEFS":{ + "shape":"AutoMountHomeEFS", + "documentation":"

    Indicates whether auto-mounting of an EFS volume is supported for the user profile. The DefaultAsDomain value is only supported for user profiles. Do not use the DefaultAsDomain value when setting this parameter for a domain.

    " } }, "documentation":"

    A collection of settings that apply to users in a domain. These settings are specified when the CreateUserProfile API is called, and as DefaultUserSettings when the CreateDomain API is called.

    SecurityGroups is aggregated when specified in both calls. For all other settings in UserSettings, the values specified in CreateUserProfile take precedence over those specified in CreateDomain.

    " diff --git a/tools/code-generation/api-descriptions/timestream-influxdb-2023-01-27.normal.json b/tools/code-generation/api-descriptions/timestream-influxdb-2023-01-27.normal.json index ec7f683dc10..cb240e24e63 100644 --- a/tools/code-generation/api-descriptions/timestream-influxdb-2023-01-27.normal.json +++ b/tools/code-generation/api-descriptions/timestream-influxdb-2023-01-27.normal.json @@ -231,7 +231,7 @@ "type":"string", "max":64, "min":2, - "pattern":"[^_][^\"]*" + "pattern":"[^_\"][^\"]*" }, "ConflictException":{ "type":"structure", @@ -986,7 +986,10 @@ "max":100, "min":1 }, - "NextToken":{"type":"string"}, + "NextToken":{ + "type":"string", + "min":1 + }, "Organization":{ "type":"string", "max":64, @@ -1087,7 +1090,9 @@ "MODIFYING", "UPDATING", "DELETED", - "FAILED" + "FAILED", + "UPDATING_DEPLOYMENT_TYPE", + "UPDATING_INSTANCE_TYPE" ] }, "String":{"type":"string"}, @@ -1177,6 +1182,14 @@ "dbParameterGroupIdentifier":{ "shape":"DbParameterGroupIdentifier", "documentation":"

    The id of the DB parameter group to assign to your DB instance. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.

    " + }, + "dbInstanceType":{ + "shape":"DbInstanceType", + "documentation":"

    The Timestream for InfluxDB DB instance type to run InfluxDB on.

    " + }, + "deploymentType":{ + "shape":"DeploymentType", + "documentation":"

    Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability.

    " } } },