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.
107 108 109 |
# File 'lib/aws-sdk-s3/plugins/access_grants.rb', line 107 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.
93 94 95 96 97 |
# File 'lib/aws-sdk-s3/plugins/access_grants.rb', line 93 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.
99 100 101 102 103 104 |
# File 'lib/aws-sdk-s3/plugins/access_grants.rb', line 99 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 |