Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add presign-url support for create_db_instance_read_replica #1395

Merged
merged 1 commit into from
Jan 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions aws-sdk-core/lib/aws-sdk-core/api/customizations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,19 @@ def apply_plugins(client_class)
api('rds') do |api|
api['shapes']['CopyDBSnapshotMessage']['members']['DestinationRegion'] =
{"shape" => "String"}
api['shapes']['CreateDBInstanceReadReplicaMessage']['members']['DestinationRegion'] =
{"shape" => "String"}
end

doc('rds') do |docs|
docs['shapes']['String']['refs']['CopyDBSnapshotMessage$SourceRegion'] =
"<p>The region which you are copying an encrypted snapshot from.</p>" +
"<p>This is a required paramter that allows SDK to compute a pre-signed Url and" +
" populate <code>PreSignedURL</code> parameter on your behalf.</p>"
docs['shapes']['String']['refs']['CreateDBInstanceReadReplicaMessage$SourceRegion'] =
"<p>The region which you are copying an encrypted snapshot from.</p>" +
"<p>This is a required paramter that allows SDK to compute a pre-signed Url and" +
" populate <code>PreSignedURL</code> parameter on your behalf.</p>"
end

api('s3') do |api|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def presigned_url(context, params)
handler(
Handler,
step: :initialize,
operations: [:copy_db_snapshot]
operations: [:copy_db_snapshot, :create_db_instance_read_replica]
)
end
end
Expand Down