Skip to content

Commit b572053

Browse files
author
AWS
committed
Amazon Relational Database Service Update: This release adds the "ModifyActivityStream" API with support for audit policy state locking and unlocking.
1 parent 1d55039 commit b572053

File tree

2 files changed

+88
-2
lines changed

2 files changed

+88
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Relational Database Service",
4+
"contributor": "",
5+
"description": "This release adds the \"ModifyActivityStream\" API with support for audit policy state locking and unlocking."
6+
}

services/rds/src/main/resources/codegen-resources/service-2.json

Lines changed: 82 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,6 +1534,24 @@
15341534
],
15351535
"documentation":"<p>Lists all tags on an Amazon RDS resource.</p> <p>For an overview on tagging an Amazon RDS resource, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html\">Tagging Amazon RDS Resources</a> in the <i>Amazon RDS User Guide</i>.</p>"
15361536
},
1537+
"ModifyActivityStream":{
1538+
"name":"ModifyActivityStream",
1539+
"http":{
1540+
"method":"POST",
1541+
"requestUri":"/"
1542+
},
1543+
"input":{"shape":"ModifyActivityStreamRequest"},
1544+
"output":{
1545+
"shape":"ModifyActivityStreamResponse",
1546+
"resultWrapper":"ModifyActivityStreamResult"
1547+
},
1548+
"errors":[
1549+
{"shape":"InvalidDBInstanceStateFault"},
1550+
{"shape":"ResourceNotFoundFault"},
1551+
{"shape":"DBInstanceNotFoundFault"}
1552+
],
1553+
"documentation":"<p>Changes the audit policy state of a database activity stream to either locked (default) or unlocked. A locked policy is read-only, whereas an unlocked policy is read/write. If your activity stream is started and locked, you can unlock it, customize your audit policy, and then lock your activity stream. Restarting the activity stream isn't required. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/DBActivityStreams.Modifying.html\"> Modifying a database activity stream</a> in the <i>Amazon RDS User Guide</i>. </p> <p>This operation is supported for RDS for Oracle only.</p>"
1554+
},
15371555
"ModifyCertificates":{
15381556
"name":"ModifyCertificates",
15391557
"http":{
@@ -2563,6 +2581,15 @@
25632581
"type":"list",
25642582
"member":{"shape":"String"}
25652583
},
2584+
"ActivityStreamPolicyStatus":{
2585+
"type":"string",
2586+
"enum":[
2587+
"locked",
2588+
"unlocked",
2589+
"locking-policy",
2590+
"unlocking-policy"
2591+
]
2592+
},
25662593
"ActivityStreamStatus":{
25672594
"type":"string",
25682595
"enum":[
@@ -2700,6 +2727,13 @@
27002727
"locationName":"AttributeValue"
27012728
}
27022729
},
2730+
"AuditPolicyState":{
2731+
"type":"string",
2732+
"enum":[
2733+
"locked",
2734+
"unlocked"
2735+
]
2736+
},
27032737
"AuthScheme":{
27042738
"type":"string",
27052739
"enum":["SECRETS"]
@@ -4026,7 +4060,7 @@
40264060
},
40274061
"EngineFamily":{
40284062
"shape":"EngineFamily",
4029-
"documentation":"<p>The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify <code>MYSQL</code>. For Aurora PostgreSQL and RDS for PostgreSQL databases, specify <code>POSTGRESQL</code>.</p>"
4063+
"documentation":"<p>The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL and RDS for MySQL databases, specify <code>MYSQL</code>. For Aurora PostgreSQL and RDS for PostgreSQL databases, specify <code>POSTGRESQL</code>.</p>"
40304064
},
40314065
"Auth":{
40324066
"shape":"UserAuthConfigList",
@@ -5664,6 +5698,10 @@
56645698
"NetworkType":{
56655699
"shape":"String",
56665700
"documentation":"<p>The network type of the DB instance.</p> <p>Valid values:</p> <ul> <li> <p> <code>IPV4</code> </p> </li> <li> <p> <code>DUAL</code> </p> </li> </ul> <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html\"> Working with a DB instance in a VPC</a> in the <i>Amazon RDS User Guide</i> and <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html\"> Working with a DB instance in a VPC</a> in the <i>Amazon Aurora User Guide.</i> </p>"
5701+
},
5702+
"ActivityStreamPolicyStatus":{
5703+
"shape":"ActivityStreamPolicyStatus",
5704+
"documentation":"<p>The status of the policy state of the activity stream.</p>"
56675705
}
56685706
},
56695707
"documentation":"<p>Contains the details of an Amazon RDS DB instance.</p> <p>This data type is used as a response element in the operations <code>CreateDBInstance</code>, <code>CreateDBInstanceReadReplica</code>, <code>DeleteDBInstance</code>, <code>DescribeDBInstances</code>, <code>ModifyDBInstance</code>, <code>PromoteReadReplica</code>, <code>RebootDBInstance</code>, <code>RestoreDBInstanceFromDBSnapshot</code>, <code>RestoreDBInstanceFromS3</code>, <code>RestoreDBInstanceToPointInTime</code>, <code>StartDBInstance</code>, and <code>StopDBInstance</code>.</p>",
@@ -6135,7 +6173,7 @@
61356173
},
61366174
"EngineFamily":{
61376175
"shape":"String",
6138-
"documentation":"<p>The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. <code>MYSQL</code> supports Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases. <code>POSTGRESQL</code> supports Aurora PostgreSQL and RDS for PostgreSQL databases.</p>"
6176+
"documentation":"<p>The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. <code>MYSQL</code> supports Aurora MySQL and RDS for MySQL databases. <code>POSTGRESQL</code> supports Aurora PostgreSQL and RDS for PostgreSQL databases.</p>"
61396177
},
61406178
"VpcId":{
61416179
"shape":"String",
@@ -9561,6 +9599,48 @@
95619599
"locationName":"MinimumEngineVersionPerAllowedValue"
95629600
}
95639601
},
9602+
"ModifyActivityStreamRequest":{
9603+
"type":"structure",
9604+
"members":{
9605+
"ResourceArn":{
9606+
"shape":"String",
9607+
"documentation":"<p>The Amazon Resource Name (ARN) of the RDS for Oracle DB instance, for example, <code>arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db</code>.</p>"
9608+
},
9609+
"AuditPolicyState":{
9610+
"shape":"AuditPolicyState",
9611+
"documentation":"<p>The audit policy state. When a policy is unlocked, it is read/write. When it is locked, it is read-only. You can edit your audit policy only when the activity stream is unlocked or stopped.</p>"
9612+
}
9613+
}
9614+
},
9615+
"ModifyActivityStreamResponse":{
9616+
"type":"structure",
9617+
"members":{
9618+
"KmsKeyId":{
9619+
"shape":"String",
9620+
"documentation":"<p>The Amazon Web Services KMS key identifier for encryption of messages in the database activity stream.</p>"
9621+
},
9622+
"KinesisStreamName":{
9623+
"shape":"String",
9624+
"documentation":"<p>The name of the Amazon Kinesis data stream to be used for the database activity stream.</p>"
9625+
},
9626+
"Status":{
9627+
"shape":"ActivityStreamStatus",
9628+
"documentation":"<p>The status of the modification to the database activity stream.</p>"
9629+
},
9630+
"Mode":{
9631+
"shape":"ActivityStreamMode",
9632+
"documentation":"<p>The mode of the database activity stream.</p>"
9633+
},
9634+
"EngineNativeAuditFieldsIncluded":{
9635+
"shape":"BooleanOptional",
9636+
"documentation":"<p>Indicates whether engine-native audit fields are included in the database activity stream.</p>"
9637+
},
9638+
"PolicyStatus":{
9639+
"shape":"ActivityStreamPolicyStatus",
9640+
"documentation":"<p>The status of the modification to the policy state of the database activity stream.</p>"
9641+
}
9642+
}
9643+
},
95649644
"ModifyCertificatesMessage":{
95659645
"type":"structure",
95669646
"members":{

0 commit comments

Comments
 (0)