From c5c1967b5167182db7a3ba8b3c95ce0d251a463b Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Mon, 9 Sep 2024 18:14:43 +0000 Subject: [PATCH] Doc-only update for DynamoDB. Added information about async behavior for TagResource and UntagResource APIs and updated the description of ResourceInUseException. Amazon Sagemaker supports orchestrating SageMaker HyperPod clusters with Amazon EKS IVS Real-Time now offers customers the ability to broadcast to Stages using RTMP(S). AWS SageMaker Runtime feature: Add sticky routing to support stateful inference models. Amazon MSK Replicator can now replicate data to identically named topics between MSK clusters within the same AWS Region or across different AWS Regions. Add paginators for the ELBv2 DescribeListenerCertificates and DescribeRules APIs. Fix broken waiter for the ELBv2 DescribeLoadBalancers API. --- VERSION | 2 +- .../include/aws/dynamodb/DynamoDBClient.h | 25 +- .../aws/ivs-realtime/IvsrealtimeClient.h | 167 +- .../IvsrealtimeServiceClientModel.h | 26 + .../aws/ivs-realtime/model/Composition.h | 9 +- .../ivs-realtime/model/CompositionSummary.h | 9 +- .../model/CreateEncoderConfigurationRequest.h | 9 +- .../model/CreateIngestConfigurationRequest.h | 183 + .../model/CreateIngestConfigurationResult.h | 66 + .../ivs-realtime/model/CreateStageRequest.h | 9 +- .../model/CreateStorageConfigurationRequest.h | 9 +- .../model/DeleteIngestConfigurationRequest.h | 72 + .../model/DeleteIngestConfigurationResult.h | 52 + .../model/DisconnectParticipantRequest.h | 5 +- .../ivs-realtime/model/EncoderConfiguration.h | 9 +- .../model/EncoderConfigurationSummary.h | 9 +- .../aws/ivs-realtime/model/EventErrorCode.h | 10 +- .../model/GetIngestConfigurationRequest.h | 56 + .../model/GetIngestConfigurationResult.h | 66 + .../model/ImportPublicKeyRequest.h | 9 +- .../ivs-realtime/model/IngestConfiguration.h | 239 ++ .../model/IngestConfigurationState.h | 31 + .../model/IngestConfigurationSummary.h | 168 + .../aws/ivs-realtime/model/IngestProtocol.h | 31 + .../model/ListIngestConfigurationsRequest.h | 105 + .../model/ListIngestConfigurationsResult.h | 85 + .../aws/ivs-realtime/model/Participant.h | 16 + .../ivs-realtime/model/ParticipantProtocol.h | 33 + .../aws/ivs-realtime/model/PublicKey.h | 9 +- .../aws/ivs-realtime/model/PublicKeySummary.h | 9 +- .../include/aws/ivs-realtime/model/Stage.h | 9 +- .../aws/ivs-realtime/model/StageEndpoints.h | 44 +- .../aws/ivs-realtime/model/StageSummary.h | 9 +- .../model/StartCompositionRequest.h | 9 +- .../ivs-realtime/model/StorageConfiguration.h | 9 +- .../model/StorageConfigurationSummary.h | 9 +- .../ivs-realtime/model/TagResourceRequest.h | 9 +- .../ivs-realtime/model/UntagResourceRequest.h | 9 +- .../model/UpdateIngestConfigurationRequest.h | 74 + .../model/UpdateIngestConfigurationResult.h | 66 + .../source/IvsrealtimeClient.cpp | 140 + .../CreateIngestConfigurationRequest.cpp | 88 + .../model/CreateIngestConfigurationResult.cpp | 48 + .../DeleteIngestConfigurationRequest.cpp | 43 + .../model/DeleteIngestConfigurationResult.cpp | 42 + .../source/model/EventErrorCode.cpp | 56 + .../model/GetIngestConfigurationRequest.cpp | 35 + .../model/GetIngestConfigurationResult.cpp | 48 + .../source/model/IngestConfiguration.cpp | 201 ++ .../source/model/IngestConfigurationState.cpp | 72 + .../model/IngestConfigurationSummary.cpp | 143 + .../source/model/IngestProtocol.cpp | 72 + .../model/ListIngestConfigurationsRequest.cpp | 57 + .../model/ListIngestConfigurationsResult.cpp | 57 + .../source/model/Participant.cpp | 16 +- .../source/model/ParticipantProtocol.cpp | 86 + .../source/model/StageEndpoints.cpp | 30 +- .../UpdateIngestConfigurationRequest.cpp | 42 + .../model/UpdateIngestConfigurationResult.cpp | 48 + .../include/aws/kafka/KafkaClient.h | 9 +- .../model/ReplicationTopicNameConfiguration.h | 61 + .../ReplicationTopicNameConfigurationType.h | 31 + .../aws/kafka/model/TopicReplication.h | 17 + .../ReplicationTopicNameConfiguration.cpp | 59 + .../ReplicationTopicNameConfigurationType.cpp | 72 + .../source/model/TopicReplication.cpp | 14 + .../model/InvokeEndpointRequest.h | 27 + .../model/InvokeEndpointResult.h | 32 + .../InvokeEndpointWithResponseStreamRequest.h | 22 + .../source/model/InvokeEndpointRequest.cpp | 10 +- .../source/model/InvokeEndpointResult.cpp | 16 + ...nvokeEndpointWithResponseStreamRequest.cpp | 8 + .../model/ClusterInstanceGroupDetails.h | 19 + .../model/ClusterInstanceGroupSpecification.h | 19 + .../sagemaker/model/ClusterInstanceStatus.h | 3 +- .../aws/sagemaker/model/ClusterNodeRecovery.h | 31 + .../aws/sagemaker/model/ClusterOrchestrator.h | 61 + .../model/ClusterOrchestratorEksConfig.h | 63 + .../sagemaker/model/CodeEditorAppSettings.h | 2 +- .../sagemaker/model/CreateClusterRequest.h | 37 + .../aws/sagemaker/model/DeepHealthCheckType.h | 31 + .../sagemaker/model/DescribeClusterResult.h | 28 + .../sagemaker/model/UpdateClusterRequest.h | 16 + .../model/ClusterInstanceGroupDetails.cpp | 24 +- .../ClusterInstanceGroupSpecification.cpp | 24 +- .../source/model/ClusterInstanceStatus.cpp | 7 + .../source/model/ClusterNodeRecovery.cpp | 72 + .../source/model/ClusterOrchestrator.cpp | 59 + .../model/ClusterOrchestratorEksConfig.cpp | 59 + .../source/model/CreateClusterRequest.cpp | 16 +- .../source/model/DeepHealthCheckType.cpp | 72 + .../source/model/DescribeClusterResult.cpp | 15 +- .../source/model/UpdateClusterRequest.cpp | 9 +- .../include/aws/core/VersionConfig.h | 4 +- .../dynamodb-2012-08-10.normal.json | 6 +- .../ivs-realtime-2020-07-14.normal.json | 448 ++- .../kafka-2018-11-14.normal.json | 3072 +++++++++-------- .../runtime.sagemaker-2017-05-13.normal.json | 43 +- .../sagemaker-2017-07-24.normal.json | 93 +- 99 files changed, 6228 insertions(+), 1582 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateIngestConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateIngestConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DeleteIngestConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DeleteIngestConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/GetIngestConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/GetIngestConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfigurationState.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfigurationSummary.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestProtocol.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ListIngestConfigurationsRequest.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ListIngestConfigurationsResult.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ParticipantProtocol.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UpdateIngestConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UpdateIngestConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/CreateIngestConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/CreateIngestConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/DeleteIngestConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/DeleteIngestConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/GetIngestConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/GetIngestConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfigurationState.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfigurationSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestProtocol.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/ListIngestConfigurationsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/ListIngestConfigurationsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/ParticipantProtocol.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/UpdateIngestConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs-realtime/source/model/UpdateIngestConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationTopicNameConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationTopicNameConfigurationType.h create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ReplicationTopicNameConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ReplicationTopicNameConfigurationType.cpp create mode 100644 generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterNodeRecovery.h create mode 100644 generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterOrchestrator.h create mode 100644 generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterOrchestratorEksConfig.h create mode 100644 generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeepHealthCheckType.h create mode 100644 generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterNodeRecovery.cpp create mode 100644 generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterOrchestrator.cpp create mode 100644 generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterOrchestratorEksConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-sagemaker/source/model/DeepHealthCheckType.cpp diff --git a/VERSION b/VERSION index 43e9259ac32..2e1062fe22d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.400 \ No newline at end of file +1.11.401 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBClient.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBClient.h index 6abbd0cc1f0..40b02568be6 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBClient.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBClient.h @@ -1760,7 +1760,17 @@ namespace DynamoDB *

Associate a set of tags with an Amazon DynamoDB resource. You can then * activate these user-defined tags so that they appear on the Billing and Cost * Management console for cost allocation tracking. You can call TagResource up to - * five times per second, per account.

For an overview on tagging DynamoDB + * five times per second, per account.

For an overview on tagging DynamoDB * resources, see Tagging * for DynamoDB in the Amazon DynamoDB Developer Guide.

