aws-sdk-rds 1.149.0 → 1.150.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '020597dcc173f1a1cb6c709a1b970aacc165bb9afa8c09dc45111a67eb142a8a'
4
- data.tar.gz: 4e4c777216d54a937e432ba1e1801359efe496fa9d802b2d6c5bc1b805b4053c
3
+ metadata.gz: f7409b3919ea43e8e070fb3b07b24e09ed27cd0dfab8cba02439dd1e49260c9c
4
+ data.tar.gz: ab446a9e08f339763041abc847eec2f7fbc8299e4f39a39f4f631fd9fdfcdef2
5
5
  SHA512:
6
- metadata.gz: 51ab0caa1da54f3065016ac05a4336d5359a6de3af1aa29562035986c6501a082f9862d67e4a7839dd7da727fd2c39e36cf5e844028feff5a68ff24a9a782eb0
7
- data.tar.gz: 7cac2e2d8aaeba4283c9fd5ac089b449b453bf73a514bbf49ac122405b8fe901b09d23100164fab97a127305fe0d3fc2a0211a01144bd2ee495b990ae92cf6e8
6
+ metadata.gz: 541000d71ebbd533f8337b27222bcb90a7865ba8aa5cf6dffae47e686622606bbcc5bcbe43cdd3593c52a4624d5f1173f9669215f51f39e4026785e103d134d9
7
+ data.tar.gz: 623cb083c7da0225caade8497eedb72bc9599ed2226ec162ca78d6a2caeb36cc7196de56a791f99aa5ea604a9a44a1d307e9e4208ed943630d1795abd291a2ee
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.150.0 (2022-07-22)
5
+ ------------------
6
+
7
+ * Feature - This release adds the "ModifyActivityStream" API with support for audit policy state locking and unlocking.
8
+
4
9
  1.149.0 (2022-07-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.149.0
1
+ 1.150.0
@@ -4693,6 +4693,7 @@ module Aws::RDS
4693
4693
  # resp.db_instance.custom_iam_instance_profile #=> String
4694
4694
  # resp.db_instance.backup_target #=> String
4695
4695
  # resp.db_instance.network_type #=> String
4696
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
4696
4697
  #
4697
4698
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
4698
4699
  #
@@ -5483,6 +5484,7 @@ module Aws::RDS
5483
5484
  # resp.db_instance.custom_iam_instance_profile #=> String
5484
5485
  # resp.db_instance.backup_target #=> String
5485
5486
  # resp.db_instance.network_type #=> String
5487
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
5486
5488
  #
5487
5489
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
5488
5490
  #
@@ -5661,9 +5663,8 @@ module Aws::RDS
5661
5663
  # The kinds of databases that the proxy can connect to. This value
5662
5664
  # determines which database network protocol the proxy recognizes when
5663
5665
  # it interprets network traffic to and from the database. For Aurora
5664
- # MySQL, RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`.
5665
- # For Aurora PostgreSQL and RDS for PostgreSQL databases, specify
5666
- # `POSTGRESQL`.
5666
+ # MySQL and RDS for MySQL databases, specify `MYSQL`. For Aurora
5667
+ # PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`.
5667
5668
  #
5668
5669
  # @option params [required, Array<Types::UserAuthConfig>] :auth
5669
5670
  # The authorization mechanism that the proxy uses.
@@ -7324,6 +7325,7 @@ module Aws::RDS
7324
7325
  # resp.db_instance.custom_iam_instance_profile #=> String
7325
7326
  # resp.db_instance.backup_target #=> String
7326
7327
  # resp.db_instance.network_type #=> String
7328
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
7327
7329
  #
7328
7330
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
7329
7331
  #
@@ -9543,6 +9545,7 @@ module Aws::RDS
9543
9545
  # resp.db_instances[0].custom_iam_instance_profile #=> String
9544
9546
  # resp.db_instances[0].backup_target #=> String
9545
9547
  # resp.db_instances[0].network_type #=> String
9548
+ # resp.db_instances[0].activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
9546
9549
  #
9547
9550
  #
9548
9551
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -12842,6 +12845,63 @@ module Aws::RDS
12842
12845
  req.send_request(options)
12843
12846
  end
12844
12847
 
12848
+ # Changes the audit policy state of a database activity stream to either
12849
+ # locked (default) or unlocked. A locked policy is read-only, whereas an
12850
+ # unlocked policy is read/write. If your activity stream is started and
12851
+ # locked, you can unlock it, customize your audit policy, and then lock
12852
+ # your activity stream. Restarting the activity stream isn't required.
12853
+ # For more information, see [ Modifying a database activity stream][1]
12854
+ # in the *Amazon RDS User Guide*.
12855
+ #
12856
+ # This operation is supported for RDS for Oracle only.
12857
+ #
12858
+ #
12859
+ #
12860
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/DBActivityStreams.Modifying.html
12861
+ #
12862
+ # @option params [String] :resource_arn
12863
+ # The Amazon Resource Name (ARN) of the RDS for Oracle DB instance, for
12864
+ # example, `arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db`.
12865
+ #
12866
+ # @option params [String] :audit_policy_state
12867
+ # The audit policy state. When a policy is unlocked, it is read/write.
12868
+ # When it is locked, it is read-only. You can edit your audit policy
12869
+ # only when the activity stream is unlocked or stopped.
12870
+ #
12871
+ # @return [Types::ModifyActivityStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12872
+ #
12873
+ # * {Types::ModifyActivityStreamResponse#kms_key_id #kms_key_id} => String
12874
+ # * {Types::ModifyActivityStreamResponse#kinesis_stream_name #kinesis_stream_name} => String
12875
+ # * {Types::ModifyActivityStreamResponse#status #status} => String
12876
+ # * {Types::ModifyActivityStreamResponse#mode #mode} => String
12877
+ # * {Types::ModifyActivityStreamResponse#engine_native_audit_fields_included #engine_native_audit_fields_included} => Boolean
12878
+ # * {Types::ModifyActivityStreamResponse#policy_status #policy_status} => String
12879
+ #
12880
+ # @example Request syntax with placeholder values
12881
+ #
12882
+ # resp = client.modify_activity_stream({
12883
+ # resource_arn: "String",
12884
+ # audit_policy_state: "locked", # accepts locked, unlocked
12885
+ # })
12886
+ #
12887
+ # @example Response structure
12888
+ #
12889
+ # resp.kms_key_id #=> String
12890
+ # resp.kinesis_stream_name #=> String
12891
+ # resp.status #=> String, one of "stopped", "starting", "started", "stopping"
12892
+ # resp.mode #=> String, one of "sync", "async"
12893
+ # resp.engine_native_audit_fields_included #=> Boolean
12894
+ # resp.policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
12895
+ #
12896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyActivityStream AWS API Documentation
12897
+ #
12898
+ # @overload modify_activity_stream(params = {})
12899
+ # @param [Hash] params ({})
12900
+ def modify_activity_stream(params = {}, options = {})
12901
+ req = build_request(:modify_activity_stream, params)
12902
+ req.send_request(options)
12903
+ end
12904
+
12845
12905
  # Override the system-default Secure Sockets Layer/Transport Layer
12846
12906
  # Security (SSL/TLS) certificate for Amazon RDS for new DB instances, or
12847
12907
  # remove the override.
@@ -15247,6 +15307,7 @@ module Aws::RDS
15247
15307
  # resp.db_instance.custom_iam_instance_profile #=> String
15248
15308
  # resp.db_instance.backup_target #=> String
15249
15309
  # resp.db_instance.network_type #=> String
15310
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
15250
15311
  #
15251
15312
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
15252
15313
  #
@@ -16476,6 +16537,7 @@ module Aws::RDS
16476
16537
  # resp.db_instance.custom_iam_instance_profile #=> String
16477
16538
  # resp.db_instance.backup_target #=> String
16478
16539
  # resp.db_instance.network_type #=> String
16540
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
16479
16541
  #
16480
16542
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
16481
16543
  #
@@ -17072,6 +17134,7 @@ module Aws::RDS
17072
17134
  # resp.db_instance.custom_iam_instance_profile #=> String
17073
17135
  # resp.db_instance.backup_target #=> String
17074
17136
  # resp.db_instance.network_type #=> String
17137
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
17075
17138
  #
17076
17139
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
17077
17140
  #
@@ -19980,6 +20043,7 @@ module Aws::RDS
19980
20043
  # resp.db_instance.custom_iam_instance_profile #=> String
19981
20044
  # resp.db_instance.backup_target #=> String
19982
20045
  # resp.db_instance.network_type #=> String
20046
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
19983
20047
  #
19984
20048
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
19985
20049
  #
@@ -20627,6 +20691,7 @@ module Aws::RDS
20627
20691
  # resp.db_instance.custom_iam_instance_profile #=> String
20628
20692
  # resp.db_instance.backup_target #=> String
20629
20693
  # resp.db_instance.network_type #=> String
20694
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
20630
20695
  #
20631
20696
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation
20632
20697
  #
@@ -21365,6 +21430,7 @@ module Aws::RDS
21365
21430
  # resp.db_instance.custom_iam_instance_profile #=> String
21366
21431
  # resp.db_instance.backup_target #=> String
21367
21432
  # resp.db_instance.network_type #=> String
21433
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
21368
21434
  #
21369
21435
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
21370
21436
  #
@@ -21848,6 +21914,7 @@ module Aws::RDS
21848
21914
  # resp.db_instance.custom_iam_instance_profile #=> String
21849
21915
  # resp.db_instance.backup_target #=> String
21850
21916
  # resp.db_instance.network_type #=> String
21917
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
21851
21918
  #
21852
21919
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
21853
21920
  #
@@ -22472,6 +22539,7 @@ module Aws::RDS
22472
22539
  # resp.db_instance.custom_iam_instance_profile #=> String
22473
22540
  # resp.db_instance.backup_target #=> String
22474
22541
  # resp.db_instance.network_type #=> String
22542
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
22475
22543
  #
22476
22544
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
22477
22545
  #
@@ -22563,7 +22631,7 @@ module Aws::RDS
22563
22631
  params: params,
22564
22632
  config: config)
