class Aws::ClientSideMonitoring::RequestMetrics
@api private
def add_call_attempt(attempt)
def add_call_attempt(attempt) @api_call_attempts << attempt end
def build_call_attempt(opts = {})
def build_call_attempt(opts = {}) timestamp = opts[:timestamp] fqdn = opts[:fqdn] region = opts[:region] user_agent = opts[:user_agent] access_key = opts[:access_key] session_token = opts[:session_token] ApiCallAttempt.new( @service, @api, @client_id, @version, timestamp, fqdn, region, user_agent, access_key, session_token ) end
def initialize(opts = {})
def initialize(opts = {}) @service = opts[:service] @api = opts[:operation] @client_id = opts[:client_id] @timestamp = opts[:timestamp] # In epoch milliseconds @region = opts[:region] @version = 1 @api_call = ApiCall.new(@service, @api, @client_id, @version, @timestamp, @region) @api_call_attempts = [] end