From de88ef5b6a5c49aa06b75fc322e48635b5797912 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Thu, 20 Jun 2024 11:41:57 -0400 Subject: [PATCH] Add simple documentation (and clean up some extra spaces) --- .../aws-sdk-code-generator/templates/client_class.mustache | 5 +++++ gems/aws-sdk-core/CHANGELOG.md | 1 - gems/aws-sdk-core/lib/aws-sdk-core/plugins/retry_errors.rb | 1 - gems/aws-sdk-core/lib/seahorse/client/plugins/endpoint.rb | 1 - 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build_tools/aws-sdk-code-generator/templates/client_class.mustache b/build_tools/aws-sdk-code-generator/templates/client_class.mustache index 089ec838323..4aea5de7e32 100644 --- a/build_tools/aws-sdk-code-generator/templates/client_class.mustache +++ b/build_tools/aws-sdk-code-generator/templates/client_class.mustache @@ -37,6 +37,11 @@ module {{module_name}} {{#client_constructor}} # @overload initialize(options) # @param [Hash] options + # + # @option options [Array] :plugins ([]]) + # A list of plugins to apply to the client. Each plugin is either a + # class name or an instance of a plugin class. + # {{>documentation}} {{/client_constructor}} def initialize(*args) diff --git a/gems/aws-sdk-core/CHANGELOG.md b/gems/aws-sdk-core/CHANGELOG.md index cd8f60dd5cc..42c9de121ac 100644 --- a/gems/aws-sdk-core/CHANGELOG.md +++ b/gems/aws-sdk-core/CHANGELOG.md @@ -5,7 +5,6 @@ Unreleased Changes * Issue - Fix trailing slash in endpoint URLs for rest-json and rest-xml services. - 3.197.1 (2024-06-19) ------------------ diff --git a/gems/aws-sdk-core/lib/aws-sdk-core/plugins/retry_errors.rb b/gems/aws-sdk-core/lib/aws-sdk-core/plugins/retry_errors.rb index a50b98f27b2..c44a899c5fc 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-core/plugins/retry_errors.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-core/plugins/retry_errors.rb @@ -113,7 +113,6 @@ class RetryErrors < Seahorse::Client::Plugin functionality of `standard` mode along with automatic client side throttling. This is a provisional mode that may change behavior in the future. - DOCS resolve_retry_mode(cfg) end diff --git a/gems/aws-sdk-core/lib/seahorse/client/plugins/endpoint.rb b/gems/aws-sdk-core/lib/seahorse/client/plugins/endpoint.rb index ffc29e5ce0e..c0bfe44e4f5 100644 --- a/gems/aws-sdk-core/lib/seahorse/client/plugins/endpoint.rb +++ b/gems/aws-sdk-core/lib/seahorse/client/plugins/endpoint.rb @@ -17,7 +17,6 @@ class Endpoint < Plugin 'http://example.com' 'https://example.com' 'http://example.com:123' - DOCS def add_handlers(handlers, config)