22565
22633
  context[:gem_name] = 'aws-sdk-rds'
22566
- context[:gem_version] = '1.149.0'
22634
+ context[:gem_version] = '1.150.0'
22567
22635
  Seahorse::Client::Request.new(handlers, context)
22568
22636
  end
22569
22637
 
@@ -18,6 +18,7 @@ module Aws::RDS
18
18
  AccountQuotaList = Shapes::ListShape.new(name: 'AccountQuotaList')
19
19
  ActivityStreamMode = Shapes::StringShape.new(name: 'ActivityStreamMode')
20
20
  ActivityStreamModeList = Shapes::ListShape.new(name: 'ActivityStreamModeList')
21
+ ActivityStreamPolicyStatus = Shapes::StringShape.new(name: 'ActivityStreamPolicyStatus')
21
22
  ActivityStreamStatus = Shapes::StringShape.new(name: 'ActivityStreamStatus')
22
23
  AddRoleToDBClusterMessage = Shapes::StructureShape.new(name: 'AddRoleToDBClusterMessage')
23
24
  AddRoleToDBInstanceMessage = Shapes::StructureShape.new(name: 'AddRoleToDBInstanceMessage')
@@ -28,6 +29,7 @@ module Aws::RDS
28
29
  ApplyPendingMaintenanceActionMessage = Shapes::StructureShape.new(name: 'ApplyPendingMaintenanceActionMessage')
