From a35dba1b2573002ea82c1629e11aa4cdc5e76c4d Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation Specify the models you want to use in your model evaluation job. Automatic
- * model evaluation jobs support a single model, and model evaluation job that use
- * human workers support two models.
Contains the ARN of the Amazon Bedrock models specified in your model
- * evaluation job. Each Amazon Bedrock model supports different
- * inferenceParams
. To learn more about supported inference parameters
- * for Amazon Bedrock models, see Contains the ARN of the Amazon Bedrock model or inference
+ * profile specified in your model evaluation job. Each Amazon Bedrock model
+ * supports different inferenceParams
. To learn more about supported
+ * inference parameters for Amazon Bedrock models, see Inference
* parameters for foundation models.
The inferenceParams
* are specified using JSON. To successfully insert JSON as string make sure that
@@ -49,7 +50,7 @@ namespace Model
///@{
/**
- *
The ARN of the Amazon Bedrock model specified.
+ *The ARN of the Amazon Bedrock model or inference profile specified.
*/ inline const Aws::String& GetModelIdentifier() const{ return m_modelIdentifier; } inline bool ModelIdentifierHasBeenSet() const { return m_modelIdentifierHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationModelConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationModelConfig.h index 3b39d486a89..52503beb3f8 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationModelConfig.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationModelConfig.h @@ -40,7 +40,8 @@ namespace Model ///@{ /** - *Defines the Amazon Bedrock model and inference parameters you want used.
+ *Defines the Amazon Bedrock model or inference profile and inference + * parameters you want used.
*/ inline const EvaluationBedrockModel& GetBedrockModel() const{ return m_bedrockModel; } inline bool BedrockModelHasBeenSet() const { return m_bedrockModelHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-budgets/source/BudgetsEndpointRules.cpp b/generated/src/aws-cpp-sdk-budgets/source/BudgetsEndpointRules.cpp index dd965f3c9ae..6e84740e39c 100644 --- a/generated/src/aws-cpp-sdk-budgets/source/BudgetsEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-budgets/source/BudgetsEndpointRules.cpp @@ -10,8 +10,8 @@ namespace Aws { namespace Budgets { -const size_t BudgetsEndpointRules::RulesBlobStrLen = 4311; -const size_t BudgetsEndpointRules::RulesBlobSize = 4312; +const size_t BudgetsEndpointRules::RulesBlobStrLen = 5174; +const size_t BudgetsEndpointRules::RulesBlobSize = 5175; using RulesBlobT = Aws::ArrayYou can use DescribeStreamSummary
* to check the stream status, which is returned in StreamStatus
.
CreateStream has a limit of five transactions per second per - * account.
You can add tags to the stream when making a
+ * CreateStream
request by setting the Tags
parameter. If
+ * you pass Tags
parameter, in addition to having
+ * kinesis:createStream
permission, you must also have
+ * kinesis:addTagsToStream
permission for the stream that will be
+ * created. Tags will take effect from the CREATING
status of the
+ * stream.
You can register up to 20 * consumers per stream. A given consumer can only be registered with one stream at - * a time.
For an example of how to use this operations, see Enhanced Fan-Out - * Using the Kinesis Data Streams API.
The use of this operation has a
- * limit of five transactions per second per account. Also, only 5 consumers can be
- * created simultaneously. In other words, you cannot have more than 5 consumers in
- * a CREATING
status at the same time. Registering a 6th consumer
- * while there are 5 in a CREATING
status results in a
+ * a time.
For an example of how to use this operation, see Enhanced + * Fan-Out Using the Kinesis Data Streams API.
The use of this operation
+ * has a limit of five transactions per second per account. Also, only 5 consumers
+ * can be created simultaneously. In other words, you cannot have more than 5
+ * consumers in a CREATING
status at the same time. Registering a 6th
+ * consumer while there are 5 in a CREATING
status results in a
* LimitExceededException
.
ResourceInUseException
. For an example of how to use this - * operations, see Enhanced Fan-Out - * Using the Kinesis Data Streams API.
A set of up to 10 key-value pairs to use to create the tags.
+ */ + inline const Aws::MapDeletes the resource-based policy document attached to the AWS End User + * Messaging SMS and Voice resource. A shared resource can be a Pool, Opt-out list, + * Sender Id, or Phone number.
Deletes an account-level monthly spending limit override for sending text * messages. Deleting a spend limit override will set the @@ -1613,6 +1640,33 @@ namespace PinpointSMSVoiceV2 return SubmitAsync(&PinpointSMSVoiceV2Client::GetProtectConfigurationCountryRuleSet, request, handler, context); } + /** + *
Retrieves the JSON text of the resource-based policy document attached to the + * AWS End User Messaging SMS and Voice resource. A shared resource can be a Pool, + * Opt-out list, Sender Id, or Phone number.
Lists all associated origination identities in your pool.
If you * specify filters, the output includes information for only those origination @@ -1776,6 +1830,37 @@ namespace PinpointSMSVoiceV2 return SubmitAsync(&PinpointSMSVoiceV2Client::PutRegistrationFieldValue, request, handler, context); } + /** + *
Attaches a resource-based policy to a AWS End User Messaging SMS and Voice + * resource(phone number, sender Id, phone poll, or opt-out list) that is used for + * sharing the resource. A shared resource can be a Pool, Opt-out list, Sender Id, + * or Phone number. For more information about resource-based policies, see Working + * with shared resources in the AWS End User Messaging SMS User Guide. + *
Releases an existing origination phone number in your account. Once released, * a phone number is no longer available for sending messages.
If the
diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/PinpointSMSVoiceV2ServiceClientModel.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/PinpointSMSVoiceV2ServiceClientModel.h
index 4b9bbde94db..5f351ebd7e4 100644
--- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/PinpointSMSVoiceV2ServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/PinpointSMSVoiceV2ServiceClientModel.h
@@ -44,6 +44,7 @@
#include The pool to update with the new Identity. This value can be either the PoolId
* or PoolArn, and you can find these values using DescribePools. If you are using a shared AWS End User Messaging SMS and Voice
+ * resource then you must use the full Amazon Resource Name(ARN). The origination identity to use, such as PhoneNumberId, PhoneNumberArn,
* SenderId, or SenderIdArn. You can use DescribePhoneNumbers to find the
* values for PhoneNumberId and PhoneNumberArn, while DescribeSenderIds can
- * be used to get the values for SenderId and SenderIdArn.
If + * you are using a shared AWS End User Messaging SMS and Voice resource then you + * must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/CreatePoolRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/CreatePoolRequest.h index 52ca6ebbdb2..5c338d4bd19 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/CreatePoolRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/CreatePoolRequest.h @@ -46,6 +46,8 @@ namespace Model * be used to get the values for SenderId and SenderIdArn.After the pool is * created you can add more origination identities to the pool by using AssociateOriginationIdentity.
+ *If you are using a shared AWS End User Messaging SMS and Voice + * resource then you must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteKeywordRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteKeywordRequest.h index 595f80419a4..079b5937e7c 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteKeywordRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteKeywordRequest.h @@ -39,7 +39,9 @@ namespace Model *The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * PoolId or PoolArn. You can use DescribePhoneNumbers to find the values * for PhoneNumberId and PhoneNumberArn and DescribePools to find the values - * of PoolId and PoolArn.
+ * of PoolId and PoolArn.If you are using a shared AWS End User + * Messaging SMS and Voice resource then you must use the full Amazon Resource + * Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteOptOutListRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteOptOutListRequest.h index b690a256942..e086a7e1ff2 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteOptOutListRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteOptOutListRequest.h @@ -38,7 +38,9 @@ namespace Model /** *The OptOutListName or OptOutListArn of the OptOutList to delete. You can use * DescribeOptOutLists to find the values for OptOutListName and - * OptOutListArn.
+ * OptOutListArn.If you are using a shared AWS End User + * Messaging SMS and Voice resource then you must use the full Amazon Resource + * Name(ARN).
*/ inline const Aws::String& GetOptOutListName() const{ return m_optOutListName; } inline bool OptOutListNameHasBeenSet() const { return m_optOutListNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteOptedOutNumberRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteOptedOutNumberRequest.h index d8d3bcf6eb1..ef3a9d18b10 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteOptedOutNumberRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteOptedOutNumberRequest.h @@ -37,6 +37,8 @@ namespace Model ///@{ /** *The OptOutListName or OptOutListArn to remove the phone number from.
+ *If you are using a shared AWS End User Messaging SMS and Voice + * resource then you must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOptOutListName() const{ return m_optOutListName; } inline bool OptOutListNameHasBeenSet() const { return m_optOutListNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeletePoolRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeletePoolRequest.h index 7caa0987bec..2bf0b32bd3b 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeletePoolRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeletePoolRequest.h @@ -37,7 +37,9 @@ namespace Model ///@{ /** *The PoolId or PoolArn of the pool to delete. You can use DescribePools - * to find the values for PoolId and PoolArn .
+ * to find the values for PoolId and PoolArn .If you are using + * a shared AWS End User Messaging SMS and Voice resource then you must use the + * full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteResourcePolicyRequest.h new file mode 100644 index 00000000000..1e0309034ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteResourcePolicyRequest.h @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice + * resource you're deleting the resource-based policy from.
+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline DeleteResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline DeleteResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline DeleteResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace PinpointSMSVoiceV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteResourcePolicyResult.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteResourcePolicyResult.h new file mode 100644 index 00000000000..41d58a76f07 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DeleteResourcePolicyResult.h @@ -0,0 +1,98 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice + * resource that the resource-based policy was deleted from.
+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } + inline DeleteResourcePolicyResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline DeleteResourcePolicyResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline DeleteResourcePolicyResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *The JSON formatted resource-based policy that was deleted.
+ */ + inline const Aws::String& GetPolicy() const{ return m_policy; } + inline void SetPolicy(const Aws::String& value) { m_policy = value; } + inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); } + inline void SetPolicy(const char* value) { m_policy.assign(value); } + inline DeleteResourcePolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;} + inline DeleteResourcePolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;} + inline DeleteResourcePolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;} + ///@} + + ///@{ + /** + *The time when the resource-based policy was created, in UNIX epoch time format.
+ */ + inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } + inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; } + inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); } + inline DeleteResourcePolicyResult& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} + inline DeleteResourcePolicyResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(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 DeleteResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + + Aws::String m_policy; + + Aws::Utils::DateTime m_createdTimestamp; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PinpointSMSVoiceV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribeKeywordsRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribeKeywordsRequest.h index 76b43662149..968257dc877 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribeKeywordsRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribeKeywordsRequest.h @@ -41,7 +41,9 @@ namespace Model *The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the * values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can - * be used to get the values for SenderId and SenderIdArn.
+ * be used to get the values for SenderId and SenderIdArn.If + * you are using a shared AWS End User Messaging SMS and Voice resource then you + * must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribeOptOutListsRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribeOptOutListsRequest.h index 0e3bafd713d..cd936821355 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribeOptOutListsRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribeOptOutListsRequest.h @@ -8,6 +8,7 @@ #includeThe OptOutLists to show the details of. This is an array of strings that can - * be either the OptOutListName or OptOutListArn.
+ * be either the OptOutListName or OptOutListArn.If you are + * using a shared AWS End User Messaging SMS and Voice resource then you must use + * the full Amazon Resource Name(ARN).
*/ inline const Aws::VectorUse SELF
to filter the list of Opt-Out List to ones your account
+ * owns or use SHARED
to filter on Opt-Out List shared with your
+ * account. The Owner
and OptOutListNames
parameters
+ * can't be used at the same time.
The OptOutListName or OptOutListArn of the OptOutList. You can use * DescribeOptOutLists to find the values for OptOutListName and - * OptOutListArn.
+ * OptOutListArn.If you are using a shared AWS End User + * Messaging SMS and Voice resource then you must use the full Amazon Resource + * Name(ARN).
*/ inline const Aws::String& GetOptOutListName() const{ return m_optOutListName; } inline bool OptOutListNameHasBeenSet() const { return m_optOutListNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribePhoneNumbersRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribePhoneNumbersRequest.h index cf01edc445e..23ab8a595b4 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribePhoneNumbersRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/DescribePhoneNumbersRequest.h @@ -8,6 +8,7 @@ #includeThe unique identifier of phone numbers to find information about. This is an * array of strings that can be either the PhoneNumberId or PhoneNumberArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice + * resource then you must use the full Amazon Resource Name(ARN).
*/ inline const Aws::VectorUse SELF
to filter the list of phone numbers to ones your
+ * account owns or use SHARED
to filter on phone numbers shared with
+ * your account. The Owner
and PhoneNumberIds
parameters
+ * can't be used at the same time.
The unique identifier of pools to find. This is an array of strings that can - * be either the PoolId or PoolArn.
+ * be either the PoolId or PoolArn.If you are using a shared + * AWS End User Messaging SMS and Voice resource then you must use the full Amazon + * Resource Name(ARN).
*/ inline const Aws::VectorUse SELF
to filter the list of Pools to ones your account owns
+ * or use SHARED
to filter on Pools shared with your account. The
+ * Owner
and PoolIds
parameters can't be used at the same
+ * time.
An array of SenderIdAndCountry objects to search for.
+ *An array of SenderIdAndCountry objects to search for.
If + * you are using a shared AWS End User Messaging SMS and Voice resource then you + * must use the full Amazon Resource Name(ARN).
*/ inline const Aws::VectorUse SELF
to filter the list of Sender Ids to ones your account
+ * owns or use SHARED
to filter on Sender Ids shared with your
+ * account. The Owner
and SenderIds
parameters can't be
+ * used at the same time.
The unique identifier for the pool to disassociate with the origination - * identity. This value can be either the PoolId or PoolArn.
+ * identity. This value can be either the PoolId or PoolArn.If + * you are using a shared AWS End User Messaging SMS and Voice resource then you + * must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } @@ -55,7 +57,9 @@ namespace Model *The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values * for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the - * values for SenderId and SenderIdArn.
+ * values for SenderId and SenderIdArn.If you are using a + * shared AWS End User Messaging SMS and Voice resource then you must use the full + * Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/GetResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/GetResourcePolicyRequest.h new file mode 100644 index 00000000000..3cfaacf1fdb --- /dev/null +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/GetResourcePolicyRequest.h @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice + * resource attached to the resource-based policy.
+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline GetResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline GetResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline GetResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace PinpointSMSVoiceV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/GetResourcePolicyResult.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/GetResourcePolicyResult.h new file mode 100644 index 00000000000..7e168a281e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/GetResourcePolicyResult.h @@ -0,0 +1,99 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice + * resource attached to the resource-based policy.
+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } + inline GetResourcePolicyResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline GetResourcePolicyResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline GetResourcePolicyResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *The JSON formatted string that contains the resource-based policy attached to + * the AWS End User Messaging SMS and Voice resource.
+ */ + inline const Aws::String& GetPolicy() const{ return m_policy; } + inline void SetPolicy(const Aws::String& value) { m_policy = value; } + inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); } + inline void SetPolicy(const char* value) { m_policy.assign(value); } + inline GetResourcePolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;} + inline GetResourcePolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;} + inline GetResourcePolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;} + ///@} + + ///@{ + /** + *The time when the resource-based policy was created, in UNIX epoch time format.
+ */ + inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } + inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; } + inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); } + inline GetResourcePolicyResult& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} + inline GetResourcePolicyResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(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 GetResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + + Aws::String m_policy; + + Aws::Utils::DateTime m_createdTimestamp; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PinpointSMSVoiceV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ListPoolOriginationIdentitiesRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ListPoolOriginationIdentitiesRequest.h index 81be8a1f266..37b0607a0ce 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ListPoolOriginationIdentitiesRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ListPoolOriginationIdentitiesRequest.h @@ -39,7 +39,9 @@ namespace Model ///@{ /** *The unique identifier for the pool. This value can be either the PoolId or - * PoolArn.
+ * PoolArn.If you are using a shared AWS End User Messaging SMS + * and Voice resource then you must use the full Amazon Resource Name(ARN).
+ * */ inline const Aws::String& GetPoolId() const{ return m_poolId; } inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/Owner.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/Owner.h new file mode 100644 index 00000000000..9e983a77500 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/Owner.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values * for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used - * to get the values for SenderId and SenderIdArn.
+ * to get the values for SenderId and SenderIdArn.If you are + * using a shared AWS End User Messaging SMS and Voice resource then you must use + * the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutOptedOutNumberRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutOptedOutNumberRequest.h index 3ab72a71ed5..62e8b2c6c3e 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutOptedOutNumberRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutOptedOutNumberRequest.h @@ -37,6 +37,8 @@ namespace Model ///@{ /** *The OptOutListName or OptOutListArn to add the phone number to.
+ *If you are using a shared AWS End User Messaging SMS and Voice + * resource then you must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOptOutListName() const{ return m_optOutListName; } inline bool OptOutListNameHasBeenSet() const { return m_optOutListNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutResourcePolicyRequest.h new file mode 100644 index 00000000000..8bce371dc5f --- /dev/null +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutResourcePolicyRequest.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice + * resource to attach the resource-based policy to.
+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline PutResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline PutResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline PutResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *The JSON formatted resource-based policy to attach.
+ */ + inline const Aws::String& GetPolicy() const{ return m_policy; } + inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; } + inline void SetPolicy(const Aws::String& value) { m_policyHasBeenSet = true; m_policy = value; } + inline void SetPolicy(Aws::String&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); } + inline void SetPolicy(const char* value) { m_policyHasBeenSet = true; m_policy.assign(value); } + inline PutResourcePolicyRequest& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;} + inline PutResourcePolicyRequest& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;} + inline PutResourcePolicyRequest& WithPolicy(const char* value) { SetPolicy(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_policy; + bool m_policyHasBeenSet = false; + }; + +} // namespace Model +} // namespace PinpointSMSVoiceV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutResourcePolicyResult.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutResourcePolicyResult.h new file mode 100644 index 00000000000..24e4f2da391 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/PutResourcePolicyResult.h @@ -0,0 +1,98 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice + * resource attached to the resource-based policy.
+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } + inline PutResourcePolicyResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline PutResourcePolicyResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline PutResourcePolicyResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *The JSON formatted Resource Policy.
+ */ + inline const Aws::String& GetPolicy() const{ return m_policy; } + inline void SetPolicy(const Aws::String& value) { m_policy = value; } + inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); } + inline void SetPolicy(const char* value) { m_policy.assign(value); } + inline PutResourcePolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;} + inline PutResourcePolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;} + inline PutResourcePolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;} + ///@} + + ///@{ + /** + *The time when the resource-based policy was created, in UNIX epoch time format.
+ */ + inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } + inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; } + inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); } + inline PutResourcePolicyResult& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} + inline PutResourcePolicyResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(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 PutResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline PutResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline PutResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + + Aws::String m_policy; + + Aws::Utils::DateTime m_createdTimestamp; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PinpointSMSVoiceV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ReleasePhoneNumberRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ReleasePhoneNumberRequest.h index a543312f590..c0355742278 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ReleasePhoneNumberRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ReleasePhoneNumberRequest.h @@ -38,7 +38,9 @@ namespace Model /** *The PhoneNumberId or PhoneNumberArn of the phone number to release. You can * use DescribePhoneNumbers to get the values for PhoneNumberId and - * PhoneNumberArn.
+ * PhoneNumberArn.If you are using a shared AWS End User + * Messaging SMS and Voice resource then you must use the full Amazon Resource + * Name(ARN).
*/ inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; } inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/RequestPhoneNumberRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/RequestPhoneNumberRequest.h index 7b37aeb41b0..5087a9f20e1 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/RequestPhoneNumberRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/RequestPhoneNumberRequest.h @@ -99,7 +99,9 @@ namespace Model ///@{ /** *The name of the OptOutList to associate with the phone number. You can use - * the OptOutListName or OptOutListArn.
+ * the OptOutListName or OptOutListArn.If you are using a + * shared AWS End User Messaging SMS and Voice resource then you must use the full + * Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOptOutListName() const{ return m_optOutListName; } inline bool OptOutListNameHasBeenSet() const { return m_optOutListNameHasBeenSet; } @@ -114,7 +116,9 @@ namespace Model ///@{ /** *The pool to associated with the phone number. You can use the PoolId or - * PoolArn.
+ * PoolArn.If you are using a shared AWS End User Messaging + * SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
+ * */ inline const Aws::String& GetPoolId() const{ return m_poolId; } inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ResourceType.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ResourceType.h index 7ea1e8499ee..ed9eda84f16 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ResourceType.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/ResourceType.h @@ -28,7 +28,8 @@ namespace Model registration, registration_attachment, verified_destination_number, - protect_configuration + protect_configuration, + policy }; namespace ResourceTypeMapper diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendDestinationNumberVerificationCodeRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendDestinationNumberVerificationCodeRequest.h index 906710301d2..dd13051c4b1 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendDestinationNumberVerificationCodeRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendDestinationNumberVerificationCodeRequest.h @@ -80,6 +80,8 @@ namespace Model /** *The origination identity of the message. This can be either the PhoneNumber, * PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice + * resource then you must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendMediaMessageRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendMediaMessageRequest.h index 3c5c5c09863..64dbf072cd9 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendMediaMessageRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendMediaMessageRequest.h @@ -54,6 +54,8 @@ namespace Model /** *The origination identity of the message. This can be either the PhoneNumber, * PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice + * resource then you must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendTextMessageRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendTextMessageRequest.h index 467a3a794e0..3e5f8b9c24a 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendTextMessageRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendTextMessageRequest.h @@ -55,6 +55,8 @@ namespace Model /** *The origination identity of the message. This can be either the PhoneNumber, * PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
+ *If you are using a shared AWS End User Messaging SMS and Voice + * resource then you must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendVoiceMessageRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendVoiceMessageRequest.h index 1f2c4d92449..460d5ea502c 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendVoiceMessageRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/SendVoiceMessageRequest.h @@ -54,7 +54,9 @@ namespace Model ///@{ /** *The origination identity to use for the voice call. This can be the - * PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
+ * PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn. + *If you are using a shared AWS End User Messaging SMS and Voice resource then + * you must use the full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/UpdatePhoneNumberRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/UpdatePhoneNumberRequest.h index d4544b3c752..20b30b39643 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/UpdatePhoneNumberRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/UpdatePhoneNumberRequest.h @@ -37,7 +37,9 @@ namespace Model ///@{ /** *The unique identifier of the phone number. Valid values for this field can be - * either the PhoneNumberId or PhoneNumberArn.
+ * either the PhoneNumberId or PhoneNumberArn.If you are using + * a shared AWS End User Messaging SMS and Voice resource then you must use the + * full Amazon Resource Name(ARN).
*/ inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; } inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/UpdatePoolRequest.h b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/UpdatePoolRequest.h index da7246f92a2..f3f33fb4ffb 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/UpdatePoolRequest.h +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/include/aws/pinpoint-sms-voice-v2/model/UpdatePoolRequest.h @@ -37,7 +37,9 @@ namespace Model ///@{ /** *The unique identifier of the pool to update. Valid values are either the - * PoolId or PoolArn.
+ * PoolId or PoolArn.If you are using a shared AWS End User + * Messaging SMS and Voice resource then you must use the full Amazon Resource + * Name(ARN).
*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } @@ -107,7 +109,9 @@ namespace Model ///@{ /** *The OptOutList to associate with the pool. Valid values are either - * OptOutListName or OptOutListArn.
+ * OptOutListName or OptOutListArn.If you are using a shared + * AWS End User Messaging SMS and Voice resource then you must use the full Amazon + * Resource Name(ARN).
*/ inline const Aws::String& GetOptOutListName() const{ return m_optOutListName; } inline bool OptOutListNameHasBeenSet() const { return m_optOutListNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/source/PinpointSMSVoiceV2Client.cpp b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/source/PinpointSMSVoiceV2Client.cpp index 5cac8fde575..d9deedf9a7f 100644 --- a/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/source/PinpointSMSVoiceV2Client.cpp +++ b/generated/src/aws-cpp-sdk-pinpoint-sms-voice-v2/source/PinpointSMSVoiceV2Client.cpp @@ -47,6 +47,7 @@ #includeThe SageMaker images that are hidden from the Studio user interface. You must + * specify the SageMaker image name and version aliases.
The SageMaker image name that you are hiding from the Studio user interface. + *
+ */ + inline const SageMakerImageName& GetSageMakerImageName() const{ return m_sageMakerImageName; } + inline bool SageMakerImageNameHasBeenSet() const { return m_sageMakerImageNameHasBeenSet; } + inline void SetSageMakerImageName(const SageMakerImageName& value) { m_sageMakerImageNameHasBeenSet = true; m_sageMakerImageName = value; } + inline void SetSageMakerImageName(SageMakerImageName&& value) { m_sageMakerImageNameHasBeenSet = true; m_sageMakerImageName = std::move(value); } + inline HiddenSageMakerImage& WithSageMakerImageName(const SageMakerImageName& value) { SetSageMakerImageName(value); return *this;} + inline HiddenSageMakerImage& WithSageMakerImageName(SageMakerImageName&& value) { SetSageMakerImageName(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The version aliases you are hiding from the Studio user interface.
+ */ + inline const Aws::VectorThe instance types you are hiding from the Studio user interface.
+ */ + inline const Aws::VectorThe version aliases you are hiding from the Studio user interface.
+ */ + inline const Aws::VectorSpecify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model, and model evaluation job that use human workers support two models.
" + "documentation":"Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model or inference profile, and model evaluation job that use human workers support two models or inference profiles.
" }, "outputDataConfig":{ "shape":"EvaluationOutputDataConfig", @@ -1676,14 +1676,14 @@ "members":{ "modelIdentifier":{ "shape":"EvaluationModelIdentifier", - "documentation":"The ARN of the Amazon Bedrock model specified.
" + "documentation":"The ARN of the Amazon Bedrock model or inference profile specified.
" }, "inferenceParams":{ "shape":"EvaluationModelInferenceParams", "documentation":"Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.
" } }, - "documentation":"Contains the ARN of the Amazon Bedrock models specified in your model evaluation job. Each Amazon Bedrock model supports different inferenceParams
. To learn more about supported inference parameters for Amazon Bedrock models, see Inference parameters for foundation models.
The inferenceParams
are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, \"temperature\":\"0.25\"
key value pair would need to be formatted as \\\"temperature\\\":\\\"0.25\\\"
to successfully accepted in the request.
Contains the ARN of the Amazon Bedrock model or inference profile specified in your model evaluation job. Each Amazon Bedrock model supports different inferenceParams
. To learn more about supported inference parameters for Amazon Bedrock models, see Inference parameters for foundation models.
The inferenceParams
are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, \"temperature\":\"0.25\"
key value pair would need to be formatted as \\\"temperature\\\":\\\"0.25\\\"
to successfully accepted in the request.
Defines the Amazon Bedrock model and inference parameters you want used.
" + "documentation":"Defines the Amazon Bedrock model or inference profile and inference parameters you want used.
" } }, "documentation":"Defines the models used in the model evaluation job.
", @@ -1864,7 +1864,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)" + "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:inference-profile/(([a-z]{2}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))" }, "EvaluationModelIdentifiers":{ "type":"list", diff --git a/tools/code-generation/api-descriptions/budgets-2016-10-20.normal.json b/tools/code-generation/api-descriptions/budgets-2016-10-20.normal.json index e2b61ea1708..1da34f9b9ee 100644 --- a/tools/code-generation/api-descriptions/budgets-2016-10-20.normal.json +++ b/tools/code-generation/api-descriptions/budgets-2016-10-20.normal.json @@ -11,7 +11,8 @@ "serviceId":"Budgets", "signatureVersion":"v4", "targetPrefix":"AWSBudgetServiceGateway", - "uid":"budgets-2016-10-20" + "uid":"budgets-2016-10-20", + "auth":["aws.auth#sigv4"] }, "operations":{ "CreateBudget":{ @@ -1836,7 +1837,7 @@ "type":"string", "max":684, "min":25, - "pattern":"^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$" + "pattern":"^arn:aws(-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$" }, "PolicyId":{ "type":"string", @@ -1908,7 +1909,7 @@ "type":"string", "max":618, "min":32, - "pattern":"^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$" + "pattern":"^arn:aws(-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$" }, "Roles":{ "type":"list", diff --git a/tools/code-generation/api-descriptions/kinesis-2013-12-02.normal.json b/tools/code-generation/api-descriptions/kinesis-2013-12-02.normal.json index 93d247243d8..9e94ccc725f 100644 --- a/tools/code-generation/api-descriptions/kinesis-2013-12-02.normal.json +++ b/tools/code-generation/api-descriptions/kinesis-2013-12-02.normal.json @@ -47,7 +47,7 @@ {"shape":"LimitExceededException"}, {"shape":"InvalidArgumentException"} ], - "documentation":"Creates a Kinesis data stream. A stream captures and transports data records that are continuously emitted from different data sources or producers. Scale-out within a stream is explicitly supported by means of shards, which are uniquely identified groups of data records in a stream.
You can create your data stream using either on-demand or provisioned capacity mode. Data streams with an on-demand mode require no capacity planning and automatically scale to handle gigabytes of write and read throughput per minute. With the on-demand mode, Kinesis Data Streams automatically manages the shards in order to provide the necessary throughput. For the data streams with a provisioned mode, you must specify the number of shards for the data stream. Each shard can support reads up to five transactions per second, up to a maximum data read total of 2 MiB per second. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MiB per second. If the amount of data input increases or decreases, you can add or remove shards.
The stream name identifies the stream. The name is scoped to the Amazon Web Services account used by the application. It is also scoped by Amazon Web Services Region. That is, two streams in two different accounts can have the same name, and two streams in the same account, but in two different Regions, can have the same name.
CreateStream
is an asynchronous operation. Upon receiving a CreateStream
request, Kinesis Data Streams immediately returns and sets the stream status to CREATING
. After the stream is created, Kinesis Data Streams sets the stream status to ACTIVE
. You should perform read and write operations only on an ACTIVE
stream.
You receive a LimitExceededException
when making a CreateStream
request when you try to do one of the following:
Have more than five streams in the CREATING
state at any point in time.
Create more shards than are authorized for your account.
For the default shard limit for an Amazon Web Services account, see Amazon Kinesis Data Streams Limits in the Amazon Kinesis Data Streams Developer Guide. To increase this limit, contact Amazon Web Services Support.
You can use DescribeStreamSummary to check the stream status, which is returned in StreamStatus
.
CreateStream has a limit of five transactions per second per account.
" + "documentation":"Creates a Kinesis data stream. A stream captures and transports data records that are continuously emitted from different data sources or producers. Scale-out within a stream is explicitly supported by means of shards, which are uniquely identified groups of data records in a stream.
You can create your data stream using either on-demand or provisioned capacity mode. Data streams with an on-demand mode require no capacity planning and automatically scale to handle gigabytes of write and read throughput per minute. With the on-demand mode, Kinesis Data Streams automatically manages the shards in order to provide the necessary throughput. For the data streams with a provisioned mode, you must specify the number of shards for the data stream. Each shard can support reads up to five transactions per second, up to a maximum data read total of 2 MiB per second. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MiB per second. If the amount of data input increases or decreases, you can add or remove shards.
The stream name identifies the stream. The name is scoped to the Amazon Web Services account used by the application. It is also scoped by Amazon Web Services Region. That is, two streams in two different accounts can have the same name, and two streams in the same account, but in two different Regions, can have the same name.
CreateStream
is an asynchronous operation. Upon receiving a CreateStream
request, Kinesis Data Streams immediately returns and sets the stream status to CREATING
. After the stream is created, Kinesis Data Streams sets the stream status to ACTIVE
. You should perform read and write operations only on an ACTIVE
stream.
You receive a LimitExceededException
when making a CreateStream
request when you try to do one of the following:
Have more than five streams in the CREATING
state at any point in time.
Create more shards than are authorized for your account.
For the default shard limit for an Amazon Web Services account, see Amazon Kinesis Data Streams Limits in the Amazon Kinesis Data Streams Developer Guide. To increase this limit, contact Amazon Web Services Support.
You can use DescribeStreamSummary to check the stream status, which is returned in StreamStatus
.
CreateStream has a limit of five transactions per second per account.
You can add tags to the stream when making a CreateStream
request by setting the Tags
parameter. If you pass Tags
parameter, in addition to having kinesis:createStream
permission, you must also have kinesis:addTagsToStream
permission for the stream that will be created. Tags will take effect from the CREATING
status of the stream.
Returns a policy attached to the specified data stream or consumer. Request patterns can be one of the following:
Data stream pattern: arn:aws.*:kinesis:.*:\\d{12}:.*stream/\\S+
Consumer pattern: ^(arn):aws.*:kinesis:.*:\\d{12}:.*stream\\/[a-zA-Z0-9_.-]+\\/consumer\\/[a-zA-Z0-9_.-]+:[0-9]+
Registers a consumer with a Kinesis data stream. When you use this operation, the consumer you register can then call SubscribeToShard to receive data from the stream using enhanced fan-out, at a rate of up to 2 MiB per second for every shard you subscribe to. This rate is unaffected by the total number of consumers that read from the same stream.
You can register up to 20 consumers per stream. A given consumer can only be registered with one stream at a time.
For an example of how to use this operations, see Enhanced Fan-Out Using the Kinesis Data Streams API.
The use of this operation has a limit of five transactions per second per account. Also, only 5 consumers can be created simultaneously. In other words, you cannot have more than 5 consumers in a CREATING
status at the same time. Registering a 6th consumer while there are 5 in a CREATING
status results in a LimitExceededException
.
Registers a consumer with a Kinesis data stream. When you use this operation, the consumer you register can then call SubscribeToShard to receive data from the stream using enhanced fan-out, at a rate of up to 2 MiB per second for every shard you subscribe to. This rate is unaffected by the total number of consumers that read from the same stream.
You can register up to 20 consumers per stream. A given consumer can only be registered with one stream at a time.
For an example of how to use this operation, see Enhanced Fan-Out Using the Kinesis Data Streams API.
The use of this operation has a limit of five transactions per second per account. Also, only 5 consumers can be created simultaneously. In other words, you cannot have more than 5 consumers in a CREATING
status at the same time. Registering a 6th consumer while there are 5 in a CREATING
status results in a LimitExceededException
.
This operation establishes an HTTP/2 connection between the consumer you specify in the ConsumerARN
parameter and the shard you specify in the ShardId
parameter. After the connection is successfully established, Kinesis Data Streams pushes records from the shard to the consumer over this connection. Before you call this operation, call RegisterStreamConsumer to register the consumer with Kinesis Data Streams.
When the SubscribeToShard
call succeeds, your consumer starts receiving events of type SubscribeToShardEvent over the HTTP/2 connection for up to 5 minutes, after which time you need to call SubscribeToShard
again to renew the subscription if you want to continue to receive records.
You can make one call to SubscribeToShard
per second per registered consumer per shard. For example, if you have a 4000 shard stream and two registered stream consumers, you can make one SubscribeToShard
request per second for each combination of shard and registered consumer, allowing you to subscribe both consumers to all 4000 shards in one second.
If you call SubscribeToShard
again with the same ConsumerARN
and ShardId
within 5 seconds of a successful call, you'll get a ResourceInUseException
. If you call SubscribeToShard
5 seconds or more after a successful call, the second call takes over the subscription and the previous connection expires or fails with a ResourceInUseException
.
For an example of how to use this operations, see Enhanced Fan-Out Using the Kinesis Data Streams API.
", + "documentation":"This operation establishes an HTTP/2 connection between the consumer you specify in the ConsumerARN
parameter and the shard you specify in the ShardId
parameter. After the connection is successfully established, Kinesis Data Streams pushes records from the shard to the consumer over this connection. Before you call this operation, call RegisterStreamConsumer to register the consumer with Kinesis Data Streams.
When the SubscribeToShard
call succeeds, your consumer starts receiving events of type SubscribeToShardEvent over the HTTP/2 connection for up to 5 minutes, after which time you need to call SubscribeToShard
again to renew the subscription if you want to continue to receive records.
You can make one call to SubscribeToShard
per second per registered consumer per shard. For example, if you have a 4000 shard stream and two registered stream consumers, you can make one SubscribeToShard
request per second for each combination of shard and registered consumer, allowing you to subscribe both consumers to all 4000 shards in one second.
If you call SubscribeToShard
again with the same ConsumerARN
and ShardId
within 5 seconds of a successful call, you'll get a ResourceInUseException
. If you call SubscribeToShard
5 seconds or more after a successful call, the second call takes over the subscription and the previous connection expires or fails with a ResourceInUseException
.
For an example of how to use this operation, see Enhanced Fan-Out Using the Kinesis Data Streams API.
", "staticContextParams":{ "OperationType":{"value":"data"} } @@ -800,6 +801,10 @@ "StreamModeDetails":{ "shape":"StreamModeDetails", "documentation":"Indicates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
" + }, + "Tags":{ + "shape":"TagMap", + "documentation":"A set of up to 10 key-value pairs to use to create the tags.
" } }, "documentation":"Represents the input for CreateStream
.
Delete the value in a registration form field.
" }, + "DeleteResourcePolicy":{ + "name":"DeleteResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteResourcePolicyRequest"}, + "output":{"shape":"DeleteResourcePolicyResult"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "documentation":"Deletes the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number.
" + }, "DeleteTextMessageSpendLimitOverride":{ "name":"DeleteTextMessageSpendLimitOverride", "http":{ @@ -918,6 +935,23 @@ ], "documentation":"Retrieve the CountryRuleSet for the specified NumberCapability from a protect configuration.
" }, + "GetResourcePolicy":{ + "name":"GetResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourcePolicyRequest"}, + "output":{"shape":"GetResourcePolicyResult"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "documentation":"Retrieves the JSON text of the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number.
" + }, "ListPoolOriginationIdentities":{ "name":"ListPoolOriginationIdentities", "http":{ @@ -1023,6 +1057,23 @@ ], "documentation":"Creates or updates a field value for a registration.
" }, + "PutResourcePolicy":{ + "name":"PutResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutResourcePolicyRequest"}, + "output":{"shape":"PutResourcePolicyResult"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "documentation":"Attaches a resource-based policy to a AWS End User Messaging SMS and Voice resource(phone number, sender Id, phone poll, or opt-out list) that is used for sharing the resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number. For more information about resource-based policies, see Working with shared resources in the AWS End User Messaging SMS User Guide.
" + }, "ReleasePhoneNumber":{ "name":"ReleasePhoneNumber", "http":{ @@ -1553,11 +1604,11 @@ "members":{ "PoolId":{ "shape":"PoolIdOrArn", - "documentation":"The pool to update with the new Identity. This value can be either the PoolId or PoolArn, and you can find these values using DescribePools.
" + "documentation":"The pool to update with the new Identity. This value can be either the PoolId or PoolArn, and you can find these values using DescribePools.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn, while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
" + "documentation":"The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn, while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
After the pool is created you can add more origination identities to the pool by using AssociateOriginationIdentity.
" + "documentation":"The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
After the pool is created you can add more origination identities to the pool by using AssociateOriginationIdentity.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, PoolId or PoolArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn and DescribePools to find the values of PoolId and PoolArn.
" + "documentation":"The origination identity to use such as a PhoneNumberId, PhoneNumberArn, PoolId or PoolArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn and DescribePools to find the values of PoolId and PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The OptOutListName or OptOutListArn of the OptOutList to delete. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
" + "documentation":"The OptOutListName or OptOutListArn of the OptOutList to delete. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The OptOutListName or OptOutListArn to remove the phone number from.
" + "documentation":"The OptOutListName or OptOutListArn to remove the phone number from.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The PoolId or PoolArn of the pool to delete. You can use DescribePools to find the values for PoolId and PoolArn .
" + "documentation":"The PoolId or PoolArn of the pool to delete. You can use DescribePools to find the values for PoolId and PoolArn .
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource you're deleting the resource-based policy from.
" + } + } + }, + "DeleteResourcePolicyResult":{ + "type":"structure", + "members":{ + "ResourceArn":{ + "shape":"AmazonResourceName", + "documentation":"The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource that the resource-based policy was deleted from.
" + }, + "Policy":{ + "shape":"ResourcePolicy", + "documentation":"The JSON formatted resource-based policy that was deleted.
" + }, + "CreatedTimestamp":{ + "shape":"Timestamp", + "documentation":"The time when the resource-based policy was created, in UNIX epoch time format.
" + } + } + }, "DeleteTextMessageSpendLimitOverrideRequest":{ "type":"structure", "members":{ @@ -3118,7 +3196,7 @@ "members":{ "OriginationIdentity":{ "shape":"PhoneOrPoolIdOrArn", - "documentation":"The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
" + "documentation":"The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The OptOutLists to show the details of. This is an array of strings that can be either the OptOutListName or OptOutListArn.
" + "documentation":"The OptOutLists to show the details of. This is an array of strings that can be either the OptOutListName or OptOutListArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The maximum number of results to return per each request.
" + }, + "Owner":{ + "shape":"Owner", + "documentation":"Use SELF
to filter the list of Opt-Out List to ones your account owns or use SHARED
to filter on Opt-Out List shared with your account. The Owner
and OptOutListNames
parameters can't be used at the same time.
The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
" + "documentation":"The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
" + "documentation":"The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The maximum number of results to return per each request.
" + }, + "Owner":{ + "shape":"Owner", + "documentation":"Use SELF
to filter the list of phone numbers to ones your account owns or use SHARED
to filter on phone numbers shared with your account. The Owner
and PhoneNumberIds
parameters can't be used at the same time.
The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.
" + "documentation":"The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The maximum number of results to return per each request.
" + }, + "Owner":{ + "shape":"Owner", + "documentation":"Use SELF
to filter the list of Pools to ones your account owns or use SHARED
to filter on Pools shared with your account. The Owner
and PoolIds
parameters can't be used at the same time.
An array of SenderIdAndCountry objects to search for.
" + "documentation":"An array of SenderIdAndCountry objects to search for.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The maximum number of results to return per each request.
" + }, + "Owner":{ + "shape":"Owner", + "documentation":"Use SELF
to filter the list of Sender Ids to ones your account owns or use SHARED
to filter on Sender Ids shared with your account. The Owner
and SenderIds
parameters can't be used at the same time.
The unique identifier for the pool to disassociate with the origination identity. This value can be either the PoolId or PoolArn.
" + "documentation":"The unique identifier for the pool to disassociate with the origination identity. This value can be either the PoolId or PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the values for SenderId and SenderIdArn.
" + "documentation":"The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the values for SenderId and SenderIdArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
" + } + } + }, + "GetResourcePolicyResult":{ + "type":"structure", + "members":{ + "ResourceArn":{ + "shape":"AmazonResourceName", + "documentation":"The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
" + }, + "Policy":{ + "shape":"ResourcePolicy", + "documentation":"The JSON formatted string that contains the resource-based policy attached to the AWS End User Messaging SMS and Voice resource.
" + }, + "CreatedTimestamp":{ + "shape":"Timestamp", + "documentation":"The time when the resource-based policy was created, in UNIX epoch time format.
" + } + } + }, "IamRoleArn":{ "type":"string", "max":2048, @@ -4244,7 +4365,7 @@ "members":{ "PoolId":{ "shape":"PoolIdOrArn", - "documentation":"The unique identifier for the pool. This value can be either the PoolId or PoolArn.
" + "documentation":"The unique identifier for the pool. This value can be either the PoolId or PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
" + "documentation":"The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The OptOutListName or OptOutListArn to add the phone number to.
" + "documentation":"The OptOutListName or OptOutListArn to add the phone number to.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource to attach the resource-based policy to.
" + }, + "Policy":{ + "shape":"ResourcePolicy", + "documentation":"The JSON formatted resource-based policy to attach.
" + } + } + }, + "PutResourcePolicyResult":{ + "type":"structure", + "members":{ + "ResourceArn":{ + "shape":"AmazonResourceName", + "documentation":"The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
" + }, + "Policy":{ + "shape":"ResourcePolicy", + "documentation":"The JSON formatted Resource Policy.
" + }, + "CreatedTimestamp":{ + "shape":"Timestamp", + "documentation":"The time when the resource-based policy was created, in UNIX epoch time format.
" + } + } + }, "RegistrationAssociationBehavior":{ "type":"string", "enum":[ @@ -5903,7 +6065,7 @@ "members":{ "PhoneNumberId":{ "shape":"PhoneNumberIdOrArn", - "documentation":"The PhoneNumberId or PhoneNumberArn of the phone number to release. You can use DescribePhoneNumbers to get the values for PhoneNumberId and PhoneNumberArn.
" + "documentation":"The PhoneNumberId or PhoneNumberArn of the phone number to release. You can use DescribePhoneNumbers to get the values for PhoneNumberId and PhoneNumberArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The name of the OptOutList to associate with the phone number. You can use the OptOutListName or OptOutListArn.
" + "documentation":"The name of the OptOutList to associate with the phone number. You can use the OptOutListName or OptOutListArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The pool to associated with the phone number. You can use the PoolId or PoolArn.
" + "documentation":"The pool to associated with the phone number. You can use the PoolId or PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
A requested resource couldn't be found.
", "exception":true }, + "ResourcePolicy":{ + "type":"string", + "max":10000, + "min":1 + }, "ResourceType":{ "type":"string", "enum":[ @@ -6293,7 +6460,8 @@ "registration", "registration-attachment", "verified-destination-number", - "protect-configuration" + "protect-configuration", + "policy" ] }, "SectionPath":{ @@ -6386,7 +6554,7 @@ }, "OriginationIdentity":{ "shape":"VerificationMessageOriginationIdentity", - "documentation":"The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
" + "documentation":"The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
" + "documentation":"The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
" + "documentation":"The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The origination identity to use for the voice call. This can be the PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
" + "documentation":"The origination identity to use for the voice call. This can be the PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.
" + "documentation":"The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.
" + "documentation":"The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.
" + "documentation":"The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
The SageMaker image name that you are hiding from the Studio user interface.
" + }, + "VersionAliases":{ + "shape":"VersionAliasesList", + "documentation":"The version aliases you are hiding from the Studio user interface.
" + } + }, + "documentation":"The SageMaker images that are hidden from the Studio user interface. You must specify the SageMaker image name and version aliases.
" + }, + "HiddenSageMakerImageVersionAliasesList":{ + "type":"list", + "member":{"shape":"HiddenSageMakerImage"}, + "max":5 + }, "HolidayConfig":{ "type":"list", "member":{"shape":"HolidayConfigAttributes"}, @@ -20168,12 +20191,10 @@ "required":[ "WorkteamArn", "UiConfig", - "PreHumanTaskLambdaArn", "TaskTitle", "TaskDescription", "NumberOfHumanWorkersPerDataObject", - "TaskTimeLimitInSeconds", - "AnnotationConsolidationConfig" + "TaskTimeLimitInSeconds" ], "members":{ "WorkteamArn":{ @@ -21199,6 +21220,12 @@ "min":1, "pattern":"(^\\d+$)|(^\\d+.\\d+$)|(^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$)" }, + "ImageVersionAliasPattern":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$" + }, "ImageVersionArn":{ "type":"string", "max":256, @@ -22724,8 +22751,7 @@ "LastModifiedTime", "LabelingJobStatus", "LabelCounters", - "WorkteamArn", - "PreHumanTaskLambdaArn" + "WorkteamArn" ], "members":{ "LabelingJobName":{ @@ -27240,7 +27266,8 @@ "InferenceRecommender", "Endpoints", "Projects", - "InferenceOptimization" + "InferenceOptimization", + "PerformanceEvaluation" ] }, "MlflowVersion":{ @@ -34011,6 +34038,10 @@ "max":1024, "pattern":"^(https|s3)://([^/]+)/?(.*)$" }, + "SageMakerImageName":{ + "type":"string", + "enum":["sagemaker_distribution"] + }, "SageMakerImageVersionAlias":{ "type":"string", "max":128, @@ -35548,6 +35579,14 @@ "HiddenAppTypes":{ "shape":"HiddenAppTypesList", "documentation":"The Applications supported in Studio that are hidden from the Studio left navigation pane.
" + }, + "HiddenInstanceTypes":{ + "shape":"HiddenInstanceTypesList", + "documentation":"The instance types you are hiding from the Studio user interface.
" + }, + "HiddenSageMakerImageVersionAliases":{ + "shape":"HiddenSageMakerImageVersionAliasesList", + "documentation":"The version aliases you are hiding from the Studio user interface.
" } }, "documentation":"Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.
" @@ -39364,6 +39403,11 @@ "ARCHIVED" ] }, + "VersionAliasesList":{ + "type":"list", + "member":{"shape":"ImageVersionAliasPattern"}, + "max":20 + }, "VersionId":{ "type":"string", "max":1024, diff --git a/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-rule-set.json b/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-rule-set.json index 8c740ff42f1..2899674a8a7 100644 --- a/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-rule-set.json @@ -212,6 +212,108 @@ }, "type": "endpoint" }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-iso-e" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://budgets.global.cloud.adc-e.uk", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "budgets", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-iso-f" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://budgets.global.csp.hci.ic.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "budgets", + "signingRegion": "us-isof-south-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [ { diff --git a/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-tests.json b/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-tests.json index 073c32f8f15..b97c4559b59 100644 --- a/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-tests.json +++ b/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-tests.json @@ -314,6 +314,50 @@ "UseDualStack": false } }, + { + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "budgets", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://budgets.global.cloud.adc-e.uk" + } + }, + "params": { + "Region": "eu-isoe-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "budgets", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://budgets.global.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": {