Class: Aws::S3::AccessGrantsCredentials Private
- Inherits:
-
Object
- Object
- Aws::S3::AccessGrantsCredentials
- Includes:
- CredentialProvider, RefreshingCredentials
- Defined in:
- lib/aws-sdk-s3/access_grants_credentials.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.
Instance Attribute Summary collapse
- #client ⇒ S3Control::Client readonly private
- #matched_grant_target ⇒ String readonly private
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ AccessGrantsCredentials
constructor
private
A new instance of AccessGrantsCredentials.
Constructor Details
#initialize(options = {}) ⇒ AccessGrantsCredentials
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.
Returns a new instance of AccessGrantsCredentials.
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/aws-sdk-s3/access_grants_credentials.rb', line 12 def initialize( = {}) @client = [:client] @get_data_access_params = {} .each_pair do |key, value| if self.class..include?(key) @get_data_access_params[key] = value end end @async_refresh = true super end |
Instance Attribute Details
#client ⇒ S3Control::Client (readonly)
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.
25 26 27 |
# File 'lib/aws-sdk-s3/access_grants_credentials.rb', line 25 def client @client end |
#matched_grant_target ⇒ String (readonly)
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.
28 29 30 |
# File 'lib/aws-sdk-s3/access_grants_credentials.rb', line 28 def matched_grant_target @matched_grant_target end |
Class Method Details
.get_data_access_options ⇒ 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.
47 48 49 50 51 52 |
# File 'lib/aws-sdk-s3/access_grants_credentials.rb', line 47 def @gdao ||= begin input = Aws::S3Control::Client.api.operation(:get_data_access).input Set.new(input.shape.member_names) end end |