29
30
  ApplyPendingMaintenanceActionResult = Shapes::StructureShape.new(name: 'ApplyPendingMaintenanceActionResult')
30
31
  AttributeValueList = Shapes::ListShape.new(name: 'AttributeValueList')
32
+ AuditPolicyState = Shapes::StringShape.new(name: 'AuditPolicyState')
31
33
  AuthScheme = Shapes::StringShape.new(name: 'AuthScheme')
32
34
  AuthorizationAlreadyExistsFault = Shapes::StructureShape.new(name: 'AuthorizationAlreadyExistsFault')
33
35
  AuthorizationNotFoundFault = Shapes::StructureShape.new(name: 'AuthorizationNotFoundFault')
@@ -401,6 +403,8 @@ module Aws::RDS
401
403
  MaxRecords = Shapes::IntegerShape.new(name: 'MaxRecords')
402
404
  MinimumEngineVersionPerAllowedValue = Shapes::StructureShape.new(name: 'MinimumEngineVersionPerAllowedValue')
403
405
  MinimumEngineVersionPerAllowedValueList = Shapes::ListShape.new(name: 'MinimumEngineVersionPerAllowedValueList')
406
+ ModifyActivityStreamRequest = Shapes::StructureShape.new(name: 'ModifyActivityStreamRequest')
407
+ ModifyActivityStreamResponse = Shapes::StructureShape.new(name: 'ModifyActivityStreamResponse')
404
408
  ModifyCertificatesMessage = Shapes::StructureShape.new(name: 'ModifyCertificatesMessage')
