aws-sdk-mq 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf3dbe9c2ddbc1393d2e2b579505ddbe5043fecd
4
- data.tar.gz: e29f71a5f32f14f845e67dac5db9e5c1691c6e14
3
+ metadata.gz: c997ad908399f2db1b5bf253b6732f21e5541305
4
+ data.tar.gz: 03727d315ca44252bce794a78ca98332e100ebc7
5
5
  SHA512:
6
- metadata.gz: decf5eea90520b23e781aef6459c7479eef6966b7afe8e34e0cb8fa74891ea0b1d430758fd1cb35001f057e82055d226a0d9b22be87f3df218362db5d2fcf899
7
- data.tar.gz: 59873e9d2690bcdaec67dc030ac8f143071c4fd74f226cafd415e69c36841f16917eb295d573e991de4462f5efbbf159b1a9f045e6fefbe17873bd5edcdbf4f1
6
+ metadata.gz: 27cb3b88f1c73dd34adc22e055a14dfc46ed11cd12c68936df20ff43dbe4386e7a268f44370c2041c6ea4abe736226d74cf6186a41127c6ce29ca61e770f7daa
7
+ data.tar.gz: b443ac8488f045039fc2b98ed0d793b63c5d13cee8e77083e65e4534c5ac5d090195423a91dbb27fd6484b2944feed4f969861dc1c6eedae85b5d4e40a7010c4
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mq/customizations'
42
42
  # @service
43
43
  module Aws::MQ
44
44
 
45
- GEM_VERSION = '1.18.0'
45
+ GEM_VERSION = '1.19.0'
46
46
 
47
47
  end
@@ -270,6 +270,9 @@ module Aws::MQ
270
270
  # @option params [String] :deployment_mode
271
271
  # The deployment mode of the broker.
272
272
  #
273
+ # @option params [Types::EncryptionOptions] :encryption_options
274
+ # Encryption options for the broker.
275
+ #
273
276
  # @option params [String] :engine_type
274
277
  # The type of broker engine. Note: Currently, Amazon MQ supports only
275
278
  # ActiveMQ.
@@ -312,6 +315,10 @@ module Aws::MQ
312
315
  # },
313
316
  # creator_request_id: "__string",
314
317
  # deployment_mode: "SINGLE_INSTANCE", # accepts SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
318
+ # encryption_options: {
319
+ # kms_key_id: "__string",
320
+ # use_aws_owned_key: false, # required
321
+ # },
315
322
  # engine_type: "ACTIVEMQ", # accepts ACTIVEMQ
316
323
  # engine_version: "__string",
317
324
  # host_instance_type: "__string",
@@ -555,6 +562,7 @@ module Aws::MQ
555
562
  # * {Types::DescribeBrokerResponse#configurations #configurations} => Types::Configurations
556
563
  # * {Types::DescribeBrokerResponse#created #created} => Time
557
564
  # * {Types::DescribeBrokerResponse#deployment_mode #deployment_mode} => String
565
+ # * {Types::DescribeBrokerResponse#encryption_options #encryption_options} => Types::EncryptionOptions
558
566
  # * {Types::DescribeBrokerResponse#engine_type #engine_type} => String
559
567
  # * {Types::DescribeBrokerResponse#engine_version #engine_version} => String
560
568
  # * {Types::DescribeBrokerResponse#host_instance_type #host_instance_type} => String
@@ -594,6 +602,8 @@ module Aws::MQ
594
602
  # resp.configurations.pending.revision #=> Integer
595
603
  # resp.created #=> Time
596
604
  # resp.deployment_mode #=> String, one of "SINGLE_INSTANCE", "ACTIVE_STANDBY_MULTI_AZ"
605
+ # resp.encryption_options.kms_key_id #=> String
606
+ # resp.encryption_options.use_aws_owned_key #=> Boolean
597
607
  # resp.engine_type #=> String, one of "ACTIVEMQ"
598
608
  # resp.engine_version #=> String
599
609
  # resp.host_instance_type #=> String
@@ -1207,7 +1217,7 @@ module Aws::MQ
1207
1217
  params: params,
1208
1218
  config: config)
1209
1219
  context[:gem_name] = 'aws-sdk-mq'
1210
- context[:gem_version] = '1.18.0'
1220
+ context[:gem_version] = '1.19.0'
1211
1221
  Seahorse::Client::Request.new(handlers, context)
1212
1222
  end
1213
1223
 
@@ -61,6 +61,7 @@ module Aws::MQ
61
61
  DescribeUserOutput = Shapes::StructureShape.new(name: 'DescribeUserOutput')
