Skip to content

Commit

Permalink
Merge pull request #725 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Sep 13, 2024
2 parents 4162524 + bd530d9 commit dddb9bb
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public interface Image {

/**
* <p>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.</p>
* <p>URL of the image in its original size that must be unique within a single ProductVariant.</p>
* @return url
*/
@NotNull
Expand All @@ -59,7 +59,7 @@ public interface Image {
public String getLabel();

/**
* <p>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.</p>
* <p>URL of the image in its original size that must be unique within a single ProductVariant.</p>
* @param url value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ImageBuilder implements Builder<Image> {
private String label;

/**
* <p>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.</p>
* <p>URL of the image in its original size that must be unique within a single ProductVariant.</p>
* @param url value to be set
* @return Builder
*/
Expand Down Expand Up @@ -90,7 +90,7 @@ public ImageBuilder label(@Nullable final String label) {
}

/**
* <p>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.</p>
* <p>URL of the image in its original size that must be unique within a single ProductVariant.</p>
* @return url
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public ImageImpl() {
}

/**
* <p>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.</p>
* <p>URL of the image in its original size that must be unique within a single ProductVariant.</p>
*/

public String getUrl() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface HttpDestination extends ExtensionDestination {
String HTTP = "HTTP";

/**
* <p>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.</p>
* <p>URL to the target destination.</p>
* @return url
*/
@NotNull
Expand All @@ -54,7 +54,7 @@ public interface HttpDestination extends ExtensionDestination {
public HttpDestinationAuthentication getAuthentication();

/**
* <p>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.</p>
* <p>URL to the target destination.</p>
* @param url value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class HttpDestinationBuilder implements Builder<HttpDestination> {
private com.commercetools.api.models.extension.HttpDestinationAuthentication authentication;

/**
* <p>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.</p>
* <p>URL to the target destination.</p>
* @param url value to be set
* @return Builder
*/
Expand Down Expand Up @@ -67,7 +67,7 @@ public HttpDestinationBuilder authentication(
}

/**
* <p>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.</p>
* <p>URL to the target destination.</p>
* @return url
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public String getType() {
}

/**
* <p>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.</p>
* <p>URL to the target destination.</p>
*/

public String getUrl() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public interface ExternalOAuth {

/**
* <p>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.</p>
* <p>URL with authorization header.</p>
* @return url
*/
@NotNull
Expand All @@ -50,7 +50,7 @@ public interface ExternalOAuth {
public String getAuthorizationHeader();

/**
* <p>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.</p>
* <p>URL with authorization header.</p>
* @param url value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class ExternalOAuthBuilder implements Builder<ExternalOAuth> {
private String authorizationHeader;

/**
* <p>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.</p>
* <p>URL with authorization header.</p>
* @param url value to be set
* @return Builder
*/
Expand All @@ -49,7 +49,7 @@ public ExternalOAuthBuilder authorizationHeader(final String authorizationHeader
}

/**
* <p>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.</p>
* <p>URL with authorization header.</p>
* @return url
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public ExternalOAuthImpl() {
}

/**
* <p>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.</p>
* <p>URL with authorization header.</p>
*/

public String getUrl() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public interface AwsAuthenticationMode extends JsonEnum {
<p>Subscriptions with <code>Credentials</code> authentication mode are authenticated using an <code>accessKey</code> and <code>accessSecret</code> pair. This is the default authentication mode for backwards compatibility.</p> */
AwsAuthenticationMode CREDENTIALS = AwsAuthenticationModeEnum.CREDENTIALS;
/**
<p>Subscriptions with <code>IAM</code> 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: <code>arn:aws-cn:iam::417094354346:user/subscriptions</code> if the Project is hosted in the China (AWS, Ningxia) Region; <code>arn:aws:iam::362576667341:user/subscriptions</code> for all other Regions. This is the recommended authentication mode, as it doesn't require additional key management.</p> */
<p>Subscriptions with <code>IAM</code> 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: <code>arn:aws:iam::362576667341:user/subscriptions</code>. This is the recommended authentication mode, as it doesn't require additional key management.</p> */
AwsAuthenticationMode IAM = AwsAuthenticationModeEnum.IAM;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/**
* <p>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.</p>
* <p>We recommend setting <code>authenticationMode</code> to <code>IAM</code>, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: <code>arn:aws-cn:iam::417094354346:user/subscriptions</code> if the Project is hosted in the China (AWS, Ningxia) Region; <code>arn:aws:iam::362576667341:user/subscriptions</code> for all other Regions. Otherwise, a test notification will not be sent.</p>
* <p>We recommend setting <code>authenticationMode</code> to <code>IAM</code>, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: <code>arn:aws:iam::362576667341:user/subscriptions</code>. Otherwise, a test notification will not be sent.</p>
* <p>If you prefer to use <code>Credentials</code> for authentication, we recommend creating an IAM user with an <code>accessKey</code> and <code>accessSecret</code> pair specifically for each Subscription.</p>
* <p>The IAM user should only have the <code>sns:Publish</code> permission on this topic.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/**
* <p>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.</p>
* <p>We recommend setting <code>authenticationMode</code> to <code>IAM</code>, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: <code>arn:aws-cn:iam::417094354346:user/subscriptions</code> if the Project is hosted in the China (AWS, Ningxia) Region; <code>arn:aws:iam::362576667341:user/subscriptions</code> for all other Regions. Otherwise, a test notification will not be sent.</p>
* <p>We recommend setting <code>authenticationMode</code> to <code>IAM</code>, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: <code>arn:aws:iam::362576667341:user/subscriptions</code>. Otherwise, a test notification will not be sent.</p>
* <p>If you prefer to use <code>Credentials</code> for authentication, we recommend creating an IAM user with an <code>accessKey</code> and <code>accessSecret</code> pair specifically for each Subscription.</p>
* <p>The IAM user should only have the <code>sns:Publish</code> permission on this topic.</p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/**
* <p>AWS SQS is a pull-queue on AWS. The queue must be a Standard queue type with a <code>MaximumMessageSize</code> of <code>256 KB</code>.</p>
* <p>We recommend setting <code>authenticationMode</code> to <code>IAM</code>, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: <code>arn:aws-cn:iam::417094354346:user/subscriptions</code> if the Project is hosted in the China (AWS, Ningxia) Region; <code>arn:aws:iam::362576667341:user/subscriptions</code> for all other Regions. Otherwise, a test message will not be sent.</p>
* <p>We recommend setting <code>authenticationMode</code> to <code>IAM</code>, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: <code>arn:aws:iam::362576667341:user/subscriptions</code>. Otherwise, a test message will not be sent.</p>
* <p>If you prefer to use <code>Credentials</code> for authentication, we recommend creating an IAM user with an <code>accessKey</code> and <code>accessSecret</code> pair specifically for each Subscription.</p>
* <p>The IAM user should only have the <code>sqs:SendMessage</code> permission on this queue.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/**
* <p>AWS SQS is a pull-queue on AWS. The queue must be a Standard queue type with a <code>MaximumMessageSize</code> of <code>256 KB</code>.</p>
* <p>We recommend setting <code>authenticationMode</code> to <code>IAM</code>, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: <code>arn:aws-cn:iam::417094354346:user/subscriptions</code> if the Project is hosted in the China (AWS, Ningxia) Region; <code>arn:aws:iam::362576667341:user/subscriptions</code> for all other Regions. Otherwise, a test message will not be sent.</p>
* <p>We recommend setting <code>authenticationMode</code> to <code>IAM</code>, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: <code>arn:aws:iam::362576667341:user/subscriptions</code>. Otherwise, a test message will not be sent.</p>
* <p>If you prefer to use <code>Credentials</code> for authentication, we recommend creating an IAM user with an <code>accessKey</code> and <code>accessSecret</code> pair specifically for each Subscription.</p>
* <p>The IAM user should only have the <code>sqs:SendMessage</code> permission on this queue.</p>
*/
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -303,3 +303,4 @@ dc09dbc8bb089b789be7b711ebeb272f820ed184
fa091aad2bce74e0d07ee69a886f4cd9ae02e05d
ce56ab7c65a688f75d5cd4095378d6647c6bd9ae
4b2ade81b4e216628dd4a26448cd1c838f5a85b1
0065cdd802adcbf53195095773ccc5a2becca69e

0 comments on commit dddb9bb

Please sign in to comment.