Module Values_1.ModifyActivityStreamResponseSource

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 Modifying a database activity stream in the Amazon RDS User Guide. This operation is supported for RDS for Oracle and Microsoft SQL Server.

Sourcetype modifyActivityStreamResult = {
  1. kmsKeyId : Values_0.String_.t option;
    (*

    The Amazon Web Services KMS key identifier for encryption of messages in the database activity stream.

    *)
  2. kinesisStreamName : Values_0.String_.t option;
    (*

    The name of the Amazon Kinesis data stream to be used for the database activity stream.

    *)
  3. status : Values_0.ActivityStreamStatus.t option;
    (*

    The status of the modification to the database activity stream.

    *)
  4. mode : Values_0.ActivityStreamMode.t option;
    (*

    The mode of the database activity stream.

    *)
  5. engineNativeAuditFieldsIncluded : Values_0.BooleanOptional.t option;
    (*

    Indicates whether engine-native audit fields are included in the database activity stream.

    *)
  6. policyStatus : Values_0.ActivityStreamPolicyStatus.t option;
    (*

    The status of the modification to the policy state of the database activity stream.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. modifyActivityStreamResult : modifyActivityStreamResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `DBInstanceNotFoundFault of Values_0.DBInstanceNotFoundFault.t
  2. | `InvalidDBInstanceStateFault of Values_0.InvalidDBInstanceStateFault.t
  3. | `ResourceNotFoundFault of Values_0.ResourceNotFoundFault.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?kmsKeyId:??? -> ?kinesisStreamName:??? -> ?status:??? -> ?mode:??? -> ?engineNativeAuditFieldsIncluded:??? -> ?policyStatus:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DBInstanceNotFoundFault of unit | `InvalidDBInstanceStateFault of unit | `ResourceNotFoundFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DBInstanceNotFoundFault of unit | `InvalidDBInstanceStateFault of unit | `ResourceNotFoundFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of Values_0.BooleanOptional.t | `Enum of string | `String of Values_0.String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t