62
62
  DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
63
63
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
64
+ EncryptionOptions = Shapes::StructureShape.new(name: 'EncryptionOptions')
64
65
  EngineType = Shapes::StringShape.new(name: 'EngineType')
65
66
  EngineVersion = Shapes::StructureShape.new(name: 'EngineVersion')
66
67
  Error = Shapes::StructureShape.new(name: 'Error')
@@ -204,6 +205,7 @@ module Aws::MQ
204
205
  CreateBrokerInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
205
206
  CreateBrokerInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "creatorRequestId", metadata: {"idempotencyToken"=>true}))
206
207
  CreateBrokerInput.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
208
+ CreateBrokerInput.add_member(:encryption_options, Shapes::ShapeRef.new(shape: EncryptionOptions, location_name: "encryptionOptions"))
207
209
  CreateBrokerInput.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
208
210
  CreateBrokerInput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
209
211
  CreateBrokerInput.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
@@ -225,6 +227,7 @@ module Aws::MQ
225
227
  CreateBrokerRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
226
228
  CreateBrokerRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "creatorRequestId", metadata: {"idempotencyToken"=>true}))
227
229
  CreateBrokerRequest.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
230
+ CreateBrokerRequest.add_member(:encryption_options, Shapes::ShapeRef.new(shape: EncryptionOptions, location_name: "encryptionOptions"))
228
231
  CreateBrokerRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
229
232
  CreateBrokerRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
230
233
  CreateBrokerRequest.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
@@ -334,6 +337,7 @@ module Aws::MQ
334
337
  DescribeBrokerOutput.add_member(:configurations, Shapes::ShapeRef.new(shape: Configurations, location_name: "configurations"))
335
338
  DescribeBrokerOutput.add_member(:created, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "created"))
336
339
  DescribeBrokerOutput.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
340
+ DescribeBrokerOutput.add_member(:encryption_options, Shapes::ShapeRef.new(shape: EncryptionOptions, location_name: "encryptionOptions"))
337
341
  DescribeBrokerOutput.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
338
342
  DescribeBrokerOutput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
339
343
  DescribeBrokerOutput.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
@@ -359,6 +363,7 @@ module Aws::MQ
359
363
  DescribeBrokerResponse.add_member(:configurations, Shapes::ShapeRef.new(shape: Configurations, location_name: "configurations"))
360
364
  DescribeBrokerResponse.add_member(:created, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "created"))
361
365
  DescribeBrokerResponse.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
366
+ DescribeBrokerResponse.add_member(:encryption_options, Shapes::ShapeRef.new(shape: EncryptionOptions, location_name: "encryptionOptions"))
362
367
  DescribeBrokerResponse.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
363
368
  DescribeBrokerResponse.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
364
369
  DescribeBrokerResponse.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
@@ -420,6 +425,10 @@ module Aws::MQ
420
425
  DescribeUserResponse.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
421
426
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
422
427
 
428
+ EncryptionOptions.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "kmsKeyId"))
429
+ EncryptionOptions.add_member(:use_aws_owned_key, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "useAwsOwnedKey"))
430
+ EncryptionOptions.struct_class = Types::EncryptionOptions
431
+
423
432
  EngineVersion.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
424
433
  EngineVersion.struct_class = Types::EngineVersion
425
434
 
@@ -934,6 +943,15 @@ module Aws::MQ
934
943
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
935
944
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
936
945
  end)
946
+
947
+ api.add_authorizer(:authorization_strategy, Seahorse::Model::Authorizer.new.tap do |a|
948
+ a.name = "authorization_strategy"
949
+ a.type = "provided"
950
+ a.placement = {
951
+ :location => "header",
952
+ :name => "Authorization"
953
+ }
954
+ end)
937
955
  end
938
956
 
939
957
  end
@@ -383,6 +383,10 @@ module Aws::MQ
383
383
  # Required. The deployment mode of the broker.
384
384
  # @return [String]
385
385
  #
386
+ # @!attribute [rw] encryption_options
387
+ # Encryption options for the broker.
388
+ # @return [Types::EncryptionOptions]
389
+ #
386
390
  # @!attribute [rw] engine_type
387
391
  # Required. The type of broker engine. Note: Currently, Amazon MQ
388
392
  # supports only ACTIVEMQ.
@@ -443,6 +447,7 @@ module Aws::MQ
443
447
  :configuration,
444
448
  :creator_request_id,
445
449
  :deployment_mode,
450
+ :encryption_options,
446
451
  :engine_type,
447
452
  :engine_version,
