lib/aws-sdk-redshiftserverless/client.rb in aws-sdk-redshiftserverless-1.41.0 vs lib/aws-sdk-redshiftserverless/client.rb in aws-sdk-redshiftserverless-1.42.0
- old
+ new
@@ -812,13 +812,13 @@
#
# @option params [required, Types::TargetAction] :target_action
# A JSON format string of the Amazon Redshift Serverless API operation
# with input parameters. The following is an example of a target action.
#
- # `"\{"CreateSnapshot": \{"NamespaceName":
+ # `"{"CreateSnapshot": {"NamespaceName":
# "sampleNamespace","SnapshotName": "sampleSnapshot", "retentionPeriod":
- # "1"\}\}"`
+ # "1"}}"`
#
# @return [Types::CreateScheduledActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateScheduledActionResponse#scheduled_action #scheduled_action} => Types::ScheduledActionResponse
#
@@ -2761,15 +2761,15 @@
#
# @option params [required, String] :policy
# The policy to create or update. For example, the following policy
# grants a user authorization to restore a snapshot.
#
- # `"\{"Version": "2012-10-17", "Statement" : [\{ "Sid":
- # "AllowUserRestoreFromSnapshot", "Principal":\{"AWS":
- # ["739247239426"]\}, "Action":
+ # `"{"Version": "2012-10-17", "Statement" : [{ "Sid":
+ # "AllowUserRestoreFromSnapshot", "Principal":{"AWS":
+ # ["739247239426"]}, "Action":
# ["redshift-serverless:RestoreFromSnapshot"] , "Effect": "Allow"
- # \}]\}"`
+ # }]}"`
#
# @option params [required, String] :resource_arn
# The Amazon Resource Name (ARN) of the account to create or update a
# resource policy for.
#
@@ -3401,13 +3401,13 @@
#
# @option params [Types::TargetAction] :target_action
# A JSON format string of the Amazon Redshift Serverless API operation
# with input parameters. The following is an example of a target action.
#
- # `"\{"CreateSnapshot": \{"NamespaceName":
+ # `"{"CreateSnapshot": {"NamespaceName":
# "sampleNamespace","SnapshotName": "sampleSnapshot", "retentionPeriod":
- # "1"\}\}"`
+ # "1"}}"`
#
# @return [Types::UpdateScheduledActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateScheduledActionResponse#scheduled_action #scheduled_action} => Types::ScheduledActionResponse
#
@@ -3761,10 +3761,10 @@
params: params,
config: config,
tracer: tracer
)
context[:gem_name] = 'aws-sdk-redshiftserverless'
- context[:gem_version] = '1.41.0'
+ context[:gem_version] = '1.42.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated