Method: Aws::IAM::Group#load
- Defined in:
- lib/aws-sdk-iam/group.rb
#load ⇒ self Also known as: reload
Loads, or reloads #data for the current Aws::IAM::Group. Returns self making it possible to chain methods.
group.reload.data
97 98 99 100 101 102 103 |
# File 'lib/aws-sdk-iam/group.rb', line 97 def load resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.get_group(group_name: @name) end @data = resp.group self end |