405
409
  ModifyCertificatesResult = Shapes::StructureShape.new(name: 'ModifyCertificatesResult')
406
410
  ModifyCurrentDBClusterCapacityMessage = Shapes::StructureShape.new(name: 'ModifyCurrentDBClusterCapacityMessage')
@@ -1401,6 +1405,7 @@ module Aws::RDS
1401
1405
  DBInstance.add_member(:custom_iam_instance_profile, Shapes::ShapeRef.new(shape: String, location_name: "CustomIamInstanceProfile"))
1402
1406
  DBInstance.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
1403
1407
  DBInstance.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
1408
+ DBInstance.add_member(:activity_stream_policy_status, Shapes::ShapeRef.new(shape: ActivityStreamPolicyStatus, location_name: "ActivityStreamPolicyStatus"))
1404
1409
  DBInstance.struct_class = Types::DBInstance
1405
1410
 
1406
1411
  DBInstanceAlreadyExistsFault.struct_class = Types::DBInstanceAlreadyExistsFault
@@ -2362,6 +2367,18 @@ module Aws::RDS
2362
2367
 
2363
2368
  MinimumEngineVersionPerAllowedValueList.member = Shapes::ShapeRef.new(shape: MinimumEngineVersionPerAllowedValue, location_name: "MinimumEngineVersionPerAllowedValue")
2364
2369
 
2370
+ ModifyActivityStreamRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
2371
+ ModifyActivityStreamRequest.add_member(:audit_policy_state, Shapes::ShapeRef.new(shape: AuditPolicyState, location_name: "AuditPolicyState"))
2372
+ ModifyActivityStreamRequest.struct_class = Types::ModifyActivityStreamRequest
2373
+
2374
+ ModifyActivityStreamResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
2375
+ ModifyActivityStreamResponse.add_member(:kinesis_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "KinesisStreamName"))
2376
+ ModifyActivityStreamResponse.add_member(:status, Shapes::ShapeRef.new(shape: ActivityStreamStatus, location_name: "Status"))
2377
+ ModifyActivityStreamResponse.add_member(:mode, Shapes::ShapeRef.new(shape: ActivityStreamMode, location_name: "Mode"))
2378
+ ModifyActivityStreamResponse.add_member(:engine_native_audit_fields_included, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EngineNativeAuditFieldsIncluded"))
2379
+ ModifyActivityStreamResponse.add_member(:policy_status, Shapes::ShapeRef.new(shape: ActivityStreamPolicyStatus, location_name: "PolicyStatus"))
2380
+ ModifyActivityStreamResponse.struct_class = Types::ModifyActivityStreamResponse
2381
+
2365
2382
  ModifyCertificatesMessage.add_member(:certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CertificateIdentifier"))
2366
2383
  ModifyCertificatesMessage.add_member(:remove_customer_override, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "RemoveCustomerOverride"))
2367
2384
  ModifyCertificatesMessage.struct_class = Types::ModifyCertificatesMessage
@@ -4604,6 +4621,17 @@ module Aws::RDS
4604
4621
  o.errors << Shapes::ShapeRef.new(shape: DBProxyTargetGroupNotFoundFault)
4605
4622
  end)
4606
4623
 
4624
+ api.add_operation(:modify_activity_stream, Seahorse::Model::Operation.new.tap do |o|
4625
+ o.name = "ModifyActivityStream"
4626
+ o.http_method = "POST"
4627
+ o.http_request_uri = "/"
4628
+ o.input = Shapes::ShapeRef.new(shape: ModifyActivityStreamRequest)
4629
+ o.output = Shapes::ShapeRef.new(shape: ModifyActivityStreamResponse)
4630
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
4631
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
4632
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
4633
+ end)
4634
+
4607
4635
  api.add_operation(:modify_certificates, Seahorse::Model::Operation.new.tap do |o|
4608
4636
  o.name = "ModifyCertificates"
4609
4637
  o.http_method = "POST"
@@ -719,6 +719,12 @@ module Aws::RDS
719
719
  data[:network_type]
720
720
  end
721
721
 
722
+ # The status of the policy state of the activity stream.
723
+ # @return [String]
724
+ def activity_stream_policy_status
725
+ data[:activity_stream_policy_status]
726
+ end
727
+
722
728
  # @!endgroup
723
729
 
724
730
  # @return [Client]
@@ -5194,9 +5194,8 @@ module Aws::RDS
5194
5194
  # The kinds of databases that the proxy can connect to. This value
5195
5195
  # determines which database network protocol the proxy recognizes when
5196
5196
  # it interprets network traffic to and from the database. For Aurora
5197
- # MySQL, RDS for MariaDB, and RDS for MySQL databases, specify
5198
- # `MYSQL`. For Aurora PostgreSQL and RDS for PostgreSQL databases,
5199
- # specify `POSTGRESQL`.
5197
+ # MySQL and RDS for MySQL databases, specify `MYSQL`. For Aurora
5198
+ # PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`.
5200
5199
  # @return [String]
5201
5200
  #
5202
5201
  # @!attribute [rw] auth
@@ -7882,6 +7881,10 @@ module Aws::RDS
7882
7881
  # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
7883
7882
  # @return [String]
7884
7883
  #
7884
+ # @!attribute [rw] activity_stream_policy_status
7885
+ # The status of the policy state of the activity stream.
7886
+ # @return [String]
7887
+ #
7885
7888
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
7886
7889
  #
7887
7890
  class DBInstance < Struct.new(
@@ -7959,7 +7962,8 @@ module Aws::RDS
7959
7962
  :resume_full_automation_mode_time,
7960
7963
  :custom_iam_instance_profile,
7961
7964
  :backup_target,
7962
- :network_type)
7965
+ :network_type,
7966
+ :activity_stream_policy_status)
7963
7967
  SENSITIVE = []
7964
7968
  include Aws::Structure
7965
7969
  end
@@ -8499,9 +8503,8 @@ module Aws::RDS
8499
8503
  # The kinds of databases that the proxy can connect to. This value
8500
8504
  # determines which database network protocol the proxy recognizes when
8501
8505
  # it interprets network traffic to and from the database. `MYSQL`