See @@ -1894,7 +1904,18 @@ namespace DynamoDB /** *

Removes the association of tags from an Amazon DynamoDB resource. You can * call UntagResource up to five times per second, per account.

- *

For an overview on tagging DynamoDB resources, see

  • UntagResource is an asynchronous operation. If you + * issue a ListTagsOfResource request immediately after an + * UntagResource request, DynamoDB might return your previous tag set, + * if there was one, or an empty tag set. This is because + * ListTagsOfResource uses an eventually consistent query, and the + * metadata for your tags or table might not be available at that moment. Wait for + * a few seconds, and then try the ListTagsOfResource request + * again.

  • The application or removal of tags using + * TagResource and UntagResource APIs is eventually + * consistent. ListTagsOfResource API will only reflect the changes + * after a few seconds.

  • For an overview on tagging DynamoDB + * resources, see Tagging * for DynamoDB in the Amazon DynamoDB Developer Guide.

    See * Also:

    For server-side * composition:

    For more * information about your IVS live stream, also see Getting @@ -39,15 +39,15 @@ namespace ivsrealtime * comprises a key and a value, both set by you. For example, you * might set a tag as topic:nature to label a particular video * category. See Tagging - * AWS Resources for more information, including restrictions that apply to - * tags and "Tag naming limits and requirements"; Amazon IVS stages has no - * service-specific constraints beyond what is documented there.

    Tags can - * help you identify and organize your AWS resources. For example, you can use the - * same tag for different resources to indicate that they are related. You can also - * use tags to manage access (see Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS stages has no service-specific constraints beyond what + * is documented there.

    Tags can help you identify and organize your AWS + * resources. For example, you can use the same tag for different resources to + * indicate that they are related. You can also use tags to manage access (see Access - * Tags).

    The Amazon IVS real-time API has these tag-related endpoints: + * Tags).

    The Amazon IVS real-time API has these tag-related operations: * TagResource, UntagResource, and ListTagsForResource. The * following resource supports tagging: Stage.

    At most 50 tags can be * applied to a resource.

    @@ -135,6 +135,32 @@ namespace ivsrealtime return SubmitAsync(&IvsrealtimeClient::CreateEncoderConfiguration, request, handler, context); } + /** + *

    Creates a new IngestConfiguration resource, used to specify the ingest + * protocol for a stage.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateIngestConfigurationOutcome CreateIngestConfiguration(const Model::CreateIngestConfigurationRequest& request) const; + + /** + * A Callable wrapper for CreateIngestConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateIngestConfigurationOutcomeCallable CreateIngestConfigurationCallable(const CreateIngestConfigurationRequestT& request) const + { + return SubmitCallable(&IvsrealtimeClient::CreateIngestConfiguration, request); + } + + /** + * An Async wrapper for CreateIngestConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateIngestConfigurationAsync(const CreateIngestConfigurationRequestT& request, const CreateIngestConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&IvsrealtimeClient::CreateIngestConfiguration, request, handler, context); + } + /** *

    Creates an additional token for a specified stage. This can be done after * stage creation or when tokens expire. Tokens always are scoped to the stage for @@ -243,6 +269,34 @@ namespace ivsrealtime return SubmitAsync(&IvsrealtimeClient::DeleteEncoderConfiguration, request, handler, context); } + /** + *

    Deletes a specified IngestConfiguration, so it can no longer be used to + * broadcast. An IngestConfiguration cannot be deleted if the publisher is actively + * streaming to a stage, unless force is set to + * true.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteIngestConfigurationOutcome DeleteIngestConfiguration(const Model::DeleteIngestConfigurationRequest& request) const; + + /** + * A Callable wrapper for DeleteIngestConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteIngestConfigurationOutcomeCallable DeleteIngestConfigurationCallable(const DeleteIngestConfigurationRequestT& request) const + { + return SubmitCallable(&IvsrealtimeClient::DeleteIngestConfiguration, request); + } + + /** + * An Async wrapper for DeleteIngestConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteIngestConfigurationAsync(const DeleteIngestConfigurationRequestT& request, const DeleteIngestConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&IvsrealtimeClient::DeleteIngestConfiguration, request, handler, context); + } + /** *

    Deletes the specified public key used to sign stage participant tokens. This * invalidates future participant tokens generated using the key pair’s private @@ -271,8 +325,10 @@ namespace ivsrealtime } /** - *

    Shuts down and deletes the specified stage (disconnecting all - * participants).

    See Also:

    Shuts down and deletes the specified stage (disconnecting all participants). + * This operation also removes the stageArn from the associated + * IngestConfiguration, if there are participants using the + * IngestConfiguration to publish to the stage.

    See Also:

    AWS * API Reference

    */ @@ -327,8 +383,10 @@ namespace ivsrealtime } /** - *

    Disconnects a specified participant and revokes the participant permanently - * from a specified stage.

    See Also:

    Disconnects a specified participant from a specified stage. If the + * participant is publishing using an IngestConfiguration, + * DisconnectParticipant also updates the stageArn in the + * IngestConfiguration to be an empty string.

    See Also:

    AWS * API Reference

    */ @@ -404,6 +462,32 @@ namespace ivsrealtime return SubmitAsync(&IvsrealtimeClient::GetEncoderConfiguration, request, handler, context); } + /** + *

    Gets information about the specified IngestConfiguration.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::GetIngestConfigurationOutcome GetIngestConfiguration(const Model::GetIngestConfigurationRequest& request) const; + + /** + * A Callable wrapper for GetIngestConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetIngestConfigurationOutcomeCallable GetIngestConfigurationCallable(const GetIngestConfigurationRequestT& request) const + { + return SubmitCallable(&IvsrealtimeClient::GetIngestConfiguration, request); + } + + /** + * An Async wrapper for GetIngestConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetIngestConfigurationAsync(const GetIngestConfigurationRequestT& request, const GetIngestConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&IvsrealtimeClient::GetIngestConfiguration, request, handler, context); + } + /** *

    Gets information about the specified participant token.

    See * Also:

    Lists all IngestConfigurations in your account, in the AWS region where the + * API request is processed.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListIngestConfigurationsOutcome ListIngestConfigurations(const Model::ListIngestConfigurationsRequest& request = {}) const; + + /** + * A Callable wrapper for ListIngestConfigurations that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListIngestConfigurationsOutcomeCallable ListIngestConfigurationsCallable(const ListIngestConfigurationsRequestT& request = {}) const + { + return SubmitCallable(&IvsrealtimeClient::ListIngestConfigurations, request); + } + + /** + * An Async wrapper for ListIngestConfigurations that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListIngestConfigurationsAsync(const ListIngestConfigurationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListIngestConfigurationsRequestT& request = {}) const + { + return SubmitAsync(&IvsrealtimeClient::ListIngestConfigurations, request, handler, context); + } + /** *

    Lists events for a specified participant that occurred during a specified * stage session.

    See Also:

    Starts a Composition from a stage based on the configuration provided in the * request.

    A Composition is an ephemeral resource that exists after this - * endpoint returns successfully. Composition stops and the resource is + * operation returns successfully. Composition stops and the resource is * deleted:

    • When StopComposition is called.

    • *

      After a 1-minute timeout, when all participants are disconnected from the * stage.

    • After a 1-minute timeout, if there are no participants @@ -903,6 +1013,33 @@ namespace ivsrealtime return SubmitAsync(&IvsrealtimeClient::UntagResource, request, handler, context); } + /** + *

      Updates a specified IngestConfiguration. Only the stage ARN attached to the + * IngestConfiguration can be updated. An IngestConfiguration that is active cannot + * be updated.

      See Also:

      AWS + * API Reference

      + */ + virtual Model::UpdateIngestConfigurationOutcome UpdateIngestConfiguration(const Model::UpdateIngestConfigurationRequest& request) const; + + /** + * A Callable wrapper for UpdateIngestConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateIngestConfigurationOutcomeCallable UpdateIngestConfigurationCallable(const UpdateIngestConfigurationRequestT& request) const + { + return SubmitCallable(&IvsrealtimeClient::UpdateIngestConfiguration, request); + } + + /** + * An Async wrapper for UpdateIngestConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateIngestConfigurationAsync(const UpdateIngestConfigurationRequestT& request, const UpdateIngestConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&IvsrealtimeClient::UpdateIngestConfiguration, request, handler, context); + } + /** *

      Updates a stage’s configuration.

      See Also:

      AWS diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/IvsrealtimeServiceClientModel.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/IvsrealtimeServiceClientModel.h index 9a6695e521b..d52d2ab7b7d 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/IvsrealtimeServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/IvsrealtimeServiceClientModel.h @@ -19,16 +19,19 @@ /* Service model headers required in IvsrealtimeClient header */ #include +#include #include #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include @@ -37,6 +40,7 @@ #include #include #include +#include #include #include #include @@ -48,10 +52,12 @@ #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -97,16 +103,19 @@ namespace Aws { /* Service model forward declarations required in IvsrealtimeClient header */ class CreateEncoderConfigurationRequest; + class CreateIngestConfigurationRequest; class CreateParticipantTokenRequest; class CreateStageRequest; class CreateStorageConfigurationRequest; class DeleteEncoderConfigurationRequest; + class DeleteIngestConfigurationRequest; class DeletePublicKeyRequest; class DeleteStageRequest; class DeleteStorageConfigurationRequest; class DisconnectParticipantRequest; class GetCompositionRequest; class GetEncoderConfigurationRequest; + class GetIngestConfigurationRequest; class GetParticipantRequest; class GetPublicKeyRequest; class GetStageRequest; @@ -115,6 +124,7 @@ namespace Aws class ImportPublicKeyRequest; class ListCompositionsRequest; class ListEncoderConfigurationsRequest; + class ListIngestConfigurationsRequest; class ListParticipantEventsRequest; class ListParticipantsRequest; class ListPublicKeysRequest; @@ -126,21 +136,25 @@ namespace Aws class StopCompositionRequest; class TagResourceRequest; class UntagResourceRequest; + class UpdateIngestConfigurationRequest; class UpdateStageRequest; /* End of service model forward declarations required in IvsrealtimeClient header */ /* Service model Outcome class definitions */ typedef Aws::Utils::Outcome CreateEncoderConfigurationOutcome; + typedef Aws::Utils::Outcome CreateIngestConfigurationOutcome; typedef Aws::Utils::Outcome CreateParticipantTokenOutcome; typedef Aws::Utils::Outcome CreateStageOutcome; typedef Aws::Utils::Outcome CreateStorageConfigurationOutcome; typedef Aws::Utils::Outcome DeleteEncoderConfigurationOutcome; + typedef Aws::Utils::Outcome DeleteIngestConfigurationOutcome; typedef Aws::Utils::Outcome DeletePublicKeyOutcome; typedef Aws::Utils::Outcome DeleteStageOutcome; typedef Aws::Utils::Outcome DeleteStorageConfigurationOutcome; typedef Aws::Utils::Outcome DisconnectParticipantOutcome; typedef Aws::Utils::Outcome GetCompositionOutcome; typedef Aws::Utils::Outcome GetEncoderConfigurationOutcome; + typedef Aws::Utils::Outcome GetIngestConfigurationOutcome; typedef Aws::Utils::Outcome GetParticipantOutcome; typedef Aws::Utils::Outcome GetPublicKeyOutcome; typedef Aws::Utils::Outcome GetStageOutcome; @@ -149,6 +163,7 @@ namespace Aws typedef Aws::Utils::Outcome ImportPublicKeyOutcome; typedef Aws::Utils::Outcome ListCompositionsOutcome; typedef Aws::Utils::Outcome ListEncoderConfigurationsOutcome; + typedef Aws::Utils::Outcome ListIngestConfigurationsOutcome; typedef Aws::Utils::Outcome ListParticipantEventsOutcome; typedef Aws::Utils::Outcome ListParticipantsOutcome; typedef Aws::Utils::Outcome ListPublicKeysOutcome; @@ -160,21 +175,25 @@ namespace Aws typedef Aws::Utils::Outcome StopCompositionOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; + typedef Aws::Utils::Outcome UpdateIngestConfigurationOutcome; typedef Aws::Utils::Outcome UpdateStageOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ typedef std::future CreateEncoderConfigurationOutcomeCallable; + typedef std::future CreateIngestConfigurationOutcomeCallable; typedef std::future CreateParticipantTokenOutcomeCallable; typedef std::future CreateStageOutcomeCallable; typedef std::future CreateStorageConfigurationOutcomeCallable; typedef std::future DeleteEncoderConfigurationOutcomeCallable; + typedef std::future DeleteIngestConfigurationOutcomeCallable; typedef std::future DeletePublicKeyOutcomeCallable; typedef std::future DeleteStageOutcomeCallable; typedef std::future DeleteStorageConfigurationOutcomeCallable; typedef std::future DisconnectParticipantOutcomeCallable; typedef std::future GetCompositionOutcomeCallable; typedef std::future GetEncoderConfigurationOutcomeCallable; + typedef std::future GetIngestConfigurationOutcomeCallable; typedef std::future GetParticipantOutcomeCallable; typedef std::future GetPublicKeyOutcomeCallable; typedef std::future GetStageOutcomeCallable; @@ -183,6 +202,7 @@ namespace Aws typedef std::future ImportPublicKeyOutcomeCallable; typedef std::future ListCompositionsOutcomeCallable; typedef std::future ListEncoderConfigurationsOutcomeCallable; + typedef std::future ListIngestConfigurationsOutcomeCallable; typedef std::future ListParticipantEventsOutcomeCallable; typedef std::future ListParticipantsOutcomeCallable; typedef std::future ListPublicKeysOutcomeCallable; @@ -194,6 +214,7 @@ namespace Aws typedef std::future StopCompositionOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; + typedef std::future UpdateIngestConfigurationOutcomeCallable; typedef std::future UpdateStageOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model @@ -202,16 +223,19 @@ namespace Aws /* Service model async handlers definitions */ typedef std::function&) > CreateEncoderConfigurationResponseReceivedHandler; + typedef std::function&) > CreateIngestConfigurationResponseReceivedHandler; typedef std::function&) > CreateParticipantTokenResponseReceivedHandler; typedef std::function&) > CreateStageResponseReceivedHandler; typedef std::function&) > CreateStorageConfigurationResponseReceivedHandler; typedef std::function&) > DeleteEncoderConfigurationResponseReceivedHandler; + typedef std::function&) > DeleteIngestConfigurationResponseReceivedHandler; typedef std::function&) > DeletePublicKeyResponseReceivedHandler; typedef std::function&) > DeleteStageResponseReceivedHandler; typedef std::function&) > DeleteStorageConfigurationResponseReceivedHandler; typedef std::function&) > DisconnectParticipantResponseReceivedHandler; typedef std::function&) > GetCompositionResponseReceivedHandler; typedef std::function&) > GetEncoderConfigurationResponseReceivedHandler; + typedef std::function&) > GetIngestConfigurationResponseReceivedHandler; typedef std::function&) > GetParticipantResponseReceivedHandler; typedef std::function&) > GetPublicKeyResponseReceivedHandler; typedef std::function&) > GetStageResponseReceivedHandler; @@ -220,6 +244,7 @@ namespace Aws typedef std::function&) > ImportPublicKeyResponseReceivedHandler; typedef std::function&) > ListCompositionsResponseReceivedHandler; typedef std::function&) > ListEncoderConfigurationsResponseReceivedHandler; + typedef std::function&) > ListIngestConfigurationsResponseReceivedHandler; typedef std::function&) > ListParticipantEventsResponseReceivedHandler; typedef std::function&) > ListParticipantsResponseReceivedHandler; typedef std::function&) > ListPublicKeysResponseReceivedHandler; @@ -231,6 +256,7 @@ namespace Aws typedef std::function&) > StopCompositionResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; + typedef std::function&) > UpdateIngestConfigurationResponseReceivedHandler; typedef std::function&) > UpdateStageResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace ivsrealtime diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Composition.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Composition.h index c95199593f7..2b63bfa69f3 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Composition.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Composition.h @@ -115,10 +115,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CompositionSummary.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CompositionSummary.h index 412056572bc..8c1a9bcb2bf 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CompositionSummary.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CompositionSummary.h @@ -100,10 +100,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateEncoderConfigurationRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateEncoderConfigurationRequest.h index 5481ef67914..88b3c87de4a 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateEncoderConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateEncoderConfigurationRequest.h @@ -65,10 +65,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateIngestConfigurationRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateIngestConfigurationRequest.h new file mode 100644 index 00000000000..a3e6158d48e --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateIngestConfigurationRequest.h @@ -0,0 +1,183 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + + /** + */ + class CreateIngestConfigurationRequest : public IvsrealtimeRequest + { + public: + AWS_IVSREALTIME_API CreateIngestConfigurationRequest(); + + // 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 "CreateIngestConfiguration"; } + + AWS_IVSREALTIME_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

      Optional name that can be specified for the IngestConfiguration being + * created.

      + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline CreateIngestConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateIngestConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateIngestConfigurationRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

      ARN of the stage with which the IngestConfiguration is associated.

      + */ + inline const Aws::String& GetStageArn() const{ return m_stageArn; } + inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; } + inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; } + inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); } + inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); } + inline CreateIngestConfigurationRequest& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;} + inline CreateIngestConfigurationRequest& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;} + inline CreateIngestConfigurationRequest& WithStageArn(const char* value) { SetStageArn(value); return *this;} + ///@} + + ///@{ + /** + *

      Customer-assigned name to help identify the participant using the + * IngestConfiguration; this can be used to link a participant to a user in the + * customer’s own systems. This can be any UTF-8 encoded text. This field is + * exposed to all stage participants and should not be used for personally + * identifying, confidential, or sensitive information.

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

      Application-provided attributes to store in the IngestConfiguration and + * attach to a stage. Map keys and values can contain UTF-8 encoded text. The + * maximum length of this field is 1 KB total. This field is exposed to all + * stage participants and should not be used for personally identifying, + * confidential, or sensitive information.

      + */ + inline const Aws::Map& GetAttributes() const{ return m_attributes; } + inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } + inline void SetAttributes(const Aws::Map& value) { m_attributesHasBeenSet = true; m_attributes = value; } + inline void SetAttributes(Aws::Map&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } + inline CreateIngestConfigurationRequest& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} + inline CreateIngestConfigurationRequest& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} + inline CreateIngestConfigurationRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } + inline CreateIngestConfigurationRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } + inline CreateIngestConfigurationRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } + inline CreateIngestConfigurationRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } + inline CreateIngestConfigurationRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } + inline CreateIngestConfigurationRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } + inline CreateIngestConfigurationRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

      Type of ingest protocol that the user employs to broadcast. If this is set to + * RTMP, insecureIngest must be set to + * true.

      + */ + inline const IngestProtocol& GetIngestProtocol() const{ return m_ingestProtocol; } + inline bool IngestProtocolHasBeenSet() const { return m_ingestProtocolHasBeenSet; } + inline void SetIngestProtocol(const IngestProtocol& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = value; } + inline void SetIngestProtocol(IngestProtocol&& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = std::move(value); } + inline CreateIngestConfigurationRequest& WithIngestProtocol(const IngestProtocol& value) { SetIngestProtocol(value); return *this;} + inline CreateIngestConfigurationRequest& WithIngestProtocol(IngestProtocol&& value) { SetIngestProtocol(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Whether the stage allows insecure RTMP ingest. This must be set to + * true, if ingestProtocol is set to RTMP. + * Default: false.

      + */ + inline bool GetInsecureIngest() const{ return m_insecureIngest; } + inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } + inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } + inline CreateIngestConfigurationRequest& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} + ///@} + + ///@{ + /** + *

      Tags attached to the resource. Array of maps, each of the form + * string:string (key:value). See Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      + */ + inline const Aws::Map& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline CreateIngestConfigurationRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline CreateIngestConfigurationRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline CreateIngestConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + inline CreateIngestConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline CreateIngestConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline CreateIngestConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline CreateIngestConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline CreateIngestConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline CreateIngestConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_stageArn; + bool m_stageArnHasBeenSet = false; + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + + Aws::Map m_attributes; + bool m_attributesHasBeenSet = false; + + IngestProtocol m_ingestProtocol; + bool m_ingestProtocolHasBeenSet = false; + + bool m_insecureIngest; + bool m_insecureIngestHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateIngestConfigurationResult.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateIngestConfigurationResult.h new file mode 100644 index 00000000000..6f25aabf18d --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateIngestConfigurationResult.h @@ -0,0 +1,66 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + class CreateIngestConfigurationResult + { + public: + AWS_IVSREALTIME_API CreateIngestConfigurationResult(); + AWS_IVSREALTIME_API CreateIngestConfigurationResult(const Aws::AmazonWebServiceResult& result); + AWS_IVSREALTIME_API CreateIngestConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      The IngestConfiguration that was created.

      + */ + inline const IngestConfiguration& GetIngestConfiguration() const{ return m_ingestConfiguration; } + inline void SetIngestConfiguration(const IngestConfiguration& value) { m_ingestConfiguration = value; } + inline void SetIngestConfiguration(IngestConfiguration&& value) { m_ingestConfiguration = std::move(value); } + inline CreateIngestConfigurationResult& WithIngestConfiguration(const IngestConfiguration& value) { SetIngestConfiguration(value); return *this;} + inline CreateIngestConfigurationResult& WithIngestConfiguration(IngestConfiguration&& value) { SetIngestConfiguration(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 CreateIngestConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateIngestConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateIngestConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + IngestConfiguration m_ingestConfiguration; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateStageRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateStageRequest.h index 7ba1cc9a578..a554bdbf6ae 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateStageRequest.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateStageRequest.h @@ -69,10 +69,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateStorageConfigurationRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateStorageConfigurationRequest.h index de71aa6c04c..d84b9b98c2a 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateStorageConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/CreateStorageConfigurationRequest.h @@ -65,10 +65,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DeleteIngestConfigurationRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DeleteIngestConfigurationRequest.h new file mode 100644 index 00000000000..92f5b875e62 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DeleteIngestConfigurationRequest.h @@ -0,0 +1,72 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + + /** + */ + class DeleteIngestConfigurationRequest : public IvsrealtimeRequest + { + public: + AWS_IVSREALTIME_API DeleteIngestConfigurationRequest(); + + // 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 "DeleteIngestConfiguration"; } + + AWS_IVSREALTIME_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

      ARN of the IngestConfiguration.

      + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline DeleteIngestConfigurationRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline DeleteIngestConfigurationRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline DeleteIngestConfigurationRequest& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

      Optional field to force deletion of the IngestConfiguration. If this is set + * to true when a participant is actively publishing, the participant + * is disconnected from the stage, followed by deletion of the IngestConfiguration. + * Default: false.

      + */ + inline bool GetForce() const{ return m_force; } + inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; } + inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; } + inline DeleteIngestConfigurationRequest& WithForce(bool value) { SetForce(value); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + bool m_force; + bool m_forceHasBeenSet = false; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DeleteIngestConfigurationResult.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DeleteIngestConfigurationResult.h new file mode 100644 index 00000000000..ab271ee8ff3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DeleteIngestConfigurationResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace ivsrealtime +{ +namespace Model +{ + class DeleteIngestConfigurationResult + { + public: + AWS_IVSREALTIME_API DeleteIngestConfigurationResult(); + AWS_IVSREALTIME_API DeleteIngestConfigurationResult(const Aws::AmazonWebServiceResult& result); + AWS_IVSREALTIME_API DeleteIngestConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + 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 DeleteIngestConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteIngestConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteIngestConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DisconnectParticipantRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DisconnectParticipantRequest.h index 07d3ae9472c..266676b0405 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DisconnectParticipantRequest.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/DisconnectParticipantRequest.h @@ -48,8 +48,9 @@ namespace Model ///@{ /** - *

      Identifier of the participant to be disconnected. This is assigned by IVS and - * returned by CreateParticipantToken.

      + *

      Identifier of the participant to be disconnected. IVS assigns this; it is + * returned by CreateParticipantToken (for streams using WebRTC ingest) or + * CreateIngestConfiguration (for streams using RTMP ingest).

      */ inline const Aws::String& GetParticipantId() const{ return m_participantId; } inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EncoderConfiguration.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EncoderConfiguration.h index 994ad49c390..2bab617f644 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EncoderConfiguration.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EncoderConfiguration.h @@ -84,10 +84,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EncoderConfigurationSummary.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EncoderConfigurationSummary.h index 1b7c68f3da5..b409c53c1e6 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EncoderConfigurationSummary.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EncoderConfigurationSummary.h @@ -71,10 +71,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EventErrorCode.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EventErrorCode.h index 9549f030014..8c245b385a2 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EventErrorCode.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/EventErrorCode.h @@ -18,7 +18,15 @@ namespace Model NOT_SET, INSUFFICIENT_CAPABILITIES, QUOTA_EXCEEDED, - PUBLISHER_NOT_FOUND + PUBLISHER_NOT_FOUND, + BITRATE_EXCEEDED, + RESOLUTION_EXCEEDED, + STREAM_DURATION_EXCEEDED, + INVALID_AUDIO_CODEC, + INVALID_VIDEO_CODEC, + INVALID_PROTOCOL, + INVALID_STREAM_KEY, + REUSE_OF_STREAM_KEY }; namespace EventErrorCodeMapper diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/GetIngestConfigurationRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/GetIngestConfigurationRequest.h new file mode 100644 index 00000000000..972d22ecaeb --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/GetIngestConfigurationRequest.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 ivsrealtime +{ +namespace Model +{ + + /** + */ + class GetIngestConfigurationRequest : public IvsrealtimeRequest + { + public: + AWS_IVSREALTIME_API GetIngestConfigurationRequest(); + + // 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 "GetIngestConfiguration"; } + + AWS_IVSREALTIME_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

      ARN of the ingest for which the information is to be retrieved.

      + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline GetIngestConfigurationRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline GetIngestConfigurationRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline GetIngestConfigurationRequest& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/GetIngestConfigurationResult.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/GetIngestConfigurationResult.h new file mode 100644 index 00000000000..49dc6039f19 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/GetIngestConfigurationResult.h @@ -0,0 +1,66 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + class GetIngestConfigurationResult + { + public: + AWS_IVSREALTIME_API GetIngestConfigurationResult(); + AWS_IVSREALTIME_API GetIngestConfigurationResult(const Aws::AmazonWebServiceResult& result); + AWS_IVSREALTIME_API GetIngestConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      The IngestConfiguration that was returned.

      + */ + inline const IngestConfiguration& GetIngestConfiguration() const{ return m_ingestConfiguration; } + inline void SetIngestConfiguration(const IngestConfiguration& value) { m_ingestConfiguration = value; } + inline void SetIngestConfiguration(IngestConfiguration&& value) { m_ingestConfiguration = std::move(value); } + inline GetIngestConfigurationResult& WithIngestConfiguration(const IngestConfiguration& value) { SetIngestConfiguration(value); return *this;} + inline GetIngestConfigurationResult& WithIngestConfiguration(IngestConfiguration&& value) { SetIngestConfiguration(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 GetIngestConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetIngestConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetIngestConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + IngestConfiguration m_ingestConfiguration; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ImportPublicKeyRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ImportPublicKeyRequest.h index b0020bdefcc..13298207c49 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ImportPublicKeyRequest.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ImportPublicKeyRequest.h @@ -65,10 +65,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfiguration.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfiguration.h new file mode 100644 index 00000000000..47382e1b34d --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfiguration.h @@ -0,0 +1,239 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + + /** + *

      Object specifying an ingest configuration.

      See Also:

      AWS + * API Reference

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

      Ingest name

      + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline IngestConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;} + inline IngestConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline IngestConfiguration& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

      Ingest configuration ARN.

      + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline IngestConfiguration& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline IngestConfiguration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline IngestConfiguration& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

      Type of ingest protocol that the user employs for broadcasting.

      + */ + inline const IngestProtocol& GetIngestProtocol() const{ return m_ingestProtocol; } + inline bool IngestProtocolHasBeenSet() const { return m_ingestProtocolHasBeenSet; } + inline void SetIngestProtocol(const IngestProtocol& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = value; } + inline void SetIngestProtocol(IngestProtocol&& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = std::move(value); } + inline IngestConfiguration& WithIngestProtocol(const IngestProtocol& value) { SetIngestProtocol(value); return *this;} + inline IngestConfiguration& WithIngestProtocol(IngestProtocol&& value) { SetIngestProtocol(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Ingest-key value for the RTMP(S) protocol.

      + */ + inline const Aws::String& GetStreamKey() const{ return m_streamKey; } + inline bool StreamKeyHasBeenSet() const { return m_streamKeyHasBeenSet; } + inline void SetStreamKey(const Aws::String& value) { m_streamKeyHasBeenSet = true; m_streamKey = value; } + inline void SetStreamKey(Aws::String&& value) { m_streamKeyHasBeenSet = true; m_streamKey = std::move(value); } + inline void SetStreamKey(const char* value) { m_streamKeyHasBeenSet = true; m_streamKey.assign(value); } + inline IngestConfiguration& WithStreamKey(const Aws::String& value) { SetStreamKey(value); return *this;} + inline IngestConfiguration& WithStreamKey(Aws::String&& value) { SetStreamKey(std::move(value)); return *this;} + inline IngestConfiguration& WithStreamKey(const char* value) { SetStreamKey(value); return *this;} + ///@} + + ///@{ + /** + *

      ARN of the stage with which the IngestConfiguration is associated.

      + */ + inline const Aws::String& GetStageArn() const{ return m_stageArn; } + inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; } + inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; } + inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); } + inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); } + inline IngestConfiguration& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;} + inline IngestConfiguration& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;} + inline IngestConfiguration& WithStageArn(const char* value) { SetStageArn(value); return *this;} + ///@} + + ///@{ + /** + *

      ID of the participant within the stage.

      + */ + inline const Aws::String& GetParticipantId() const{ return m_participantId; } + inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; } + inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; } + inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); } + inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); } + inline IngestConfiguration& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;} + inline IngestConfiguration& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;} + inline IngestConfiguration& WithParticipantId(const char* value) { SetParticipantId(value); return *this;} + ///@} + + ///@{ + /** + *

      State of the ingest configuration. It is ACTIVE if a publisher + * currently is publishing to the stage associated with the ingest + * configuration.

      + */ + inline const IngestConfigurationState& GetState() const{ return m_state; } + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + inline void SetState(const IngestConfigurationState& value) { m_stateHasBeenSet = true; m_state = value; } + inline void SetState(IngestConfigurationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + inline IngestConfiguration& WithState(const IngestConfigurationState& value) { SetState(value); return *this;} + inline IngestConfiguration& WithState(IngestConfigurationState&& value) { SetState(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Customer-assigned name to help identify the participant using the + * IngestConfiguration; this can be used to link a participant to a user in the + * customer’s own systems. This can be any UTF-8 encoded text. This field is + * exposed to all stage participants and should not be used for personally + * identifying, confidential, or sensitive information.

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

      Application-provided attributes to to store in the IngestConfiguration and + * attach to a stage. Map keys and values can contain UTF-8 encoded text. The + * maximum length of this field is 1 KB total. This field is exposed to all + * stage participants and should not be used for personally identifying, + * confidential, or sensitive information.

      + */ + inline const Aws::Map& GetAttributes() const{ return m_attributes; } + inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } + inline void SetAttributes(const Aws::Map& value) { m_attributesHasBeenSet = true; m_attributes = value; } + inline void SetAttributes(Aws::Map&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } + inline IngestConfiguration& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} + inline IngestConfiguration& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} + inline IngestConfiguration& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } + inline IngestConfiguration& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } + inline IngestConfiguration& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } + inline IngestConfiguration& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } + inline IngestConfiguration& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } + inline IngestConfiguration& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } + inline IngestConfiguration& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

      Tags attached to the resource. Array of maps, each of the form + * string:string (key:value). See Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      + */ + inline const Aws::Map& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline IngestConfiguration& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline IngestConfiguration& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline IngestConfiguration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + inline IngestConfiguration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline IngestConfiguration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline IngestConfiguration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline IngestConfiguration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline IngestConfiguration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline IngestConfiguration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + IngestProtocol m_ingestProtocol; + bool m_ingestProtocolHasBeenSet = false; + + Aws::String m_streamKey; + bool m_streamKeyHasBeenSet = false; + + Aws::String m_stageArn; + bool m_stageArnHasBeenSet = false; + + Aws::String m_participantId; + bool m_participantIdHasBeenSet = false; + + IngestConfigurationState m_state; + bool m_stateHasBeenSet = false; + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + + Aws::Map m_attributes; + bool m_attributesHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfigurationState.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfigurationState.h new file mode 100644 index 00000000000..ce9d9ef70c0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfigurationState.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 ivsrealtime +{ +namespace Model +{ + enum class IngestConfigurationState + { + NOT_SET, + ACTIVE, + INACTIVE + }; + +namespace IngestConfigurationStateMapper +{ +AWS_IVSREALTIME_API IngestConfigurationState GetIngestConfigurationStateForName(const Aws::String& name); + +AWS_IVSREALTIME_API Aws::String GetNameForIngestConfigurationState(IngestConfigurationState value); +} // namespace IngestConfigurationStateMapper +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfigurationSummary.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfigurationSummary.h new file mode 100644 index 00000000000..5e92018ad32 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestConfigurationSummary.h @@ -0,0 +1,168 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + + /** + *

      Summary information about an IngestConfiguration.

      See Also:

      + * AWS + * API Reference

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

      Ingest name.

      + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline IngestConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline IngestConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline IngestConfigurationSummary& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

      Ingest configuration ARN.

      + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline IngestConfigurationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline IngestConfigurationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline IngestConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

      Type of ingest protocol that the user employs for broadcasting.

      + */ + inline const IngestProtocol& GetIngestProtocol() const{ return m_ingestProtocol; } + inline bool IngestProtocolHasBeenSet() const { return m_ingestProtocolHasBeenSet; } + inline void SetIngestProtocol(const IngestProtocol& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = value; } + inline void SetIngestProtocol(IngestProtocol&& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = std::move(value); } + inline IngestConfigurationSummary& WithIngestProtocol(const IngestProtocol& value) { SetIngestProtocol(value); return *this;} + inline IngestConfigurationSummary& WithIngestProtocol(IngestProtocol&& value) { SetIngestProtocol(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      ARN of the stage with which the IngestConfiguration is associated.

      + */ + inline const Aws::String& GetStageArn() const{ return m_stageArn; } + inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; } + inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; } + inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); } + inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); } + inline IngestConfigurationSummary& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;} + inline IngestConfigurationSummary& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;} + inline IngestConfigurationSummary& WithStageArn(const char* value) { SetStageArn(value); return *this;} + ///@} + + ///@{ + /** + *

      ID of the participant within the stage.

      + */ + inline const Aws::String& GetParticipantId() const{ return m_participantId; } + inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; } + inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; } + inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); } + inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); } + inline IngestConfigurationSummary& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;} + inline IngestConfigurationSummary& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;} + inline IngestConfigurationSummary& WithParticipantId(const char* value) { SetParticipantId(value); return *this;} + ///@} + + ///@{ + /** + *

      State of the ingest configuration. It is ACTIVE if a publisher + * currently is publishing to the stage associated with the ingest + * configuration.

      + */ + inline const IngestConfigurationState& GetState() const{ return m_state; } + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + inline void SetState(const IngestConfigurationState& value) { m_stateHasBeenSet = true; m_state = value; } + inline void SetState(IngestConfigurationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + inline IngestConfigurationSummary& WithState(const IngestConfigurationState& value) { SetState(value); return *this;} + inline IngestConfigurationSummary& WithState(IngestConfigurationState&& value) { SetState(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Customer-assigned name to help identify the participant using the + * IngestConfiguration; this can be used to link a participant to a user in the + * customer’s own systems. This can be any UTF-8 encoded text. This field is + * exposed to all stage participants and should not be used for personally + * identifying, confidential, or sensitive information.

      + */ + inline const Aws::String& GetUserId() const{ return m_userId; } + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + inline IngestConfigurationSummary& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + inline IngestConfigurationSummary& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + inline IngestConfigurationSummary& WithUserId(const char* value) { SetUserId(value); return *this;} + ///@} + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + IngestProtocol m_ingestProtocol; + bool m_ingestProtocolHasBeenSet = false; + + Aws::String m_stageArn; + bool m_stageArnHasBeenSet = false; + + Aws::String m_participantId; + bool m_participantIdHasBeenSet = false; + + IngestConfigurationState m_state; + bool m_stateHasBeenSet = false; + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestProtocol.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestProtocol.h new file mode 100644 index 00000000000..8f7194b3777 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/IngestProtocol.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 ivsrealtime +{ +namespace Model +{ + enum class IngestProtocol + { + NOT_SET, + RTMP, + RTMPS + }; + +namespace IngestProtocolMapper +{ +AWS_IVSREALTIME_API IngestProtocol GetIngestProtocolForName(const Aws::String& name); + +AWS_IVSREALTIME_API Aws::String GetNameForIngestProtocol(IngestProtocol value); +} // namespace IngestProtocolMapper +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ListIngestConfigurationsRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ListIngestConfigurationsRequest.h new file mode 100644 index 00000000000..9cee4053d99 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ListIngestConfigurationsRequest.h @@ -0,0 +1,105 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + + /** + */ + class ListIngestConfigurationsRequest : public IvsrealtimeRequest + { + public: + AWS_IVSREALTIME_API ListIngestConfigurationsRequest(); + + // 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 "ListIngestConfigurations"; } + + AWS_IVSREALTIME_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

      Filters the response list to match the specified stage ARN. Only one filter + * (by stage ARN or by state) can be used at a time.

      + */ + inline const Aws::String& GetFilterByStageArn() const{ return m_filterByStageArn; } + inline bool FilterByStageArnHasBeenSet() const { return m_filterByStageArnHasBeenSet; } + inline void SetFilterByStageArn(const Aws::String& value) { m_filterByStageArnHasBeenSet = true; m_filterByStageArn = value; } + inline void SetFilterByStageArn(Aws::String&& value) { m_filterByStageArnHasBeenSet = true; m_filterByStageArn = std::move(value); } + inline void SetFilterByStageArn(const char* value) { m_filterByStageArnHasBeenSet = true; m_filterByStageArn.assign(value); } + inline ListIngestConfigurationsRequest& WithFilterByStageArn(const Aws::String& value) { SetFilterByStageArn(value); return *this;} + inline ListIngestConfigurationsRequest& WithFilterByStageArn(Aws::String&& value) { SetFilterByStageArn(std::move(value)); return *this;} + inline ListIngestConfigurationsRequest& WithFilterByStageArn(const char* value) { SetFilterByStageArn(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters the response list to match the specified state. Only one filter (by + * stage ARN or by state) can be used at a time.

      + */ + inline const IngestConfigurationState& GetFilterByState() const{ return m_filterByState; } + inline bool FilterByStateHasBeenSet() const { return m_filterByStateHasBeenSet; } + inline void SetFilterByState(const IngestConfigurationState& value) { m_filterByStateHasBeenSet = true; m_filterByState = value; } + inline void SetFilterByState(IngestConfigurationState&& value) { m_filterByStateHasBeenSet = true; m_filterByState = std::move(value); } + inline ListIngestConfigurationsRequest& WithFilterByState(const IngestConfigurationState& value) { SetFilterByState(value); return *this;} + inline ListIngestConfigurationsRequest& WithFilterByState(IngestConfigurationState&& value) { SetFilterByState(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The first IngestConfiguration to retrieve. This is used for pagination; see + * the nextToken response field.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListIngestConfigurationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListIngestConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListIngestConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      Maximum number of results to return. Default: 50.

      + */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListIngestConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + Aws::String m_filterByStageArn; + bool m_filterByStageArnHasBeenSet = false; + + IngestConfigurationState m_filterByState; + bool m_filterByStateHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ListIngestConfigurationsResult.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ListIngestConfigurationsResult.h new file mode 100644 index 00000000000..1fbd7bf21b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ListIngestConfigurationsResult.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace ivsrealtime +{ +namespace Model +{ + class ListIngestConfigurationsResult + { + public: + AWS_IVSREALTIME_API ListIngestConfigurationsResult(); + AWS_IVSREALTIME_API ListIngestConfigurationsResult(const Aws::AmazonWebServiceResult& result); + AWS_IVSREALTIME_API ListIngestConfigurationsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      List of the matching ingest configurations (summary information only).

      + */ + inline const Aws::Vector& GetIngestConfigurations() const{ return m_ingestConfigurations; } + inline void SetIngestConfigurations(const Aws::Vector& value) { m_ingestConfigurations = value; } + inline void SetIngestConfigurations(Aws::Vector&& value) { m_ingestConfigurations = std::move(value); } + inline ListIngestConfigurationsResult& WithIngestConfigurations(const Aws::Vector& value) { SetIngestConfigurations(value); return *this;} + inline ListIngestConfigurationsResult& WithIngestConfigurations(Aws::Vector&& value) { SetIngestConfigurations(std::move(value)); return *this;} + inline ListIngestConfigurationsResult& AddIngestConfigurations(const IngestConfigurationSummary& value) { m_ingestConfigurations.push_back(value); return *this; } + inline ListIngestConfigurationsResult& AddIngestConfigurations(IngestConfigurationSummary&& value) { m_ingestConfigurations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

      If there are more IngestConfigurations than maxResults, use + * nextToken in the request to get the next set.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListIngestConfigurationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListIngestConfigurationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListIngestConfigurationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListIngestConfigurationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListIngestConfigurationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListIngestConfigurationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_ingestConfigurations; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Participant.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Participant.h index d31506a4fc2..d16f1baadde 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Participant.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Participant.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -259,6 +260,18 @@ namespace Model inline Participant& WithRecordingState(const ParticipantRecordingState& value) { SetRecordingState(value); return *this;} inline Participant& WithRecordingState(ParticipantRecordingState&& value) { SetRecordingState(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

      Type of ingest protocol that the participant employs for broadcasting.

      + */ + inline const ParticipantProtocol& GetProtocol() const{ return m_protocol; } + inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } + inline void SetProtocol(const ParticipantProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; } + inline void SetProtocol(ParticipantProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); } + inline Participant& WithProtocol(const ParticipantProtocol& value) { SetProtocol(value); return *this;} + inline Participant& WithProtocol(ParticipantProtocol&& value) { SetProtocol(std::move(value)); return *this;} + ///@} private: Aws::String m_participantId; @@ -305,6 +318,9 @@ namespace Model ParticipantRecordingState m_recordingState; bool m_recordingStateHasBeenSet = false; + + ParticipantProtocol m_protocol; + bool m_protocolHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ParticipantProtocol.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ParticipantProtocol.h new file mode 100644 index 00000000000..04beb3d4001 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/ParticipantProtocol.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace ivsrealtime +{ +namespace Model +{ + enum class ParticipantProtocol + { + NOT_SET, + UNKNOWN, + WHIP, + RTMP, + RTMPS + }; + +namespace ParticipantProtocolMapper +{ +AWS_IVSREALTIME_API ParticipantProtocol GetParticipantProtocolForName(const Aws::String& name); + +AWS_IVSREALTIME_API Aws::String GetNameForParticipantProtocol(ParticipantProtocol value); +} // namespace ParticipantProtocolMapper +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/PublicKey.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/PublicKey.h index 77eb00a9904..69f89ddabc2 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/PublicKey.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/PublicKey.h @@ -100,10 +100,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/PublicKeySummary.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/PublicKeySummary.h index f1219a6e8b7..19b6ff5484d 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/PublicKeySummary.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/PublicKeySummary.h @@ -70,10 +70,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Stage.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Stage.h index 81575969d91..f8e4a61808d 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Stage.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/Stage.h @@ -86,10 +86,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StageEndpoints.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StageEndpoints.h index 4bbec0535ed..0c8b89e1c22 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StageEndpoints.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StageEndpoints.h @@ -24,8 +24,9 @@ namespace Model { /** - *

      Summary information about various endpoints for a stage.

      See - * Also:

      Summary information about various endpoints for a stage. We recommend that + * you cache these values at stage creation; the values can be cached for up to 14 + * days.

      See Also:

      AWS * API Reference

      */ @@ -54,7 +55,8 @@ namespace Model ///@{ /** - *

      WHIP endpoint.

      + *

      The endpoint to be used for IVS real-time streaming using the WHIP + * protocol.

      */ inline const Aws::String& GetWhip() const{ return m_whip; } inline bool WhipHasBeenSet() const { return m_whipHasBeenSet; } @@ -65,6 +67,36 @@ namespace Model inline StageEndpoints& WithWhip(Aws::String&& value) { SetWhip(std::move(value)); return *this;} inline StageEndpoints& WithWhip(const char* value) { SetWhip(value); return *this;} ///@} + + ///@{ + /** + *

      The endpoint to be used for IVS real-time streaming using the RTMP + * protocol.

      + */ + inline const Aws::String& GetRtmp() const{ return m_rtmp; } + inline bool RtmpHasBeenSet() const { return m_rtmpHasBeenSet; } + inline void SetRtmp(const Aws::String& value) { m_rtmpHasBeenSet = true; m_rtmp = value; } + inline void SetRtmp(Aws::String&& value) { m_rtmpHasBeenSet = true; m_rtmp = std::move(value); } + inline void SetRtmp(const char* value) { m_rtmpHasBeenSet = true; m_rtmp.assign(value); } + inline StageEndpoints& WithRtmp(const Aws::String& value) { SetRtmp(value); return *this;} + inline StageEndpoints& WithRtmp(Aws::String&& value) { SetRtmp(std::move(value)); return *this;} + inline StageEndpoints& WithRtmp(const char* value) { SetRtmp(value); return *this;} + ///@} + + ///@{ + /** + *

      The endpoint to be used for IVS real-time streaming using the RTMPS + * protocol.

      + */ + inline const Aws::String& GetRtmps() const{ return m_rtmps; } + inline bool RtmpsHasBeenSet() const { return m_rtmpsHasBeenSet; } + inline void SetRtmps(const Aws::String& value) { m_rtmpsHasBeenSet = true; m_rtmps = value; } + inline void SetRtmps(Aws::String&& value) { m_rtmpsHasBeenSet = true; m_rtmps = std::move(value); } + inline void SetRtmps(const char* value) { m_rtmpsHasBeenSet = true; m_rtmps.assign(value); } + inline StageEndpoints& WithRtmps(const Aws::String& value) { SetRtmps(value); return *this;} + inline StageEndpoints& WithRtmps(Aws::String&& value) { SetRtmps(std::move(value)); return *this;} + inline StageEndpoints& WithRtmps(const char* value) { SetRtmps(value); return *this;} + ///@} private: Aws::String m_events; @@ -72,6 +104,12 @@ namespace Model Aws::String m_whip; bool m_whipHasBeenSet = false; + + Aws::String m_rtmp; + bool m_rtmpHasBeenSet = false; + + Aws::String m_rtmps; + bool m_rtmpsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StageSummary.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StageSummary.h index 5f3c4bcb745..51954b980a4 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StageSummary.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StageSummary.h @@ -84,10 +84,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StartCompositionRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StartCompositionRequest.h index ca80b97ceb9..48ebda543a2 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StartCompositionRequest.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StartCompositionRequest.h @@ -95,10 +95,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StorageConfiguration.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StorageConfiguration.h index 6f38038a45f..8780c73bcbf 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StorageConfiguration.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StorageConfiguration.h @@ -84,10 +84,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StorageConfigurationSummary.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StorageConfigurationSummary.h index 9e3a3833915..3dd5f367058 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StorageConfigurationSummary.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/StorageConfigurationSummary.h @@ -84,10 +84,11 @@ namespace Model /** *

      Tags attached to the resource. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints on tags - * beyond what is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/TagResourceRequest.h index 586ce01bdbc..d95f233a692 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/TagResourceRequest.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/TagResourceRequest.h @@ -51,10 +51,11 @@ namespace Model /** *

      Array of tags to be added or updated. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints beyond what - * is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UntagResourceRequest.h index e23fa0a0f3e..5be8316324f 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UntagResourceRequest.h +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UntagResourceRequest.h @@ -57,10 +57,11 @@ namespace Model /** *

      Array of tags to be removed. Array of maps, each of the form * string:string (key:value). See Tagging - * AWS Resources for details, including restrictions that apply to tags and - * "Tag naming limits and requirements"; Amazon IVS has no constraints beyond what - * is documented there.

      + * href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best + * practices and strategies in Tagging AWS Resources and Tag Editor for + * details, including restrictions that apply to tags and "Tag naming limits and + * requirements"; Amazon IVS has no constraints on tags beyond what is documented + * there.

      */ inline const Aws::Vector& GetTagKeys() const{ return m_tagKeys; } inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UpdateIngestConfigurationRequest.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UpdateIngestConfigurationRequest.h new file mode 100644 index 00000000000..059745cea2f --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UpdateIngestConfigurationRequest.h @@ -0,0 +1,74 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + + /** + */ + class UpdateIngestConfigurationRequest : public IvsrealtimeRequest + { + public: + AWS_IVSREALTIME_API UpdateIngestConfigurationRequest(); + + // 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 "UpdateIngestConfiguration"; } + + AWS_IVSREALTIME_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

      ARN of the IngestConfiguration, for which the related stage ARN needs to be + * updated.

      + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline UpdateIngestConfigurationRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline UpdateIngestConfigurationRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline UpdateIngestConfigurationRequest& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

      Stage ARN that needs to be updated.

      + */ + inline const Aws::String& GetStageArn() const{ return m_stageArn; } + inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; } + inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; } + inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); } + inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); } + inline UpdateIngestConfigurationRequest& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;} + inline UpdateIngestConfigurationRequest& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;} + inline UpdateIngestConfigurationRequest& WithStageArn(const char* value) { SetStageArn(value); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + Aws::String m_stageArn; + bool m_stageArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UpdateIngestConfigurationResult.h b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UpdateIngestConfigurationResult.h new file mode 100644 index 00000000000..f84803f73b3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/include/aws/ivs-realtime/model/UpdateIngestConfigurationResult.h @@ -0,0 +1,66 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + class UpdateIngestConfigurationResult + { + public: + AWS_IVSREALTIME_API UpdateIngestConfigurationResult(); + AWS_IVSREALTIME_API UpdateIngestConfigurationResult(const Aws::AmazonWebServiceResult& result); + AWS_IVSREALTIME_API UpdateIngestConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      The updated IngestConfiguration.

      + */ + inline const IngestConfiguration& GetIngestConfiguration() const{ return m_ingestConfiguration; } + inline void SetIngestConfiguration(const IngestConfiguration& value) { m_ingestConfiguration = value; } + inline void SetIngestConfiguration(IngestConfiguration&& value) { m_ingestConfiguration = std::move(value); } + inline UpdateIngestConfigurationResult& WithIngestConfiguration(const IngestConfiguration& value) { SetIngestConfiguration(value); return *this;} + inline UpdateIngestConfigurationResult& WithIngestConfiguration(IngestConfiguration&& value) { SetIngestConfiguration(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 UpdateIngestConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateIngestConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateIngestConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + IngestConfiguration m_ingestConfiguration; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/IvsrealtimeClient.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/IvsrealtimeClient.cpp index e17ec594c7b..68164739f7a 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/source/IvsrealtimeClient.cpp +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/IvsrealtimeClient.cpp @@ -22,16 +22,19 @@ #include #include #include +#include #include #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include @@ -40,6 +43,7 @@ #include #include #include +#include #include #include #include @@ -51,6 +55,7 @@ #include #include #include +#include #include #include @@ -222,6 +227,33 @@ CreateEncoderConfigurationOutcome IvsrealtimeClient::CreateEncoderConfiguration( {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateIngestConfigurationOutcome IvsrealtimeClient::CreateIngestConfiguration(const CreateIngestConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(CreateIngestConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateIngestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateIngestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateIngestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateIngestConfiguration", + {{ 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( + [&]()-> CreateIngestConfigurationOutcome { + 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, CreateIngestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/CreateIngestConfiguration"); + return CreateIngestConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateParticipantTokenOutcome IvsrealtimeClient::CreateParticipantToken(const CreateParticipantTokenRequest& request) const { AWS_OPERATION_GUARD(CreateParticipantToken); @@ -330,6 +362,33 @@ DeleteEncoderConfigurationOutcome IvsrealtimeClient::DeleteEncoderConfiguration( {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteIngestConfigurationOutcome IvsrealtimeClient::DeleteIngestConfiguration(const DeleteIngestConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteIngestConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteIngestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteIngestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteIngestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteIngestConfiguration", + {{ 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( + [&]()-> DeleteIngestConfigurationOutcome { + 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, DeleteIngestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/DeleteIngestConfiguration"); + return DeleteIngestConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DeletePublicKeyOutcome IvsrealtimeClient::DeletePublicKey(const DeletePublicKeyRequest& request) const { AWS_OPERATION_GUARD(DeletePublicKey); @@ -492,6 +551,33 @@ GetEncoderConfigurationOutcome IvsrealtimeClient::GetEncoderConfiguration(const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetIngestConfigurationOutcome IvsrealtimeClient::GetIngestConfiguration(const GetIngestConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(GetIngestConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetIngestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetIngestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetIngestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetIngestConfiguration", + {{ 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( + [&]()-> GetIngestConfigurationOutcome { + 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, GetIngestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/GetIngestConfiguration"); + return GetIngestConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetParticipantOutcome IvsrealtimeClient::GetParticipant(const GetParticipantRequest& request) const { AWS_OPERATION_GUARD(GetParticipant); @@ -708,6 +794,33 @@ ListEncoderConfigurationsOutcome IvsrealtimeClient::ListEncoderConfigurations(co {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListIngestConfigurationsOutcome IvsrealtimeClient::ListIngestConfigurations(const ListIngestConfigurationsRequest& request) const +{ + AWS_OPERATION_GUARD(ListIngestConfigurations); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListIngestConfigurations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListIngestConfigurations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListIngestConfigurations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListIngestConfigurations", + {{ 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( + [&]()-> ListIngestConfigurationsOutcome { + 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, ListIngestConfigurations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/ListIngestConfigurations"); + return ListIngestConfigurationsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListParticipantEventsOutcome IvsrealtimeClient::ListParticipantEvents(const ListParticipantEventsRequest& request) const { AWS_OPERATION_GUARD(ListParticipantEvents); @@ -1028,6 +1141,33 @@ UntagResourceOutcome IvsrealtimeClient::UntagResource(const UntagResourceRequest {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateIngestConfigurationOutcome IvsrealtimeClient::UpdateIngestConfiguration(const UpdateIngestConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateIngestConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateIngestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateIngestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateIngestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateIngestConfiguration", + {{ 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( + [&]()-> UpdateIngestConfigurationOutcome { + 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, UpdateIngestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/UpdateIngestConfiguration"); + return UpdateIngestConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateStageOutcome IvsrealtimeClient::UpdateStage(const UpdateStageRequest& request) const { AWS_OPERATION_GUARD(UpdateStage); diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/CreateIngestConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/CreateIngestConfigurationRequest.cpp new file mode 100644 index 00000000000..36492965118 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/CreateIngestConfigurationRequest.cpp @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateIngestConfigurationRequest::CreateIngestConfigurationRequest() : + m_nameHasBeenSet(false), + m_stageArnHasBeenSet(false), + m_userIdHasBeenSet(false), + m_attributesHasBeenSet(false), + m_ingestProtocol(IngestProtocol::NOT_SET), + m_ingestProtocolHasBeenSet(false), + m_insecureIngest(false), + m_insecureIngestHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateIngestConfigurationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_stageArnHasBeenSet) + { + payload.WithString("stageArn", m_stageArn); + + } + + if(m_userIdHasBeenSet) + { + payload.WithString("userId", m_userId); + + } + + if(m_attributesHasBeenSet) + { + JsonValue attributesJsonMap; + for(auto& attributesItem : m_attributes) + { + attributesJsonMap.WithString(attributesItem.first, attributesItem.second); + } + payload.WithObject("attributes", std::move(attributesJsonMap)); + + } + + if(m_ingestProtocolHasBeenSet) + { + payload.WithString("ingestProtocol", IngestProtocolMapper::GetNameForIngestProtocol(m_ingestProtocol)); + } + + if(m_insecureIngestHasBeenSet) + { + payload.WithBool("insecureIngest", m_insecureIngest); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/CreateIngestConfigurationResult.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/CreateIngestConfigurationResult.cpp new file mode 100644 index 00000000000..2462fd598fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/CreateIngestConfigurationResult.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::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateIngestConfigurationResult::CreateIngestConfigurationResult() +{ +} + +CreateIngestConfigurationResult::CreateIngestConfigurationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateIngestConfigurationResult& CreateIngestConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ingestConfiguration")) + { + m_ingestConfiguration = jsonValue.GetObject("ingestConfiguration"); + + } + + + 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-ivs-realtime/source/model/DeleteIngestConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/DeleteIngestConfigurationRequest.cpp new file mode 100644 index 00000000000..19afbc613ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/DeleteIngestConfigurationRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteIngestConfigurationRequest::DeleteIngestConfigurationRequest() : + m_arnHasBeenSet(false), + m_force(false), + m_forceHasBeenSet(false) +{ +} + +Aws::String DeleteIngestConfigurationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("arn", m_arn); + + } + + if(m_forceHasBeenSet) + { + payload.WithBool("force", m_force); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/DeleteIngestConfigurationResult.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/DeleteIngestConfigurationResult.cpp new file mode 100644 index 00000000000..e9265ce5bb7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/DeleteIngestConfigurationResult.cpp @@ -0,0 +1,42 @@ +/** + * 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::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteIngestConfigurationResult::DeleteIngestConfigurationResult() +{ +} + +DeleteIngestConfigurationResult::DeleteIngestConfigurationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteIngestConfigurationResult& DeleteIngestConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + 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-ivs-realtime/source/model/EventErrorCode.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/EventErrorCode.cpp index 0167b98b944..3d9409fd9a8 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/EventErrorCode.cpp +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/EventErrorCode.cpp @@ -23,6 +23,14 @@ namespace Aws static const int INSUFFICIENT_CAPABILITIES_HASH = HashingUtils::HashString("INSUFFICIENT_CAPABILITIES"); static const int QUOTA_EXCEEDED_HASH = HashingUtils::HashString("QUOTA_EXCEEDED"); static const int PUBLISHER_NOT_FOUND_HASH = HashingUtils::HashString("PUBLISHER_NOT_FOUND"); + static const int BITRATE_EXCEEDED_HASH = HashingUtils::HashString("BITRATE_EXCEEDED"); + static const int RESOLUTION_EXCEEDED_HASH = HashingUtils::HashString("RESOLUTION_EXCEEDED"); + static const int STREAM_DURATION_EXCEEDED_HASH = HashingUtils::HashString("STREAM_DURATION_EXCEEDED"); + static const int INVALID_AUDIO_CODEC_HASH = HashingUtils::HashString("INVALID_AUDIO_CODEC"); + static const int INVALID_VIDEO_CODEC_HASH = HashingUtils::HashString("INVALID_VIDEO_CODEC"); + static const int INVALID_PROTOCOL_HASH = HashingUtils::HashString("INVALID_PROTOCOL"); + static const int INVALID_STREAM_KEY_HASH = HashingUtils::HashString("INVALID_STREAM_KEY"); + static const int REUSE_OF_STREAM_KEY_HASH = HashingUtils::HashString("REUSE_OF_STREAM_KEY"); EventErrorCode GetEventErrorCodeForName(const Aws::String& name) @@ -40,6 +48,38 @@ namespace Aws { return EventErrorCode::PUBLISHER_NOT_FOUND; } + else if (hashCode == BITRATE_EXCEEDED_HASH) + { + return EventErrorCode::BITRATE_EXCEEDED; + } + else if (hashCode == RESOLUTION_EXCEEDED_HASH) + { + return EventErrorCode::RESOLUTION_EXCEEDED; + } + else if (hashCode == STREAM_DURATION_EXCEEDED_HASH) + { + return EventErrorCode::STREAM_DURATION_EXCEEDED; + } + else if (hashCode == INVALID_AUDIO_CODEC_HASH) + { + return EventErrorCode::INVALID_AUDIO_CODEC; + } + else if (hashCode == INVALID_VIDEO_CODEC_HASH) + { + return EventErrorCode::INVALID_VIDEO_CODEC; + } + else if (hashCode == INVALID_PROTOCOL_HASH) + { + return EventErrorCode::INVALID_PROTOCOL; + } + else if (hashCode == INVALID_STREAM_KEY_HASH) + { + return EventErrorCode::INVALID_STREAM_KEY; + } + else if (hashCode == REUSE_OF_STREAM_KEY_HASH) + { + return EventErrorCode::REUSE_OF_STREAM_KEY; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -62,6 +102,22 @@ namespace Aws return "QUOTA_EXCEEDED"; case EventErrorCode::PUBLISHER_NOT_FOUND: return "PUBLISHER_NOT_FOUND"; + case EventErrorCode::BITRATE_EXCEEDED: + return "BITRATE_EXCEEDED"; + case EventErrorCode::RESOLUTION_EXCEEDED: + return "RESOLUTION_EXCEEDED"; + case EventErrorCode::STREAM_DURATION_EXCEEDED: + return "STREAM_DURATION_EXCEEDED"; + case EventErrorCode::INVALID_AUDIO_CODEC: + return "INVALID_AUDIO_CODEC"; + case EventErrorCode::INVALID_VIDEO_CODEC: + return "INVALID_VIDEO_CODEC"; + case EventErrorCode::INVALID_PROTOCOL: + return "INVALID_PROTOCOL"; + case EventErrorCode::INVALID_STREAM_KEY: + return "INVALID_STREAM_KEY"; + case EventErrorCode::REUSE_OF_STREAM_KEY: + return "REUSE_OF_STREAM_KEY"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/GetIngestConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/GetIngestConfigurationRequest.cpp new file mode 100644 index 00000000000..9c47b107c2b --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/GetIngestConfigurationRequest.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::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetIngestConfigurationRequest::GetIngestConfigurationRequest() : + m_arnHasBeenSet(false) +{ +} + +Aws::String GetIngestConfigurationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("arn", m_arn); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/GetIngestConfigurationResult.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/GetIngestConfigurationResult.cpp new file mode 100644 index 00000000000..6f7af9f8ad8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/GetIngestConfigurationResult.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::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetIngestConfigurationResult::GetIngestConfigurationResult() +{ +} + +GetIngestConfigurationResult::GetIngestConfigurationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetIngestConfigurationResult& GetIngestConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ingestConfiguration")) + { + m_ingestConfiguration = jsonValue.GetObject("ingestConfiguration"); + + } + + + 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-ivs-realtime/source/model/IngestConfiguration.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfiguration.cpp new file mode 100644 index 00000000000..26c69f475c2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfiguration.cpp @@ -0,0 +1,201 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + +IngestConfiguration::IngestConfiguration() : + m_nameHasBeenSet(false), + m_arnHasBeenSet(false), + m_ingestProtocol(IngestProtocol::NOT_SET), + m_ingestProtocolHasBeenSet(false), + m_streamKeyHasBeenSet(false), + m_stageArnHasBeenSet(false), + m_participantIdHasBeenSet(false), + m_state(IngestConfigurationState::NOT_SET), + m_stateHasBeenSet(false), + m_userIdHasBeenSet(false), + m_attributesHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +IngestConfiguration::IngestConfiguration(JsonView jsonValue) + : IngestConfiguration() +{ + *this = jsonValue; +} + +IngestConfiguration& IngestConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("arn")) + { + m_arn = jsonValue.GetString("arn"); + + m_arnHasBeenSet = true; + } + + if(jsonValue.ValueExists("ingestProtocol")) + { + m_ingestProtocol = IngestProtocolMapper::GetIngestProtocolForName(jsonValue.GetString("ingestProtocol")); + + m_ingestProtocolHasBeenSet = true; + } + + if(jsonValue.ValueExists("streamKey")) + { + m_streamKey = jsonValue.GetString("streamKey"); + + m_streamKeyHasBeenSet = true; + } + + if(jsonValue.ValueExists("stageArn")) + { + m_stageArn = jsonValue.GetString("stageArn"); + + m_stageArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("participantId")) + { + m_participantId = jsonValue.GetString("participantId"); + + m_participantIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("state")) + { + m_state = IngestConfigurationStateMapper::GetIngestConfigurationStateForName(jsonValue.GetString("state")); + + m_stateHasBeenSet = true; + } + + if(jsonValue.ValueExists("userId")) + { + m_userId = jsonValue.GetString("userId"); + + m_userIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("attributes")) + { + Aws::Map attributesJsonMap = jsonValue.GetObject("attributes").GetAllObjects(); + for(auto& attributesItem : attributesJsonMap) + { + m_attributes[attributesItem.first] = attributesItem.second.AsString(); + } + m_attributesHasBeenSet = true; + } + + if(jsonValue.ValueExists("tags")) + { + Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } + m_tagsHasBeenSet = true; + } + + return *this; +} + +JsonValue IngestConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_arnHasBeenSet) + { + payload.WithString("arn", m_arn); + + } + + if(m_ingestProtocolHasBeenSet) + { + payload.WithString("ingestProtocol", IngestProtocolMapper::GetNameForIngestProtocol(m_ingestProtocol)); + } + + if(m_streamKeyHasBeenSet) + { + payload.WithString("streamKey", m_streamKey); + + } + + if(m_stageArnHasBeenSet) + { + payload.WithString("stageArn", m_stageArn); + + } + + if(m_participantIdHasBeenSet) + { + payload.WithString("participantId", m_participantId); + + } + + if(m_stateHasBeenSet) + { + payload.WithString("state", IngestConfigurationStateMapper::GetNameForIngestConfigurationState(m_state)); + } + + if(m_userIdHasBeenSet) + { + payload.WithString("userId", m_userId); + + } + + if(m_attributesHasBeenSet) + { + JsonValue attributesJsonMap; + for(auto& attributesItem : m_attributes) + { + attributesJsonMap.WithString(attributesItem.first, attributesItem.second); + } + payload.WithObject("attributes", std::move(attributesJsonMap)); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfigurationState.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfigurationState.cpp new file mode 100644 index 00000000000..caf3aaa0672 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfigurationState.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 ivsrealtime + { + namespace Model + { + namespace IngestConfigurationStateMapper + { + + static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); + static const int INACTIVE_HASH = HashingUtils::HashString("INACTIVE"); + + + IngestConfigurationState GetIngestConfigurationStateForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ACTIVE_HASH) + { + return IngestConfigurationState::ACTIVE; + } + else if (hashCode == INACTIVE_HASH) + { + return IngestConfigurationState::INACTIVE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return IngestConfigurationState::NOT_SET; + } + + Aws::String GetNameForIngestConfigurationState(IngestConfigurationState enumValue) + { + switch(enumValue) + { + case IngestConfigurationState::NOT_SET: + return {}; + case IngestConfigurationState::ACTIVE: + return "ACTIVE"; + case IngestConfigurationState::INACTIVE: + return "INACTIVE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IngestConfigurationStateMapper + } // namespace Model + } // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfigurationSummary.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfigurationSummary.cpp new file mode 100644 index 00000000000..9be2149ad84 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestConfigurationSummary.cpp @@ -0,0 +1,143 @@ +/** + * 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 ivsrealtime +{ +namespace Model +{ + +IngestConfigurationSummary::IngestConfigurationSummary() : + m_nameHasBeenSet(false), + m_arnHasBeenSet(false), + m_ingestProtocol(IngestProtocol::NOT_SET), + m_ingestProtocolHasBeenSet(false), + m_stageArnHasBeenSet(false), + m_participantIdHasBeenSet(false), + m_state(IngestConfigurationState::NOT_SET), + m_stateHasBeenSet(false), + m_userIdHasBeenSet(false) +{ +} + +IngestConfigurationSummary::IngestConfigurationSummary(JsonView jsonValue) + : IngestConfigurationSummary() +{ + *this = jsonValue; +} + +IngestConfigurationSummary& IngestConfigurationSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("arn")) + { + m_arn = jsonValue.GetString("arn"); + + m_arnHasBeenSet = true; + } + + if(jsonValue.ValueExists("ingestProtocol")) + { + m_ingestProtocol = IngestProtocolMapper::GetIngestProtocolForName(jsonValue.GetString("ingestProtocol")); + + m_ingestProtocolHasBeenSet = true; + } + + if(jsonValue.ValueExists("stageArn")) + { + m_stageArn = jsonValue.GetString("stageArn"); + + m_stageArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("participantId")) + { + m_participantId = jsonValue.GetString("participantId"); + + m_participantIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("state")) + { + m_state = IngestConfigurationStateMapper::GetIngestConfigurationStateForName(jsonValue.GetString("state")); + + m_stateHasBeenSet = true; + } + + if(jsonValue.ValueExists("userId")) + { + m_userId = jsonValue.GetString("userId"); + + m_userIdHasBeenSet = true; + } + + return *this; +} + +JsonValue IngestConfigurationSummary::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_arnHasBeenSet) + { + payload.WithString("arn", m_arn); + + } + + if(m_ingestProtocolHasBeenSet) + { + payload.WithString("ingestProtocol", IngestProtocolMapper::GetNameForIngestProtocol(m_ingestProtocol)); + } + + if(m_stageArnHasBeenSet) + { + payload.WithString("stageArn", m_stageArn); + + } + + if(m_participantIdHasBeenSet) + { + payload.WithString("participantId", m_participantId); + + } + + if(m_stateHasBeenSet) + { + payload.WithString("state", IngestConfigurationStateMapper::GetNameForIngestConfigurationState(m_state)); + } + + if(m_userIdHasBeenSet) + { + payload.WithString("userId", m_userId); + + } + + return payload; +} + +} // namespace Model +} // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestProtocol.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestProtocol.cpp new file mode 100644 index 00000000000..99260285416 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/IngestProtocol.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 ivsrealtime + { + namespace Model + { + namespace IngestProtocolMapper + { + + static const int RTMP_HASH = HashingUtils::HashString("RTMP"); + static const int RTMPS_HASH = HashingUtils::HashString("RTMPS"); + + + IngestProtocol GetIngestProtocolForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == RTMP_HASH) + { + return IngestProtocol::RTMP; + } + else if (hashCode == RTMPS_HASH) + { + return IngestProtocol::RTMPS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return IngestProtocol::NOT_SET; + } + + Aws::String GetNameForIngestProtocol(IngestProtocol enumValue) + { + switch(enumValue) + { + case IngestProtocol::NOT_SET: + return {}; + case IngestProtocol::RTMP: + return "RTMP"; + case IngestProtocol::RTMPS: + return "RTMPS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IngestProtocolMapper + } // namespace Model + } // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/ListIngestConfigurationsRequest.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/ListIngestConfigurationsRequest.cpp new file mode 100644 index 00000000000..2e03f9a4b5d --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/ListIngestConfigurationsRequest.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListIngestConfigurationsRequest::ListIngestConfigurationsRequest() : + m_filterByStageArnHasBeenSet(false), + m_filterByState(IngestConfigurationState::NOT_SET), + m_filterByStateHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ListIngestConfigurationsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_filterByStageArnHasBeenSet) + { + payload.WithString("filterByStageArn", m_filterByStageArn); + + } + + if(m_filterByStateHasBeenSet) + { + payload.WithString("filterByState", IngestConfigurationStateMapper::GetNameForIngestConfigurationState(m_filterByState)); + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("nextToken", m_nextToken); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("maxResults", m_maxResults); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/ListIngestConfigurationsResult.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/ListIngestConfigurationsResult.cpp new file mode 100644 index 00000000000..696ac1388ce --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/ListIngestConfigurationsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListIngestConfigurationsResult::ListIngestConfigurationsResult() +{ +} + +ListIngestConfigurationsResult::ListIngestConfigurationsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListIngestConfigurationsResult& ListIngestConfigurationsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ingestConfigurations")) + { + Aws::Utils::Array ingestConfigurationsJsonList = jsonValue.GetArray("ingestConfigurations"); + for(unsigned ingestConfigurationsIndex = 0; ingestConfigurationsIndex < ingestConfigurationsJsonList.GetLength(); ++ingestConfigurationsIndex) + { + m_ingestConfigurations.push_back(ingestConfigurationsJsonList[ingestConfigurationsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/Participant.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/Participant.cpp index 0419bcf5041..9acc9b32770 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/Participant.cpp +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/Participant.cpp @@ -36,7 +36,9 @@ Participant::Participant() : m_recordingS3BucketNameHasBeenSet(false), m_recordingS3PrefixHasBeenSet(false), m_recordingState(ParticipantRecordingState::NOT_SET), - m_recordingStateHasBeenSet(false) + m_recordingStateHasBeenSet(false), + m_protocol(ParticipantProtocol::NOT_SET), + m_protocolHasBeenSet(false) { } @@ -156,6 +158,13 @@ Participant& Participant::operator =(JsonView jsonValue) m_recordingStateHasBeenSet = true; } + if(jsonValue.ValueExists("protocol")) + { + m_protocol = ParticipantProtocolMapper::GetParticipantProtocolForName(jsonValue.GetString("protocol")); + + m_protocolHasBeenSet = true; + } + return *this; } @@ -255,6 +264,11 @@ JsonValue Participant::Jsonize() const payload.WithString("recordingState", ParticipantRecordingStateMapper::GetNameForParticipantRecordingState(m_recordingState)); } + if(m_protocolHasBeenSet) + { + payload.WithString("protocol", ParticipantProtocolMapper::GetNameForParticipantProtocol(m_protocol)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/ParticipantProtocol.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/ParticipantProtocol.cpp new file mode 100644 index 00000000000..b5035028f0f --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/ParticipantProtocol.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 + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace ivsrealtime + { + namespace Model + { + namespace ParticipantProtocolMapper + { + + static const int UNKNOWN_HASH = HashingUtils::HashString("UNKNOWN"); + static const int WHIP_HASH = HashingUtils::HashString("WHIP"); + static const int RTMP_HASH = HashingUtils::HashString("RTMP"); + static const int RTMPS_HASH = HashingUtils::HashString("RTMPS"); + + + ParticipantProtocol GetParticipantProtocolForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == UNKNOWN_HASH) + { + return ParticipantProtocol::UNKNOWN; + } + else if (hashCode == WHIP_HASH) + { + return ParticipantProtocol::WHIP; + } + else if (hashCode == RTMP_HASH) + { + return ParticipantProtocol::RTMP; + } + else if (hashCode == RTMPS_HASH) + { + return ParticipantProtocol::RTMPS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ParticipantProtocol::NOT_SET; + } + + Aws::String GetNameForParticipantProtocol(ParticipantProtocol enumValue) + { + switch(enumValue) + { + case ParticipantProtocol::NOT_SET: + return {}; + case ParticipantProtocol::UNKNOWN: + return "UNKNOWN"; + case ParticipantProtocol::WHIP: + return "WHIP"; + case ParticipantProtocol::RTMP: + return "RTMP"; + case ParticipantProtocol::RTMPS: + return "RTMPS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ParticipantProtocolMapper + } // namespace Model + } // namespace ivsrealtime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/StageEndpoints.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/StageEndpoints.cpp index c45f22d5367..d04a4931651 100644 --- a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/StageEndpoints.cpp +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/StageEndpoints.cpp @@ -20,7 +20,9 @@ namespace Model StageEndpoints::StageEndpoints() : m_eventsHasBeenSet(false), - m_whipHasBeenSet(false) + m_whipHasBeenSet(false), + m_rtmpHasBeenSet(false), + m_rtmpsHasBeenSet(false) { } @@ -46,6 +48,20 @@ StageEndpoints& StageEndpoints::operator =(JsonView jsonValue) m_whipHasBeenSet = true; } + if(jsonValue.ValueExists("rtmp")) + { + m_rtmp = jsonValue.GetString("rtmp"); + + m_rtmpHasBeenSet = true; + } + + if(jsonValue.ValueExists("rtmps")) + { + m_rtmps = jsonValue.GetString("rtmps"); + + m_rtmpsHasBeenSet = true; + } + return *this; } @@ -65,6 +81,18 @@ JsonValue StageEndpoints::Jsonize() const } + if(m_rtmpHasBeenSet) + { + payload.WithString("rtmp", m_rtmp); + + } + + if(m_rtmpsHasBeenSet) + { + payload.WithString("rtmps", m_rtmps); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/UpdateIngestConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/UpdateIngestConfigurationRequest.cpp new file mode 100644 index 00000000000..031cf37bbb4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/UpdateIngestConfigurationRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateIngestConfigurationRequest::UpdateIngestConfigurationRequest() : + m_arnHasBeenSet(false), + m_stageArnHasBeenSet(false) +{ +} + +Aws::String UpdateIngestConfigurationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("arn", m_arn); + + } + + if(m_stageArnHasBeenSet) + { + payload.WithString("stageArn", m_stageArn); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-ivs-realtime/source/model/UpdateIngestConfigurationResult.cpp b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/UpdateIngestConfigurationResult.cpp new file mode 100644 index 00000000000..8834cf45af3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs-realtime/source/model/UpdateIngestConfigurationResult.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::ivsrealtime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateIngestConfigurationResult::UpdateIngestConfigurationResult() +{ +} + +UpdateIngestConfigurationResult::UpdateIngestConfigurationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateIngestConfigurationResult& UpdateIngestConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ingestConfiguration")) + { + m_ingestConfiguration = jsonValue.GetObject("ingestConfiguration"); + + } + + + 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-kafka/include/aws/kafka/KafkaClient.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaClient.h index de104ea73e8..5ed936db358 100644 --- a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaClient.h +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaClient.h @@ -633,8 +633,13 @@ namespace Kafka /** *

      A list of brokers that a client application can use to - * bootstrap.

      -

      See Also:

      ListClusters operation to + * get the ARNs of all the clusters in this account and Region.

      + + *

      See Also:

      AWS * API Reference

      */ diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationTopicNameConfiguration.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationTopicNameConfiguration.h new file mode 100644 index 00000000000..00a9351d419 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationTopicNameConfiguration.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

      Configuration for specifying replicated topic names should be the same as + * their corresponding upstream topics or prefixed with source cluster + * alias.

      See Also:

      AWS + * API Reference

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

      The type of replicated topic name.

      + */ + inline const ReplicationTopicNameConfigurationType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const ReplicationTopicNameConfigurationType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(ReplicationTopicNameConfigurationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline ReplicationTopicNameConfiguration& WithType(const ReplicationTopicNameConfigurationType& value) { SetType(value); return *this;} + inline ReplicationTopicNameConfiguration& WithType(ReplicationTopicNameConfigurationType&& value) { SetType(std::move(value)); return *this;} + ///@} + private: + + ReplicationTopicNameConfigurationType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationTopicNameConfigurationType.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationTopicNameConfigurationType.h new file mode 100644 index 00000000000..1cdef4ff9bf --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationTopicNameConfigurationType.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 Kafka +{ +namespace Model +{ + enum class ReplicationTopicNameConfigurationType + { + NOT_SET, + PREFIXED_WITH_SOURCE_CLUSTER_ALIAS, + IDENTICAL + }; + +namespace ReplicationTopicNameConfigurationTypeMapper +{ +AWS_KAFKA_API ReplicationTopicNameConfigurationType GetReplicationTopicNameConfigurationTypeForName(const Aws::String& name); + +AWS_KAFKA_API Aws::String GetNameForReplicationTopicNameConfigurationType(ReplicationTopicNameConfigurationType value); +} // namespace ReplicationTopicNameConfigurationTypeMapper +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplication.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplication.h index 1a12948be57..24f3956cf18 100644 --- a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplication.h +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplication.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -84,6 +85,19 @@ namespace Model inline TopicReplication& WithStartingPosition(ReplicationStartingPosition&& value) { SetStartingPosition(std::move(value)); return *this;} ///@} + ///@{ + /** + *

      Configuration for specifying replicated topic names should be the same as + * their corresponding upstream topics or prefixed with source cluster alias.

      + */ + inline const ReplicationTopicNameConfiguration& GetTopicNameConfiguration() const{ return m_topicNameConfiguration; } + inline bool TopicNameConfigurationHasBeenSet() const { return m_topicNameConfigurationHasBeenSet; } + inline void SetTopicNameConfiguration(const ReplicationTopicNameConfiguration& value) { m_topicNameConfigurationHasBeenSet = true; m_topicNameConfiguration = value; } + inline void SetTopicNameConfiguration(ReplicationTopicNameConfiguration&& value) { m_topicNameConfigurationHasBeenSet = true; m_topicNameConfiguration = std::move(value); } + inline TopicReplication& WithTopicNameConfiguration(const ReplicationTopicNameConfiguration& value) { SetTopicNameConfiguration(value); return *this;} + inline TopicReplication& WithTopicNameConfiguration(ReplicationTopicNameConfiguration&& value) { SetTopicNameConfiguration(std::move(value)); return *this;} + ///@} + ///@{ /** *

      List of regular expression patterns indicating the topics that should not be @@ -128,6 +142,9 @@ namespace Model ReplicationStartingPosition m_startingPosition; bool m_startingPositionHasBeenSet = false; + ReplicationTopicNameConfiguration m_topicNameConfiguration; + bool m_topicNameConfigurationHasBeenSet = false; + Aws::Vector m_topicsToExclude; bool m_topicsToExcludeHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationTopicNameConfiguration.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationTopicNameConfiguration.cpp new file mode 100644 index 00000000000..ea161c6823e --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationTopicNameConfiguration.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 Kafka +{ +namespace Model +{ + +ReplicationTopicNameConfiguration::ReplicationTopicNameConfiguration() : + m_type(ReplicationTopicNameConfigurationType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +ReplicationTopicNameConfiguration::ReplicationTopicNameConfiguration(JsonView jsonValue) + : ReplicationTopicNameConfiguration() +{ + *this = jsonValue; +} + +ReplicationTopicNameConfiguration& ReplicationTopicNameConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("type")) + { + m_type = ReplicationTopicNameConfigurationTypeMapper::GetReplicationTopicNameConfigurationTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue ReplicationTopicNameConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_typeHasBeenSet) + { + payload.WithString("type", ReplicationTopicNameConfigurationTypeMapper::GetNameForReplicationTopicNameConfigurationType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationTopicNameConfigurationType.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationTopicNameConfigurationType.cpp new file mode 100644 index 00000000000..97528123616 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationTopicNameConfigurationType.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 Kafka + { + namespace Model + { + namespace ReplicationTopicNameConfigurationTypeMapper + { + + static const int PREFIXED_WITH_SOURCE_CLUSTER_ALIAS_HASH = HashingUtils::HashString("PREFIXED_WITH_SOURCE_CLUSTER_ALIAS"); + static const int IDENTICAL_HASH = HashingUtils::HashString("IDENTICAL"); + + + ReplicationTopicNameConfigurationType GetReplicationTopicNameConfigurationTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == PREFIXED_WITH_SOURCE_CLUSTER_ALIAS_HASH) + { + return ReplicationTopicNameConfigurationType::PREFIXED_WITH_SOURCE_CLUSTER_ALIAS; + } + else if (hashCode == IDENTICAL_HASH) + { + return ReplicationTopicNameConfigurationType::IDENTICAL; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ReplicationTopicNameConfigurationType::NOT_SET; + } + + Aws::String GetNameForReplicationTopicNameConfigurationType(ReplicationTopicNameConfigurationType enumValue) + { + switch(enumValue) + { + case ReplicationTopicNameConfigurationType::NOT_SET: + return {}; + case ReplicationTopicNameConfigurationType::PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: + return "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS"; + case ReplicationTopicNameConfigurationType::IDENTICAL: + return "IDENTICAL"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ReplicationTopicNameConfigurationTypeMapper + } // namespace Model + } // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplication.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplication.cpp index 8217d0d962b..56d222a8183 100644 --- a/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplication.cpp +++ b/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplication.cpp @@ -26,6 +26,7 @@ TopicReplication::TopicReplication() : m_detectAndCopyNewTopics(false), m_detectAndCopyNewTopicsHasBeenSet(false), m_startingPositionHasBeenSet(false), + m_topicNameConfigurationHasBeenSet(false), m_topicsToExcludeHasBeenSet(false), m_topicsToReplicateHasBeenSet(false) { @@ -67,6 +68,13 @@ TopicReplication& TopicReplication::operator =(JsonView jsonValue) m_startingPositionHasBeenSet = true; } + if(jsonValue.ValueExists("topicNameConfiguration")) + { + m_topicNameConfiguration = jsonValue.GetObject("topicNameConfiguration"); + + m_topicNameConfigurationHasBeenSet = true; + } + if(jsonValue.ValueExists("topicsToExclude")) { Aws::Utils::Array topicsToExcludeJsonList = jsonValue.GetArray("topicsToExclude"); @@ -118,6 +126,12 @@ JsonValue TopicReplication::Jsonize() const } + if(m_topicNameConfigurationHasBeenSet) + { + payload.WithObject("topicNameConfiguration", m_topicNameConfiguration.Jsonize()); + + } + if(m_topicsToExcludeHasBeenSet) { Aws::Utils::Array topicsToExcludeJsonList(m_topicsToExclude.size()); diff --git a/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointRequest.h b/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointRequest.h index 2b78be3f68d..74eb38d8a53 100644 --- a/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointRequest.h @@ -191,6 +191,30 @@ namespace Model inline InvokeEndpointRequest& WithInferenceComponentName(Aws::String&& value) { SetInferenceComponentName(std::move(value)); return *this;} inline InvokeEndpointRequest& WithInferenceComponentName(const char* value) { SetInferenceComponentName(value); return *this;} ///@} + + ///@{ + /** + *

      Creates a stateful session or identifies an existing one. You can do one of + * the following:

      • Create a stateful session by specifying the + * value NEW_SESSION.

      • Send your request to an + * existing stateful session by specifying the ID of that session.

      + *

      With a stateful session, you can send multiple requests to a stateful model. + * When you create a session with a stateful model, the model must create the + * session ID and set the expiration time. The model must also provide that + * information in the response to your request. You can get the ID and timestamp + * from the NewSessionId response parameter. For any subsequent + * request where you specify that session ID, SageMaker routes the request to the + * same instance that supports the session.

      + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline InvokeEndpointRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline InvokeEndpointRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline InvokeEndpointRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} private: Aws::String m_endpointName; @@ -220,6 +244,9 @@ namespace Model Aws::String m_inferenceComponentName; bool m_inferenceComponentNameHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointResult.h b/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointResult.h index edbf878c43a..a1ccefb1c74 100644 --- a/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointResult.h @@ -107,6 +107,34 @@ namespace Model inline InvokeEndpointResult& WithCustomAttributes(const char* value) { SetCustomAttributes(value); return *this;} ///@} + ///@{ + /** + *

      If you created a stateful session with your request, the ID and expiration + * time that the model assigns to that session.

      + */ + inline const Aws::String& GetNewSessionId() const{ return m_newSessionId; } + inline void SetNewSessionId(const Aws::String& value) { m_newSessionId = value; } + inline void SetNewSessionId(Aws::String&& value) { m_newSessionId = std::move(value); } + inline void SetNewSessionId(const char* value) { m_newSessionId.assign(value); } + inline InvokeEndpointResult& WithNewSessionId(const Aws::String& value) { SetNewSessionId(value); return *this;} + inline InvokeEndpointResult& WithNewSessionId(Aws::String&& value) { SetNewSessionId(std::move(value)); return *this;} + inline InvokeEndpointResult& WithNewSessionId(const char* value) { SetNewSessionId(value); return *this;} + ///@} + + ///@{ + /** + *

      If you closed a stateful session with your request, the ID of that + * session.

      + */ + inline const Aws::String& GetClosedSessionId() const{ return m_closedSessionId; } + inline void SetClosedSessionId(const Aws::String& value) { m_closedSessionId = value; } + inline void SetClosedSessionId(Aws::String&& value) { m_closedSessionId = std::move(value); } + inline void SetClosedSessionId(const char* value) { m_closedSessionId.assign(value); } + inline InvokeEndpointResult& WithClosedSessionId(const Aws::String& value) { SetClosedSessionId(value); return *this;} + inline InvokeEndpointResult& WithClosedSessionId(Aws::String&& value) { SetClosedSessionId(std::move(value)); return *this;} + inline InvokeEndpointResult& WithClosedSessionId(const char* value) { SetClosedSessionId(value); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -127,6 +155,10 @@ namespace Model Aws::String m_customAttributes; + Aws::String m_newSessionId; + + Aws::String m_closedSessionId; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointWithResponseStreamRequest.h b/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointWithResponseStreamRequest.h index 9ecc55183fb..9a44adcd2e5 100644 --- a/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointWithResponseStreamRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker-runtime/include/aws/sagemaker-runtime/model/InvokeEndpointWithResponseStreamRequest.h @@ -179,6 +179,25 @@ namespace Model inline InvokeEndpointWithResponseStreamRequest& WithInferenceComponentName(Aws::String&& value) { SetInferenceComponentName(std::move(value)); return *this;} inline InvokeEndpointWithResponseStreamRequest& WithInferenceComponentName(const char* value) { SetInferenceComponentName(value); return *this;} ///@} + + ///@{ + /** + *

      The ID of a stateful session to handle your request.

      You can't create + * a stateful session by using the InvokeEndpointWithResponseStream + * action. Instead, you can create one by using the InvokeEndpoint + * action. In your request, you specify NEW_SESSION for the + * SessionId request parameter. The response to that request provides + * the session ID for the NewSessionId response parameter.

      + */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline InvokeEndpointWithResponseStreamRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline InvokeEndpointWithResponseStreamRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline InvokeEndpointWithResponseStreamRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + ///@} private: Aws::String m_endpointName; @@ -202,6 +221,9 @@ namespace Model Aws::String m_inferenceComponentName; bool m_inferenceComponentNameHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; InvokeEndpointWithResponseStreamHandler m_handler; Aws::Utils::Event::EventStreamDecoder m_decoder; diff --git a/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointRequest.cpp index 108abbca44d..4bb1283cd01 100644 --- a/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointRequest.cpp @@ -24,7 +24,8 @@ InvokeEndpointRequest::InvokeEndpointRequest() : m_targetContainerHostnameHasBeenSet(false), m_inferenceIdHasBeenSet(false), m_enableExplanationsHasBeenSet(false), - m_inferenceComponentNameHasBeenSet(false) + m_inferenceComponentNameHasBeenSet(false), + m_sessionIdHasBeenSet(false) { } @@ -90,6 +91,13 @@ Aws::Http::HeaderValueCollection InvokeEndpointRequest::GetRequestSpecificHeader ss.str(""); } + if(m_sessionIdHasBeenSet) + { + ss << m_sessionId; + headers.emplace("x-amzn-sagemaker-session-id", ss.str()); + ss.str(""); + } + return headers; } diff --git a/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointResult.cpp b/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointResult.cpp index b936db9b458..8a1bd703494 100644 --- a/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointResult.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointResult.cpp @@ -25,6 +25,8 @@ InvokeEndpointResult::InvokeEndpointResult(InvokeEndpointResult&& toMove) : m_contentType(std::move(toMove.m_contentType)), m_invokedProductionVariant(std::move(toMove.m_invokedProductionVariant)), m_customAttributes(std::move(toMove.m_customAttributes)), + m_newSessionId(std::move(toMove.m_newSessionId)), + m_closedSessionId(std::move(toMove.m_closedSessionId)), m_requestId(std::move(toMove.m_requestId)) { } @@ -40,6 +42,8 @@ InvokeEndpointResult& InvokeEndpointResult::operator=(InvokeEndpointResult&& toM m_contentType = std::move(toMove.m_contentType); m_invokedProductionVariant = std::move(toMove.m_invokedProductionVariant); m_customAttributes = std::move(toMove.m_customAttributes); + m_newSessionId = std::move(toMove.m_newSessionId); + m_closedSessionId = std::move(toMove.m_closedSessionId); m_requestId = std::move(toMove.m_requestId); return *this; @@ -73,6 +77,18 @@ InvokeEndpointResult& InvokeEndpointResult::operator =(Aws::AmazonWebServiceResu m_customAttributes = customAttributesIter->second; } + const auto& newSessionIdIter = headers.find("x-amzn-sagemaker-new-session-id"); + if(newSessionIdIter != headers.end()) + { + m_newSessionId = newSessionIdIter->second; + } + + const auto& closedSessionIdIter = headers.find("x-amzn-sagemaker-closed-session-id"); + if(closedSessionIdIter != headers.end()) + { + m_closedSessionId = closedSessionIdIter->second; + } + const auto& requestIdIter = headers.find("x-amzn-requestid"); if(requestIdIter != headers.end()) { diff --git a/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointWithResponseStreamRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointWithResponseStreamRequest.cpp index 272b463473f..a73fcb0c62b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointWithResponseStreamRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker-runtime/source/model/InvokeEndpointWithResponseStreamRequest.cpp @@ -23,6 +23,7 @@ InvokeEndpointWithResponseStreamRequest::InvokeEndpointWithResponseStreamRequest m_targetContainerHostnameHasBeenSet(false), m_inferenceIdHasBeenSet(false), m_inferenceComponentNameHasBeenSet(false), + m_sessionIdHasBeenSet(false), m_handler(), m_decoder(Aws::Utils::Event::EventStreamDecoder(&m_handler)) { AmazonWebServiceRequest::SetHeadersReceivedEventHandler([this](const Http::HttpRequest*, Http::HttpResponse* response) @@ -82,6 +83,13 @@ Aws::Http::HeaderValueCollection InvokeEndpointWithResponseStreamRequest::GetReq ss.str(""); } + if(m_sessionIdHasBeenSet) + { + ss << m_sessionId; + headers.emplace("x-amzn-sagemaker-session-id", ss.str()); + ss.str(""); + } + return headers; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceGroupDetails.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceGroupDetails.h index c23faba8531..2d3c5b55abd 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceGroupDetails.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceGroupDetails.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -147,6 +148,21 @@ namespace Model inline ClusterInstanceGroupDetails& AddInstanceStorageConfigs(const ClusterInstanceStorageConfig& value) { m_instanceStorageConfigsHasBeenSet = true; m_instanceStorageConfigs.push_back(value); return *this; } inline ClusterInstanceGroupDetails& AddInstanceStorageConfigs(ClusterInstanceStorageConfig&& value) { m_instanceStorageConfigsHasBeenSet = true; m_instanceStorageConfigs.push_back(std::move(value)); return *this; } ///@} + + ///@{ + /** + *

      A flag indicating whether deep health checks should be performed when the + * cluster instance group is created or updated.

      + */ + inline const Aws::Vector& GetOnStartDeepHealthChecks() const{ return m_onStartDeepHealthChecks; } + inline bool OnStartDeepHealthChecksHasBeenSet() const { return m_onStartDeepHealthChecksHasBeenSet; } + inline void SetOnStartDeepHealthChecks(const Aws::Vector& value) { m_onStartDeepHealthChecksHasBeenSet = true; m_onStartDeepHealthChecks = value; } + inline void SetOnStartDeepHealthChecks(Aws::Vector&& value) { m_onStartDeepHealthChecksHasBeenSet = true; m_onStartDeepHealthChecks = std::move(value); } + inline ClusterInstanceGroupDetails& WithOnStartDeepHealthChecks(const Aws::Vector& value) { SetOnStartDeepHealthChecks(value); return *this;} + inline ClusterInstanceGroupDetails& WithOnStartDeepHealthChecks(Aws::Vector&& value) { SetOnStartDeepHealthChecks(std::move(value)); return *this;} + inline ClusterInstanceGroupDetails& AddOnStartDeepHealthChecks(const DeepHealthCheckType& value) { m_onStartDeepHealthChecksHasBeenSet = true; m_onStartDeepHealthChecks.push_back(value); return *this; } + inline ClusterInstanceGroupDetails& AddOnStartDeepHealthChecks(DeepHealthCheckType&& value) { m_onStartDeepHealthChecksHasBeenSet = true; m_onStartDeepHealthChecks.push_back(std::move(value)); return *this; } + ///@} private: int m_currentCount; @@ -172,6 +188,9 @@ namespace Model Aws::Vector m_instanceStorageConfigs; bool m_instanceStorageConfigsHasBeenSet = false; + + Aws::Vector m_onStartDeepHealthChecks; + bool m_onStartDeepHealthChecksHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceGroupSpecification.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceGroupSpecification.h index 8d3fe283b6e..4def19f4daa 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceGroupSpecification.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceGroupSpecification.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -136,6 +137,21 @@ namespace Model inline ClusterInstanceGroupSpecification& AddInstanceStorageConfigs(const ClusterInstanceStorageConfig& value) { m_instanceStorageConfigsHasBeenSet = true; m_instanceStorageConfigs.push_back(value); return *this; } inline ClusterInstanceGroupSpecification& AddInstanceStorageConfigs(ClusterInstanceStorageConfig&& value) { m_instanceStorageConfigsHasBeenSet = true; m_instanceStorageConfigs.push_back(std::move(value)); return *this; } ///@} + + ///@{ + /** + *

      A flag indicating whether deep health checks should be performed when the + * cluster instance group is created or updated.

      + */ + inline const Aws::Vector& GetOnStartDeepHealthChecks() const{ return m_onStartDeepHealthChecks; } + inline bool OnStartDeepHealthChecksHasBeenSet() const { return m_onStartDeepHealthChecksHasBeenSet; } + inline void SetOnStartDeepHealthChecks(const Aws::Vector& value) { m_onStartDeepHealthChecksHasBeenSet = true; m_onStartDeepHealthChecks = value; } + inline void SetOnStartDeepHealthChecks(Aws::Vector&& value) { m_onStartDeepHealthChecksHasBeenSet = true; m_onStartDeepHealthChecks = std::move(value); } + inline ClusterInstanceGroupSpecification& WithOnStartDeepHealthChecks(const Aws::Vector& value) { SetOnStartDeepHealthChecks(value); return *this;} + inline ClusterInstanceGroupSpecification& WithOnStartDeepHealthChecks(Aws::Vector&& value) { SetOnStartDeepHealthChecks(std::move(value)); return *this;} + inline ClusterInstanceGroupSpecification& AddOnStartDeepHealthChecks(const DeepHealthCheckType& value) { m_onStartDeepHealthChecksHasBeenSet = true; m_onStartDeepHealthChecks.push_back(value); return *this; } + inline ClusterInstanceGroupSpecification& AddOnStartDeepHealthChecks(DeepHealthCheckType&& value) { m_onStartDeepHealthChecksHasBeenSet = true; m_onStartDeepHealthChecks.push_back(std::move(value)); return *this; } + ///@} private: int m_instanceCount; @@ -158,6 +174,9 @@ namespace Model Aws::Vector m_instanceStorageConfigs; bool m_instanceStorageConfigsHasBeenSet = false; + + Aws::Vector m_onStartDeepHealthChecks; + bool m_onStartDeepHealthChecksHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceStatus.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceStatus.h index 0365a319a1c..01e30060484 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceStatus.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterInstanceStatus.h @@ -20,7 +20,8 @@ namespace Model Failure, Pending, ShuttingDown, - SystemUpdating + SystemUpdating, + DeepHealthCheckInProgress }; namespace ClusterInstanceStatusMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterNodeRecovery.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterNodeRecovery.h new file mode 100644 index 00000000000..27f64a50496 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterNodeRecovery.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 SageMaker +{ +namespace Model +{ + enum class ClusterNodeRecovery + { + NOT_SET, + Automatic, + None + }; + +namespace ClusterNodeRecoveryMapper +{ +AWS_SAGEMAKER_API ClusterNodeRecovery GetClusterNodeRecoveryForName(const Aws::String& name); + +AWS_SAGEMAKER_API Aws::String GetNameForClusterNodeRecovery(ClusterNodeRecovery value); +} // namespace ClusterNodeRecoveryMapper +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterOrchestrator.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterOrchestrator.h new file mode 100644 index 00000000000..fa727d8f800 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterOrchestrator.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace SageMaker +{ +namespace Model +{ + + /** + *

      The type of orchestrator used for the SageMaker HyperPod + * cluster.

      See Also:

      AWS + * API Reference

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

      The Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod + * cluster.

      + */ + inline const ClusterOrchestratorEksConfig& GetEks() const{ return m_eks; } + inline bool EksHasBeenSet() const { return m_eksHasBeenSet; } + inline void SetEks(const ClusterOrchestratorEksConfig& value) { m_eksHasBeenSet = true; m_eks = value; } + inline void SetEks(ClusterOrchestratorEksConfig&& value) { m_eksHasBeenSet = true; m_eks = std::move(value); } + inline ClusterOrchestrator& WithEks(const ClusterOrchestratorEksConfig& value) { SetEks(value); return *this;} + inline ClusterOrchestrator& WithEks(ClusterOrchestratorEksConfig&& value) { SetEks(std::move(value)); return *this;} + ///@} + private: + + ClusterOrchestratorEksConfig m_eks; + bool m_eksHasBeenSet = false; + }; + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterOrchestratorEksConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterOrchestratorEksConfig.h new file mode 100644 index 00000000000..b22c48254c8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ClusterOrchestratorEksConfig.h @@ -0,0 +1,63 @@ +/** + * 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 SageMaker +{ +namespace Model +{ + + /** + *

      The configuration settings for the Amazon EKS cluster used as the + * orchestrator for the SageMaker HyperPod cluster.

      See Also:

      AWS + * API Reference

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

      The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the + * SageMaker HyperPod cluster.

      + */ + inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } + inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } + inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } + inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } + inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } + inline ClusterOrchestratorEksConfig& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} + inline ClusterOrchestratorEksConfig& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} + inline ClusterOrchestratorEksConfig& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} + ///@} + private: + + Aws::String m_clusterArn; + bool m_clusterArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CodeEditorAppSettings.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CodeEditorAppSettings.h index 13d4ab55dcf..1ab95e9b737 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CodeEditorAppSettings.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CodeEditorAppSettings.h @@ -88,7 +88,7 @@ namespace Model ///@{ /** *

      Settings that are used to configure and manage the lifecycle of CodeEditor - * applications.

      + * applications.

      */ inline const AppLifecycleManagement& GetAppLifecycleManagement() const{ return m_appLifecycleManagement; } inline bool AppLifecycleManagementHasBeenSet() const { return m_appLifecycleManagementHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateClusterRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateClusterRequest.h index 09434927a6b..116c40e7511 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateClusterRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateClusterRequest.h @@ -9,6 +9,8 @@ #include #include #include +#include +#include #include #include #include @@ -94,6 +96,35 @@ namespace Model inline CreateClusterRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } inline CreateClusterRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } ///@} + + ///@{ + /** + *

      The type of orchestrator to use for the SageMaker HyperPod cluster. + * Currently, the only supported value is "eks", which is to use an + * Amazon Elastic Kubernetes Service (EKS) cluster as the orchestrator.

      + */ + inline const ClusterOrchestrator& GetOrchestrator() const{ return m_orchestrator; } + inline bool OrchestratorHasBeenSet() const { return m_orchestratorHasBeenSet; } + inline void SetOrchestrator(const ClusterOrchestrator& value) { m_orchestratorHasBeenSet = true; m_orchestrator = value; } + inline void SetOrchestrator(ClusterOrchestrator&& value) { m_orchestratorHasBeenSet = true; m_orchestrator = std::move(value); } + inline CreateClusterRequest& WithOrchestrator(const ClusterOrchestrator& value) { SetOrchestrator(value); return *this;} + inline CreateClusterRequest& WithOrchestrator(ClusterOrchestrator&& value) { SetOrchestrator(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The node recovery mode for the SageMaker HyperPod cluster. When set to + * Automatic, SageMaker HyperPod will automatically reboot or replace + * faulty nodes when issues are detected. When set to None, cluster + * administrators will need to manually manage any faulty cluster instances.

      + */ + inline const ClusterNodeRecovery& GetNodeRecovery() const{ return m_nodeRecovery; } + inline bool NodeRecoveryHasBeenSet() const { return m_nodeRecoveryHasBeenSet; } + inline void SetNodeRecovery(const ClusterNodeRecovery& value) { m_nodeRecoveryHasBeenSet = true; m_nodeRecovery = value; } + inline void SetNodeRecovery(ClusterNodeRecovery&& value) { m_nodeRecoveryHasBeenSet = true; m_nodeRecovery = std::move(value); } + inline CreateClusterRequest& WithNodeRecovery(const ClusterNodeRecovery& value) { SetNodeRecovery(value); return *this;} + inline CreateClusterRequest& WithNodeRecovery(ClusterNodeRecovery&& value) { SetNodeRecovery(std::move(value)); return *this;} + ///@} private: Aws::String m_clusterName; @@ -107,6 +138,12 @@ namespace Model Aws::Vector m_tags; bool m_tagsHasBeenSet = false; + + ClusterOrchestrator m_orchestrator; + bool m_orchestratorHasBeenSet = false; + + ClusterNodeRecovery m_nodeRecovery; + bool m_nodeRecoveryHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeepHealthCheckType.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeepHealthCheckType.h new file mode 100644 index 00000000000..36fc88af685 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeepHealthCheckType.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 SageMaker +{ +namespace Model +{ + enum class DeepHealthCheckType + { + NOT_SET, + InstanceStress, + InstanceConnectivity + }; + +namespace DeepHealthCheckTypeMapper +{ +AWS_SAGEMAKER_API DeepHealthCheckType GetDeepHealthCheckTypeForName(const Aws::String& name); + +AWS_SAGEMAKER_API Aws::String GetNameForDeepHealthCheckType(DeepHealthCheckType value); +} // namespace DeepHealthCheckTypeMapper +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeClusterResult.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeClusterResult.h index 52cc5154dc8..e48080b7647 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeClusterResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeClusterResult.h @@ -10,6 +10,8 @@ #include #include #include +#include +#include #include #include @@ -120,6 +122,28 @@ namespace Model inline DescribeClusterResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} ///@} + ///@{ + /** + *

      The type of orchestrator used for the SageMaker HyperPod cluster.

      + */ + inline const ClusterOrchestrator& GetOrchestrator() const{ return m_orchestrator; } + inline void SetOrchestrator(const ClusterOrchestrator& value) { m_orchestrator = value; } + inline void SetOrchestrator(ClusterOrchestrator&& value) { m_orchestrator = std::move(value); } + inline DescribeClusterResult& WithOrchestrator(const ClusterOrchestrator& value) { SetOrchestrator(value); return *this;} + inline DescribeClusterResult& WithOrchestrator(ClusterOrchestrator&& value) { SetOrchestrator(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The node recovery mode configured for the SageMaker HyperPod cluster.

      + */ + inline const ClusterNodeRecovery& GetNodeRecovery() const{ return m_nodeRecovery; } + inline void SetNodeRecovery(const ClusterNodeRecovery& value) { m_nodeRecovery = value; } + inline void SetNodeRecovery(ClusterNodeRecovery&& value) { m_nodeRecovery = std::move(value); } + inline DescribeClusterResult& WithNodeRecovery(const ClusterNodeRecovery& value) { SetNodeRecovery(value); return *this;} + inline DescribeClusterResult& WithNodeRecovery(ClusterNodeRecovery&& value) { SetNodeRecovery(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -146,6 +170,10 @@ namespace Model VpcConfig m_vpcConfig; + ClusterOrchestrator m_orchestrator; + + ClusterNodeRecovery m_nodeRecovery; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateClusterRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateClusterRequest.h index 1260e37a3db..ba5d8d956d5 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateClusterRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateClusterRequest.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -63,6 +64,18 @@ namespace Model inline UpdateClusterRequest& AddInstanceGroups(const ClusterInstanceGroupSpecification& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(value); return *this; } inline UpdateClusterRequest& AddInstanceGroups(ClusterInstanceGroupSpecification&& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(std::move(value)); return *this; } ///@} + + ///@{ + /** + *

      The node recovery mode to be applied to the SageMaker HyperPod cluster.

      + */ + inline const ClusterNodeRecovery& GetNodeRecovery() const{ return m_nodeRecovery; } + inline bool NodeRecoveryHasBeenSet() const { return m_nodeRecoveryHasBeenSet; } + inline void SetNodeRecovery(const ClusterNodeRecovery& value) { m_nodeRecoveryHasBeenSet = true; m_nodeRecovery = value; } + inline void SetNodeRecovery(ClusterNodeRecovery&& value) { m_nodeRecoveryHasBeenSet = true; m_nodeRecovery = std::move(value); } + inline UpdateClusterRequest& WithNodeRecovery(const ClusterNodeRecovery& value) { SetNodeRecovery(value); return *this;} + inline UpdateClusterRequest& WithNodeRecovery(ClusterNodeRecovery&& value) { SetNodeRecovery(std::move(value)); return *this;} + ///@} private: Aws::String m_clusterName; @@ -70,6 +83,9 @@ namespace Model Aws::Vector m_instanceGroups; bool m_instanceGroupsHasBeenSet = false; + + ClusterNodeRecovery m_nodeRecovery; + bool m_nodeRecoveryHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceGroupDetails.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceGroupDetails.cpp index 62e00455016..bedba034dbe 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceGroupDetails.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceGroupDetails.cpp @@ -30,7 +30,8 @@ ClusterInstanceGroupDetails::ClusterInstanceGroupDetails() : m_executionRoleHasBeenSet(false), m_threadsPerCore(0), m_threadsPerCoreHasBeenSet(false), - m_instanceStorageConfigsHasBeenSet(false) + m_instanceStorageConfigsHasBeenSet(false), + m_onStartDeepHealthChecksHasBeenSet(false) { } @@ -101,6 +102,16 @@ ClusterInstanceGroupDetails& ClusterInstanceGroupDetails::operator =(JsonView js m_instanceStorageConfigsHasBeenSet = true; } + if(jsonValue.ValueExists("OnStartDeepHealthChecks")) + { + Aws::Utils::Array onStartDeepHealthChecksJsonList = jsonValue.GetArray("OnStartDeepHealthChecks"); + for(unsigned onStartDeepHealthChecksIndex = 0; onStartDeepHealthChecksIndex < onStartDeepHealthChecksJsonList.GetLength(); ++onStartDeepHealthChecksIndex) + { + m_onStartDeepHealthChecks.push_back(DeepHealthCheckTypeMapper::GetDeepHealthCheckTypeForName(onStartDeepHealthChecksJsonList[onStartDeepHealthChecksIndex].AsString())); + } + m_onStartDeepHealthChecksHasBeenSet = true; + } + return *this; } @@ -160,6 +171,17 @@ JsonValue ClusterInstanceGroupDetails::Jsonize() const } + if(m_onStartDeepHealthChecksHasBeenSet) + { + Aws::Utils::Array onStartDeepHealthChecksJsonList(m_onStartDeepHealthChecks.size()); + for(unsigned onStartDeepHealthChecksIndex = 0; onStartDeepHealthChecksIndex < onStartDeepHealthChecksJsonList.GetLength(); ++onStartDeepHealthChecksIndex) + { + onStartDeepHealthChecksJsonList[onStartDeepHealthChecksIndex].AsString(DeepHealthCheckTypeMapper::GetNameForDeepHealthCheckType(m_onStartDeepHealthChecks[onStartDeepHealthChecksIndex])); + } + payload.WithArray("OnStartDeepHealthChecks", std::move(onStartDeepHealthChecksJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceGroupSpecification.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceGroupSpecification.cpp index f8b6aea2a84..9693f989e53 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceGroupSpecification.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceGroupSpecification.cpp @@ -28,7 +28,8 @@ ClusterInstanceGroupSpecification::ClusterInstanceGroupSpecification() : m_executionRoleHasBeenSet(false), m_threadsPerCore(0), m_threadsPerCoreHasBeenSet(false), - m_instanceStorageConfigsHasBeenSet(false) + m_instanceStorageConfigsHasBeenSet(false), + m_onStartDeepHealthChecksHasBeenSet(false) { } @@ -92,6 +93,16 @@ ClusterInstanceGroupSpecification& ClusterInstanceGroupSpecification::operator = m_instanceStorageConfigsHasBeenSet = true; } + if(jsonValue.ValueExists("OnStartDeepHealthChecks")) + { + Aws::Utils::Array onStartDeepHealthChecksJsonList = jsonValue.GetArray("OnStartDeepHealthChecks"); + for(unsigned onStartDeepHealthChecksIndex = 0; onStartDeepHealthChecksIndex < onStartDeepHealthChecksJsonList.GetLength(); ++onStartDeepHealthChecksIndex) + { + m_onStartDeepHealthChecks.push_back(DeepHealthCheckTypeMapper::GetDeepHealthCheckTypeForName(onStartDeepHealthChecksJsonList[onStartDeepHealthChecksIndex].AsString())); + } + m_onStartDeepHealthChecksHasBeenSet = true; + } + return *this; } @@ -145,6 +156,17 @@ JsonValue ClusterInstanceGroupSpecification::Jsonize() const } + if(m_onStartDeepHealthChecksHasBeenSet) + { + Aws::Utils::Array onStartDeepHealthChecksJsonList(m_onStartDeepHealthChecks.size()); + for(unsigned onStartDeepHealthChecksIndex = 0; onStartDeepHealthChecksIndex < onStartDeepHealthChecksJsonList.GetLength(); ++onStartDeepHealthChecksIndex) + { + onStartDeepHealthChecksJsonList[onStartDeepHealthChecksIndex].AsString(DeepHealthCheckTypeMapper::GetNameForDeepHealthCheckType(m_onStartDeepHealthChecks[onStartDeepHealthChecksIndex])); + } + payload.WithArray("OnStartDeepHealthChecks", std::move(onStartDeepHealthChecksJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceStatus.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceStatus.cpp index 63208bee21c..1a3ed083d4f 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceStatus.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterInstanceStatus.cpp @@ -25,6 +25,7 @@ namespace Aws static const int Pending_HASH = HashingUtils::HashString("Pending"); static const int ShuttingDown_HASH = HashingUtils::HashString("ShuttingDown"); static const int SystemUpdating_HASH = HashingUtils::HashString("SystemUpdating"); + static const int DeepHealthCheckInProgress_HASH = HashingUtils::HashString("DeepHealthCheckInProgress"); ClusterInstanceStatus GetClusterInstanceStatusForName(const Aws::String& name) @@ -50,6 +51,10 @@ namespace Aws { return ClusterInstanceStatus::SystemUpdating; } + else if (hashCode == DeepHealthCheckInProgress_HASH) + { + return ClusterInstanceStatus::DeepHealthCheckInProgress; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -76,6 +81,8 @@ namespace Aws return "ShuttingDown"; case ClusterInstanceStatus::SystemUpdating: return "SystemUpdating"; + case ClusterInstanceStatus::DeepHealthCheckInProgress: + return "DeepHealthCheckInProgress"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterNodeRecovery.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterNodeRecovery.cpp new file mode 100644 index 00000000000..f1d4cf0e67c --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterNodeRecovery.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 SageMaker + { + namespace Model + { + namespace ClusterNodeRecoveryMapper + { + + static const int Automatic_HASH = HashingUtils::HashString("Automatic"); + static const int None_HASH = HashingUtils::HashString("None"); + + + ClusterNodeRecovery GetClusterNodeRecoveryForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Automatic_HASH) + { + return ClusterNodeRecovery::Automatic; + } + else if (hashCode == None_HASH) + { + return ClusterNodeRecovery::None; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ClusterNodeRecovery::NOT_SET; + } + + Aws::String GetNameForClusterNodeRecovery(ClusterNodeRecovery enumValue) + { + switch(enumValue) + { + case ClusterNodeRecovery::NOT_SET: + return {}; + case ClusterNodeRecovery::Automatic: + return "Automatic"; + case ClusterNodeRecovery::None: + return "None"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ClusterNodeRecoveryMapper + } // namespace Model + } // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterOrchestrator.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterOrchestrator.cpp new file mode 100644 index 00000000000..03ff9999e9a --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterOrchestrator.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 SageMaker +{ +namespace Model +{ + +ClusterOrchestrator::ClusterOrchestrator() : + m_eksHasBeenSet(false) +{ +} + +ClusterOrchestrator::ClusterOrchestrator(JsonView jsonValue) + : ClusterOrchestrator() +{ + *this = jsonValue; +} + +ClusterOrchestrator& ClusterOrchestrator::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Eks")) + { + m_eks = jsonValue.GetObject("Eks"); + + m_eksHasBeenSet = true; + } + + return *this; +} + +JsonValue ClusterOrchestrator::Jsonize() const +{ + JsonValue payload; + + if(m_eksHasBeenSet) + { + payload.WithObject("Eks", m_eks.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterOrchestratorEksConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterOrchestratorEksConfig.cpp new file mode 100644 index 00000000000..a5cb64f20db --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ClusterOrchestratorEksConfig.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 SageMaker +{ +namespace Model +{ + +ClusterOrchestratorEksConfig::ClusterOrchestratorEksConfig() : + m_clusterArnHasBeenSet(false) +{ +} + +ClusterOrchestratorEksConfig::ClusterOrchestratorEksConfig(JsonView jsonValue) + : ClusterOrchestratorEksConfig() +{ + *this = jsonValue; +} + +ClusterOrchestratorEksConfig& ClusterOrchestratorEksConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ClusterArn")) + { + m_clusterArn = jsonValue.GetString("ClusterArn"); + + m_clusterArnHasBeenSet = true; + } + + return *this; +} + +JsonValue ClusterOrchestratorEksConfig::Jsonize() const +{ + JsonValue payload; + + if(m_clusterArnHasBeenSet) + { + payload.WithString("ClusterArn", m_clusterArn); + + } + + return payload; +} + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateClusterRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateClusterRequest.cpp index 731c522d92c..33bac57ff11 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateClusterRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateClusterRequest.cpp @@ -16,7 +16,10 @@ CreateClusterRequest::CreateClusterRequest() : m_clusterNameHasBeenSet(false), m_instanceGroupsHasBeenSet(false), m_vpcConfigHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_orchestratorHasBeenSet(false), + m_nodeRecovery(ClusterNodeRecovery::NOT_SET), + m_nodeRecoveryHasBeenSet(false) { } @@ -58,6 +61,17 @@ Aws::String CreateClusterRequest::SerializePayload() const } + if(m_orchestratorHasBeenSet) + { + payload.WithObject("Orchestrator", m_orchestrator.Jsonize()); + + } + + if(m_nodeRecoveryHasBeenSet) + { + payload.WithString("NodeRecovery", ClusterNodeRecoveryMapper::GetNameForClusterNodeRecovery(m_nodeRecovery)); + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DeepHealthCheckType.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeepHealthCheckType.cpp new file mode 100644 index 00000000000..4dc24e6b300 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeepHealthCheckType.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 SageMaker + { + namespace Model + { + namespace DeepHealthCheckTypeMapper + { + + static const int InstanceStress_HASH = HashingUtils::HashString("InstanceStress"); + static const int InstanceConnectivity_HASH = HashingUtils::HashString("InstanceConnectivity"); + + + DeepHealthCheckType GetDeepHealthCheckTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == InstanceStress_HASH) + { + return DeepHealthCheckType::InstanceStress; + } + else if (hashCode == InstanceConnectivity_HASH) + { + return DeepHealthCheckType::InstanceConnectivity; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return DeepHealthCheckType::NOT_SET; + } + + Aws::String GetNameForDeepHealthCheckType(DeepHealthCheckType enumValue) + { + switch(enumValue) + { + case DeepHealthCheckType::NOT_SET: + return {}; + case DeepHealthCheckType::InstanceStress: + return "InstanceStress"; + case DeepHealthCheckType::InstanceConnectivity: + return "InstanceConnectivity"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace DeepHealthCheckTypeMapper + } // namespace Model + } // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeClusterResult.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeClusterResult.cpp index 5f22cbc1628..be051980315 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeClusterResult.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeClusterResult.cpp @@ -18,7 +18,8 @@ using namespace Aws::Utils; using namespace Aws; DescribeClusterResult::DescribeClusterResult() : - m_clusterStatus(ClusterStatus::NOT_SET) + m_clusterStatus(ClusterStatus::NOT_SET), + m_nodeRecovery(ClusterNodeRecovery::NOT_SET) { } @@ -76,6 +77,18 @@ DescribeClusterResult& DescribeClusterResult::operator =(const Aws::AmazonWebSer } + if(jsonValue.ValueExists("Orchestrator")) + { + m_orchestrator = jsonValue.GetObject("Orchestrator"); + + } + + if(jsonValue.ValueExists("NodeRecovery")) + { + m_nodeRecovery = ClusterNodeRecoveryMapper::GetClusterNodeRecoveryForName(jsonValue.GetString("NodeRecovery")); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateClusterRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateClusterRequest.cpp index 6c214381aa6..f9790ee3456 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateClusterRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateClusterRequest.cpp @@ -14,7 +14,9 @@ using namespace Aws::Utils; UpdateClusterRequest::UpdateClusterRequest() : m_clusterNameHasBeenSet(false), - m_instanceGroupsHasBeenSet(false) + m_instanceGroupsHasBeenSet(false), + m_nodeRecovery(ClusterNodeRecovery::NOT_SET), + m_nodeRecoveryHasBeenSet(false) { } @@ -39,6 +41,11 @@ Aws::String UpdateClusterRequest::SerializePayload() const } + if(m_nodeRecoveryHasBeenSet) + { + payload.WithString("NodeRecovery", ClusterNodeRecoveryMapper::GetNameForClusterNodeRecovery(m_nodeRecovery)); + } + 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 a8d06cf7e84..01b05d2b1f7 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.400" +#define AWS_SDK_VERSION_STRING "1.11.401" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 400 +#define AWS_SDK_VERSION_PATCH 401 diff --git a/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json b/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json index 9b95e4b2019..e3511f9b90c 100644 --- a/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json +++ b/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json @@ -766,7 +766,7 @@ {"shape":"InternalServerError"}, {"shape":"ResourceInUseException"} ], - "documentation":"

      Associate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to five times per second, per account.

      For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.

      ", + "documentation":"

      Associate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to five times per second, per account.

      • TagResource is an asynchronous operation. If you issue a ListTagsOfResource request immediately after a TagResource request, DynamoDB might return your previous tag set, if there was one, or an empty tag set. This is because ListTagsOfResource uses an eventually consistent query, and the metadata for your tags or table might not be available at that moment. Wait for a few seconds, and then try the ListTagsOfResource request again.

      • The application or removal of tags using TagResource and UntagResource APIs is eventually consistent. ListTagsOfResource API will only reflect the changes after a few seconds.

      For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.

      ", "endpointdiscovery":{ } }, @@ -823,7 +823,7 @@ {"shape":"InternalServerError"}, {"shape":"ResourceInUseException"} ], - "documentation":"

      Removes the association of tags from an Amazon DynamoDB resource. You can call UntagResource up to five times per second, per account.

      For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.

      ", + "documentation":"

      Removes the association of tags from an Amazon DynamoDB resource. You can call UntagResource up to five times per second, per account.

      • UntagResource is an asynchronous operation. If you issue a ListTagsOfResource request immediately after an UntagResource request, DynamoDB might return your previous tag set, if there was one, or an empty tag set. This is because ListTagsOfResource uses an eventually consistent query, and the metadata for your tags or table might not be available at that moment. Wait for a few seconds, and then try the ListTagsOfResource request again.

      • The application or removal of tags using TagResource and UntagResource APIs is eventually consistent. ListTagsOfResource API will only reflect the changes after a few seconds.

      For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.

      ", "endpointdiscovery":{ } }, @@ -5230,7 +5230,7 @@ "documentation":"

      The resource which is being attempted to be changed is in use.

      " } }, - "documentation":"

      The operation conflicts with the resource's availability. For example, you attempted to recreate an existing table, or tried to delete a table currently in the CREATING state.

      ", + "documentation":"

      The operation conflicts with the resource's availability. For example:

      • You attempted to recreate an existing table.

      • You tried to delete a table currently in the CREATING state.

      • You tried to update a resource that was already being updated.

      When appropriate, wait for the ongoing update to complete and attempt the request again.

      ", "exception":true }, "ResourceNotFoundException":{ diff --git a/tools/code-generation/api-descriptions/ivs-realtime-2020-07-14.normal.json b/tools/code-generation/api-descriptions/ivs-realtime-2020-07-14.normal.json index 76bbe212f35..6d76fe7d40e 100644 --- a/tools/code-generation/api-descriptions/ivs-realtime-2020-07-14.normal.json +++ b/tools/code-generation/api-descriptions/ivs-realtime-2020-07-14.normal.json @@ -3,8 +3,8 @@ "metadata":{ "apiVersion":"2020-07-14", "endpointPrefix":"ivsrealtime", + "jsonVersion":"1.1", "protocol":"rest-json", - "protocols":["rest-json"], "serviceAbbreviation":"ivsrealtime", "serviceFullName":"Amazon Interactive Video Service RealTime", "serviceId":"IVS RealTime", @@ -33,6 +33,23 @@ ], "documentation":"

      Creates an EncoderConfiguration object.

      " }, + "CreateIngestConfiguration":{ + "name":"CreateIngestConfiguration", + "http":{ + "method":"POST", + "requestUri":"/CreateIngestConfiguration", + "responseCode":200 + }, + "input":{"shape":"CreateIngestConfigurationRequest"}, + "output":{"shape":"CreateIngestConfigurationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"PendingVerification"} + ], + "documentation":"

      Creates a new IngestConfiguration resource, used to specify the ingest protocol for a stage.

      " + }, "CreateParticipantToken":{ "name":"CreateParticipantToken", "http":{ @@ -107,6 +124,24 @@ ], "documentation":"

      Deletes an EncoderConfiguration resource. Ensures that no Compositions are using this template; otherwise, returns an error.

      " }, + "DeleteIngestConfiguration":{ + "name":"DeleteIngestConfiguration", + "http":{ + "method":"POST", + "requestUri":"/DeleteIngestConfiguration", + "responseCode":200 + }, + "input":{"shape":"DeleteIngestConfigurationRequest"}, + "output":{"shape":"DeleteIngestConfigurationResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"PendingVerification"} + ], + "documentation":"

      Deletes a specified IngestConfiguration, so it can no longer be used to broadcast. An IngestConfiguration cannot be deleted if the publisher is actively streaming to a stage, unless force is set to true.

      " + }, "DeletePublicKey":{ "name":"DeletePublicKey", "http":{ @@ -141,7 +176,7 @@ {"shape":"ConflictException"}, {"shape":"PendingVerification"} ], - "documentation":"

      Shuts down and deletes the specified stage (disconnecting all participants).

      " + "documentation":"

      Shuts down and deletes the specified stage (disconnecting all participants). This operation also removes the stageArn from the associated IngestConfiguration, if there are participants using the IngestConfiguration to publish to the stage.

      " }, "DeleteStorageConfiguration":{ "name":"DeleteStorageConfiguration", @@ -177,7 +212,7 @@ {"shape":"AccessDeniedException"}, {"shape":"PendingVerification"} ], - "documentation":"

      Disconnects a specified participant and revokes the participant permanently from a specified stage.

      " + "documentation":"

      Disconnects a specified participant from a specified stage. If the participant is publishing using an IngestConfiguration, DisconnectParticipant also updates the stageArn in the IngestConfiguration to be an empty string.

      " }, "GetComposition":{ "name":"GetComposition", @@ -217,6 +252,22 @@ ], "documentation":"

      Gets information about the specified EncoderConfiguration resource.

      " }, + "GetIngestConfiguration":{ + "name":"GetIngestConfiguration", + "http":{ + "method":"POST", + "requestUri":"/GetIngestConfiguration", + "responseCode":200 + }, + "input":{"shape":"GetIngestConfigurationRequest"}, + "output":{"shape":"GetIngestConfigurationResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

      Gets information about the specified IngestConfiguration.

      " + }, "GetParticipant":{ "name":"GetParticipant", "http":{ @@ -354,6 +405,21 @@ ], "documentation":"

      Gets summary information about all EncoderConfigurations in your account, in the AWS region where the API request is processed.

      " }, + "ListIngestConfigurations":{ + "name":"ListIngestConfigurations", + "http":{ + "method":"POST", + "requestUri":"/ListIngestConfigurations", + "responseCode":200 + }, + "input":{"shape":"ListIngestConfigurationsRequest"}, + "output":{"shape":"ListIngestConfigurationsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

      Lists all IngestConfigurations in your account, in the AWS region where the API request is processed.

      " + }, "ListParticipantEvents":{ "name":"ListParticipantEvents", "http":{ @@ -482,7 +548,7 @@ {"shape":"ConflictException"}, {"shape":"PendingVerification"} ], - "documentation":"

      Starts a Composition from a stage based on the configuration provided in the request.

      A Composition is an ephemeral resource that exists after this endpoint returns successfully. Composition stops and the resource is deleted:

      • When StopComposition is called.

      • After a 1-minute timeout, when all participants are disconnected from the stage.

      • After a 1-minute timeout, if there are no participants in the stage when StartComposition is called.

      • When broadcasting to the IVS channel fails and all retries are exhausted.

      • When broadcasting is disconnected and all attempts to reconnect are exhausted.

      " + "documentation":"

      Starts a Composition from a stage based on the configuration provided in the request.

      A Composition is an ephemeral resource that exists after this operation returns successfully. Composition stops and the resource is deleted:

      • When StopComposition is called.

      • After a 1-minute timeout, when all participants are disconnected from the stage.

      • After a 1-minute timeout, if there are no participants in the stage when StartComposition is called.

      • When broadcasting to the IVS channel fails and all retries are exhausted.

      • When broadcasting is disconnected and all attempts to reconnect are exhausted.

      " }, "StopComposition":{ "name":"StopComposition", @@ -536,6 +602,24 @@ "documentation":"

      Removes tags from the resource with the specified ARN.

      ", "idempotent":true }, + "UpdateIngestConfiguration":{ + "name":"UpdateIngestConfiguration", + "http":{ + "method":"POST", + "requestUri":"/UpdateIngestConfiguration", + "responseCode":200 + }, + "input":{"shape":"UpdateIngestConfigurationRequest"}, + "output":{"shape":"UpdateIngestConfigurationResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"PendingVerification"} + ], + "documentation":"

      Updates a specified IngestConfiguration. Only the stage ARN attached to the IngestConfiguration can be updated. An IngestConfiguration that is active cannot be updated.

      " + }, "UpdateStage":{ "name":"UpdateStage", "http":{ @@ -605,6 +689,7 @@ "max":8500000, "min":1 }, + "Boolean":{"type":"boolean"}, "ChannelArn":{ "type":"string", "max":128, @@ -658,7 +743,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " }, "startTime":{ "shape":"Time", @@ -720,7 +805,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " }, "startTime":{ "shape":"Time", @@ -765,7 +850,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } } }, @@ -778,6 +863,49 @@ } } }, + "CreateIngestConfigurationRequest":{ + "type":"structure", + "required":["ingestProtocol"], + "members":{ + "name":{ + "shape":"IngestConfigurationName", + "documentation":"

      Optional name that can be specified for the IngestConfiguration being created.

      " + }, + "stageArn":{ + "shape":"IngestConfigurationStageArn", + "documentation":"

      ARN of the stage with which the IngestConfiguration is associated.

      " + }, + "userId":{ + "shape":"UserId", + "documentation":"

      Customer-assigned name to help identify the participant using the IngestConfiguration; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

      " + }, + "attributes":{ + "shape":"ParticipantAttributes", + "documentation":"

      Application-provided attributes to store in the IngestConfiguration and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

      " + }, + "ingestProtocol":{ + "shape":"IngestProtocol", + "documentation":"

      Type of ingest protocol that the user employs to broadcast. If this is set to RTMP, insecureIngest must be set to true.

      " + }, + "insecureIngest":{ + "shape":"InsecureIngest", + "documentation":"

      Whether the stage allows insecure RTMP ingest. This must be set to true, if ingestProtocol is set to RTMP. Default: false.

      " + }, + "tags":{ + "shape":"Tags", + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + } + } + }, + "CreateIngestConfigurationResponse":{ + "type":"structure", + "members":{ + "ingestConfiguration":{ + "shape":"IngestConfiguration", + "documentation":"

      The IngestConfiguration that was created.

      " + } + } + }, "CreateParticipantTokenRequest":{ "type":"structure", "required":["stageArn"], @@ -826,7 +954,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " }, "autoParticipantRecordingConfiguration":{ "shape":"AutoParticipantRecordingConfiguration", @@ -861,7 +989,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } } }, @@ -889,6 +1017,25 @@ "members":{ } }, + "DeleteIngestConfigurationRequest":{ + "type":"structure", + "required":["arn"], + "members":{ + "arn":{ + "shape":"IngestConfigurationArn", + "documentation":"

      ARN of the IngestConfiguration.

      " + }, + "force":{ + "shape":"Boolean", + "documentation":"

      Optional field to force deletion of the IngestConfiguration. If this is set to true when a participant is actively publishing, the participant is disconnected from the stage, followed by deletion of the IngestConfiguration. Default: false.

      " + } + } + }, + "DeleteIngestConfigurationResponse":{ + "type":"structure", + "members":{ + } + }, "DeletePublicKeyRequest":{ "type":"structure", "required":["arn"], @@ -1076,7 +1223,7 @@ }, "participantId":{ "shape":"ParticipantTokenId", - "documentation":"

      Identifier of the participant to be disconnected. This is assigned by IVS and returned by CreateParticipantToken.

      " + "documentation":"

      Identifier of the participant to be disconnected. IVS assigns this; it is returned by CreateParticipantToken (for streams using WebRTC ingest) or CreateIngestConfiguration (for streams using RTMP ingest).

      " }, "reason":{ "shape":"DisconnectParticipantReason", @@ -1107,7 +1254,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } }, "documentation":"

      Settings for transcoding.

      " @@ -1144,7 +1291,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } }, "documentation":"

      Summary information about an EncoderConfiguration.

      " @@ -1184,7 +1331,15 @@ "enum":[ "INSUFFICIENT_CAPABILITIES", "QUOTA_EXCEEDED", - "PUBLISHER_NOT_FOUND" + "PUBLISHER_NOT_FOUND", + "BITRATE_EXCEEDED", + "RESOLUTION_EXCEEDED", + "STREAM_DURATION_EXCEEDED", + "INVALID_AUDIO_CODEC", + "INVALID_VIDEO_CODEC", + "INVALID_PROTOCOL", + "INVALID_STREAM_KEY", + "REUSE_OF_STREAM_KEY" ] }, "EventList":{ @@ -1249,6 +1404,25 @@ } } }, + "GetIngestConfigurationRequest":{ + "type":"structure", + "required":["arn"], + "members":{ + "arn":{ + "shape":"IngestConfigurationArn", + "documentation":"

      ARN of the ingest for which the information is to be retrieved.

      " + } + } + }, + "GetIngestConfigurationResponse":{ + "type":"structure", + "members":{ + "ingestConfiguration":{ + "shape":"IngestConfiguration", + "documentation":"

      The IngestConfiguration that was returned.

      " + } + } + }, "GetParticipantRequest":{ "type":"structure", "required":[ @@ -1413,7 +1587,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } } }, @@ -1426,6 +1600,138 @@ } } }, + "IngestConfiguration":{ + "type":"structure", + "required":[ + "arn", + "ingestProtocol", + "streamKey", + "stageArn", + "participantId", + "state" + ], + "members":{ + "name":{ + "shape":"IngestConfigurationName", + "documentation":"

      Ingest name

      " + }, + "arn":{ + "shape":"IngestConfigurationArn", + "documentation":"

      Ingest configuration ARN.

      " + }, + "ingestProtocol":{ + "shape":"IngestProtocol", + "documentation":"

      Type of ingest protocol that the user employs for broadcasting.

      " + }, + "streamKey":{ + "shape":"StreamKey", + "documentation":"

      Ingest-key value for the RTMP(S) protocol.

      " + }, + "stageArn":{ + "shape":"IngestConfigurationStageArn", + "documentation":"

      ARN of the stage with which the IngestConfiguration is associated.

      " + }, + "participantId":{ + "shape":"ParticipantId", + "documentation":"

      ID of the participant within the stage.

      " + }, + "state":{ + "shape":"IngestConfigurationState", + "documentation":"

      State of the ingest configuration. It is ACTIVE if a publisher currently is publishing to the stage associated with the ingest configuration.

      " + }, + "userId":{ + "shape":"UserId", + "documentation":"

      Customer-assigned name to help identify the participant using the IngestConfiguration; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

      " + }, + "attributes":{ + "shape":"ParticipantAttributes", + "documentation":"

      Application-provided attributes to to store in the IngestConfiguration and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

      " + }, + "tags":{ + "shape":"Tags", + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

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

      Object specifying an ingest configuration.

      " + }, + "IngestConfigurationArn":{ + "type":"string", + "max":128, + "min":1, + "pattern":"arn:aws:ivs:[a-z0-9-]+:[0-9]+:ingest-configuration/[a-zA-Z0-9-]+" + }, + "IngestConfigurationList":{ + "type":"list", + "member":{"shape":"IngestConfigurationSummary"} + }, + "IngestConfigurationName":{ + "type":"string", + "max":128, + "min":0, + "pattern":"[a-zA-Z0-9-_]*" + }, + "IngestConfigurationStageArn":{ + "type":"string", + "max":128, + "min":0, + "pattern":"^$|^arn:aws:ivs:[a-z0-9-]+:[0-9]+:stage/[a-zA-Z0-9-]+$" + }, + "IngestConfigurationState":{ + "type":"string", + "enum":[ + "ACTIVE", + "INACTIVE" + ] + }, + "IngestConfigurationSummary":{ + "type":"structure", + "required":[ + "arn", + "ingestProtocol", + "stageArn", + "participantId", + "state" + ], + "members":{ + "name":{ + "shape":"IngestConfigurationName", + "documentation":"

      Ingest name.

      " + }, + "arn":{ + "shape":"IngestConfigurationArn", + "documentation":"

      Ingest configuration ARN.

      " + }, + "ingestProtocol":{ + "shape":"IngestProtocol", + "documentation":"

      Type of ingest protocol that the user employs for broadcasting.

      " + }, + "stageArn":{ + "shape":"IngestConfigurationStageArn", + "documentation":"

      ARN of the stage with which the IngestConfiguration is associated.

      " + }, + "participantId":{ + "shape":"ParticipantId", + "documentation":"

      ID of the participant within the stage.

      " + }, + "state":{ + "shape":"IngestConfigurationState", + "documentation":"

      State of the ingest configuration. It is ACTIVE if a publisher currently is publishing to the stage associated with the ingest configuration.

      " + }, + "userId":{ + "shape":"UserId", + "documentation":"

      Customer-assigned name to help identify the participant using the IngestConfiguration; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

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

      Summary information about an IngestConfiguration.

      " + }, + "IngestProtocol":{ + "type":"string", + "enum":[ + "RTMP", + "RTMPS" + ] + }, + "InsecureIngest":{"type":"boolean"}, "InternalServerException":{ "type":"structure", "members":{ @@ -1515,6 +1821,41 @@ } } }, + "ListIngestConfigurationsRequest":{ + "type":"structure", + "members":{ + "filterByStageArn":{ + "shape":"StageArn", + "documentation":"

      Filters the response list to match the specified stage ARN. Only one filter (by stage ARN or by state) can be used at a time.

      " + }, + "filterByState":{ + "shape":"IngestConfigurationState", + "documentation":"

      Filters the response list to match the specified state. Only one filter (by stage ARN or by state) can be used at a time.

      " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

      The first IngestConfiguration to retrieve. This is used for pagination; see the nextToken response field.

      " + }, + "maxResults":{ + "shape":"MaxIngestConfigurationResults", + "documentation":"

      Maximum number of results to return. Default: 50.

      " + } + } + }, + "ListIngestConfigurationsResponse":{ + "type":"structure", + "required":["ingestConfigurations"], + "members":{ + "ingestConfigurations":{ + "shape":"IngestConfigurationList", + "documentation":"

      List of the matching ingest configurations (summary information only).

      " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

      If there are more IngestConfigurations than maxResults, use nextToken in the request to get the next set.

      " + } + } + }, "ListParticipantEventsRequest":{ "type":"structure", "required":[ @@ -1761,6 +2102,12 @@ "max":100, "min":1 }, + "MaxIngestConfigurationResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, "MaxParticipantEventResults":{ "type":"integer", "box":true, @@ -1866,6 +2213,10 @@ "recordingState":{ "shape":"ParticipantRecordingState", "documentation":"

      The participant’s recording state.

      " + }, + "protocol":{ + "shape":"ParticipantProtocol", + "documentation":"

      Type of ingest protocol that the participant employs for broadcasting.

      " } }, "documentation":"

      Object describing a participant that has joined a stage.

      " @@ -1891,6 +2242,15 @@ "type":"list", "member":{"shape":"ParticipantSummary"} }, + "ParticipantProtocol":{ + "type":"string", + "enum":[ + "UNKNOWN", + "WHIP", + "RTMP", + "RTMPS" + ] + }, "ParticipantRecordingFilterByRecordingState":{ "type":"string", "enum":[ @@ -2190,7 +2550,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } }, "documentation":"

      Object specifying a public key used to sign stage participant tokens.

      " @@ -2229,7 +2589,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } }, "documentation":"

      Summary information about a public key.

      " @@ -2353,7 +2713,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " }, "autoParticipantRecordingConfiguration":{ "shape":"AutoParticipantRecordingConfiguration", @@ -2386,10 +2746,18 @@ }, "whip":{ "shape":"StageEndpoint", - "documentation":"

      WHIP endpoint.

      " + "documentation":"

      The endpoint to be used for IVS real-time streaming using the WHIP protocol.

      " + }, + "rtmp":{ + "shape":"StageEndpoint", + "documentation":"

      The endpoint to be used for IVS real-time streaming using the RTMP protocol.

      " + }, + "rtmps":{ + "shape":"StageEndpoint", + "documentation":"

      The endpoint to be used for IVS real-time streaming using the RTMPS protocol.

      " } }, - "documentation":"

      Summary information about various endpoints for a stage.

      " + "documentation":"

      Summary information about various endpoints for a stage. We recommend that you cache these values at stage creation; the values can be cached for up to 14 days.

      " }, "StageName":{ "type":"string", @@ -2461,7 +2829,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } }, "documentation":"

      Summary information about a stage.

      " @@ -2496,7 +2864,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } } }, @@ -2542,7 +2910,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } }, "documentation":"

      A complex type that describes a location where recorded videos will be stored.

      " @@ -2577,7 +2945,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " + "documentation":"

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } }, "documentation":"

      Summary information about a storage configuration.

      " @@ -2586,6 +2954,11 @@ "type":"list", "member":{"shape":"StorageConfigurationSummary"} }, + "StreamKey":{ + "type":"string", + "pattern":"rt_[0-9]+_[a-z0-9-]+_[a-zA-Z0-9-]+_.+", + "sensitive":true + }, "String":{"type":"string"}, "TagKey":{ "type":"string", @@ -2613,7 +2986,7 @@ }, "tags":{ "shape":"Tags", - "documentation":"

      Array of tags to be added or updated. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints beyond what is documented there.

      " + "documentation":"

      Array of tags to be added or updated. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      " } } }, @@ -2653,7 +3026,7 @@ }, "tagKeys":{ "shape":"TagKeyList", - "documentation":"

      Array of tags to be removed. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints beyond what is documented there.

      ", + "documentation":"

      Array of tags to be removed. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

      ", "location":"querystring", "locationName":"tagKeys" } @@ -2664,6 +3037,29 @@ "members":{ } }, + "UpdateIngestConfigurationRequest":{ + "type":"structure", + "required":["arn"], + "members":{ + "arn":{ + "shape":"IngestConfigurationArn", + "documentation":"

      ARN of the IngestConfiguration, for which the related stage ARN needs to be updated.

      " + }, + "stageArn":{ + "shape":"IngestConfigurationStageArn", + "documentation":"

      Stage ARN that needs to be updated.

      " + } + } + }, + "UpdateIngestConfigurationResponse":{ + "type":"structure", + "members":{ + "ingestConfiguration":{ + "shape":"IngestConfiguration", + "documentation":"

      The updated IngestConfiguration.

      " + } + } + }, "UpdateStageRequest":{ "type":"structure", "required":["arn"], @@ -2758,5 +3154,5 @@ }, "errorMessage":{"type":"string"} }, - "documentation":"

      The Amazon Interactive Video Service (IVS) real-time API is REST compatible, using a standard HTTP API and an AWS EventBridge event stream for responses. JSON is used for both requests and responses, including errors.

      Key Concepts

      • Stage — A virtual space where participants can exchange video in real time.

      • Participant token — A token that authenticates a participant when they join a stage.

      • Participant object — Represents participants (people) in the stage and contains information about them. When a token is created, it includes a participant ID; when a participant uses that token to join a stage, the participant is associated with that participant ID. There is a 1:1 mapping between participant tokens and participants.

      For server-side composition:

      • Composition process — Composites participants of a stage into a single video and forwards it to a set of outputs (e.g., IVS channels). Composition endpoints support this process.

      • Composition — Controls the look of the outputs, including how participants are positioned in the video.

      For more information about your IVS live stream, also see Getting Started with Amazon IVS Real-Time Streaming.

      Tagging

      A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Tagging AWS Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS stages has no service-specific constraints beyond what is documented there.

      Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).

      The Amazon IVS real-time API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Stage.

      At most 50 tags can be applied to a resource.

      " + "documentation":"

      The Amazon Interactive Video Service (IVS) real-time API is REST compatible, using a standard HTTP API and an AWS EventBridge event stream for responses. JSON is used for both requests and responses, including errors.

      Key Concepts

      • Stage — A virtual space where participants can exchange video in real time.

      • Participant token — A token that authenticates a participant when they join a stage.

      • Participant object — Represents participants (people) in the stage and contains information about them. When a token is created, it includes a participant ID; when a participant uses that token to join a stage, the participant is associated with that participant ID. There is a 1:1 mapping between participant tokens and participants.

      For server-side composition:

      • Composition process — Composites participants of a stage into a single video and forwards it to a set of outputs (e.g., IVS channels). Composition operations support this process.

      • Composition — Controls the look of the outputs, including how participants are positioned in the video.

      For more information about your IVS live stream, also see Getting Started with Amazon IVS Real-Time Streaming.

      Tagging

      A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS stages has no service-specific constraints beyond what is documented there.

      Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).

      The Amazon IVS real-time API has these tag-related operations: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Stage.

      At most 50 tags can be applied to a resource.

      " } diff --git a/tools/code-generation/api-descriptions/kafka-2018-11-14.normal.json b/tools/code-generation/api-descriptions/kafka-2018-11-14.normal.json index 8c09d492496..0ebb3880248 100644 --- a/tools/code-generation/api-descriptions/kafka-2018-11-14.normal.json +++ b/tools/code-generation/api-descriptions/kafka-2018-11-14.normal.json @@ -9,46 +9,57 @@ "protocol": "rest-json", "jsonVersion": "1.1", "uid": "kafka-2018-11-14", - "signatureVersion": "v4" + "signatureVersion": "v4", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { - "BatchAssociateScramSecret" : { - "name" : "BatchAssociateScramSecret", - "http" : { - "method" : "POST", - "requestUri" : "/v1/clusters/{clusterArn}/scram-secrets", - "responseCode" : 200 - }, - "input" : { - "shape" : "BatchAssociateScramSecretRequest" - }, - "output" : { - "shape" : "BatchAssociateScramSecretResponse", + "BatchAssociateScramSecret": { + "name": "BatchAssociateScramSecret", + "http": { + "method": "POST", + "requestUri": "/v1/clusters/{clusterArn}/scram-secrets", + "responseCode": 200 + }, + "input": { + "shape": "BatchAssociateScramSecretRequest" + }, + "output": { + "shape": "BatchAssociateScramSecretResponse", "documentation": "\n

      200 response

      \n " }, - "errors" : [ { - "shape" : "BadRequestException", - "documentation" : "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " - }, { - "shape" : "UnauthorizedException", - "documentation" : "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " - }, { - "shape" : "InternalServerErrorException", - "documentation" : "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " - }, { - "shape" : "ForbiddenException", - "documentation" : "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " - }, { - "shape" : "NotFoundException", - "documentation" : "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " - }, { - "shape" : "ServiceUnavailableException", - "documentation" : "\n

      503 response

      \n " - }, { - "shape" : "TooManyRequestsException", - "documentation" : "\n

      429 response

      \n " - } ], - "documentation" : "\n

      Associates one or more Scram Secrets with an Amazon MSK cluster.

      \n " + "errors": [ + { + "shape": "BadRequestException", + "documentation": "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " + }, + { + "shape": "UnauthorizedException", + "documentation": "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " + }, + { + "shape": "InternalServerErrorException", + "documentation": "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " + }, + { + "shape": "ForbiddenException", + "documentation": "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " + }, + { + "shape": "NotFoundException", + "documentation": "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "\n

      503 response

      \n " + }, + { + "shape": "TooManyRequestsException", + "documentation": "\n

      429 response

      \n " + } + ], + "documentation": "\n

      Associates one or more Scram Secrets with an Amazon MSK cluster.

      \n " }, "CreateCluster": { "name": "CreateCluster", @@ -398,7 +409,8 @@ { "shape": "BadRequestException", "documentation": "

      HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

      " - }, { + }, + { "shape": "UnauthorizedException", "documentation": "

      HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

      " }, @@ -573,43 +585,51 @@ ], "documentation": "\n

      Returns a description of the cluster operation specified by the ARN.

      \n " }, - "DescribeClusterOperationV2" : { - "name" : "DescribeClusterOperationV2", - "http" : { - "method" : "GET", - "requestUri" : "/api/v2/operations/{clusterOperationArn}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DescribeClusterOperationV2Request" - }, - "output" : { - "shape" : "DescribeClusterOperationV2Response", - "documentation" : "\n

      HTTP Status Code 200: OK.

      " - }, - "errors" : [ { - "shape" : "BadRequestException", - "documentation" : "\n

      HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

      " - }, { - "shape" : "UnauthorizedException", - "documentation" : "\n

      HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

      " - }, { - "shape" : "InternalServerErrorException", - "documentation" : "\n

      HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

      " - }, { - "shape" : "ForbiddenException", - "documentation" : "\n

      HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

      " - }, { - "shape" : "NotFoundException", - "documentation" : "\n

      HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

      " - }, { - "shape" : "ServiceUnavailableException", - "documentation" : "\n

      HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

      " - }, { - "shape" : "TooManyRequestsException", - "documentation" : "\n

      HTTP Status Code 429: Limit exceeded. Resource limit reached.

      " - } ], - "documentation" : "\n

      Returns a description of the cluster operation specified by the ARN.

      \n" + "DescribeClusterOperationV2": { + "name": "DescribeClusterOperationV2", + "http": { + "method": "GET", + "requestUri": "/api/v2/operations/{clusterOperationArn}", + "responseCode": 200 + }, + "input": { + "shape": "DescribeClusterOperationV2Request" + }, + "output": { + "shape": "DescribeClusterOperationV2Response", + "documentation": "\n

      HTTP Status Code 200: OK.

      " + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "\n

      HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

      " + }, + { + "shape": "UnauthorizedException", + "documentation": "\n

      HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

      " + }, + { + "shape": "InternalServerErrorException", + "documentation": "\n

      HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

      " + }, + { + "shape": "ForbiddenException", + "documentation": "\n

      HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

      " + }, + { + "shape": "NotFoundException", + "documentation": "\n

      HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

      " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "\n

      HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

      " + }, + { + "shape": "TooManyRequestsException", + "documentation": "\n

      HTTP Status Code 429: Limit exceeded. Resource limit reached.

      " + } + ], + "documentation": "\n

      Returns a description of the cluster operation specified by the ARN.

      \n" }, "DescribeConfiguration": { "name": "DescribeConfiguration", @@ -783,43 +803,51 @@ ], "documentation": "\n

      Returns a description of this MSK VPC connection.

      \n " }, - "BatchDisassociateScramSecret" : { - "name" : "BatchDisassociateScramSecret", - "http" : { - "method" : "PATCH", - "requestUri" : "/v1/clusters/{clusterArn}/scram-secrets", - "responseCode" : 200 + "BatchDisassociateScramSecret": { + "name": "BatchDisassociateScramSecret", + "http": { + "method": "PATCH", + "requestUri": "/v1/clusters/{clusterArn}/scram-secrets", + "responseCode": 200 }, - "input" : { - "shape" : "BatchDisassociateScramSecretRequest" + "input": { + "shape": "BatchDisassociateScramSecretRequest" }, - "output" : { - "shape" : "BatchDisassociateScramSecretResponse", + "output": { + "shape": "BatchDisassociateScramSecretResponse", "documentation": "\n

      200 response

      \n " }, - "errors" : [ { - "shape" : "BadRequestException", - "documentation" : "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " - }, { - "shape" : "UnauthorizedException", - "documentation" : "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " - }, { - "shape" : "InternalServerErrorException", - "documentation" : "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " - }, { - "shape" : "ForbiddenException", - "documentation" : "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " - }, { - "shape" : "NotFoundException", - "documentation" : "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " - }, { - "shape" : "ServiceUnavailableException", - "documentation" : "\n

      503 response

      \n " - }, { - "shape" : "TooManyRequestsException", - "documentation" : "\n

      429 response

      \n " - } ], - "documentation" : "\n

      Disassociates one or more Scram Secrets from an Amazon MSK cluster.

      \n " + "errors": [ + { + "shape": "BadRequestException", + "documentation": "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " + }, + { + "shape": "UnauthorizedException", + "documentation": "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " + }, + { + "shape": "InternalServerErrorException", + "documentation": "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " + }, + { + "shape": "ForbiddenException", + "documentation": "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " + }, + { + "shape": "NotFoundException", + "documentation": "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "\n

      503 response

      \n " + }, + { + "shape": "TooManyRequestsException", + "documentation": "\n

      429 response

      \n " + } + ], + "documentation": "\n

      Disassociates one or more Scram Secrets from an Amazon MSK cluster.

      \n " }, "GetBootstrapBrokers": { "name": "GetBootstrapBrokers", @@ -857,51 +885,50 @@ "documentation": "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " } ], - "documentation": "\n

      A list of brokers that a client application can use to bootstrap.

      \n " + "documentation": "\n

      A list of brokers that a client application can use to bootstrap. This list doesn't necessarily include all of the brokers in the cluster. The following Python 3.6 example shows how you can use the Amazon Resource Name (ARN) of a cluster to get its bootstrap brokers. If you don't know the ARN of your cluster, you can use the ListClusters operation to get the ARNs of all the clusters in this account and Region.

      \n " }, - "GetCompatibleKafkaVersions" : { - "name" : "GetCompatibleKafkaVersions", - "http" : { - "method" : "GET", - "requestUri" : "/v1/compatible-kafka-versions", - "responseCode" : 200 + "GetCompatibleKafkaVersions": { + "name": "GetCompatibleKafkaVersions", + "http": { + "method": "GET", + "requestUri": "/v1/compatible-kafka-versions", + "responseCode": 200 }, - "input" : { - "shape" : "GetCompatibleKafkaVersionsRequest" + "input": { + "shape": "GetCompatibleKafkaVersionsRequest" }, - "output" : { - "shape" : "GetCompatibleKafkaVersionsResponse", + "output": { + "shape": "GetCompatibleKafkaVersionsResponse", "documentation": "\n

      Successful response.

      \n " }, - "errors" : - [ + "errors": [ { - "shape" : "BadRequestException", - "documentation" : "n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      n " + "shape": "BadRequestException", + "documentation": "n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      n " }, { - "shape" : "UnauthorizedException", - "documentation" : "n

      The request is not authorized. The provided credentials couldn't be validated.

      n " + "shape": "UnauthorizedException", + "documentation": "n

      The request is not authorized. The provided credentials couldn't be validated.

      n " }, { - "shape" : "InternalServerErrorException", - "documentation" : "n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      n " + "shape": "InternalServerErrorException", + "documentation": "n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      n " }, { - "shape" : "ForbiddenException", - "documentation" : "n

      Access forbidden. Check your credentials and then retry your request.

      n " + "shape": "ForbiddenException", + "documentation": "n

      Access forbidden. Check your credentials and then retry your request.

      n " }, { - "shape" : "NotFoundException", - "documentation" : "n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      n " + "shape": "NotFoundException", + "documentation": "n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      n " }, { - "shape" : "ServiceUnavailableException", - "documentation" : "n

      503 response

      n " + "shape": "ServiceUnavailableException", + "documentation": "n

      503 response

      n " }, { - "shape" : "TooManyRequestsException", - "documentation" : "n

      429 response

      n " + "shape": "TooManyRequestsException", + "documentation": "n

      429 response

      n " } ], "documentation": "\n

      Gets the Apache Kafka versions to which you can update the MSK cluster.

      \n " @@ -974,43 +1001,51 @@ ], "documentation": "\n

      Returns a list of all the operations that have been performed on the specified MSK cluster.

      \n " }, - "ListClusterOperationsV2" : { - "name" : "ListClusterOperationsV2", - "http" : { - "method" : "GET", - "requestUri" : "/api/v2/clusters/{clusterArn}/operations", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListClusterOperationsV2Request" - }, - "output" : { - "shape" : "ListClusterOperationsV2Response", - "documentation" : "\n

      HTTP Status Code 200: OK.

      " - }, - "errors" : [ { - "shape" : "BadRequestException", - "documentation" : "\n

      HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

      " - }, { - "shape" : "UnauthorizedException", - "documentation" : "\n

      HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

      " - }, { - "shape" : "InternalServerErrorException", - "documentation" : "\n

      HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

      " - }, { - "shape" : "ForbiddenException", - "documentation" : "\n

      HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

      " - }, { - "shape" : "NotFoundException", - "documentation" : "\n

      HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

      " - }, { - "shape" : "ServiceUnavailableException", - "documentation" : "\n

      HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

      " - }, { - "shape" : "TooManyRequestsException", - "documentation" : "\n

      HTTP Status Code 429: Limit exceeded. Resource limit reached.

      " - } ], - "documentation" : "\n

      Returns a list of all the operations that have been performed on the specified MSK cluster.

      \n " + "ListClusterOperationsV2": { + "name": "ListClusterOperationsV2", + "http": { + "method": "GET", + "requestUri": "/api/v2/clusters/{clusterArn}/operations", + "responseCode": 200 + }, + "input": { + "shape": "ListClusterOperationsV2Request" + }, + "output": { + "shape": "ListClusterOperationsV2Response", + "documentation": "\n

      HTTP Status Code 200: OK.

      " + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "\n

      HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

      " + }, + { + "shape": "UnauthorizedException", + "documentation": "\n

      HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

      " + }, + { + "shape": "InternalServerErrorException", + "documentation": "\n

      HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

      " + }, + { + "shape": "ForbiddenException", + "documentation": "\n

      HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

      " + }, + { + "shape": "NotFoundException", + "documentation": "\n

      HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

      " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "\n

      HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

      " + }, + { + "shape": "TooManyRequestsException", + "documentation": "\n

      HTTP Status Code 429: Limit exceeded. Resource limit reached.

      " + } + ], + "documentation": "\n

      Returns a list of all the operations that have been performed on the specified MSK cluster.

      \n " }, "ListClusters": { "name": "ListClusters", @@ -1273,43 +1308,51 @@ ], "documentation": "

      Lists the replicators.

      " }, - "ListScramSecrets" : { - "name" : "ListScramSecrets", - "http" : { - "method" : "GET", - "requestUri" : "/v1/clusters/{clusterArn}/scram-secrets", - "responseCode" : 200 + "ListScramSecrets": { + "name": "ListScramSecrets", + "http": { + "method": "GET", + "requestUri": "/v1/clusters/{clusterArn}/scram-secrets", + "responseCode": 200 }, - "input" : { - "shape" : "ListScramSecretsRequest" + "input": { + "shape": "ListScramSecretsRequest" }, - "output" : { - "shape" : "ListScramSecretsResponse", + "output": { + "shape": "ListScramSecretsResponse", "documentation": "\n

      200 response

      \n " }, - "errors" : [ { - "shape" : "BadRequestException", - "documentation" : "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " - }, { - "shape" : "UnauthorizedException", - "documentation" : "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " - }, { - "shape" : "InternalServerErrorException", - "documentation" : "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " - }, { - "shape" : "ForbiddenException", - "documentation" : "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " - }, { - "shape" : "NotFoundException", - "documentation" : "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " - }, { - "shape" : "ServiceUnavailableException", - "documentation" : "\n

      503 response

      \n " - }, { - "shape" : "TooManyRequestsException", - "documentation" : "\n

      429 response

      \n " - } ], - "documentation" : "\n

      Returns a list of the Scram Secrets associated with an Amazon MSK cluster.

      \n " + "errors": [ + { + "shape": "BadRequestException", + "documentation": "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " + }, + { + "shape": "UnauthorizedException", + "documentation": "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " + }, + { + "shape": "InternalServerErrorException", + "documentation": "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " + }, + { + "shape": "ForbiddenException", + "documentation": "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " + }, + { + "shape": "NotFoundException", + "documentation": "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "\n

      503 response

      \n " + }, + { + "shape": "TooManyRequestsException", + "documentation": "\n

      429 response

      \n " + } + ], + "documentation": "\n

      Returns a list of the Scram Secrets associated with an Amazon MSK cluster.

      \n " }, "ListTagsForResource": { "name": "ListTagsForResource", @@ -1485,51 +1528,51 @@ ], "documentation": "\n

      Creates or updates the MSK cluster policy specified by the cluster Amazon Resource Name (ARN) in the request.

      \n " }, - "RebootBroker" : { - "name" : "RebootBroker", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/clusters/{clusterArn}/reboot-broker", - "responseCode" : 200 + "RebootBroker": { + "name": "RebootBroker", + "http": { + "method": "PUT", + "requestUri": "/v1/clusters/{clusterArn}/reboot-broker", + "responseCode": 200 }, - "input" : { - "shape" : "RebootBrokerRequest" + "input": { + "shape": "RebootBrokerRequest" }, - "output" : { - "shape" : "RebootBrokerResponse", + "output": { + "shape": "RebootBrokerResponse", "documentation": "\n

      Successful response.

      \n " }, - "errors" : [ + "errors": [ { - "shape" : "BadRequestException", + "shape": "BadRequestException", "documentation": "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " }, { - "shape" : "UnauthorizedException", + "shape": "UnauthorizedException", "documentation": "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " }, { - "shape" : "InternalServerErrorException", + "shape": "InternalServerErrorException", "documentation": "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " }, { - "shape" : "ForbiddenException", + "shape": "ForbiddenException", "documentation": "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " }, { - "shape" : "NotFoundException", + "shape": "NotFoundException", "documentation": "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " }, { - "shape" : "ServiceUnavailableException", + "shape": "ServiceUnavailableException", "documentation": "\n

      503 response

      \n " }, { - "shape" : "TooManyRequestsException", - "documentation" : "\n

      429 response

      \n " + "shape": "TooManyRequestsException", + "documentation": "\n

      429 response

      \n " } ], - "documentation" : "Reboots brokers." + "documentation": "Reboots brokers." }, "TagResource": { "name": "TagResource", @@ -1637,32 +1680,32 @@ }, "errors": [ { - "shape" : "BadRequestException", - "documentation" : "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " + "shape": "BadRequestException", + "documentation": "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " }, { - "shape" : "UnauthorizedException", - "documentation" : "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " + "shape": "UnauthorizedException", + "documentation": "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " }, { - "shape" : "InternalServerErrorException", - "documentation" : "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " + "shape": "InternalServerErrorException", + "documentation": "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " }, { - "shape" : "ForbiddenException", - "documentation" : "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " + "shape": "ForbiddenException", + "documentation": "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " }, { - "shape" : "NotFoundException", - "documentation" : "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " + "shape": "NotFoundException", + "documentation": "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " }, { - "shape" : "ServiceUnavailableException", - "documentation" : "\n

      503 response

      \n " + "shape": "ServiceUnavailableException", + "documentation": "\n

      503 response

      \n " }, { - "shape" : "TooManyRequestsException", - "documentation" : "\n

      429 response

      \n " + "shape": "TooManyRequestsException", + "documentation": "\n

      429 response

      \n " } ], "documentation": "\n

      Updates EC2 instance type.

      \n " @@ -1747,18 +1790,18 @@ ], "documentation": "\n

      Updates an MSK configuration.

      \n " }, - "UpdateConnectivity" : { - "name" : "UpdateConnectivity", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/clusters/{clusterArn}/connectivity", - "responseCode" : 200 + "UpdateConnectivity": { + "name": "UpdateConnectivity", + "http": { + "method": "PUT", + "requestUri": "/v1/clusters/{clusterArn}/connectivity", + "responseCode": 200 }, - "input" : { - "shape" : "UpdateConnectivityRequest" + "input": { + "shape": "UpdateConnectivityRequest" }, - "output" : { - "shape" : "UpdateConnectivityResponse", + "output": { + "shape": "UpdateConnectivityResponse", "documentation": "\n

      Successful response.

      \n " }, "errors": [ @@ -1787,7 +1830,7 @@ "documentation": "\n

      503 response

      \n " } ], - "documentation" : "\n

      Updates the cluster's connectivity configuration.

      \n " + "documentation": "\n

      Updates the cluster's connectivity configuration.

      \n " }, "UpdateClusterConfiguration": { "name": "UpdateClusterConfiguration", @@ -1831,83 +1874,89 @@ ], "documentation": "\n

      Updates the cluster with the configuration that is specified in the request body.

      \n " }, - "UpdateClusterKafkaVersion" : { - "name" : "UpdateClusterKafkaVersion", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/clusters/{clusterArn}/version", - "responseCode" : 200 + "UpdateClusterKafkaVersion": { + "name": "UpdateClusterKafkaVersion", + "http": { + "method": "PUT", + "requestUri": "/v1/clusters/{clusterArn}/version", + "responseCode": 200 }, - "input" : { - "shape" : "UpdateClusterKafkaVersionRequest" + "input": { + "shape": "UpdateClusterKafkaVersionRequest" }, - "output" : { - "shape" : "UpdateClusterKafkaVersionResponse", - "documentation" : "\n

      Successful response.

      \n " + "output": { + "shape": "UpdateClusterKafkaVersionResponse", + "documentation": "\n

      Successful response.

      \n " }, - "errors" : [ + "errors": [ { - "shape" : "BadRequestException", - "documentation" : "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " + "shape": "BadRequestException", + "documentation": "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " }, { - "shape" : "UnauthorizedException", - "documentation" : "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " + "shape": "UnauthorizedException", + "documentation": "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " }, { - "shape" : "InternalServerErrorException", - "documentation" : "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " + "shape": "InternalServerErrorException", + "documentation": "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " }, { - "shape" : "ForbiddenException", - "documentation" : "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " + "shape": "ForbiddenException", + "documentation": "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " }, { - "shape" : "NotFoundException", - "documentation" : "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " + "shape": "NotFoundException", + "documentation": "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " }, { - "shape" : "ServiceUnavailableException", - "documentation" : "\n

      503 response

      \n " + "shape": "ServiceUnavailableException", + "documentation": "\n

      503 response

      \n " }, { - "shape" : "TooManyRequestsException", - "documentation" : "\n

      429 response

      \n " + "shape": "TooManyRequestsException", + "documentation": "\n

      429 response

      \n " } ], "documentation": "\n

      Updates the Apache Kafka version for the cluster.

      \n " }, - "UpdateMonitoring" : { - "name" : "UpdateMonitoring", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/clusters/{clusterArn}/monitoring", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateMonitoringRequest" - }, - "output" : { - "shape" : "UpdateMonitoringResponse", - "documentation" : "\n

      HTTP Status Code 200: OK.

      \n " - }, - "errors" : [ { - "shape" : "ServiceUnavailableException", - "documentation" : "\n

      503 response

      \n " - }, { - "shape" : "BadRequestException", - "documentation" : "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " - }, { - "shape" : "UnauthorizedException", - "documentation" : "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " - }, { - "shape" : "InternalServerErrorException", - "documentation" : "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " - }, { - "shape" : "ForbiddenException", - "documentation" : "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " - } ], - "documentation" : "\n

      Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.

      \n " + "UpdateMonitoring": { + "name": "UpdateMonitoring", + "http": { + "method": "PUT", + "requestUri": "/v1/clusters/{clusterArn}/monitoring", + "responseCode": 200 + }, + "input": { + "shape": "UpdateMonitoringRequest" + }, + "output": { + "shape": "UpdateMonitoringResponse", + "documentation": "\n

      HTTP Status Code 200: OK.

      \n " + }, + "errors": [ + { + "shape": "ServiceUnavailableException", + "documentation": "\n

      503 response

      \n " + }, + { + "shape": "BadRequestException", + "documentation": "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " + }, + { + "shape": "UnauthorizedException", + "documentation": "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " + }, + { + "shape": "InternalServerErrorException", + "documentation": "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " + }, + { + "shape": "ForbiddenException", + "documentation": "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " + } + ], + "documentation": "\n

      Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.

      \n " }, "UpdateReplicationInfo": { "name": "UpdateReplicationInfo", @@ -1955,84 +2004,100 @@ ], "documentation": "

      Updates replication info of a replicator.

      " }, - "UpdateSecurity" : { - "name" : "UpdateSecurity", - "http" : { - "method" : "PATCH", - "requestUri" : "/v1/clusters/{clusterArn}/security", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateSecurityRequest" - }, - "output" : { - "shape" : "UpdateSecurityResponse" - }, - "errors" : [ { - "shape" : "BadRequestException", - "documentation" : "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " - }, { - "shape" : "UnauthorizedException", - "documentation" : "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " - }, { - "shape" : "InternalServerErrorException", - "documentation" : "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " - }, { - "shape" : "ForbiddenException", - "documentation" : "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " - }, { - "shape" : "NotFoundException", - "documentation" : "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " - }, { - "shape" : "ServiceUnavailableException", - "documentation" : "\n

      The service cannot complete the request.

      \n " - }, { - "shape" : "TooManyRequestsException", - "documentation" : "\n

      The request throughput limit was exceeded.

      \n " - } ], - "documentation" : "\n

      Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.

      \n " - }, - "UpdateStorage" : { - "name" : "UpdateStorage", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/clusters/{clusterArn}/storage", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateStorageRequest" - }, - "output" : { - "shape" : "UpdateStorageResponse", - "documentation" : "HTTP Status Code 200: OK." - }, - "errors" : [ { - "shape" : "BadRequestException", - "documentation" : "HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it." - }, { - "shape" : "UnauthorizedException", - "documentation" : "HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated." - }, { - "shape" : "InternalServerErrorException", - "documentation" : "HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue." - }, { - "shape" : "ForbiddenException", - "documentation" : "HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request." - }, { - "shape" : "NotFoundException", - "documentation" : "HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it." - }, { - "shape" : "ServiceUnavailableException", - "documentation" : "HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue." - }, { - "shape" : "TooManyRequestsException", - "documentation" : "HTTP Status Code 429: Limit exceeded. Resource limit reached." - } ], - "documentation" : "Updates cluster broker volume size (or) sets cluster storage mode to TIERED." - } - }, - "shapes": { - "AmazonMskCluster": { + "UpdateSecurity": { + "name": "UpdateSecurity", + "http": { + "method": "PATCH", + "requestUri": "/v1/clusters/{clusterArn}/security", + "responseCode": 200 + }, + "input": { + "shape": "UpdateSecurityRequest" + }, + "output": { + "shape": "UpdateSecurityResponse" + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "\n

      The request isn't valid because the input is incorrect. Correct your input and then submit it again.

      \n " + }, + { + "shape": "UnauthorizedException", + "documentation": "\n

      The request is not authorized. The provided credentials couldn't be validated.

      \n " + }, + { + "shape": "InternalServerErrorException", + "documentation": "\n

      There was an unexpected internal server error. Retrying your request might resolve the issue.

      \n " + }, + { + "shape": "ForbiddenException", + "documentation": "\n

      Access forbidden. Check your credentials and then retry your request.

      \n " + }, + { + "shape": "NotFoundException", + "documentation": "\n

      The resource could not be found due to incorrect input. Correct the input, then retry the request.

      \n " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "\n

      The service cannot complete the request.

      \n " + }, + { + "shape": "TooManyRequestsException", + "documentation": "\n

      The request throughput limit was exceeded.

      \n " + } + ], + "documentation": "\n

      Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.

      \n " + }, + "UpdateStorage": { + "name": "UpdateStorage", + "http": { + "method": "PUT", + "requestUri": "/v1/clusters/{clusterArn}/storage", + "responseCode": 200 + }, + "input": { + "shape": "UpdateStorageRequest" + }, + "output": { + "shape": "UpdateStorageResponse", + "documentation": "HTTP Status Code 200: OK." + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it." + }, + { + "shape": "UnauthorizedException", + "documentation": "HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated." + }, + { + "shape": "InternalServerErrorException", + "documentation": "HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue." + }, + { + "shape": "ForbiddenException", + "documentation": "HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request." + }, + { + "shape": "NotFoundException", + "documentation": "HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it." + }, + { + "shape": "ServiceUnavailableException", + "documentation": "HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue." + }, + { + "shape": "TooManyRequestsException", + "documentation": "HTTP Status Code 429: Limit exceeded. Resource limit reached." + } + ], + "documentation": "Updates cluster broker volume size (or) sets cluster storage mode to TIERED." + } + }, + "shapes": { + "AmazonMskCluster": { "type": "structure", "members": { "MskClusterArn": { @@ -2042,38 +2107,43 @@ } }, "documentation": "

      Details of an Amazon MSK Cluster.

      ", - "required": ["MskClusterArn"] - }, - "BatchAssociateScramSecretRequest" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " - }, - "SecretArnList" : { - "shape" : "__listOf__string", - "locationName" : "secretArnList", - "documentation" : "\n

      List of AWS Secrets Manager secret ARNs.

      \n " - } - }, - "documentation" : "\n

      Associates sasl scram secrets to cluster.

      \n ", - "required" : [ "ClusterArn", "SecretArnList" ] - }, - "BatchAssociateScramSecretResponse" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " - }, - "UnprocessedScramSecrets" : { - "shape" : "__listOfUnprocessedScramSecret", - "locationName" : "unprocessedScramSecrets", - "documentation" : "\n

      List of errors when associating secrets to cluster.

      \n " + "required": [ + "MskClusterArn" + ] + }, + "BatchAssociateScramSecretRequest": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " + }, + "SecretArnList": { + "shape": "__listOf__string", + "locationName": "secretArnList", + "documentation": "\n

      List of AWS Secrets Manager secret ARNs.

      \n " + } + }, + "documentation": "\n

      Associates sasl scram secrets to cluster.

      \n ", + "required": [ + "ClusterArn", + "SecretArnList" + ] + }, + "BatchAssociateScramSecretResponse": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + }, + "UnprocessedScramSecrets": { + "shape": "__listOfUnprocessedScramSecret", + "locationName": "unprocessedScramSecrets", + "documentation": "\n

      List of errors when associating secrets to cluster.

      \n " } } }, @@ -2104,17 +2174,17 @@ "DEFAULT" ] }, - "BrokerCountUpdateInfo" : { - "type" : "structure", - "members" : { - "CreatedBrokerIds" : { - "shape" : "__listOf__double", - "locationName" : "createdBrokerIds", + "BrokerCountUpdateInfo": { + "type": "structure", + "members": { + "CreatedBrokerIds": { + "shape": "__listOf__double", + "locationName": "createdBrokerIds", "documentation": "\n

      Kafka Broker IDs of brokers being created.

      \n " }, - "DeletedBrokerIds" : { - "shape" : "__listOf__double", - "locationName" : "deletedBrokerIds", + "DeletedBrokerIds": { + "shape": "__listOf__double", + "locationName": "deletedBrokerIds", "documentation": "\n

      Kafka Broker IDs of brokers being deleted.

      \n " } }, @@ -2128,10 +2198,10 @@ "locationName": "kafkaBrokerNodeId", "documentation": "\n

      The ID of the broker to update.

      \n " }, - "ProvisionedThroughput" : { - "shape" : "ProvisionedThroughput", - "locationName" : "provisionedThroughput", - "documentation" : "\n

      EBS volume provisioned throughput information.

      \n " + "ProvisionedThroughput": { + "shape": "ProvisionedThroughput", + "locationName": "provisionedThroughput", + "documentation": "\n

      EBS volume provisioned throughput information.

      \n " }, "VolumeSizeGB": { "shape": "__integer", @@ -2189,10 +2259,10 @@ "locationName": "storageInfo", "documentation": "\n

      Contains information about storage volumes attached to MSK broker nodes.

      \n " }, - "ConnectivityInfo" : { - "shape" : "ConnectivityInfo", - "locationName" : "connectivityInfo", - "documentation" : "\n

      Information about the broker access configuration.

      \n " + "ConnectivityInfo": { + "shape": "ConnectivityInfo", + "locationName": "connectivityInfo", + "documentation": "\n

      Information about the broker access configuration.

      \n " }, "ZoneIds": { "shape": "__listOf__string", @@ -2263,34 +2333,34 @@ }, "documentation": "\n

      Information about the current software installed on the cluster.

      \n " }, - "ClientAuthentication" : { - "type" : "structure", - "members" : { - "Sasl" : { - "shape" : "Sasl", - "locationName" : "sasl", - "documentation" : "\n

      Details for ClientAuthentication using SASL.

      \n " + "ClientAuthentication": { + "type": "structure", + "members": { + "Sasl": { + "shape": "Sasl", + "locationName": "sasl", + "documentation": "\n

      Details for ClientAuthentication using SASL.

      \n " }, "Tls": { "shape": "Tls", "locationName": "tls", "documentation": "\n

      Details for ClientAuthentication using TLS.

      \n " }, - "Unauthenticated" : { - "shape" : "Unauthenticated", - "locationName" : "unauthenticated", + "Unauthenticated": { + "shape": "Unauthenticated", + "locationName": "unauthenticated", "documentation": "\n

      Contains information about unauthenticated traffic to the cluster.

      \n " } }, - "documentation" : "\n

      Includes all client authentication information.

      \n " + "documentation": "\n

      Includes all client authentication information.

      \n " }, - "VpcConnectivityClientAuthentication" : { - "type" : "structure", - "members" : { - "Sasl" : { - "shape" : "VpcConnectivitySasl", - "locationName" : "sasl", - "documentation" : "\n

      SASL authentication type details for VPC connectivity.

      \n " + "VpcConnectivityClientAuthentication": { + "type": "structure", + "members": { + "Sasl": { + "shape": "VpcConnectivitySasl", + "locationName": "sasl", + "documentation": "\n

      SASL authentication type details for VPC connectivity.

      \n " }, "Tls": { "shape": "VpcConnectivityTls", @@ -2298,18 +2368,18 @@ "documentation": "\n

      TLS authentication type details for VPC connectivity.

      \n " } }, - "documentation" : "\n

      Includes all client authentication information for VPC connectivity.

      \n " + "documentation": "\n

      Includes all client authentication information for VPC connectivity.

      \n " }, - "ServerlessClientAuthentication" : { - "type" : "structure", - "members" : { - "Sasl" : { - "shape" : "ServerlessSasl", - "locationName" : "sasl", - "documentation" : "\n

      Details for ClientAuthentication using SASL.

      \n " + "ServerlessClientAuthentication": { + "type": "structure", + "members": { + "Sasl": { + "shape": "ServerlessSasl", + "locationName": "sasl", + "documentation": "\n

      Details for ClientAuthentication using SASL.

      \n " } }, - "documentation" : "\n

      Includes all client authentication information.

      \n " + "documentation": "\n

      Includes all client authentication information.

      \n " }, "ClientBroker": { "type": "string", @@ -2320,19 +2390,21 @@ "PLAINTEXT" ] }, - "CloudWatchLogs" : { - "type" : "structure", - "members" : { - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled" + "CloudWatchLogs": { + "type": "structure", + "members": { + "Enabled": { + "shape": "__boolean", + "locationName": "enabled" }, - "LogGroup" : { - "shape" : "__string", - "locationName" : "logGroup" + "LogGroup": { + "shape": "__string", + "locationName": "logGroup" } }, - "required" : [ "Enabled" ] + "required": [ + "Enabled" + ] }, "ClusterInfo": { "type": "structure", @@ -2387,10 +2459,10 @@ "locationName": "enhancedMonitoring", "documentation": "\n

      Specifies which metrics are gathered for the MSK cluster. This property has the following possible values: DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics associated with each of these levels of monitoring, see Monitoring.

      \n " }, - "OpenMonitoring" : { - "shape" : "OpenMonitoring", - "locationName" : "openMonitoring", - "documentation" : "\n

      Settings for open monitoring using Prometheus.

      \n " + "OpenMonitoring": { + "shape": "OpenMonitoring", + "locationName": "openMonitoring", + "documentation": "\n

      Settings for open monitoring using Prometheus.

      \n " }, "LoggingInfo": { "shape": "LoggingInfo", @@ -2406,9 +2478,9 @@ "locationName": "state", "documentation": "\n

      The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.

      \n " }, - "StateInfo" : { - "shape" : "StateInfo", - "locationName" : "stateInfo" + "StateInfo": { + "shape": "StateInfo", + "locationName": "stateInfo" }, "Tags": { "shape": "__mapOf__string", @@ -2420,15 +2492,15 @@ "locationName": "zookeeperConnectString", "documentation": "\n

      The connection string to use to connect to the Apache ZooKeeper cluster.

      \n " }, - "ZookeeperConnectStringTls" : { - "shape" : "__string", - "locationName" : "zookeeperConnectStringTls", - "documentation" : "\n

      The connection string to use to connect to zookeeper cluster on Tls port.

      \n " + "ZookeeperConnectStringTls": { + "shape": "__string", + "locationName": "zookeeperConnectStringTls", + "documentation": "\n

      The connection string to use to connect to zookeeper cluster on Tls port.

      \n " }, - "StorageMode" : { - "shape" : "StorageMode", - "locationName" : "storageMode", - "documentation" : "\n

      This controls storage mode for supported storage tiers.

      \n " + "StorageMode": { + "shape": "StorageMode", + "locationName": "storageMode", + "documentation": "\n

      This controls storage mode for supported storage tiers.

      \n " }, "CustomerActionStatus": { "shape": "CustomerActionStatus", @@ -2476,9 +2548,9 @@ "locationName": "state", "documentation": "\n

      The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.

      \n " }, - "StateInfo" : { - "shape" : "StateInfo", - "locationName" : "stateInfo", + "StateInfo": { + "shape": "StateInfo", + "locationName": "stateInfo", "documentation": "\n

      State Info for the Amazon MSK cluster.

      \n " }, "Tags": { @@ -2537,10 +2609,10 @@ "locationName": "operationState", "documentation": "\n

      State of the cluster operation.

      \n " }, - "OperationSteps" : { - "shape" : "__listOfClusterOperationStep", - "locationName" : "operationSteps", - "documentation" : "\n

      Steps completed during the operation.

      \n " + "OperationSteps": { + "shape": "__listOfClusterOperationStep", + "locationName": "operationSteps", + "documentation": "\n

      Steps completed during the operation.

      \n " }, "OperationType": { "shape": "__string", @@ -2565,32 +2637,32 @@ }, "documentation": "\n

      Returns information about a cluster operation.

      \n " }, - "ClusterOperationStep" : { - "type" : "structure", - "members" : { - "StepInfo" : { - "shape" : "ClusterOperationStepInfo", - "locationName" : "stepInfo", - "documentation" : "\n

      Information about the step and its status.

      \n " + "ClusterOperationStep": { + "type": "structure", + "members": { + "StepInfo": { + "shape": "ClusterOperationStepInfo", + "locationName": "stepInfo", + "documentation": "\n

      Information about the step and its status.

      \n " }, - "StepName" : { - "shape" : "__string", - "locationName" : "stepName", - "documentation" : "\n

      The name of the step.

      \n " + "StepName": { + "shape": "__string", + "locationName": "stepName", + "documentation": "\n

      The name of the step.

      \n " } }, - "documentation" : "\n

      Step taken during a cluster operation.

      \n " + "documentation": "\n

      Step taken during a cluster operation.

      \n " }, - "ClusterOperationStepInfo" : { - "type" : "structure", - "members" : { - "StepStatus" : { - "shape" : "__string", - "locationName" : "stepStatus", - "documentation" : "\n

      The steps current status.

      \n " + "ClusterOperationStepInfo": { + "type": "structure", + "members": { + "StepStatus": { + "shape": "__string", + "locationName": "stepStatus", + "documentation": "\n

      The steps current status.

      \n " } }, - "documentation" : "\n

      State information about the operation step.

      \n " + "documentation": "\n

      State information about the operation step.

      \n " }, "ClusterState": { "type": "string", @@ -2615,9 +2687,9 @@ ] }, "ProvisionedRequest": { - "type" : "structure", + "type": "structure", "documentation": "\n

      Provisioned cluster request.

      \n ", - "members" : { + "members": { "BrokerNodeGroupInfo": { "shape": "BrokerNodeGroupInfo", "locationName": "brokerNodeGroupInfo", @@ -2643,10 +2715,10 @@ "locationName": "enhancedMonitoring", "documentation": "\n

      Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.

      \n " }, - "OpenMonitoring" : { - "shape" : "OpenMonitoringInfo", - "locationName" : "openMonitoring", - "documentation" : "\n

      The settings for open monitoring.

      \n " + "OpenMonitoring": { + "shape": "OpenMonitoringInfo", + "locationName": "openMonitoring", + "documentation": "\n

      The settings for open monitoring.

      \n " }, "KafkaVersion": { "shape": "__stringMin1Max128", @@ -2663,10 +2735,10 @@ "locationName": "numberOfBrokerNodes", "documentation": "\n

      The number of broker nodes in the cluster.

      \n " }, - "StorageMode" : { - "shape" : "StorageMode", - "locationName" : "storageMode", - "documentation" : "\n

      This controls storage mode for supported storage tiers.

      \n " + "StorageMode": { + "shape": "StorageMode", + "locationName": "storageMode", + "documentation": "\n

      This controls storage mode for supported storage tiers.

      \n " } }, "required": [ @@ -2676,9 +2748,9 @@ ] }, "Provisioned": { - "type" : "structure", + "type": "structure", "documentation": "\n

      Provisioned cluster.

      \n ", - "members" : { + "members": { "BrokerNodeGroupInfo": { "shape": "BrokerNodeGroupInfo", "locationName": "brokerNodeGroupInfo", @@ -2704,10 +2776,10 @@ "locationName": "enhancedMonitoring", "documentation": "\n

      Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.

      \n " }, - "OpenMonitoring" : { - "shape" : "OpenMonitoringInfo", - "locationName" : "openMonitoring", - "documentation" : "\n

      The settings for open monitoring.

      \n " + "OpenMonitoring": { + "shape": "OpenMonitoringInfo", + "locationName": "openMonitoring", + "documentation": "\n

      The settings for open monitoring.

      \n " }, "LoggingInfo": { "shape": "LoggingInfo", @@ -2724,15 +2796,15 @@ "locationName": "zookeeperConnectString", "documentation": "\n

      The connection string to use to connect to the Apache ZooKeeper cluster.

      \n " }, - "ZookeeperConnectStringTls" : { - "shape" : "__string", - "locationName" : "zookeeperConnectStringTls", - "documentation" : "\n

      The connection string to use to connect to the Apache ZooKeeper cluster on a TLS port.

      \n " + "ZookeeperConnectStringTls": { + "shape": "__string", + "locationName": "zookeeperConnectStringTls", + "documentation": "\n

      The connection string to use to connect to the Apache ZooKeeper cluster on a TLS port.

      \n " }, - "StorageMode" : { - "shape" : "StorageMode", - "locationName" : "storageMode", - "documentation" : "\n

      This controls storage mode for supported storage tiers.

      \n " + "StorageMode": { + "shape": "StorageMode", + "locationName": "storageMode", + "documentation": "\n

      This controls storage mode for supported storage tiers.

      \n " }, "CustomerActionStatus": { "shape": "CustomerActionStatus", @@ -2746,18 +2818,18 @@ ] }, "VpcConfig": { - "type" : "structure", + "type": "structure", "documentation": "\n

      The configuration of the Amazon VPCs for the cluster.

      \n ", "members": { "SubnetIds": { "shape": "__listOf__string", "locationName": "subnetIds", - "documentation" : "\n

      The IDs of the subnets associated with the cluster.

      \n " + "documentation": "\n

      The IDs of the subnets associated with the cluster.

      \n " }, "SecurityGroupIds": { "shape": "__listOf__string", "locationName": "securityGroupIds", - "documentation" : "\n

      The IDs of the security groups associated with the cluster.

      \n " + "documentation": "\n

      The IDs of the security groups associated with the cluster.

      \n " } }, "required": [ @@ -2765,9 +2837,9 @@ ] }, "ServerlessRequest": { - "type" : "structure", + "type": "structure", "documentation": "\n

      Serverless cluster request.

      \n ", - "members" : { + "members": { "VpcConfigs": { "shape": "__listOfVpcConfig", "locationName": "vpcConfigs", @@ -2784,9 +2856,9 @@ ] }, "Serverless": { - "type" : "structure", + "type": "structure", "documentation": "\n

      Serverless cluster.

      \n ", - "members" : { + "members": { "VpcConfigs": { "shape": "__listOfVpcConfig", "locationName": "vpcConfigs", @@ -2810,7 +2882,6 @@ "shape": "__string", "locationName": "authentication", "documentation": "\n

      Information about the auth scheme of Vpc Connection.

      \n " - }, "CreationTime": { "shape": "__timestampIso8601", @@ -2831,7 +2902,6 @@ "shape": "__string", "locationName": "owner", "documentation": "\n

      The Owner of the Vpc Connection.

      \n " - } }, "required": [ @@ -2878,17 +2948,17 @@ "TargetClusterArn" ] }, - "CompatibleKafkaVersion" : { - "type" : "structure", - "members" : { - "SourceVersion" : { - "shape" : "__string", - "locationName" : "sourceVersion", + "CompatibleKafkaVersion": { + "type": "structure", + "members": { + "SourceVersion": { + "shape": "__string", + "locationName": "sourceVersion", "documentation": "\n

      An Apache Kafka version.

      \n " }, - "TargetVersions" : { - "shape" : "__listOf__string", - "locationName" : "targetVersions", + "TargetVersions": { + "shape": "__listOf__string", + "locationName": "targetVersions", "documentation": "\n

      A list of Apache Kafka versions.

      \n " } }, @@ -3018,7 +3088,7 @@ "httpStatusCode": 409 } }, - "ConnectivityInfo" : { + "ConnectivityInfo": { "type": "structure", "members": { "PublicAccess": { @@ -3048,18 +3118,20 @@ "documentation": "

      List of regular expression patterns indicating the consumer groups to copy.

      " }, "DetectAndCopyNewConsumerGroups": { - "shape": "__boolean", - "locationName": "detectAndCopyNewConsumerGroups", - "documentation": "

      Enables synchronization of consumer groups to target cluster.

      " + "shape": "__boolean", + "locationName": "detectAndCopyNewConsumerGroups", + "documentation": "

      Enables synchronization of consumer groups to target cluster.

      " }, "SynchroniseConsumerGroupOffsets": { "shape": "__boolean", "locationName": "synchroniseConsumerGroupOffsets", "documentation": "

      Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.

      " - } - }, - "documentation": "

      Details about consumer group replication.

      ", - "required": ["ConsumerGroupsToReplicate"] + } + }, + "documentation": "

      Details about consumer group replication.

      ", + "required": [ + "ConsumerGroupsToReplicate" + ] }, "ConsumerGroupReplicationUpdate": { "type": "structure", @@ -3086,7 +3158,12 @@ } }, "documentation": "

      Details about consumer group replication.

      ", - "required": ["ConsumerGroupsToReplicate", "ConsumerGroupsToExclude", "SynchroniseConsumerGroupOffsets", "DetectAndCopyNewConsumerGroups"] + "required": [ + "ConsumerGroupsToReplicate", + "ConsumerGroupsToExclude", + "SynchroniseConsumerGroupOffsets", + "DetectAndCopyNewConsumerGroups" + ] }, "CreateClusterV2Request": { "type": "structure", @@ -3149,10 +3226,10 @@ "locationName": "enhancedMonitoring", "documentation": "\n

      Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.

      \n " }, - "OpenMonitoring" : { - "shape" : "OpenMonitoringInfo", - "locationName" : "openMonitoring", - "documentation" : "\n

      The settings for open monitoring.

      \n " + "OpenMonitoring": { + "shape": "OpenMonitoringInfo", + "locationName": "openMonitoring", + "documentation": "\n

      The settings for open monitoring.

      \n " }, "KafkaVersion": { "shape": "__stringMin1Max128", @@ -3173,10 +3250,10 @@ "locationName": "tags", "documentation": "\n

      Create tags when creating the cluster.

      \n " }, - "StorageMode" : { - "shape" : "StorageMode", - "locationName" : "storageMode", - "documentation" : "\n

      This controls storage mode for supported storage tiers.

      \n " + "StorageMode": { + "shape": "StorageMode", + "locationName": "storageMode", + "documentation": "\n

      This controls storage mode for supported storage tiers.

      \n " } }, "required": [ @@ -3325,7 +3402,12 @@ } }, "documentation": "

      Creates a replicator using the specified configuration.

      ", - "required": ["ServiceExecutionRoleArn", "ReplicatorName", "ReplicationInfoList", "KafkaClusters"] + "required": [ + "ServiceExecutionRoleArn", + "ReplicatorName", + "ReplicationInfoList", + "KafkaClusters" + ] }, "CreateReplicatorResponse": { "type": "structure", @@ -3401,7 +3483,6 @@ "shape": "VpcConnectionState", "locationName": "state", "documentation": "\n

      The State of Vpc Connection.

      \n " - }, "Authentication": { "shape": "__string", @@ -3435,139 +3516,139 @@ } } }, - "ClusterOperationV2" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", - "documentation" : "\n

      ARN of the cluster.

      " - }, - "ClusterType" : { - "shape" : "ClusterType", - "locationName" : "clusterType", - "documentation" : "\n

      Type of the backend cluster.

      " - }, - "StartTime" : { - "shape" : "__timestampIso8601", - "locationName" : "startTime", - "documentation" : "\n

      The time at which operation was started.

      " - }, - "EndTime" : { - "shape" : "__timestampIso8601", - "locationName" : "endTime", - "documentation" : "\n

      The time at which the operation finished.

      " - }, - "ErrorInfo" : { - "shape" : "ErrorInfo", - "locationName" : "errorInfo", - "documentation" : "\n

      If cluster operation failed from an error, it describes the error.

      " - }, - "OperationArn" : { - "shape" : "__string", - "locationName" : "operationArn", - "documentation" : "\n

      ARN of the cluster operation.

      " - }, - "OperationState" : { - "shape" : "__string", - "locationName" : "operationState", - "documentation" : "\n

      State of the cluster operation.

      " - }, - "OperationType" : { - "shape" : "__string", - "locationName" : "operationType", - "documentation" : "\n

      Type of the cluster operation.

      " - }, - "Provisioned" : { - "shape" : "ClusterOperationV2Provisioned", - "locationName" : "provisioned", - "documentation" : "\n

      Properties of a provisioned cluster.

      " - }, - "Serverless" : { - "shape" : "ClusterOperationV2Serverless", - "locationName" : "serverless", - "documentation" : "\n

      Properties of a serverless cluster.

      " - } - }, - "documentation" : "\n

      Returns information about a cluster operation.

      " - }, - "ClusterOperationV2Provisioned" : { - "type" : "structure", - "members" : { - "OperationSteps" : { - "shape" : "__listOfClusterOperationStep", - "locationName" : "operationSteps", - "documentation" : "\n

      Steps completed during the operation.

      " - }, - "SourceClusterInfo" : { - "shape" : "MutableClusterInfo", - "locationName" : "sourceClusterInfo", - "documentation" : "\n

      Information about cluster attributes before a cluster is updated.

      " - }, - "TargetClusterInfo" : { - "shape" : "MutableClusterInfo", - "locationName" : "targetClusterInfo", - "documentation" : "\n

      Information about cluster attributes after a cluster is updated.

      " - }, - "VpcConnectionInfo" : { - "shape" : "VpcConnectionInfo", - "locationName" : "vpcConnectionInfo", - "documentation" : "\n

      Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.

      " - } - }, - "documentation" : "\n

      Returns information about a provisioned cluster operation.

      " - }, - "ClusterOperationV2Serverless" : { - "type" : "structure", - "members" : { - "VpcConnectionInfo" : { - "shape" : "VpcConnectionInfoServerless", - "locationName" : "vpcConnectionInfo", - "documentation" : "\n

      Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.

      " - } - }, - "documentation" : "\n

      Returns information about a serverless cluster operation.

      " - }, - "ClusterOperationV2Summary" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", - "documentation" : "\n

      ARN of the cluster.

      " - }, - "ClusterType" : { - "shape" : "ClusterType", - "locationName" : "clusterType", - "documentation" : "\n

      Type of the backend cluster.

      " - }, - "StartTime" : { - "shape" : "__timestampIso8601", - "locationName" : "startTime", - "documentation" : "\n

      The time at which operation was started.

      " - }, - "EndTime" : { - "shape" : "__timestampIso8601", - "locationName" : "endTime", - "documentation" : "\n

      The time at which the operation finished.

      " - }, - "OperationArn" : { - "shape" : "__string", - "locationName" : "operationArn", - "documentation" : "\n

      ARN of the cluster operation.

      " - }, - "OperationState" : { - "shape" : "__string", - "locationName" : "operationState", - "documentation" : "\n

      State of the cluster operation.

      " - }, - "OperationType" : { - "shape" : "__string", - "locationName" : "operationType", - "documentation" : "\n

      Type of the cluster operation.

      " - } + "ClusterOperationV2": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", + "documentation": "\n

      ARN of the cluster.

      " + }, + "ClusterType": { + "shape": "ClusterType", + "locationName": "clusterType", + "documentation": "\n

      Type of the backend cluster.

      " + }, + "StartTime": { + "shape": "__timestampIso8601", + "locationName": "startTime", + "documentation": "\n

      The time at which operation was started.

      " + }, + "EndTime": { + "shape": "__timestampIso8601", + "locationName": "endTime", + "documentation": "\n

      The time at which the operation finished.

      " + }, + "ErrorInfo": { + "shape": "ErrorInfo", + "locationName": "errorInfo", + "documentation": "\n

      If cluster operation failed from an error, it describes the error.

      " + }, + "OperationArn": { + "shape": "__string", + "locationName": "operationArn", + "documentation": "\n

      ARN of the cluster operation.

      " + }, + "OperationState": { + "shape": "__string", + "locationName": "operationState", + "documentation": "\n

      State of the cluster operation.

      " + }, + "OperationType": { + "shape": "__string", + "locationName": "operationType", + "documentation": "\n

      Type of the cluster operation.

      " + }, + "Provisioned": { + "shape": "ClusterOperationV2Provisioned", + "locationName": "provisioned", + "documentation": "\n

      Properties of a provisioned cluster.

      " + }, + "Serverless": { + "shape": "ClusterOperationV2Serverless", + "locationName": "serverless", + "documentation": "\n

      Properties of a serverless cluster.

      " + } + }, + "documentation": "\n

      Returns information about a cluster operation.

      " + }, + "ClusterOperationV2Provisioned": { + "type": "structure", + "members": { + "OperationSteps": { + "shape": "__listOfClusterOperationStep", + "locationName": "operationSteps", + "documentation": "\n

      Steps completed during the operation.

      " + }, + "SourceClusterInfo": { + "shape": "MutableClusterInfo", + "locationName": "sourceClusterInfo", + "documentation": "\n

      Information about cluster attributes before a cluster is updated.

      " + }, + "TargetClusterInfo": { + "shape": "MutableClusterInfo", + "locationName": "targetClusterInfo", + "documentation": "\n

      Information about cluster attributes after a cluster is updated.

      " + }, + "VpcConnectionInfo": { + "shape": "VpcConnectionInfo", + "locationName": "vpcConnectionInfo", + "documentation": "\n

      Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.

      " + } + }, + "documentation": "\n

      Returns information about a provisioned cluster operation.

      " + }, + "ClusterOperationV2Serverless": { + "type": "structure", + "members": { + "VpcConnectionInfo": { + "shape": "VpcConnectionInfoServerless", + "locationName": "vpcConnectionInfo", + "documentation": "\n

      Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.

      " + } + }, + "documentation": "\n

      Returns information about a serverless cluster operation.

      " + }, + "ClusterOperationV2Summary": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", + "documentation": "\n

      ARN of the cluster.

      " + }, + "ClusterType": { + "shape": "ClusterType", + "locationName": "clusterType", + "documentation": "\n

      Type of the backend cluster.

      " + }, + "StartTime": { + "shape": "__timestampIso8601", + "locationName": "startTime", + "documentation": "\n

      The time at which operation was started.

      " + }, + "EndTime": { + "shape": "__timestampIso8601", + "locationName": "endTime", + "documentation": "\n

      The time at which the operation finished.

      " + }, + "OperationArn": { + "shape": "__string", + "locationName": "operationArn", + "documentation": "\n

      ARN of the cluster operation.

      " + }, + "OperationState": { + "shape": "__string", + "locationName": "operationState", + "documentation": "\n

      State of the cluster operation.

      " + }, + "OperationType": { + "shape": "__string", + "locationName": "operationType", + "documentation": "\n

      Type of the cluster operation.

      " + } }, - "documentation" : "\n

      Returns information about a cluster operation.

      " + "documentation": "\n

      Returns information about a cluster operation.

      " }, "ControllerNodeInfo": { "type": "structure", @@ -3583,7 +3664,11 @@ "CustomerActionStatus": { "type": "string", "documentation": "\n

      A type of an action required from the customer.

      ", - "enum": [ "CRITICAL_ACTION_REQUIRED", "ACTION_RECOMMENDED", "NONE" ] + "enum": [ + "CRITICAL_ACTION_REQUIRED", + "ACTION_RECOMMENDED", + "NONE" + ] }, "DeleteClusterRequest": { "type": "structure", @@ -3684,7 +3769,9 @@ "documentation": "

      The Amazon Resource Name (ARN) of the replicator to be deleted.

      " } }, - "required": ["ReplicatorArn"] + "required": [ + "ReplicatorArn" + ] }, "DeleteReplicatorResponse": { "type": "structure", @@ -3744,17 +3831,19 @@ "ClusterOperationArn" ] }, - "DescribeClusterOperationV2Request" : { - "type" : "structure", - "members" : { - "ClusterOperationArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterOperationArn", - "documentation" : "ARN of the cluster operation to describe." + "DescribeClusterOperationV2Request": { + "type": "structure", + "members": { + "ClusterOperationArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterOperationArn", + "documentation": "ARN of the cluster operation to describe." } }, - "required" : [ "ClusterOperationArn" ] + "required": [ + "ClusterOperationArn" + ] }, "DescribeClusterOperationResponse": { "type": "structure", @@ -3766,13 +3855,13 @@ } } }, - "DescribeClusterOperationV2Response" : { - "type" : "structure", - "members" : { - "ClusterOperationInfo" : { - "shape" : "ClusterOperationV2", - "locationName" : "clusterOperationInfo", - "documentation" : "\n

      Cluster operation information

      " + "DescribeClusterOperationV2Response": { + "type": "structure", + "members": { + "ClusterOperationInfo": { + "shape": "ClusterOperationV2", + "locationName": "clusterOperationInfo", + "documentation": "\n

      Cluster operation information

      " } } }, @@ -3953,7 +4042,9 @@ "documentation": "

      The Amazon Resource Name (ARN) of the replicator to be described.

      " } }, - "required": ["ReplicatorArn"] + "required": [ + "ReplicatorArn" + ] }, "DescribeReplicatorResponse": { "type": "structure", @@ -4057,19 +4148,16 @@ "shape": "__listOf__string", "locationName": "subnets", "documentation": "\n

      The list of subnets for the VPC connection.

      \n " - }, "SecurityGroups": { "shape": "__listOf__string", "locationName": "securityGroups", "documentation": "\n

      The list of security groups for the VPC connection.

      \n " - }, "CreationTime": { "shape": "__timestampIso8601", "locationName": "creationTime", "documentation": "\n

      The creation time of the VPC connection.

      \n " - }, "Tags": { "shape": "__mapOf__string", @@ -4078,46 +4166,49 @@ } } }, - "BatchDisassociateScramSecretRequest" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " - }, - "SecretArnList" : { - "shape" : "__listOf__string", - "locationName" : "secretArnList", - "documentation" : "\n

      List of AWS Secrets Manager secret ARNs.

      \n " - } - }, - "documentation" : "\n

      Disassociates sasl scram secrets to cluster.

      \n ", - "required" : [ "ClusterArn", "SecretArnList" ] - }, - "BatchDisassociateScramSecretResponse" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " - }, - "UnprocessedScramSecrets" : { - "shape" : "__listOfUnprocessedScramSecret", - "locationName" : "unprocessedScramSecrets", - "documentation" : "\n

      List of errors when disassociating secrets to cluster.

      \n " + "BatchDisassociateScramSecretRequest": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " + }, + "SecretArnList": { + "shape": "__listOf__string", + "locationName": "secretArnList", + "documentation": "\n

      List of AWS Secrets Manager secret ARNs.

      \n " + } + }, + "documentation": "\n

      Disassociates sasl scram secrets to cluster.

      \n ", + "required": [ + "ClusterArn", + "SecretArnList" + ] + }, + "BatchDisassociateScramSecretResponse": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + }, + "UnprocessedScramSecrets": { + "shape": "__listOfUnprocessedScramSecret", + "locationName": "unprocessedScramSecrets", + "documentation": "\n

      List of errors when disassociating secrets to cluster.

      \n " } } }, "EBSStorageInfo": { "type": "structure", "members": { - "ProvisionedThroughput" : { - "shape" : "ProvisionedThroughput", - "locationName" : "provisionedThroughput", - "documentation" : "\n

      EBS volume provisioned throughput information.

      \n " + "ProvisionedThroughput": { + "shape": "ProvisionedThroughput", + "locationName": "provisionedThroughput", + "documentation": "\n

      EBS volume provisioned throughput information.

      \n " }, "VolumeSize": { "shape": "__integerMin1Max16384", @@ -4215,19 +4306,21 @@ }, "documentation": "\n

      Returns information about an error state of the cluster.

      \n " }, - "Firehose" : { - "type" : "structure", - "members" : { - "DeliveryStream" : { - "shape" : "__string", - "locationName" : "deliveryStream" + "Firehose": { + "type": "structure", + "members": { + "DeliveryStream": { + "shape": "__string", + "locationName": "deliveryStream" }, - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled" + "Enabled": { + "shape": "__boolean", + "locationName": "enabled" } }, - "required" : [ "Enabled" ] + "required": [ + "Enabled" + ] }, "ForbiddenException": { "type": "structure", @@ -4318,23 +4411,23 @@ } } }, - "GetCompatibleKafkaVersionsRequest" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "clusterArn", + "GetCompatibleKafkaVersionsRequest": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "location": "querystring", + "locationName": "clusterArn", "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster check.

      \n " } } }, - "GetCompatibleKafkaVersionsResponse" : { - "type" : "structure", - "members" : { - "CompatibleKafkaVersions" : { - "shape" : "__listOfCompatibleKafkaVersion", - "locationName" : "compatibleKafkaVersions", + "GetCompatibleKafkaVersionsResponse": { + "type": "structure", + "members": { + "CompatibleKafkaVersions": { + "shape": "__listOfCompatibleKafkaVersion", + "locationName": "compatibleKafkaVersions", "documentation": "\n

      A list of CompatibleKafkaVersion objects.

      \n " } } @@ -4365,7 +4458,6 @@ "shape": "__string", "locationName": "policy", "documentation": "\n

      The cluster policy.

      \n " - } } }, @@ -4404,24 +4496,29 @@ } }, "documentation": "

      Information about Kafka Cluster to be used as source / target for replication.

      ", - "required": ["VpcConfig", "AmazonMskCluster"] + "required": [ + "VpcConfig", + "AmazonMskCluster" + ] }, - "KafkaClusterClientVpcConfig" : { - "type" : "structure", - "members" : { - "SecurityGroupIds" : { - "shape" : "__listOf__string", - "locationName" : "securityGroupIds", - "documentation" : "

      The security groups to attach to the ENIs for the broker nodes.

      " + "KafkaClusterClientVpcConfig": { + "type": "structure", + "members": { + "SecurityGroupIds": { + "shape": "__listOf__string", + "locationName": "securityGroupIds", + "documentation": "

      The security groups to attach to the ENIs for the broker nodes.

      " }, - "SubnetIds" : { - "shape" : "__listOf__string", - "locationName" : "subnetIds", - "documentation" : "

      The list of subnets in the client VPC to connect to.

      " + "SubnetIds": { + "shape": "__listOf__string", + "locationName": "subnetIds", + "documentation": "

      The list of subnets in the client VPC to connect to.

      " } }, - "documentation" : "

      Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.

      ", - "required" : [ "SubnetIds" ] + "documentation": "

      Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.

      ", + "required": [ + "SubnetIds" + ] }, "KafkaClusterDescription": { "type": "structure", @@ -4506,29 +4603,31 @@ "ClusterArn" ] }, - "ListClusterOperationsV2Request" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "The arn of the cluster whose operations are being requested." + "ListClusterOperationsV2Request": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "The arn of the cluster whose operations are being requested." }, - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults", - "documentation" : "The maxResults of the query." + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults", + "documentation": "The maxResults of the query." }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken", - "documentation" : "The nextToken of the query." + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken", + "documentation": "The nextToken of the query." } }, - "required" : [ "ClusterArn" ] + "required": [ + "ClusterArn" + ] }, "ListClusterOperationsResponse": { "type": "structure", @@ -4545,18 +4644,18 @@ } } }, - "ListClusterOperationsV2Response" : { - "type" : "structure", - "members" : { - "ClusterOperationInfoList" : { - "shape" : "__listOfClusterOperationV2Summary", - "locationName" : "clusterOperationInfoList", - "documentation" : "\n

      An array of cluster operation information objects.

      " + "ListClusterOperationsV2Response": { + "type": "structure", + "members": { + "ClusterOperationInfoList": { + "shape": "__listOfClusterOperationV2Summary", + "locationName": "clusterOperationInfoList", + "documentation": "\n

      An array of cluster operation information objects.

      " }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken", - "documentation" : "\n

      If the response of ListClusterOperationsV2 is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListClusterOperationsV2.

      " + "NextToken": { + "shape": "__string", + "locationName": "nextToken", + "documentation": "\n

      If the response of ListClusterOperationsV2 is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListClusterOperationsV2.

      " } } }, @@ -4824,42 +4923,44 @@ } } }, - "ListScramSecretsRequest" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "\n

      The arn of the cluster.

      \n " - }, - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults", - "documentation" : "\n

      The maxResults of the query.

      \n " - }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken", - "documentation" : "\n

      The nextToken of the query.

      \n " - } - }, - "required" : [ "ClusterArn" ] - }, - "ListScramSecretsResponse" : { - "type" : "structure", - "members" : { - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken", - "documentation" : "\n

      Paginated results marker.

      \n " - }, - "SecretArnList" : { - "shape" : "__listOf__string", - "locationName" : "secretArnList", - "documentation" : "\n

      The list of scram secrets associated with the cluster.

      \n " + "ListScramSecretsRequest": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "\n

      The arn of the cluster.

      \n " + }, + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults", + "documentation": "\n

      The maxResults of the query.

      \n " + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken", + "documentation": "\n

      The nextToken of the query.

      \n " + } + }, + "required": [ + "ClusterArn" + ] + }, + "ListScramSecretsResponse": { + "type": "structure", + "members": { + "NextToken": { + "shape": "__string", + "locationName": "nextToken", + "documentation": "\n

      Paginated results marker.

      \n " + }, + "SecretArnList": { + "shape": "__listOf__string", + "locationName": "secretArnList", + "documentation": "\n

      The list of scram secrets associated with the cluster.

      \n " } } }, @@ -4890,11 +4991,11 @@ "ListClientVpcConnectionsRequest": { "type": "structure", "members": { - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " }, "MaxResults": { "shape": "MaxResults", @@ -4909,14 +5010,16 @@ "documentation": "\n

      The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. \n To get the next batch, provide this token in your next request.

      \n " } }, - "required": [ "ClusterArn" ] + "required": [ + "ClusterArn" + ] }, "ListClientVpcConnectionsResponse": { "type": "structure", "members": { - "ClientVpcConnections" : { - "shape" : "__listOfClientVpcConnection", - "locationName" : "clientVpcConnections", + "ClientVpcConnections": { + "shape": "__listOfClientVpcConnection", + "locationName": "clientVpcConnections", "documentation": "\n

      List of client VPC connections.

      \n " }, "NextToken": { @@ -4946,9 +5049,9 @@ "ListVpcConnectionsResponse": { "type": "structure", "members": { - "VpcConnections" : { - "shape" : "__listOfVpcConnection", - "locationName" : "vpcConnections", + "VpcConnections": { + "shape": "__listOfVpcConnection", + "locationName": "vpcConnections", "documentation": "\n

      List of VPC connections.

      \n " }, "NextToken": { @@ -4958,14 +5061,14 @@ } } }, - "RejectClientVpcConnectionRequest" : { - "type" : "structure", - "members" : { + "RejectClientVpcConnectionRequest": { + "type": "structure", + "members": { "ClusterArn": { "shape": "__string", "location": "uri", "locationName": "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " }, "VpcConnectionArn": { "shape": "__string", @@ -4973,9 +5076,12 @@ "documentation": "\n

      The VPC connection ARN.

      \n " } }, - "required" : [ "VpcConnectionArn", "ClusterArn" ] + "required": [ + "VpcConnectionArn", + "ClusterArn" + ] }, - "RejectClientVpcConnectionResponse" : { + "RejectClientVpcConnectionResponse": { "type": "structure", "members": { } @@ -4993,7 +5099,9 @@ "locationName": "brokerLogs" } }, - "required": [ "BrokerLogs" ] + "required": [ + "BrokerLogs" + ] }, "MutableClusterInfo": { "type": "structure", @@ -5013,189 +5121,201 @@ "locationName": "numberOfBrokerNodes", "documentation": "\n

      The number of broker nodes in the cluster.

      \n " }, - "EnhancedMonitoring" : { - "shape" : "EnhancedMonitoring", - "locationName" : "enhancedMonitoring", - "documentation" : "\n

      Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.

      \n " + "EnhancedMonitoring": { + "shape": "EnhancedMonitoring", + "locationName": "enhancedMonitoring", + "documentation": "\n

      Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.

      \n " }, - "OpenMonitoring" : { - "shape" : "OpenMonitoring", - "locationName" : "openMonitoring", - "documentation" : "\n

      The settings for open monitoring.

      \n " + "OpenMonitoring": { + "shape": "OpenMonitoring", + "locationName": "openMonitoring", + "documentation": "\n

      The settings for open monitoring.

      \n " }, - "KafkaVersion" : { - "shape" : "__string", - "locationName" : "kafkaVersion", - "documentation" : "\n

      The Apache Kafka version.

      \n " + "KafkaVersion": { + "shape": "__string", + "locationName": "kafkaVersion", + "documentation": "\n

      The Apache Kafka version.

      \n " }, "LoggingInfo": { "shape": "LoggingInfo", "locationName": "loggingInfo", - "documentation" : "\n

      You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.

      \n " + "documentation": "\n

      You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.

      \n " }, "InstanceType": { - "shape" : "__stringMin5Max32", - "locationName" : "instanceType", - "documentation" : "\n

      Information about the Amazon MSK broker type.

      \n " + "shape": "__stringMin5Max32", + "locationName": "instanceType", + "documentation": "\n

      Information about the Amazon MSK broker type.

      \n " }, - "ClientAuthentication" : { - "shape" : "ClientAuthentication", - "locationName" : "clientAuthentication", + "ClientAuthentication": { + "shape": "ClientAuthentication", + "locationName": "clientAuthentication", "documentation": "\n

      Includes all client authentication information.

      \n " }, - "EncryptionInfo" : { - "shape" : "EncryptionInfo", - "locationName" : "encryptionInfo", + "EncryptionInfo": { + "shape": "EncryptionInfo", + "locationName": "encryptionInfo", "documentation": "\n

      Includes all encryption-related information.

      \n " }, - "ConnectivityInfo" : { - "shape" : "ConnectivityInfo", - "locationName" : "connectivityInfo", - "documentation" : "\n

      Information about the broker access configuration.

      \n " + "ConnectivityInfo": { + "shape": "ConnectivityInfo", + "locationName": "connectivityInfo", + "documentation": "\n

      Information about the broker access configuration.

      \n " }, - "StorageMode" : { - "shape" : "StorageMode", - "locationName" : "storageMode", - "documentation" : "\n

      This controls storage mode for supported storage tiers.

      \n " + "StorageMode": { + "shape": "StorageMode", + "locationName": "storageMode", + "documentation": "\n

      This controls storage mode for supported storage tiers.

      \n " }, - "BrokerCountUpdateInfo" : { + "BrokerCountUpdateInfo": { "shape": "BrokerCountUpdateInfo", - "locationName" : "brokerCountUpdateInfo", - "documentation" : "\n

      Describes brokers being changed during a broker count update.

      \n " + "locationName": "brokerCountUpdateInfo", + "documentation": "\n

      Describes brokers being changed during a broker count update.

      \n " } }, "documentation": "\n

      Information about cluster attributes that can be updated via update APIs.

      \n " }, - "NodeExporter" : { - "type" : "structure", - "members" : { - "EnabledInBroker" : { - "shape" : "__boolean", - "locationName" : "enabledInBroker", - "documentation" : "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n " + "NodeExporter": { + "type": "structure", + "members": { + "EnabledInBroker": { + "shape": "__boolean", + "locationName": "enabledInBroker", + "documentation": "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n " } }, - "documentation" : "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n ", - "required" : [ "EnabledInBroker" ] + "documentation": "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n ", + "required": [ + "EnabledInBroker" + ] }, - "NodeExporterInfo" : { - "type" : "structure", - "members" : { - "EnabledInBroker" : { - "shape" : "__boolean", - "locationName" : "enabledInBroker", - "documentation" : "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n " + "NodeExporterInfo": { + "type": "structure", + "members": { + "EnabledInBroker": { + "shape": "__boolean", + "locationName": "enabledInBroker", + "documentation": "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n " } }, - "documentation" : "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n ", - "required" : [ "EnabledInBroker" ] + "documentation": "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n ", + "required": [ + "EnabledInBroker" + ] }, - "JmxExporter" : { - "type" : "structure", - "members" : { - "EnabledInBroker" : { - "shape" : "__boolean", - "locationName" : "enabledInBroker", - "documentation" : "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n " + "JmxExporter": { + "type": "structure", + "members": { + "EnabledInBroker": { + "shape": "__boolean", + "locationName": "enabledInBroker", + "documentation": "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n " } }, - "documentation" : "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n ", - "required" : [ "EnabledInBroker" ] + "documentation": "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n ", + "required": [ + "EnabledInBroker" + ] }, - "JmxExporterInfo" : { - "type" : "structure", - "members" : { - "EnabledInBroker" : { - "shape" : "__boolean", - "locationName" : "enabledInBroker", - "documentation" : "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n " + "JmxExporterInfo": { + "type": "structure", + "members": { + "EnabledInBroker": { + "shape": "__boolean", + "locationName": "enabledInBroker", + "documentation": "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n " } }, - "documentation" : "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n ", - "required" : [ "EnabledInBroker" ] + "documentation": "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n ", + "required": [ + "EnabledInBroker" + ] }, - "OpenMonitoring" : { - "type" : "structure", - "members" : { - "Prometheus" : { - "shape" : "Prometheus", - "locationName" : "prometheus", - "documentation" : "\n

      Prometheus settings.

      \n " + "OpenMonitoring": { + "type": "structure", + "members": { + "Prometheus": { + "shape": "Prometheus", + "locationName": "prometheus", + "documentation": "\n

      Prometheus settings.

      \n " } }, - "documentation" : "\n

      JMX and Node monitoring for the MSK cluster.

      \n ", - "required" : [ "Prometheus" ] + "documentation": "\n

      JMX and Node monitoring for the MSK cluster.

      \n ", + "required": [ + "Prometheus" + ] }, - "OpenMonitoringInfo" : { - "type" : "structure", - "members" : { - "Prometheus" : { - "shape" : "PrometheusInfo", - "locationName" : "prometheus", - "documentation" : "\n

      Prometheus settings.

      \n " + "OpenMonitoringInfo": { + "type": "structure", + "members": { + "Prometheus": { + "shape": "PrometheusInfo", + "locationName": "prometheus", + "documentation": "\n

      Prometheus settings.

      \n " } }, - "documentation" : "\n

      JMX and Node monitoring for the MSK cluster.

      \n ", - "required" : [ "Prometheus" ] + "documentation": "\n

      JMX and Node monitoring for the MSK cluster.

      \n ", + "required": [ + "Prometheus" + ] }, - "Prometheus" : { - "type" : "structure", - "members" : { - "JmxExporter" : { - "shape" : "JmxExporter", - "locationName" : "jmxExporter", - "documentation" : "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n " + "Prometheus": { + "type": "structure", + "members": { + "JmxExporter": { + "shape": "JmxExporter", + "locationName": "jmxExporter", + "documentation": "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n " }, - "NodeExporter" : { - "shape" : "NodeExporter", - "locationName" : "nodeExporter", - "documentation" : "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n " + "NodeExporter": { + "shape": "NodeExporter", + "locationName": "nodeExporter", + "documentation": "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n " } }, - "documentation" : "\n

      Prometheus settings.

      \n " + "documentation": "\n

      Prometheus settings.

      \n " }, - "PrometheusInfo" : { - "type" : "structure", - "members" : { - "JmxExporter" : { - "shape" : "JmxExporterInfo", - "locationName" : "jmxExporter", - "documentation" : "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n " + "PrometheusInfo": { + "type": "structure", + "members": { + "JmxExporter": { + "shape": "JmxExporterInfo", + "locationName": "jmxExporter", + "documentation": "\n

      Indicates whether you want to turn on or turn off the JMX Exporter.

      \n " }, - "NodeExporter" : { - "shape" : "NodeExporterInfo", - "locationName" : "nodeExporter", - "documentation" : "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n " + "NodeExporter": { + "shape": "NodeExporterInfo", + "locationName": "nodeExporter", + "documentation": "\n

      Indicates whether you want to turn on or turn off the Node Exporter.

      \n " } }, - "documentation" : "\n

      Prometheus settings.

      \n " + "documentation": "\n

      Prometheus settings.

      \n " }, - "ProvisionedThroughput" : { - "type" : "structure", - "members" : { - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "\n

      Provisioned throughput is enabled or not.

      \n " + "ProvisionedThroughput": { + "type": "structure", + "members": { + "Enabled": { + "shape": "__boolean", + "locationName": "enabled", + "documentation": "\n

      Provisioned throughput is enabled or not.

      \n " }, - "VolumeThroughput" : { - "shape" : "__integer", - "locationName" : "volumeThroughput", - "documentation" : "\n

      Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.

      \n " + "VolumeThroughput": { + "shape": "__integer", + "locationName": "volumeThroughput", + "documentation": "\n

      Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.

      \n " } }, - "documentation" : "\n

      Contains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes.

      \n " + "documentation": "\n

      Contains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes.

      \n " }, - "PublicAccess" : { - "type" : "structure", - "members" : { - "Type" : { - "shape" : "__string", - "locationName" : "type", - "documentation" : "\n

      The value DISABLED indicates that public access is turned off. SERVICE_PROVIDED_EIPS indicates that public access is turned on.

      \n " + "PublicAccess": { + "type": "structure", + "members": { + "Type": { + "shape": "__string", + "locationName": "type", + "documentation": "\n

      The value DISABLED indicates that public access is turned off. SERVICE_PROVIDED_EIPS indicates that public access is turned on.

      \n " } }, - "documentation" : "Public access control for brokers." + "documentation": "Public access control for brokers." }, "PutClusterPolicyRequest": { "type": "structure", @@ -5204,18 +5324,17 @@ "shape": "__string", "location": "uri", "locationName": "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " }, "CurrentVersion": { "shape": "__string", "locationName": "currentVersion", - "documentation" : "\n

      The policy version.

      \n " + "documentation": "\n

      The policy version.

      \n " }, "Policy": { "shape": "__string", "locationName": "policy", - "documentation" : "\n

      The policy.

      \n " - + "documentation": "\n

      The policy.

      \n " } }, "required": [ @@ -5229,147 +5348,152 @@ "CurrentVersion": { "shape": "__string", "locationName": "currentVersion", - "documentation" : "\n

      The policy version.

      \n " + "documentation": "\n

      The policy version.

      \n " } } }, - "RebootBrokerRequest" : { - "type" : "structure", - "members" : { - "BrokerIds" : { - "shape" : "__listOf__string", - "locationName" : "brokerIds", - "documentation" : "\n

      The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.

      \n " - }, - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " - } - }, - "documentation" : "Reboots a node.", - "required" : [ "ClusterArn", "BrokerIds" ] - }, - "RebootBrokerResponse" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " - }, - "ClusterOperationArn" : { - "shape" : "__string", - "locationName" : "clusterOperationArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " + "RebootBrokerRequest": { + "type": "structure", + "members": { + "BrokerIds": { + "shape": "__listOf__string", + "locationName": "brokerIds", + "documentation": "\n

      The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.

      \n " + }, + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " + } + }, + "documentation": "Reboots a node.", + "required": [ + "ClusterArn", + "BrokerIds" + ] + }, + "RebootBrokerResponse": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + }, + "ClusterOperationArn": { + "shape": "__string", + "locationName": "clusterOperationArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " } } }, - "S3" : { - "type" : "structure", - "members" : { - "Bucket" : { - "shape" : "__string", - "locationName" : "bucket" + "S3": { + "type": "structure", + "members": { + "Bucket": { + "shape": "__string", + "locationName": "bucket" }, - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled" + "Enabled": { + "shape": "__boolean", + "locationName": "enabled" }, - "Prefix" : { - "shape" : "__string", - "locationName" : "prefix" + "Prefix": { + "shape": "__string", + "locationName": "prefix" } }, - "required" : [ "Enabled" ] + "required": [ + "Enabled" + ] }, - "ServerlessSasl" : { - "type" : "structure", - "members" : { - "Iam" : { - "shape" : "Iam", - "locationName" : "iam", - "documentation" : "\n

      Indicates whether IAM access control is enabled.

      \n " + "ServerlessSasl": { + "type": "structure", + "members": { + "Iam": { + "shape": "Iam", + "locationName": "iam", + "documentation": "\n

      Indicates whether IAM access control is enabled.

      \n " } }, - "documentation" : "\n

      Details for client authentication using SASL.

      \n " + "documentation": "\n

      Details for client authentication using SASL.

      \n " }, - "Sasl" : { - "type" : "structure", - "members" : { - "Scram" : { - "shape" : "Scram", - "locationName" : "scram", - "documentation" : "\n

      Details for SASL/SCRAM client authentication.

      \n " + "Sasl": { + "type": "structure", + "members": { + "Scram": { + "shape": "Scram", + "locationName": "scram", + "documentation": "\n

      Details for SASL/SCRAM client authentication.

      \n " }, - "Iam" : { - "shape" : "Iam", - "locationName" : "iam", - "documentation" : "\n

      Indicates whether IAM access control is enabled.

      \n " + "Iam": { + "shape": "Iam", + "locationName": "iam", + "documentation": "\n

      Indicates whether IAM access control is enabled.

      \n " } }, - "documentation" : "\n

      Details for client authentication using SASL.

      \n " + "documentation": "\n

      Details for client authentication using SASL.

      \n " }, - "VpcConnectivitySasl" : { - "type" : "structure", - "members" : { - "Scram" : { - "shape" : "VpcConnectivityScram", - "locationName" : "scram", - "documentation" : "\n

      Details for SASL/SCRAM client authentication for VPC connectivity.

      \n " + "VpcConnectivitySasl": { + "type": "structure", + "members": { + "Scram": { + "shape": "VpcConnectivityScram", + "locationName": "scram", + "documentation": "\n

      Details for SASL/SCRAM client authentication for VPC connectivity.

      \n " }, - "Iam" : { - "shape" : "VpcConnectivityIam", - "locationName" : "iam", - "documentation" : "\n

      Details for SASL/IAM client authentication for VPC connectivity.

      \n " + "Iam": { + "shape": "VpcConnectivityIam", + "locationName": "iam", + "documentation": "\n

      Details for SASL/IAM client authentication for VPC connectivity.

      \n " } }, - "documentation" : "\n

      Details for SASL client authentication for VPC connectivity.

      \n " + "documentation": "\n

      Details for SASL client authentication for VPC connectivity.

      \n " }, - "Scram" : { - "type" : "structure", - "members" : { - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "\n

      SASL/SCRAM authentication is enabled or not.

      \n " + "Scram": { + "type": "structure", + "members": { + "Enabled": { + "shape": "__boolean", + "locationName": "enabled", + "documentation": "\n

      SASL/SCRAM authentication is enabled or not.

      \n " } }, - "documentation" : "\n

      Details for SASL/SCRAM client authentication.

      \n " + "documentation": "\n

      Details for SASL/SCRAM client authentication.

      \n " }, - "VpcConnectivityScram" : { - "type" : "structure", - "members" : { - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "\n

      SASL/SCRAM authentication is on or off for VPC connectivity.

      \n " + "VpcConnectivityScram": { + "type": "structure", + "members": { + "Enabled": { + "shape": "__boolean", + "locationName": "enabled", + "documentation": "\n

      SASL/SCRAM authentication is on or off for VPC connectivity.

      \n " } }, - "documentation" : "\n

      Details for SASL/SCRAM client authentication for VPC connectivity.

      \n " + "documentation": "\n

      Details for SASL/SCRAM client authentication for VPC connectivity.

      \n " }, - "Iam" : { - "type" : "structure", - "members" : { - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "\n

      Indicates whether IAM access control is enabled.

      \n " + "Iam": { + "type": "structure", + "members": { + "Enabled": { + "shape": "__boolean", + "locationName": "enabled", + "documentation": "\n

      Indicates whether IAM access control is enabled.

      \n " } }, - "documentation" : "\n

      Details for IAM access control.

      \n " + "documentation": "\n

      Details for IAM access control.

      \n " }, - "VpcConnectivityIam" : { - "type" : "structure", - "members" : { - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "\n

      SASL/IAM authentication is on or off for VPC connectivity.

      \n " + "VpcConnectivityIam": { + "type": "structure", + "members": { + "Enabled": { + "shape": "__boolean", + "locationName": "enabled", + "documentation": "\n

      SASL/IAM authentication is on or off for VPC connectivity.

      \n " } }, - "documentation" : "\n

      Details for IAM access control for VPC connectivity.

      \n " + "documentation": "\n

      Details for IAM access control for VPC connectivity.

      \n " }, "NodeInfo": { "type": "structure", @@ -5469,7 +5593,13 @@ } }, "documentation": "

      Specifies configuration for replication between a source and target Kafka cluster.

      ", - "required": ["TargetCompressionType", "TopicReplication", "ConsumerGroupReplication", "SourceKafkaClusterArn", "TargetKafkaClusterArn"] + "required": [ + "TargetCompressionType", + "TopicReplication", + "ConsumerGroupReplication", + "SourceKafkaClusterArn", + "TargetKafkaClusterArn" + ] }, "ReplicationInfoDescription": { "type": "structure", @@ -5518,42 +5648,70 @@ }, "documentation": "

      Summarized information of replication between clusters.

      " }, - "ReplicationStartingPosition" : { - "type" : "structure", - "members" : { - "Type" : { - "shape" : "ReplicationStartingPositionType", - "locationName" : "type", + "ReplicationStartingPosition": { + "type": "structure", + "members": { + "Type": { + "shape": "ReplicationStartingPositionType", + "locationName": "type", "documentation": "

      The type of replication starting position.

      " } }, "documentation": "

      Configuration for specifying the position in the topics to start replicating from.

      " }, - "ReplicationStartingPositionType" : { - "type" : "string", - "enum" : [ "LATEST", "EARLIEST" ], + "ReplicationStartingPositionType": { + "type": "string", + "enum": [ + "LATEST", + "EARLIEST" + ], "documentation": "

      The type of replication starting position.

      " }, - "ReplicationStateInfo" : { - "type" : "structure", - "members" : { - "Code" : { - "shape" : "__string", - "locationName" : "code", - "documentation" : "Code that describes the current state of the replicator." + "ReplicationTopicNameConfiguration": { + "type": "structure", + "members": { + "Type": { + "shape": "ReplicationTopicNameConfigurationType", + "locationName": "type", + "documentation": "

      The type of replicated topic name.

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

      Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.

      " + }, + "ReplicationTopicNameConfigurationType": { + "type": "string", + "enum": [ + "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS", + "IDENTICAL" + ], + "documentation": "

      The type of replicated topic name.

      " + }, + "ReplicationStateInfo": { + "type": "structure", + "members": { + "Code": { + "shape": "__string", + "locationName": "code", + "documentation": "Code that describes the current state of the replicator." }, - "Message" : { - "shape" : "__string", - "locationName" : "message", - "documentation" : "Message that describes the state of the replicator." + "Message": { + "shape": "__string", + "locationName": "message", + "documentation": "Message that describes the state of the replicator." } }, - "documentation" : "Details about the state of a replicator" + "documentation": "Details about the state of a replicator" }, "ReplicatorState": { "type": "string", "documentation": "

      The state of a replicator.

      ", - "enum": ["RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"] + "enum": [ + "RUNNING", + "CREATING", + "UPDATING", + "DELETING", + "FAILED" + ] }, "ReplicatorSummary": { "type": "structure", @@ -5626,16 +5784,16 @@ "httpStatusCode": 503 } }, - "StateInfo" : { - "type" : "structure", - "members" : { - "Code" : { - "shape" : "__string", - "locationName" : "code" + "StateInfo": { + "type": "structure", + "members": { + "Code": { + "shape": "__string", + "locationName": "code" }, - "Message" : { - "shape" : "__string", - "locationName" : "message" + "Message": { + "shape": "__string", + "locationName": "message" } } }, @@ -5650,10 +5808,13 @@ }, "documentation": "\n

      Contains information about storage volumes attached to MSK broker nodes.

      \n " }, - "StorageMode" : { - "type" : "string", - "documentation" : "Controls storage mode for various supported storage tiers.", - "enum" : [ "LOCAL", "TIERED" ] + "StorageMode": { + "type": "string", + "documentation": "Controls storage mode for various supported storage tiers.", + "enum": [ + "LOCAL", + "TIERED" + ] }, "TagResourceRequest": { "type": "structure", @@ -5678,7 +5839,13 @@ "TargetCompressionType": { "type": "string", "documentation": "

      The type of compression to use producing records to the target cluster.

      ", - "enum": ["NONE", "GZIP", "SNAPPY", "LZ4", "ZSTD"] + "enum": [ + "NONE", + "GZIP", + "SNAPPY", + "LZ4", + "ZSTD" + ] }, "Tls": { "type": "structure", @@ -5688,10 +5855,10 @@ "locationName": "certificateAuthorityArnList", "documentation": "\n

      List of ACM Certificate Authority ARNs.

      \n " }, - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "\n

      Specifies whether you want to turn on or turn off TLS authentication.

      \n " + "Enabled": { + "shape": "__boolean", + "locationName": "enabled", + "documentation": "\n

      Specifies whether you want to turn on or turn off TLS authentication.

      \n " } }, "documentation": "\n

      Details for client authentication using TLS.

      \n " @@ -5699,10 +5866,10 @@ "VpcConnectivityTls": { "type": "structure", "members": { - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "\n

      TLS authentication is on or off for VPC connectivity.

      \n " + "Enabled": { + "shape": "__boolean", + "locationName": "enabled", + "documentation": "\n

      TLS authentication is on or off for VPC connectivity.

      \n " } }, "documentation": "\n

      Details for TLS client authentication for VPC connectivity.

      \n " @@ -5745,11 +5912,16 @@ "locationName": "detectAndCopyNewTopics", "documentation": "

      Whether to periodically check for new topics and partitions.

      " }, - "StartingPosition" : { - "shape" : "ReplicationStartingPosition", - "locationName" : "startingPosition", + "StartingPosition": { + "shape": "ReplicationStartingPosition", + "locationName": "startingPosition", "documentation": "

      Configuration for specifying the position in the topics to start replicating from.

      " }, + "TopicNameConfiguration": { + "shape": "ReplicationTopicNameConfiguration", + "locationName": "topicNameConfiguration", + "documentation": "

      Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.

      " + }, "TopicsToExclude": { "shape": "__listOf__stringMax249", "locationName": "topicsToExclude", @@ -5762,7 +5934,9 @@ } }, "documentation": "

      Details about topic replication.

      ", - "required": ["TopicsToReplicate"] + "required": [ + "TopicsToReplicate" + ] }, "TopicReplicationUpdate": { "type": "structure", @@ -5794,15 +5968,21 @@ } }, "documentation": "

      Details for updating the topic replication of a replicator.

      ", - "required": ["TopicsToReplicate", "TopicsToExclude", "CopyTopicConfigurations", "DetectAndCopyNewTopics", "CopyAccessControlListsForTopics"] + "required": [ + "TopicsToReplicate", + "TopicsToExclude", + "CopyTopicConfigurations", + "DetectAndCopyNewTopics", + "CopyAccessControlListsForTopics" + ] }, - "Unauthenticated" : { - "type" : "structure", - "members" : { - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "\n

      Specifies whether you want to turn on or turn off unauthenticated traffic to your cluster.

      \n " + "Unauthenticated": { + "type": "structure", + "members": { + "Enabled": { + "shape": "__boolean", + "locationName": "enabled", + "documentation": "\n

      Specifies whether you want to turn on or turn off unauthenticated traffic to your cluster.

      \n " } } }, @@ -5826,26 +6006,26 @@ "httpStatusCode": 401 } }, - "UnprocessedScramSecret" : { - "type" : "structure", - "members" : { - "ErrorCode" : { - "shape" : "__string", - "locationName" : "errorCode", - "documentation" : "\n

      Error code for associate/disassociate failure.

      \n " + "UnprocessedScramSecret": { + "type": "structure", + "members": { + "ErrorCode": { + "shape": "__string", + "locationName": "errorCode", + "documentation": "\n

      Error code for associate/disassociate failure.

      \n " }, - "ErrorMessage" : { - "shape" : "__string", - "locationName" : "errorMessage", - "documentation" : "\n

      Error message for associate/disassociate failure.

      \n " + "ErrorMessage": { + "shape": "__string", + "locationName": "errorMessage", + "documentation": "\n

      Error message for associate/disassociate failure.

      \n " }, - "SecretArn" : { - "shape" : "__string", - "locationName" : "secretArn", - "documentation" : "\n

      AWS Secrets Manager secret ARN.

      \n " + "SecretArn": { + "shape": "__string", + "locationName": "secretArn", + "documentation": "\n

      AWS Secrets Manager secret ARN.

      \n " } }, - "documentation" : "\n

      Error info for scram secret associate/disassociate failure.

      \n " + "documentation": "\n

      Error info for scram secret associate/disassociate failure.

      \n " }, "UntagResourceRequest": { "type": "structure", @@ -6032,92 +6212,99 @@ } } }, - "UpdateClusterKafkaVersionRequest" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " - }, - "ConfigurationInfo" : { - "shape" : "ConfigurationInfo", - "locationName" : "configurationInfo", + "UpdateClusterKafkaVersionRequest": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " + }, + "ConfigurationInfo": { + "shape": "ConfigurationInfo", + "locationName": "configurationInfo", "documentation": "\n

      The custom configuration that should be applied on the new version of cluster.

      \n " }, - "CurrentVersion" : { - "shape" : "__string", - "locationName" : "currentVersion", + "CurrentVersion": { + "shape": "__string", + "locationName": "currentVersion", "documentation": "\n

      Current cluster version.

      \n " }, - "TargetKafkaVersion" : { - "shape" : "__string", - "locationName" : "targetKafkaVersion" - ,"documentation": "\n

      Target Kafka version.

      \n " + "TargetKafkaVersion": { + "shape": "__string", + "locationName": "targetKafkaVersion", + "documentation": "\n

      Target Kafka version.

      \n " } }, - "required" : [ "ClusterArn", "TargetKafkaVersion", "CurrentVersion" ] + "required": [ + "ClusterArn", + "TargetKafkaVersion", + "CurrentVersion" + ] }, - "UpdateClusterKafkaVersionResponse" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", + "UpdateClusterKafkaVersionResponse": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " }, - "ClusterOperationArn" : { - "shape" : "__string", - "locationName" : "clusterOperationArn", + "ClusterOperationArn": { + "shape": "__string", + "locationName": "clusterOperationArn", "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " } } }, - "UpdateMonitoringRequest" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) that uniquely identifies the cluster.

      \n " - }, - "CurrentVersion" : { - "shape" : "__string", - "locationName" : "currentVersion", - "documentation" : "\n

      The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

      \n " - }, - "EnhancedMonitoring" : { - "shape" : "EnhancedMonitoring", - "locationName" : "enhancedMonitoring", - "documentation" : "\n

      Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.

      \n " - }, - "OpenMonitoring" : { - "shape" : "OpenMonitoringInfo", - "locationName" : "openMonitoring", - "documentation" : "\n

      The settings for open monitoring.

      \n " + "UpdateMonitoringRequest": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) that uniquely identifies the cluster.

      \n " + }, + "CurrentVersion": { + "shape": "__string", + "locationName": "currentVersion", + "documentation": "\n

      The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

      \n " + }, + "EnhancedMonitoring": { + "shape": "EnhancedMonitoring", + "locationName": "enhancedMonitoring", + "documentation": "\n

      Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.

      \n " + }, + "OpenMonitoring": { + "shape": "OpenMonitoringInfo", + "locationName": "openMonitoring", + "documentation": "\n

      The settings for open monitoring.

      \n " }, "LoggingInfo": { "shape": "LoggingInfo", "locationName": "loggingInfo" } }, - "documentation" : "Request body for UpdateMonitoring.", - "required" : [ "ClusterArn", "CurrentVersion" ] + "documentation": "Request body for UpdateMonitoring.", + "required": [ + "ClusterArn", + "CurrentVersion" + ] }, - "UpdateMonitoringResponse" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + "UpdateMonitoringResponse": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " }, - "ClusterOperationArn" : { - "shape" : "__string", - "locationName" : "clusterOperationArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " + "ClusterOperationArn": { + "shape": "__string", + "locationName": "clusterOperationArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " } } }, @@ -6157,7 +6344,12 @@ } }, "documentation": "

      Update information relating to replication between a given source and target Kafka cluster.

      ", - "required": ["ReplicatorArn", "SourceKafkaClusterArn", "CurrentVersion", "TargetKafkaClusterArn"] + "required": [ + "ReplicatorArn", + "SourceKafkaClusterArn", + "CurrentVersion", + "TargetKafkaClusterArn" + ] }, "UpdateReplicationInfoResponse": { "type": "structure", @@ -6174,93 +6366,99 @@ } } }, - "UpdateSecurityRequest" : { - "type" : "structure", - "members" : { - "ClientAuthentication" : { - "shape" : "ClientAuthentication", - "locationName" : "clientAuthentication", - "documentation" : "\n

      Includes all client authentication related information.

      \n " - }, - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) that uniquely identifies the cluster.

      \n " - }, - "CurrentVersion" : { - "shape" : "__string", - "locationName" : "currentVersion", - "documentation" : "\n

      The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

      \n " - }, - "EncryptionInfo" : { - "shape" : "EncryptionInfo", - "locationName" : "encryptionInfo", - "documentation" : "\n

      Includes all encryption-related information.

      \n " - } - }, - "required" : [ "ClusterArn", "CurrentVersion" ] - }, - "UpdateSecurityResponse" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " - }, - "ClusterOperationArn" : { - "shape" : "__string", - "locationName" : "clusterOperationArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " + "UpdateSecurityRequest": { + "type": "structure", + "members": { + "ClientAuthentication": { + "shape": "ClientAuthentication", + "locationName": "clientAuthentication", + "documentation": "\n

      Includes all client authentication related information.

      \n " + }, + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) that uniquely identifies the cluster.

      \n " + }, + "CurrentVersion": { + "shape": "__string", + "locationName": "currentVersion", + "documentation": "\n

      The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

      \n " + }, + "EncryptionInfo": { + "shape": "EncryptionInfo", + "locationName": "encryptionInfo", + "documentation": "\n

      Includes all encryption-related information.

      \n " + } + }, + "required": [ + "ClusterArn", + "CurrentVersion" + ] + }, + "UpdateSecurityResponse": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + }, + "ClusterOperationArn": { + "shape": "__string", + "locationName": "clusterOperationArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " } } }, - "UpdateStorageRequest" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " - }, - "CurrentVersion" : { - "shape" : "__string", - "locationName" : "currentVersion", - "documentation" : "\n

      The version of cluster to update from. A successful operation will then generate a new version.

      \n " - }, - "ProvisionedThroughput" : { - "shape" : "ProvisionedThroughput", - "locationName" : "provisionedThroughput", - "documentation" : "\n

      EBS volume provisioned throughput information.

      \n " - }, - "StorageMode" : { - "shape" : "StorageMode", - "locationName" : "storageMode", - "documentation" : "\n

      Controls storage mode for supported storage tiers.

      \n " - }, - "VolumeSizeGB" : { - "shape" : "__integer", - "locationName" : "volumeSizeGB", - "documentation" : "\n

      size of the EBS volume to update.

      \n " - } - }, - "documentation" : "\n

      Request object for UpdateStorage api. Its used to update the storage attributes for the cluster.

      \n ", - "required" : [ "ClusterArn", "CurrentVersion" ] - }, - "UpdateStorageResponse" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " - }, - "ClusterOperationArn" : { - "shape" : "__string", - "locationName" : "clusterOperationArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " + "UpdateStorageRequest": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster to be updated.

      \n " + }, + "CurrentVersion": { + "shape": "__string", + "locationName": "currentVersion", + "documentation": "\n

      The version of cluster to update from. A successful operation will then generate a new version.

      \n " + }, + "ProvisionedThroughput": { + "shape": "ProvisionedThroughput", + "locationName": "provisionedThroughput", + "documentation": "\n

      EBS volume provisioned throughput information.

      \n " + }, + "StorageMode": { + "shape": "StorageMode", + "locationName": "storageMode", + "documentation": "\n

      Controls storage mode for supported storage tiers.

      \n " + }, + "VolumeSizeGB": { + "shape": "__integer", + "locationName": "volumeSizeGB", + "documentation": "\n

      size of the EBS volume to update.

      \n " + } + }, + "documentation": "\n

      Request object for UpdateStorage api. Its used to update the storage attributes for the cluster.

      \n ", + "required": [ + "ClusterArn", + "CurrentVersion" + ] + }, + "UpdateStorageResponse": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + }, + "ClusterOperationArn": { + "shape": "__string", + "locationName": "clusterOperationArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " } } }, @@ -6269,7 +6467,7 @@ "members": { "Arn": { "shape": "__string", - "location" : "uri", + "location": "uri", "locationName": "arn", "documentation": "\n

      The Amazon Resource Name (ARN) of the configuration.

      \n " }, @@ -6304,41 +6502,45 @@ } } }, - "UpdateConnectivityRequest" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "clusterArn", + "UpdateConnectivityRequest": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "location": "uri", + "locationName": "clusterArn", "documentation": "\n

      The Amazon Resource Name (ARN) of the configuration.

      \n " }, - "ConnectivityInfo" : { - "shape" : "ConnectivityInfo", - "locationName" : "connectivityInfo", - "documentation" : "\n

      Information about the broker access configuration.

      \n " + "ConnectivityInfo": { + "shape": "ConnectivityInfo", + "locationName": "connectivityInfo", + "documentation": "\n

      Information about the broker access configuration.

      \n " }, - "CurrentVersion" : { - "shape" : "__string", - "locationName" : "currentVersion", - "documentation" : "\n

      The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

      \n " + "CurrentVersion": { + "shape": "__string", + "locationName": "currentVersion", + "documentation": "\n

      The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

      \n " } }, - "documentation" : "Request body for UpdateConnectivity.", - "required" : [ "ClusterArn", "ConnectivityInfo", "CurrentVersion" ] + "documentation": "Request body for UpdateConnectivity.", + "required": [ + "ClusterArn", + "ConnectivityInfo", + "CurrentVersion" + ] }, - "UpdateConnectivityResponse" : { - "type" : "structure", - "members" : { - "ClusterArn" : { - "shape" : "__string", - "locationName" : "clusterArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " + "UpdateConnectivityResponse": { + "type": "structure", + "members": { + "ClusterArn": { + "shape": "__string", + "locationName": "clusterArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster.

      \n " }, - "ClusterOperationArn" : { - "shape" : "__string", - "locationName" : "clusterOperationArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " + "ClusterOperationArn": { + "shape": "__string", + "locationName": "clusterOperationArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the cluster operation.

      \n " } } }, @@ -6348,15 +6550,15 @@ "Type": { "shape": "UserIdentityType", "locationName": "type", - "documentation" : "\n

      The identity type of the requester that calls the API operation.

      \n " + "documentation": "\n

      The identity type of the requester that calls the API operation.

      \n " }, "PrincipalId": { "shape": "__string", "locationName": "principalId", - "documentation" : "\n

      A unique identifier for the requester that calls the API operation.

      \n " + "documentation": "\n

      A unique identifier for the requester that calls the API operation.

      \n " } }, - "documentation" : "\n

      Description of the requester that calls the API operation.

      \n " + "documentation": "\n

      Description of the requester that calls the API operation.

      \n " }, "UserIdentityType": { "type": "string", @@ -6372,51 +6574,51 @@ "VpcConnectionArn": { "shape": "__string", "locationName": "vpcConnectionArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the VPC connection.

      \n " + "documentation": "\n

      The Amazon Resource Name (ARN) of the VPC connection.

      \n " }, "Owner": { "shape": "__string", "locationName": "owner", - "documentation" : "\n

      The owner of the VPC Connection.

      \n " + "documentation": "\n

      The owner of the VPC Connection.

      \n " }, "UserIdentity": { "shape": "UserIdentity", "locationName": "userIdentity", - "documentation" : "\n

      Description of the requester that calls the API operation.

      \n " + "documentation": "\n

      Description of the requester that calls the API operation.

      \n " }, "CreationTime": { "shape": "__timestampIso8601", "locationName": "creationTime", - "documentation" : "\n

      The time when Amazon MSK creates the VPC Connnection.

      \n " + "documentation": "\n

      The time when Amazon MSK creates the VPC Connnection.

      \n " } }, "documentation": "\n

      Description of the VPC connection.

      \n " }, - "VpcConnectionInfoServerless" : { - "type" : "structure", - "members" : { - "CreationTime" : { - "shape" : "__timestampIso8601", - "locationName" : "creationTime", - "documentation" : "\n

      The time when Amazon MSK creates the VPC Connnection.

      " + "VpcConnectionInfoServerless": { + "type": "structure", + "members": { + "CreationTime": { + "shape": "__timestampIso8601", + "locationName": "creationTime", + "documentation": "\n

      The time when Amazon MSK creates the VPC Connnection.

      " }, - "Owner" : { - "shape" : "__string", - "locationName" : "owner", - "documentation" : "\n

      The owner of the VPC Connection.

      " + "Owner": { + "shape": "__string", + "locationName": "owner", + "documentation": "\n

      The owner of the VPC Connection.

      " }, - "UserIdentity" : { - "shape" : "UserIdentity", - "locationName" : "userIdentity", - "documentation" : "\n

      Description of the requester that calls the API operation.

      " + "UserIdentity": { + "shape": "UserIdentity", + "locationName": "userIdentity", + "documentation": "\n

      Description of the requester that calls the API operation.

      " }, - "VpcConnectionArn" : { - "shape" : "__string", - "locationName" : "vpcConnectionArn", - "documentation" : "\n

      The Amazon Resource Name (ARN) of the VPC connection.

      " + "VpcConnectionArn": { + "shape": "__string", + "locationName": "vpcConnectionArn", + "documentation": "\n

      The Amazon Resource Name (ARN) of the VPC connection.

      " } }, - "documentation" : "Description of the VPC connection." + "documentation": "Description of the VPC connection." }, "VpcConnectionState": { "type": "string", @@ -6432,16 +6634,16 @@ "REJECTING" ] }, - "VpcConnectivity" : { - "type" : "structure", - "members" : { + "VpcConnectivity": { + "type": "structure", + "members": { "ClientAuthentication": { "shape": "VpcConnectivityClientAuthentication", "locationName": "clientAuthentication", "documentation": "\n

      Includes all client authentication information for VPC connectivity.

      \n " } }, - "documentation" : "VPC connectivity access control for brokers." + "documentation": "VPC connectivity access control for brokers." }, "ZookeeperNodeInfo": { "type": "structure", @@ -6520,28 +6722,28 @@ "shape": "ClusterOperationInfo" } }, - "__listOfClusterOperationV2Summary" : { - "type" : "list", - "member" : { - "shape" : "ClusterOperationV2Summary" + "__listOfClusterOperationV2Summary": { + "type": "list", + "member": { + "shape": "ClusterOperationV2Summary" } }, - "__listOfClusterOperationStep" : { - "type" : "list", - "member" : { - "shape" : "ClusterOperationStep" + "__listOfClusterOperationStep": { + "type": "list", + "member": { + "shape": "ClusterOperationStep" } }, - "__listOfCompatibleKafkaVersion" : { - "type" : "list", - "member" : { - "shape" : "CompatibleKafkaVersion" + "__listOfCompatibleKafkaVersion": { + "type": "list", + "member": { + "shape": "CompatibleKafkaVersion" } }, - "__listOfVpcConfig" : { - "type" : "list", - "member" : { - "shape" : "VpcConfig" + "__listOfVpcConfig": { + "type": "list", + "member": { + "shape": "VpcConfig" } }, "__listOfConfiguration": { @@ -6622,16 +6824,16 @@ "shape": "VpcConnection" } }, - "__listOfUnprocessedScramSecret" : { - "type" : "list", - "member" : { - "shape" : "UnprocessedScramSecret" + "__listOfUnprocessedScramSecret": { + "type": "list", + "member": { + "shape": "UnprocessedScramSecret" } }, - "__listOf__double" : { - "type" : "list", - "member" : { - "shape" : "__double" + "__listOf__double": { + "type": "list", + "member": { + "shape": "__double" } }, "__listOf__string": { @@ -6710,4 +6912,4 @@ } }, "documentation": "\n

      The operations for managing an Amazon MSK cluster.

      \n " -} +} \ No newline at end of file diff --git a/tools/code-generation/api-descriptions/runtime.sagemaker-2017-05-13.normal.json b/tools/code-generation/api-descriptions/runtime.sagemaker-2017-05-13.normal.json index 55bdb9d6f10..dcb227bae29 100644 --- a/tools/code-generation/api-descriptions/runtime.sagemaker-2017-05-13.normal.json +++ b/tools/code-generation/api-descriptions/runtime.sagemaker-2017-05-13.normal.json @@ -5,11 +5,13 @@ "endpointPrefix":"runtime.sagemaker", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Amazon SageMaker Runtime", "serviceId":"SageMaker Runtime", "signatureVersion":"v4", "signingName":"sagemaker", - "uid":"runtime.sagemaker-2017-05-13" + "uid":"runtime.sagemaker-2017-05-13", + "auth":["aws.auth#sigv4"] }, "operations":{ "InvokeEndpoint":{ @@ -296,6 +298,12 @@ "documentation":"

      If the endpoint hosts one or more inference components, this parameter specifies the name of inference component to invoke.

      ", "location":"header", "locationName":"X-Amzn-SageMaker-Inference-Component" + }, + "SessionId":{ + "shape":"SessionIdOrNewSessionConstantHeader", + "documentation":"

      Creates a stateful session or identifies an existing one. You can do one of the following:

      • Create a stateful session by specifying the value NEW_SESSION.

      • Send your request to an existing stateful session by specifying the ID of that session.

      With a stateful session, you can send multiple requests to a stateful model. When you create a session with a stateful model, the model must create the session ID and set the expiration time. The model must also provide that information in the response to your request. You can get the ID and timestamp from the NewSessionId response parameter. For any subsequent request where you specify that session ID, SageMaker routes the request to the same instance that supports the session.

      ", + "location":"header", + "locationName":"X-Amzn-SageMaker-Session-Id" } }, "payload":"Body" @@ -325,6 +333,18 @@ "documentation":"

      Provides additional information in the response about the inference returned by a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to return an ID received in the CustomAttributes header of a request or other metadata that a service endpoint was programmed to produce. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1). If the customer wants the custom attribute returned, the model must set the custom attribute to be included on the way back.

      The code in your model is responsible for setting or updating any custom attributes in the response. If your code does not set this value in the response, an empty value is returned. For example, if a custom attribute represents the trace ID, your model can prepend the custom attribute with Trace ID: in your post-processing function.

      This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK.

      ", "location":"header", "locationName":"X-Amzn-SageMaker-Custom-Attributes" + }, + "NewSessionId":{ + "shape":"NewSessionResponseHeader", + "documentation":"

      If you created a stateful session with your request, the ID and expiration time that the model assigns to that session.

      ", + "location":"header", + "locationName":"X-Amzn-SageMaker-New-Session-Id" + }, + "ClosedSessionId":{ + "shape":"SessionIdHeader", + "documentation":"

      If you closed a stateful session with your request, the ID of that session.

      ", + "location":"header", + "locationName":"X-Amzn-SageMaker-Closed-Session-Id" } }, "payload":"Body" @@ -387,6 +407,12 @@ "documentation":"

      If the endpoint hosts one or more inference components, this parameter specifies the name of inference component to invoke for a streaming response.

      ", "location":"header", "locationName":"X-Amzn-SageMaker-Inference-Component" + }, + "SessionId":{ + "shape":"SessionIdHeader", + "documentation":"

      The ID of a stateful session to handle your request.

      You can't create a stateful session by using the InvokeEndpointWithResponseStream action. Instead, you can create one by using the InvokeEndpoint action. In your request, you specify NEW_SESSION for the SessionId request parameter. The response to that request provides the session ID for the NewSessionId response parameter.

      ", + "location":"header", + "locationName":"X-Amzn-SageMaker-Session-Id" } }, "payload":"Body" @@ -466,6 +492,11 @@ "exception":true, "synthetic":true }, + "NewSessionResponseHeader":{ + "type":"string", + "max":256, + "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*;\\sExpires=[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$" + }, "PartBlob":{ "type":"blob", "sensitive":true @@ -517,6 +548,16 @@ "fault":true, "synthetic":true }, + "SessionIdHeader":{ + "type":"string", + "max":256, + "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*$" + }, + "SessionIdOrNewSessionConstantHeader":{ + "type":"string", + "max":256, + "pattern":"^(NEW_SESSION)$|^[a-zA-Z0-9](-*[a-zA-Z0-9])*$" + }, "StatusCode":{"type":"integer"}, "TargetContainerHostnameHeader":{ "type":"string", 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 25495dadcca..e6271915fa2 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 @@ -7256,7 +7256,7 @@ "documentation":"

      Details of LifeCycle configuration for the instance group.

      " }, "ExecutionRole":{ - "shape":"IAMRoleArn", + "shape":"RoleArn", "documentation":"

      The execution role for the instance group to assume.

      " }, "ThreadsPerCore":{ @@ -7266,6 +7266,10 @@ "InstanceStorageConfigs":{ "shape":"ClusterInstanceStorageConfigs", "documentation":"

      The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.

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

      A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.

      " } }, "documentation":"

      Details of an instance group in a SageMaker HyperPod cluster.

      " @@ -7307,7 +7311,7 @@ "documentation":"

      Specifies the LifeCycle configuration for the instance group.

      " }, "ExecutionRole":{ - "shape":"IAMRoleArn", + "shape":"RoleArn", "documentation":"

      Specifies an IAM execution role to be assumed by the instance group.

      " }, "ThreadsPerCore":{ @@ -7317,6 +7321,10 @@ "InstanceStorageConfigs":{ "shape":"ClusterInstanceStorageConfigs", "documentation":"

      Specifies the additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.

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

      A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.

      " } }, "documentation":"

      The specifications of an instance group that you need to define.

      " @@ -7348,7 +7356,8 @@ "Failure", "Pending", "ShuttingDown", - "SystemUpdating" + "SystemUpdating", + "DeepHealthCheckInProgress" ] }, "ClusterInstanceStatusDetails":{ @@ -7516,6 +7525,13 @@ "min":1, "pattern":"^i-[a-f0-9]{8}(?:[a-f0-9]{9})?$" }, + "ClusterNodeRecovery":{ + "type":"string", + "enum":[ + "Automatic", + "None" + ] + }, "ClusterNodeSummaries":{ "type":"list", "member":{"shape":"ClusterNodeSummary"} @@ -7557,6 +7573,28 @@ "type":"integer", "min":0 }, + "ClusterOrchestrator":{ + "type":"structure", + "required":["Eks"], + "members":{ + "Eks":{ + "shape":"ClusterOrchestratorEksConfig", + "documentation":"

      The Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.

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

      The type of orchestrator used for the SageMaker HyperPod cluster.

      " + }, + "ClusterOrchestratorEksConfig":{ + "type":"structure", + "required":["ClusterArn"], + "members":{ + "ClusterArn":{ + "shape":"EksClusterArn", + "documentation":"

      The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.

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

      The configuration settings for the Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.

      " + }, "ClusterPrivateDnsHostname":{ "type":"string", "pattern":"^ip-((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)-?\\b){4}\\..*$" @@ -7643,7 +7681,7 @@ }, "AppLifecycleManagement":{ "shape":"AppLifecycleManagement", - "documentation":"

      Settings that are used to configure and manage the lifecycle of CodeEditor applications.

      " + "documentation":"

      Settings that are used to configure and manage the lifecycle of CodeEditor applications.

      " } }, "documentation":"

      The Code Editor application settings.

      For more information about Code Editor, see Get started with Code Editor in Amazon SageMaker.

      " @@ -8620,6 +8658,14 @@ "Tags":{ "shape":"TagList", "documentation":"

      Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.

      " + }, + "Orchestrator":{ + "shape":"ClusterOrchestrator", + "documentation":"

      The type of orchestrator to use for the SageMaker HyperPod cluster. Currently, the only supported value is \"eks\", which is to use an Amazon Elastic Kubernetes Service (EKS) cluster as the orchestrator.

      " + }, + "NodeRecovery":{ + "shape":"ClusterNodeRecovery", + "documentation":"

      The node recovery mode for the SageMaker HyperPod cluster. When set to Automatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set to None, cluster administrators will need to manually manage any faulty cluster instances.

      " } } }, @@ -11626,6 +11672,13 @@ "max":20, "min":0 }, + "DeepHealthCheckType":{ + "type":"string", + "enum":[ + "InstanceStress", + "InstanceConnectivity" + ] + }, "DefaultEbsStorageSettings":{ "type":"structure", "required":[ @@ -13208,7 +13261,15 @@ "shape":"ClusterInstanceGroupDetailsList", "documentation":"

      The instance groups of the SageMaker HyperPod cluster.

      " }, - "VpcConfig":{"shape":"VpcConfig"} + "VpcConfig":{"shape":"VpcConfig"}, + "Orchestrator":{ + "shape":"ClusterOrchestrator", + "documentation":"

      The type of orchestrator used for the SageMaker HyperPod cluster.

      " + }, + "NodeRecovery":{ + "shape":"ClusterNodeRecovery", + "documentation":"

      The node recovery mode configured for the SageMaker HyperPod cluster.

      " + } } }, "DescribeCodeRepositoryInput":{ @@ -18055,6 +18116,12 @@ "max":10, "pattern":"\\d+" }, + "EksClusterArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"^arn:aws[a-z\\-]*:eks:[a-z0-9\\-]*:[0-9]{12}:cluster\\/[0-9A-Za-z][A-Za-z0-9\\-_]{0,99}$" + }, "EmrServerlessComputeConfig":{ "type":"structure", "required":["ExecutionRoleARN"], @@ -20832,12 +20899,6 @@ "type":"integer", "min":1 }, - "IAMRoleArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^arn:aws[a-z\\-]*:iam::\\d{12}:role/[\\w+=,.@-]{1,64}$" - }, "IamIdentity":{ "type":"structure", "members":{ @@ -30091,6 +30152,12 @@ }, "documentation":"

      A list of user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. When you add a user group to the list of Groups, you can add that user group to one or more private work teams. If you add a user group to a private work team, all workers in that user group are added to the work team.

      " }, + "OnStartDeepHealthChecks":{ + "type":"list", + "member":{"shape":"DeepHealthCheckType"}, + "max":2, + "min":1 + }, "OnlineStoreConfig":{ "type":"structure", "members":{ @@ -37844,6 +37911,10 @@ "InstanceGroups":{ "shape":"ClusterInstanceGroupSpecifications", "documentation":"

      Specify the instance groups to update.

      " + }, + "NodeRecovery":{ + "shape":"ClusterNodeRecovery", + "documentation":"

      The node recovery mode to be applied to the SageMaker HyperPod cluster.

      " } } },