448
453
  :host_instance_type,
@@ -486,6 +491,10 @@ module Aws::MQ
486
491
  # },
487
492
  # creator_request_id: "__string",
488
493
  # deployment_mode: "SINGLE_INSTANCE", # accepts SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
494
+ # encryption_options: {
495
+ # kms_key_id: "__string",
496
+ # use_aws_owned_key: false, # required
497
+ # },
489
498
  # engine_type: "ACTIVEMQ", # accepts ACTIVEMQ
490
499
  # engine_version: "__string",
491
500
  # host_instance_type: "__string",
@@ -533,6 +542,10 @@ module Aws::MQ
533
542
  # The deployment mode of the broker.
534
543
  # @return [String]
535
544
  #
545
+ # @!attribute [rw] encryption_options
546
+ # Encryption options for the broker.
547
+ # @return [Types::EncryptionOptions]
548
+ #
536
549
  # @!attribute [rw] engine_type
537
550
  # The type of broker engine. Note: Currently, Amazon MQ supports only
538
551
  # ActiveMQ.
@@ -577,6 +590,7 @@ module Aws::MQ
577
590
  :configuration,
578
591
  :creator_request_id,
579
592
  :deployment_mode,
593
+ :encryption_options,
580
594
  :engine_type,
581
595
  :engine_version,
582
596
  :host_instance_type,
@@ -1061,6 +1075,10 @@ module Aws::MQ
1061
1075
  # Required. The deployment mode of the broker.
1062
1076
  # @return [String]
1063
1077
  #
1078
+ # @!attribute [rw] encryption_options
1079
+ # Encryption options for the broker.
1080
+ # @return [Types::EncryptionOptions]
1081
+ #
1064
1082
  # @!attribute [rw] engine_type
1065
1083
  # Required. The type of broker engine. Note: Currently, Amazon MQ
1066
1084
  # supports only ACTIVEMQ.
@@ -1129,6 +1147,7 @@ module Aws::MQ
1129
1147
  :configurations,
1130
1148
  :created,
1131
1149
  :deployment_mode,
1150
+ :encryption_options,
1132
1151
  :engine_type,
1133
1152
  :engine_version,
1134
1153
  :host_instance_type,
@@ -1190,6 +1209,10 @@ module Aws::MQ
1190
1209
  # The deployment mode of the broker.
1191
1210
  # @return [String]
1192
1211
  #
1212
+ # @!attribute [rw] encryption_options
1213
+ # Encryption options for the broker.
1214
+ # @return [Types::EncryptionOptions]
1215
+ #
1193
1216
  # @!attribute [rw] engine_type
1194
1217
  # The type of broker engine. Note: Currently, Amazon MQ supports only
1195
1218
  # ActiveMQ.
@@ -1241,6 +1264,7 @@ module Aws::MQ
1241
1264
  :configurations,
1242
1265
  :created,
1243
1266
  :deployment_mode,
1267
+ :encryption_options,
1244
1268
  :engine_type,
1245
1269
  :engine_version,
1246
1270
  :host_instance_type,
@@ -1480,6 +1504,35 @@ module Aws::MQ
1480
1504
  include Aws::Structure
1481
1505
  end
1482
1506
 
1507
+ # Encryption options for the broker.
1508
+ #
1509
+ # @note When making an API call, you may pass EncryptionOptions
1510
+ # data as a hash:
1511
+ #
1512
+ # {
1513
+ # kms_key_id: "__string",
1514
+ # use_aws_owned_key: false, # required
1515
+ # }
1516
+ #
1517
+ # @!attribute [rw] kms_key_id
1518
+ # The customer master key (CMK) to use for the AWS Key Management
1519
+ # Service (KMS). This key is used to encrypt your data at rest. If not
1520
+ # provided, Amazon MQ will use a default CMK to encrypt your data.
1521
+ # @return [String]
1522
+ #
1523
+ # @!attribute [rw] use_aws_owned_key
1524
+ # Enables the use of an AWS owned CMK using AWS Key Management Service
1525
+ # (KMS).
1526
+ # @return [Boolean]
1527
+ #
1528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/EncryptionOptions AWS API Documentation
1529
+ #
1530
+ class EncryptionOptions < Struct.new(
1531
+ :kms_key_id,
1532
+ :use_aws_owned_key)
1533
+ include Aws::Structure
1534
+ end
1535
+
1483
1536
  # Id of the engine version.
1484
1537
  #
1485
1538
  # @!attribute [rw] name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-01 00:00:00.000000000 Z
11
+ date: 2019-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core