Class: Aws::S3::Plugins::AccessGrants Private
- Inherits:
-
Seahorse::Client::Plugin
- Object
- Seahorse::Client::Plugin
- Aws::S3::Plugins::AccessGrants
- Defined in:
- lib/aws-sdk-s3/plugins/access_grants.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: Handler
Class Method Summary collapse
- .s3control? ⇒ Boolean private
Instance Method Summary collapse
Class Method Details
.s3control? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
171 172 173 |
# File 'lib/aws-sdk-s3/plugins/access_grants.rb', line 171 def s3control? @s3control end |
Instance Method Details
#add_handlers(handlers, config) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
157 158 159 160 161 |
# File 'lib/aws-sdk-s3/plugins/access_grants.rb', line 157 def add_handlers(handlers, config) return unless AccessGrants.s3control? && config.access_grants handlers.add(Handler) end |
#after_initialize(client) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
163 164 165 166 167 168 |
# File 'lib/aws-sdk-s3/plugins/access_grants.rb', line 163 def after_initialize(client) return unless AccessGrants.s3control? && client.config.access_grants provider = client.config.access_grants_credentials_provider provider.s3_client = client unless provider.s3_client end |