lib/aws-sdk-locationservice/client.rb in aws-sdk-locationservice-1.43.0 vs lib/aws-sdk-locationservice/client.rb in aws-sdk-locationservice-1.44.0
- old
+ new
@@ -2067,18 +2067,33 @@
end
# Deletes the specified API key. The API key must have been deactivated
# more than 90 days previously.
#
+ # @option params [Boolean] :force_delete
+ # ForceDelete bypasses an API key's expiry conditions and deletes the
+ # key. Set the parameter `true` to delete the key or to `false` to not
+ # preemptively delete the API key.
+ #
+ # Valid values: `true`, or `false`.
+ #
+ # Required: No
+ #
+ # <note markdown="1"> This action is irreversible. Only use ForceDelete if you are certain
+ # the key is no longer in use.
+ #
+ # </note>
+ #
# @option params [required, String] :key_name
# The name of the API key to delete.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
#
# resp = client.delete_key({
+ # force_delete: false,
# key_name: "ResourceName", # required
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteKey AWS API Documentation
#
@@ -4600,10 +4615,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-locationservice'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated