From bd530d9fd167bce95f43c36da0d837c91d7cdbc8 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Fri, 13 Sep 2024 14:52:16 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../com/commercetools/api/models/common/Image.java | 4 ++-- .../com/commercetools/api/models/common/ImageBuilder.java | 4 ++-- .../com/commercetools/api/models/common/ImageImpl.java | 2 +- .../commercetools/api/models/extension/HttpDestination.java | 4 ++-- .../api/models/extension/HttpDestinationBuilder.java | 4 ++-- .../api/models/extension/HttpDestinationImpl.java | 2 +- .../com/commercetools/api/models/project/ExternalOAuth.java | 4 ++-- .../api/models/project/ExternalOAuthBuilder.java | 4 ++-- .../commercetools/api/models/project/ExternalOAuthImpl.java | 2 +- .../api/models/subscription/AwsAuthenticationMode.java | 2 +- .../commercetools/api/models/subscription/SnsDestination.java | 2 +- .../api/models/subscription/SnsDestinationImpl.java | 2 +- .../commercetools/api/models/subscription/SqsDestination.java | 2 +- .../api/models/subscription/SqsDestinationImpl.java | 2 +- references.txt | 1 + 15 files changed, 21 insertions(+), 20 deletions(-) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java index bc3b8e1d4cd..eb6fff3bac2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java @@ -34,7 +34,7 @@ public interface Image { /** - *
URL of the image in its original size that must be unique within a single ProductVariant. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL of the image in its original size that must be unique within a single ProductVariant.
* @return url */ @NotNull @@ -59,7 +59,7 @@ public interface Image { public String getLabel(); /** - *URL of the image in its original size that must be unique within a single ProductVariant. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL of the image in its original size that must be unique within a single ProductVariant.
* @param url value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java index 9e986ab7272..29fde935856 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java @@ -33,7 +33,7 @@ public class ImageBuilder implements BuilderURL of the image in its original size that must be unique within a single ProductVariant. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL of the image in its original size that must be unique within a single ProductVariant.
* @param url value to be set * @return Builder */ @@ -90,7 +90,7 @@ public ImageBuilder label(@Nullable final String label) { } /** - *URL of the image in its original size that must be unique within a single ProductVariant. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL of the image in its original size that must be unique within a single ProductVariant.
* @return url */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java index 42a42e6f47f..efd8a38c63b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java @@ -47,7 +47,7 @@ public ImageImpl() { } /** - *URL of the image in its original size that must be unique within a single ProductVariant. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL of the image in its original size that must be unique within a single ProductVariant.
*/ public String getUrl() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestination.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestination.java index c77c32c4e03..54902174358 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestination.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestination.java @@ -38,7 +38,7 @@ public interface HttpDestination extends ExtensionDestination { String HTTP = "HTTP"; /** - *URL to the target destination. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL to the target destination.
* @return url */ @NotNull @@ -54,7 +54,7 @@ public interface HttpDestination extends ExtensionDestination { public HttpDestinationAuthentication getAuthentication(); /** - *URL to the target destination. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL to the target destination.
* @param url value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationBuilder.java index aba4ed8c0c2..d9385e8f8cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationBuilder.java @@ -30,7 +30,7 @@ public class HttpDestinationBuilder implements BuilderURL to the target destination. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL to the target destination.
* @param url value to be set * @return Builder */ @@ -67,7 +67,7 @@ public HttpDestinationBuilder authentication( } /** - *URL to the target destination. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL to the target destination.
* @return url */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationImpl.java index 8882bcdc090..6862bd9b5b2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationImpl.java @@ -55,7 +55,7 @@ public String getType() { } /** - *URL to the target destination. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL to the target destination.
*/ public String getUrl() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuth.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuth.java index 2e39a9eac33..78944b62d52 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuth.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuth.java @@ -34,7 +34,7 @@ public interface ExternalOAuth { /** - *URL with authorization header. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL with authorization header.
* @return url */ @NotNull @@ -50,7 +50,7 @@ public interface ExternalOAuth { public String getAuthorizationHeader(); /** - *URL with authorization header. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL with authorization header.
* @param url value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthBuilder.java index 330d93632d8..283cdd88975 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthBuilder.java @@ -27,7 +27,7 @@ public class ExternalOAuthBuilder implements BuilderURL with authorization header. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL with authorization header.
* @param url value to be set * @return Builder */ @@ -49,7 +49,7 @@ public ExternalOAuthBuilder authorizationHeader(final String authorizationHeader } /** - *URL with authorization header. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL with authorization header.
* @return url */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthImpl.java index 339e16066d5..b6b6662a2e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthImpl.java @@ -44,7 +44,7 @@ public ExternalOAuthImpl() { } /** - *URL with authorization header. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
+ *URL with authorization header.
*/ public String getUrl() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AwsAuthenticationMode.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AwsAuthenticationMode.java index d98ea8e7f75..6725b55d0e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AwsAuthenticationMode.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AwsAuthenticationMode.java @@ -20,7 +20,7 @@ public interface AwsAuthenticationMode extends JsonEnum {Subscriptions with Credentials
authentication mode are authenticated using an accessKey
and accessSecret
pair. This is the default authentication mode for backwards compatibility.
Subscriptions with IAM
authentication mode are authenticated using Identity and Access Management (IAM). For this authentication mode, the following user requires permissions to send notifications to the queue or publish to the topic: arn:aws-cn:iam::417094354346:user/subscriptions
if the Project is hosted in the China (AWS, Ningxia) Region; arn:aws:iam::362576667341:user/subscriptions
for all other Regions. This is the recommended authentication mode, as it doesn't require additional key management.
Subscriptions with IAM
authentication mode are authenticated using Identity and Access Management (IAM). For this authentication mode, the following user requires permissions to send notifications to the queue or publish to the topic: arn:aws:iam::362576667341:user/subscriptions
. This is the recommended authentication mode, as it doesn't require additional key management.
AWS SNS can be used to push messages to AWS Lambda, HTTP endpoints (webhooks), or fan-out messages to SQS queues. The SQS queue must be a Standard queue type.
- *We recommend setting authenticationMode
to IAM
, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: arn:aws-cn:iam::417094354346:user/subscriptions
if the Project is hosted in the China (AWS, Ningxia) Region; arn:aws:iam::362576667341:user/subscriptions
for all other Regions. Otherwise, a test notification will not be sent.
We recommend setting authenticationMode
to IAM
, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: arn:aws:iam::362576667341:user/subscriptions
. Otherwise, a test notification will not be sent.
If you prefer to use Credentials
for authentication, we recommend creating an IAM user with an accessKey
and accessSecret
pair specifically for each Subscription.
The IAM user should only have the sns:Publish
permission on this topic.
AWS SNS can be used to push messages to AWS Lambda, HTTP endpoints (webhooks), or fan-out messages to SQS queues. The SQS queue must be a Standard queue type.
- *We recommend setting authenticationMode
to IAM
, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: arn:aws-cn:iam::417094354346:user/subscriptions
if the Project is hosted in the China (AWS, Ningxia) Region; arn:aws:iam::362576667341:user/subscriptions
for all other Regions. Otherwise, a test notification will not be sent.
We recommend setting authenticationMode
to IAM
, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: arn:aws:iam::362576667341:user/subscriptions
. Otherwise, a test notification will not be sent.
If you prefer to use Credentials
for authentication, we recommend creating an IAM user with an accessKey
and accessSecret
pair specifically for each Subscription.
The IAM user should only have the sns:Publish
permission on this topic.
AWS SQS is a pull-queue on AWS. The queue must be a Standard queue type with a MaximumMessageSize
of 256 KB
.
We recommend setting authenticationMode
to IAM
, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: arn:aws-cn:iam::417094354346:user/subscriptions
if the Project is hosted in the China (AWS, Ningxia) Region; arn:aws:iam::362576667341:user/subscriptions
for all other Regions. Otherwise, a test message will not be sent.
We recommend setting authenticationMode
to IAM
, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: arn:aws:iam::362576667341:user/subscriptions
. Otherwise, a test message will not be sent.
If you prefer to use Credentials
for authentication, we recommend creating an IAM user with an accessKey
and accessSecret
pair specifically for each Subscription.
The IAM user should only have the sqs:SendMessage
permission on this queue.
AWS SQS is a pull-queue on AWS. The queue must be a Standard queue type with a MaximumMessageSize
of 256 KB
.
We recommend setting authenticationMode
to IAM
, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: arn:aws-cn:iam::417094354346:user/subscriptions
if the Project is hosted in the China (AWS, Ningxia) Region; arn:aws:iam::362576667341:user/subscriptions
for all other Regions. Otherwise, a test message will not be sent.
We recommend setting authenticationMode
to IAM
, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: arn:aws:iam::362576667341:user/subscriptions
. Otherwise, a test message will not be sent.
If you prefer to use Credentials
for authentication, we recommend creating an IAM user with an accessKey
and accessSecret
pair specifically for each Subscription.
The IAM user should only have the sqs:SendMessage
permission on this queue.