8502
- # supports Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases.
8503
- # `POSTGRESQL` supports Aurora PostgreSQL and RDS for PostgreSQL
8504
- # databases.
8506
+ # supports Aurora MySQL and RDS for MySQL databases. `POSTGRESQL`
8507
+ # supports Aurora PostgreSQL and RDS for PostgreSQL databases.
8505
8508
  # @return [String]
8506
8509
  #
8507
8510
  # @!attribute [rw] vpc_id
@@ -14475,6 +14478,76 @@ module Aws::RDS
14475
14478
  include Aws::Structure
14476
14479
  end
14477
14480
 
14481
+ # @note When making an API call, you may pass ModifyActivityStreamRequest
14482
+ # data as a hash:
14483
+ #
14484
+ # {
14485
+ # resource_arn: "String",
14486
+ # audit_policy_state: "locked", # accepts locked, unlocked
14487
+ # }
14488
+ #
14489
+ # @!attribute [rw] resource_arn
14490
+ # The Amazon Resource Name (ARN) of the RDS for Oracle DB instance,
14491
+ # for example,
14492
+ # `arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db`.
14493
+ # @return [String]
14494
+ #
14495
+ # @!attribute [rw] audit_policy_state
14496
+ # The audit policy state. When a policy is unlocked, it is read/write.
14497
+ # When it is locked, it is read-only. You can edit your audit policy
14498
+ # only when the activity stream is unlocked or stopped.
14499
+ # @return [String]
14500
+ #
14501
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyActivityStreamRequest AWS API Documentation
14502
+ #
14503
+ class ModifyActivityStreamRequest < Struct.new(
14504
+ :resource_arn,
14505
+ :audit_policy_state)
14506
+ SENSITIVE = []
14507
+ include Aws::Structure
14508
+ end
14509
+
14510
+ # @!attribute [rw] kms_key_id
14511
+ # The Amazon Web Services KMS key identifier for encryption of
14512
+ # messages in the database activity stream.
14513
+ # @return [String]
14514
+ #
14515
+ # @!attribute [rw] kinesis_stream_name
14516
+ # The name of the Amazon Kinesis data stream to be used for the
14517
+ # database activity stream.
14518
+ # @return [String]
14519
+ #
14520
+ # @!attribute [rw] status
14521
+ # The status of the modification to the database activity stream.
14522
+ # @return [String]
14523
+ #
14524
+ # @!attribute [rw] mode
14525
+ # The mode of the database activity stream.
14526
+ # @return [String]
14527
+ #
14528
+ # @!attribute [rw] engine_native_audit_fields_included
14529
+ # Indicates whether engine-native audit fields are included in the
14530
+ # database activity stream.
14531
+ # @return [Boolean]
14532
+ #
14533
+ # @!attribute [rw] policy_status
14534
+ # The status of the modification to the policy state of the database
14535
+ # activity stream.
14536
+ # @return [String]
14537
+ #
14538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyActivityStreamResponse AWS API Documentation
14539
+ #
14540
+ class ModifyActivityStreamResponse < Struct.new(
14541
+ :kms_key_id,
14542
+ :kinesis_stream_name,
14543
+ :status,
14544
+ :mode,
14545
+ :engine_native_audit_fields_included,
14546
+ :policy_status)
14547
+ SENSITIVE = []
14548
+ include Aws::Structure
14549
+ end
14550
+
14478
14551
  # @note When making an API call, you may pass ModifyCertificatesMessage
14479
14552
  # data as a hash:
14480
14553
  #
data/lib/aws-sdk-rds.rb CHANGED
@@ -74,6 +74,6 @@ require_relative 'aws-sdk-rds/customizations'
74
74
  # @!group service
75
75
  module Aws::RDS
76
76
 
77
- GEM_VERSION = '1.149.0'
77
+ GEM_VERSION = '1.150.0'
78
78
 
79
79
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.149.0
4
+ version: 1.150.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: 2022-07-21 00:00:00.000000000 Z
11
+ date: 2022-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4