aws-sdk-core 3.29.0 → 3.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/aws-sdk-core/client_side_monitoring/request_metrics.rb +7 -4
- data/lib/aws-sdk-core/plugins/client_metrics_plugin.rb +1 -0
- data/lib/aws-sdk-core/shared_config.rb +1 -0
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/seahorse/model/shapes.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a3a5cd2f79b1a4aade538c466cc5643110c446a
|
4
|
+
data.tar.gz: e748801657743aa4f4906f09f62806d0c86e6648
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 378d56edf19f2d627a5be44aa6fcedcabd6846bd1c4884a40437781d010cd8b92072e42984b2e88f8f4ac92c8a9bd686a6a67408b60c3af2b90ecac13aa07f90
|
7
|
+
data.tar.gz: af057214612f660295395a9a70d3536a169b8639afdd478c6471dd911fd2cf3836c33f1e2df4d3ed122ab898f5a2c6f4c44e4dd9381a786a006329046f60b596
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.30.0
|
@@ -9,8 +9,9 @@ module Aws
|
|
9
9
|
@api = opts[:operation]
|
10
10
|
@client_id = opts[:client_id]
|
11
11
|
@timestamp = opts[:timestamp] # In epoch milliseconds
|
12
|
+
@region = opts[:region]
|
12
13
|
@version = 1
|
13
|
-
@api_call = ApiCall.new(@service, @api, @client_id, @version, @timestamp)
|
14
|
+
@api_call = ApiCall.new(@service, @api, @client_id, @version, @timestamp, @region)
|
14
15
|
@api_call_attempts = []
|
15
16
|
end
|
16
17
|
|
@@ -41,14 +42,15 @@ module Aws
|
|
41
42
|
|
42
43
|
class ApiCall
|
43
44
|
attr_reader :service, :api, :client_id, :timestamp, :version,
|
44
|
-
:attempt_count, :latency
|
45
|
+
:attempt_count, :latency, :region
|
45
46
|
|
46
|
-
def initialize(service, api, client_id, version, timestamp)
|
47
|
+
def initialize(service, api, client_id, version, timestamp, region)
|
47
48
|
@service = service
|
48
49
|
@api = api
|
49
50
|
@client_id = client_id
|
50
51
|
@version = version
|
51
52
|
@timestamp = timestamp
|
53
|
+
@region = region
|
52
54
|
end
|
53
55
|
|
54
56
|
def complete(opts = {})
|
@@ -65,7 +67,8 @@ module Aws
|
|
65
67
|
"Timestamp" => @timestamp,
|
66
68
|
"Version" => @version,
|
67
69
|
"AttemptCount" => @attempt_count,
|
68
|
-
"Latency" => @latency
|
70
|
+
"Latency" => @latency,
|
71
|
+
"Region" => @region
|
69
72
|
}.to_json
|
70
73
|
end
|
71
74
|
end
|
@@ -99,6 +99,7 @@ all generated client side metrics. Defaults to an empty string.
|
|
99
99
|
service: service_id,
|
100
100
|
operation: context.operation.name,
|
101
101
|
client_id: context.config.client_side_monitoring_client_id,
|
102
|
+
region: context.config.region,
|
102
103
|
timestamp: DateTime.now.strftime('%Q').to_i,
|
103
104
|
)
|
104
105
|
context.metadata[:client_metrics] = request_metrics
|
@@ -44,6 +44,7 @@ module Aws
|
|
44
44
|
# file and enables new config values outside of the old shared credential
|
45
45
|
# spec.
|
46
46
|
def initialize(options = {})
|
47
|
+
@parsed_config = nil
|
47
48
|
@profile_name = determine_profile(options)
|
48
49
|
@config_enabled = options[:config_enabled]
|
49
50
|
@credentials_path = options[:credentials_path] ||
|
data/lib/aws-sdk-sts.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|