Skip to content

Commit 8c6b66a

Browse files
author
awstools
committed
feat(client-mq): This release makes the EngineVersion field optional for both broker and configuration and uses the latest available version by default. The AutoMinorVersionUpgrade field is also now optional for broker creation and defaults to 'true'.
1 parent 85a220c commit 8c6b66a

File tree

4 files changed

+34
-39
lines changed

4 files changed

+34
-39
lines changed

Diff for: clients/client-mq/src/commands/CreateBrokerCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface CreateBrokerCommandOutput extends CreateBrokerResponse, __Metad
3737
* const client = new MqClient(config);
3838
* const input = { // CreateBrokerRequest
3939
* AuthenticationStrategy: "SIMPLE" || "LDAP",
40-
* AutoMinorVersionUpgrade: true || false, // required
40+
* AutoMinorVersionUpgrade: true || false,
4141
* BrokerName: "STRING_VALUE", // required
4242
* Configuration: { // ConfigurationId
4343
* Id: "STRING_VALUE", // required
@@ -50,7 +50,7 @@ export interface CreateBrokerCommandOutput extends CreateBrokerResponse, __Metad
5050
* UseAwsOwnedKey: true || false, // required
5151
* },
5252
* EngineType: "ACTIVEMQ" || "RABBITMQ", // required
53-
* EngineVersion: "STRING_VALUE", // required
53+
* EngineVersion: "STRING_VALUE",
5454
* HostInstanceType: "STRING_VALUE", // required
5555
* LdapServerMetadata: { // LdapServerMetadataInput
5656
* Hosts: [ // __listOf__string // required

Diff for: clients/client-mq/src/commands/CreateConfigurationCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface CreateConfigurationCommandOutput extends CreateConfigurationRes
3838
* const input = { // CreateConfigurationRequest
3939
* AuthenticationStrategy: "SIMPLE" || "LDAP",
4040
* EngineType: "ACTIVEMQ" || "RABBITMQ", // required
41-
* EngineVersion: "STRING_VALUE", // required
41+
* EngineVersion: "STRING_VALUE",
4242
* Name: "STRING_VALUE", // required
4343
* Tags: { // __mapOf__string
4444
* "<keys>": "STRING_VALUE",

Diff for: clients/client-mq/src/models/models_0.ts

+15-15
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export interface Configuration {
319319
EngineType: EngineType | undefined;
320320

321321
/**
322-
* <p>Required. The broker engine's version. For a list of supported engine versions, see, <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html">Supported engines</a>.</p>
322+
* <p>The broker engine version. Defaults to the latest available version for the specified broker engine type. For a list of supported engine versions, see the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html">ActiveMQ version management</a> and the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html">RabbitMQ version management</a> sections in the Amazon MQ Developer Guide.</p>
323323
* @public
324324
*/
325325
EngineVersion: string | undefined;
@@ -747,10 +747,10 @@ export interface CreateBrokerRequest {
747747
AuthenticationStrategy?: AuthenticationStrategy;
748748

749749
/**
750-
* <p>Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. Set to true by default, if no value is specified.</p>
750+
* <p>Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to true by default, if no value is specified.</p> <note><p>Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.</p></note>
751751
* @public
752752
*/
753-
AutoMinorVersionUpgrade: boolean | undefined;
753+
AutoMinorVersionUpgrade?: boolean;
754754

755755
/**
756756
* <p>Required. The broker's name. This value must be unique in your Amazon Web Services account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.</p> <important><p>Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.</p></important>
@@ -789,10 +789,10 @@ export interface CreateBrokerRequest {
789789
EngineType: EngineType | undefined;
790790

791791
/**
792-
* <p>Required. The broker engine's version. For a list of supported engine versions, see <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html">Supported engines</a>.</p>
792+
* <p>The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html">ActiveMQ version management</a> and the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html">RabbitMQ version management</a> sections in the Amazon MQ Developer Guide.</p>
793793
* @public
794794
*/
795-
EngineVersion: string | undefined;
795+
EngineVersion?: string;
796796

797797
/**
798798
* <p>Required. The broker's instance type.</p>
@@ -1001,10 +1001,10 @@ export interface CreateConfigurationRequest {
10011001
EngineType: EngineType | undefined;
10021002

10031003
/**
1004-
* <p>Required. The broker engine's version. For a list of supported engine versions, see <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html">Supported engines</a>.</p>
1004+
* <p>The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html">ActiveMQ version management</a> and the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html">RabbitMQ version management</a> sections in the Amazon MQ Developer Guide.</p>
10051005
* @public
10061006
*/
1007-
EngineVersion: string | undefined;
1007+
EngineVersion?: string;
10081008

10091009
/**
10101010
* <p>Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.</p>
@@ -1407,7 +1407,7 @@ export interface DescribeBrokerResponse {
14071407
AuthenticationStrategy?: AuthenticationStrategy;
14081408

14091409
/**
1410-
* <p>Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.</p>
1410+
* <p>Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.</p>
14111411
* @public
14121412
*/
14131413
AutoMinorVersionUpgrade?: boolean;
@@ -1473,7 +1473,7 @@ export interface DescribeBrokerResponse {
14731473
EngineType?: EngineType;
14741474

14751475
/**
1476-
* <p>The broker engine's version. For a list of supported engine versions, see <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html">Supported engines</a>.</p>
1476+
* <p>The broker engine version. For more information, see the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html">ActiveMQ version management</a> and the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html">RabbitMQ version management</a> sections in the Amazon MQ Developer Guide.</p>
14771477
* @public
14781478
*/
14791479
EngineVersion?: string;
@@ -1509,7 +1509,7 @@ export interface DescribeBrokerResponse {
15091509
PendingAuthenticationStrategy?: AuthenticationStrategy;
15101510

15111511
/**
1512-
* <p>The broker engine version to upgrade to. For a list of supported engine versions, see <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html">Supported engines</a>.</p>
1512+
* <p>The broker engine version to upgrade to. For more information, see the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html">ActiveMQ version management</a> and the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html">RabbitMQ version management</a> sections in the Amazon MQ Developer Guide.</p>
15131513
* @public
15141514
*/
15151515
PendingEngineVersion?: string;
@@ -1743,7 +1743,7 @@ export interface DescribeConfigurationResponse {
17431743
EngineType?: EngineType;
17441744

17451745
/**
1746-
* <p>Required. The broker engine's version. For a list of supported engine versions, see, <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html">Supported engines</a>.</p>
1746+
* <p>The broker engine version. Defaults to the latest available version for the specified broker engine type. For a list of supported engine versions, see the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html">ActiveMQ version management</a> and the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html">RabbitMQ version management</a> sections in the Amazon MQ Developer Guide.</p>
17471747
* @public
17481748
*/
17491749
EngineVersion?: string;
@@ -2172,7 +2172,7 @@ export interface UpdateBrokerRequest {
21722172
AuthenticationStrategy?: AuthenticationStrategy;
21732173

21742174
/**
2175-
* <p>Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.</p>
2175+
* <p>Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.</p> <note><p>Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.</p></note>
21762176
* @public
21772177
*/
21782178
AutoMinorVersionUpgrade?: boolean;
@@ -2190,7 +2190,7 @@ export interface UpdateBrokerRequest {
21902190
Configuration?: ConfigurationId;
21912191

21922192
/**
2193-
* <p>The broker engine version. For a list of supported engine versions, see <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html">Supported engines</a>.</p>
2193+
* <p>The broker engine version. For more information, see the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html">ActiveMQ version management</a> and the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html">RabbitMQ version management</a> sections in the Amazon MQ Developer Guide.</p> <note><p>When upgrading to ActiveMQ version 5.18 and above or RabbitMQ version 3.13 and above, you must have autoMinorVersionUpgrade set to true for the broker.</p></note>
21942194
* @public
21952195
*/
21962196
EngineVersion?: string;
@@ -2243,7 +2243,7 @@ export interface UpdateBrokerResponse {
22432243
AuthenticationStrategy?: AuthenticationStrategy;
22442244

22452245
/**
2246-
* <p>The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.</p>
2246+
* <p>Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.</p>
22472247
* @public
22482248
*/
22492249
AutoMinorVersionUpgrade?: boolean;
@@ -2261,7 +2261,7 @@ export interface UpdateBrokerResponse {
22612261
Configuration?: ConfigurationId;
22622262

22632263
/**
2264-
* <p>The broker engine version to upgrade to. For a list of supported engine versions, see <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html">Supported engines</a>.</p>
2264+
* <p>The broker engine version to upgrade to. For more information, see the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html">ActiveMQ version management</a> and the <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html">RabbitMQ version management</a> sections in the Amazon MQ Developer Guide.</p>
22652265
* @public
22662266
*/
22672267
EngineVersion?: string;

0 commit comments

Comments
 (0)