aws-sdk-pi 1.21.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-pi.rb +3 -2
- data/lib/aws-sdk-pi/client.rb +62 -26
- data/lib/aws-sdk-pi/types.rb +108 -40
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dca9f039189e6d60df13a2aa6a4541cb829c66ca8ef769f7a3b7500746503fc7
|
|
4
|
+
data.tar.gz: c61a4f72a21ef062a0a0d146e03d49793f8bf166d30d50fd50e9b2cfbbc31e6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c1a43e4a34f1b584ee29a8527e3c317d913d421c4e56a09170b558a88dacf436bee01abbd323985b187d1872a73438472ae3a00c02ec83c40fb37e58d7f211e
|
|
7
|
+
data.tar.gz: 55552950a6d10c01fea52f8ea5a50b904ba1afa3cdb3a719c0d3f52f28857477a71f0359d10462528ac319b883db231346853e853f060cba579dd24125570a7a
|
data/lib/aws-sdk-pi.rb
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
10
|
+
|
|
10
11
|
require 'aws-sdk-core'
|
|
11
12
|
require 'aws-sigv4'
|
|
12
13
|
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-pi/customizations'
|
|
|
44
45
|
#
|
|
45
46
|
# See {Errors} for more information.
|
|
46
47
|
#
|
|
47
|
-
#
|
|
48
|
+
# @!group service
|
|
48
49
|
module Aws::PI
|
|
49
50
|
|
|
50
|
-
GEM_VERSION = '1.
|
|
51
|
+
GEM_VERSION = '1.26.0'
|
|
51
52
|
|
|
52
53
|
end
|
data/lib/aws-sdk-pi/client.rb
CHANGED
|
@@ -85,13 +85,28 @@ module Aws::PI
|
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
86
86
|
# credentials.
|
|
87
87
|
#
|
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
|
89
|
+
# shared file, such as `~/.aws/config`.
|
|
90
|
+
#
|
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
92
|
+
#
|
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
|
94
|
+
# assume a role after providing credentials via the web.
|
|
95
|
+
#
|
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
|
97
|
+
# access token generated from `aws login`.
|
|
98
|
+
#
|
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
|
100
|
+
# process that outputs to stdout.
|
|
101
|
+
#
|
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
|
90
104
|
#
|
|
91
|
-
# * `Aws::
|
|
92
|
-
#
|
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
106
|
+
# instances running in ECS.
|
|
93
107
|
#
|
|
94
|
-
# * `Aws::
|
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
109
|
+
# from the Cognito Identity service.
|
|
95
110
|
#
|
|
96
111
|
# When `:credentials` are not configured directly, the following
|
|
97
112
|
# locations will be searched for credentials:
|
|
@@ -101,10 +116,10 @@ module Aws::PI
|
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
|
102
117
|
# * `~/.aws/credentials`
|
|
103
118
|
# * `~/.aws/config`
|
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
|
105
|
-
# very aggressive. Construct and pass an instance of
|
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
|
107
|
-
# timeouts.
|
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
|
122
|
+
# enable retries and extended timeouts.
|
|
108
123
|
#
|
|
109
124
|
# @option options [required, String] :region
|
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
|
@@ -325,30 +340,37 @@ module Aws::PI
|
|
|
325
340
|
# For a specific time period, retrieve the top `N` dimension keys for a
|
|
326
341
|
# metric.
|
|
327
342
|
#
|
|
343
|
+
# <note markdown="1"> Each response element returns a maximum of 500 bytes. For larger
|
|
344
|
+
# elements, such as SQL statements, only the first 500 bytes are
|
|
345
|
+
# returned.
|
|
346
|
+
#
|
|
347
|
+
# </note>
|
|
348
|
+
#
|
|
328
349
|
# @option params [required, String] :service_type
|
|
329
350
|
# The AWS service for which Performance Insights will return metrics.
|
|
330
|
-
# The only valid value for *ServiceType* is
|
|
351
|
+
# The only valid value for *ServiceType* is `RDS`.
|
|
331
352
|
#
|
|
332
353
|
# @option params [required, String] :identifier
|
|
333
354
|
# An immutable, AWS Region-unique identifier for a data source.
|
|
334
355
|
# Performance Insights gathers metrics from this data source.
|
|
335
356
|
#
|
|
336
357
|
# To use an Amazon RDS instance as a data source, you specify its
|
|
337
|
-
# `DbiResourceId` value
|
|
358
|
+
# `DbiResourceId` value. For example, specify
|
|
359
|
+
# `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`
|
|
338
360
|
#
|
|
339
361
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
|
340
362
|
# The date and time specifying the beginning of the requested time
|
|
341
|
-
# series data. You
|
|
342
|
-
#
|
|
343
|
-
# greater than `StartTime`
|
|
363
|
+
# series data. You must specify a `StartTime` within the past 7 days.
|
|
364
|
+
# The value specified is *inclusive*, which means that data points equal
|
|
365
|
+
# to or greater than `StartTime` are returned.
|
|
344
366
|
#
|
|
345
367
|
# The value for `StartTime` must be earlier than the value for
|
|
346
368
|
# `EndTime`.
|
|
347
369
|
#
|
|
348
370
|
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
|
349
371
|
# The date and time specifying the end of the requested time series
|
|
350
|
-
# data. The value specified is *exclusive
|
|
351
|
-
# not equal to) `EndTime`
|
|
372
|
+
# data. The value specified is *exclusive*, which means that data points
|
|
373
|
+
# less than (but not equal to) `EndTime` are returned.
|
|
352
374
|
#
|
|
353
375
|
# The value for `EndTime` must be later than the value for `StartTime`.
|
|
354
376
|
#
|
|
@@ -363,6 +385,14 @@ module Aws::PI
|
|
|
363
385
|
# * `db.sampledload.avg` - the raw number of active sessions for the
|
|
364
386
|
# database engine.
|
|
365
387
|
#
|
|
388
|
+
# If the number of active sessions is less than an internal Performance
|
|
389
|
+
# Insights threshold, `db.load.avg` and `db.sampledload.avg` are the
|
|
390
|
+
# same value. If the number of active sessions is greater than the
|
|
391
|
+
# internal threshold, Performance Insights samples the active sessions,
|
|
392
|
+
# with `db.load.avg` showing the scaled values, `db.sampledload.avg`
|
|
393
|
+
# showing the raw values, and `db.sampledload.avg` less than
|
|
394
|
+
# `db.load.avg`. For most use cases, you can query `db.load.avg` only.
|
|
395
|
+
#
|
|
366
396
|
# @option params [Integer] :period_in_seconds
|
|
367
397
|
# The granularity, in seconds, of the data points returned from
|
|
368
398
|
# Performance Insights. A period can be as short as one second, or as
|
|
@@ -379,16 +409,16 @@ module Aws::PI
|
|
|
379
409
|
# * `86400` (twenty-four hours)
|
|
380
410
|
#
|
|
381
411
|
# If you don't specify `PeriodInSeconds`, then Performance Insights
|
|
382
|
-
#
|
|
383
|
-
#
|
|
412
|
+
# chooses a value for you, with a goal of returning roughly 100-200 data
|
|
413
|
+
# points in the response.
|
|
384
414
|
#
|
|
385
415
|
# @option params [required, Types::DimensionGroup] :group_by
|
|
386
416
|
# A specification for how to aggregate the data points from a query
|
|
387
417
|
# result. You must specify a valid dimension group. Performance Insights
|
|
388
|
-
#
|
|
389
|
-
#
|
|
390
|
-
#
|
|
391
|
-
#
|
|
418
|
+
# returns all dimensions within this group, unless you provide the names
|
|
419
|
+
# of specific dimensions within this group. You can also request that
|
|
420
|
+
# Performance Insights return a limited number of values for a
|
|
421
|
+
# dimension.
|
|
392
422
|
#
|
|
393
423
|
# @option params [Types::DimensionGroup] :partition_by
|
|
394
424
|
# For each dimension specified in `GroupBy`, specify a secondary
|
|
@@ -476,16 +506,22 @@ module Aws::PI
|
|
|
476
506
|
# dimensions, and provide aggregation and filtering criteria for each
|
|
477
507
|
# group.
|
|
478
508
|
#
|
|
509
|
+
# <note markdown="1"> Each response element returns a maximum of 500 bytes. For larger
|
|
510
|
+
# elements, such as SQL statements, only the first 500 bytes are
|
|
511
|
+
# returned.
|
|
512
|
+
#
|
|
513
|
+
# </note>
|
|
514
|
+
#
|
|
479
515
|
# @option params [required, String] :service_type
|
|
480
|
-
# The AWS service for which Performance Insights
|
|
481
|
-
#
|
|
516
|
+
# The AWS service for which Performance Insights returns metrics. The
|
|
517
|
+
# only valid value for *ServiceType* is `RDS`.
|
|
482
518
|
#
|
|
483
519
|
# @option params [required, String] :identifier
|
|
484
520
|
# An immutable, AWS Region-unique identifier for a data source.
|
|
485
521
|
# Performance Insights gathers metrics from this data source.
|
|
486
522
|
#
|
|
487
|
-
# To use
|
|
488
|
-
#
|
|
523
|
+
# To use a DB instance as a data source, specify its `DbiResourceId`
|
|
524
|
+
# value. For example, specify `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`.
|
|
489
525
|
#
|
|
490
526
|
# @option params [required, Array<Types::MetricQuery>] :metric_queries
|
|
491
527
|
# An array of one or more queries to perform. Each query must specify a
|
|
@@ -502,7 +538,7 @@ module Aws::PI
|
|
|
502
538
|
# `EndTime`.
|
|
503
539
|
#
|
|
504
540
|
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
|
505
|
-
# The date and time
|
|
541
|
+
# The date and time specifying the end of the requested time series
|
|
506
542
|
# data. The value specified is *exclusive* - data points less than (but
|
|
507
543
|
# not equal to) `EndTime` will be returned.
|
|
508
544
|
#
|
|
@@ -607,7 +643,7 @@ module Aws::PI
|
|
|
607
643
|
params: params,
|
|
608
644
|
config: config)
|
|
609
645
|
context[:gem_name] = 'aws-sdk-pi'
|
|
610
|
-
context[:gem_version] = '1.
|
|
646
|
+
context[:gem_version] = '1.26.0'
|
|
611
647
|
Seahorse::Client::Request.new(handlers, context)
|
|
612
648
|
end
|
|
613
649
|
|
data/lib/aws-sdk-pi/types.rb
CHANGED
|
@@ -59,7 +59,7 @@ module Aws::PI
|
|
|
59
59
|
#
|
|
60
60
|
# @!attribute [rw] service_type
|
|
61
61
|
# The AWS service for which Performance Insights will return metrics.
|
|
62
|
-
# The only valid value for *ServiceType* is
|
|
62
|
+
# The only valid value for *ServiceType* is `RDS`.
|
|
63
63
|
# @return [String]
|
|
64
64
|
#
|
|
65
65
|
# @!attribute [rw] identifier
|
|
@@ -67,14 +67,15 @@ module Aws::PI
|
|
|
67
67
|
# Performance Insights gathers metrics from this data source.
|
|
68
68
|
#
|
|
69
69
|
# To use an Amazon RDS instance as a data source, you specify its
|
|
70
|
-
# `DbiResourceId` value
|
|
70
|
+
# `DbiResourceId` value. For example, specify
|
|
71
|
+
# `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`
|
|
71
72
|
# @return [String]
|
|
72
73
|
#
|
|
73
74
|
# @!attribute [rw] start_time
|
|
74
75
|
# The date and time specifying the beginning of the requested time
|
|
75
|
-
# series data. You
|
|
76
|
-
#
|
|
77
|
-
# or greater than `StartTime`
|
|
76
|
+
# series data. You must specify a `StartTime` within the past 7 days.
|
|
77
|
+
# The value specified is *inclusive*, which means that data points
|
|
78
|
+
# equal to or greater than `StartTime` are returned.
|
|
78
79
|
#
|
|
79
80
|
# The value for `StartTime` must be earlier than the value for
|
|
80
81
|
# `EndTime`.
|
|
@@ -82,8 +83,8 @@ module Aws::PI
|
|
|
82
83
|
#
|
|
83
84
|
# @!attribute [rw] end_time
|
|
84
85
|
# The date and time specifying the end of the requested time series
|
|
85
|
-
# data. The value specified is *exclusive
|
|
86
|
-
# (but not equal to) `EndTime`
|
|
86
|
+
# data. The value specified is *exclusive*, which means that data
|
|
87
|
+
# points less than (but not equal to) `EndTime` are returned.
|
|
87
88
|
#
|
|
88
89
|
# The value for `EndTime` must be later than the value for
|
|
89
90
|
# `StartTime`.
|
|
@@ -99,6 +100,15 @@ module Aws::PI
|
|
|
99
100
|
#
|
|
100
101
|
# * `db.sampledload.avg` - the raw number of active sessions for the
|
|
101
102
|
# database engine.
|
|
103
|
+
#
|
|
104
|
+
# If the number of active sessions is less than an internal
|
|
105
|
+
# Performance Insights threshold, `db.load.avg` and
|
|
106
|
+
# `db.sampledload.avg` are the same value. If the number of active
|
|
107
|
+
# sessions is greater than the internal threshold, Performance
|
|
108
|
+
# Insights samples the active sessions, with `db.load.avg` showing the
|
|
109
|
+
# scaled values, `db.sampledload.avg` showing the raw values, and
|
|
110
|
+
# `db.sampledload.avg` less than `db.load.avg`. For most use cases,
|
|
111
|
+
# you can query `db.load.avg` only.
|
|
102
112
|
# @return [String]
|
|
103
113
|
#
|
|
104
114
|
# @!attribute [rw] period_in_seconds
|
|
@@ -117,17 +127,17 @@ module Aws::PI
|
|
|
117
127
|
# * `86400` (twenty-four hours)
|
|
118
128
|
#
|
|
119
129
|
# If you don't specify `PeriodInSeconds`, then Performance Insights
|
|
120
|
-
#
|
|
121
|
-
#
|
|
130
|
+
# chooses a value for you, with a goal of returning roughly 100-200
|
|
131
|
+
# data points in the response.
|
|
122
132
|
# @return [Integer]
|
|
123
133
|
#
|
|
124
134
|
# @!attribute [rw] group_by
|
|
125
135
|
# A specification for how to aggregate the data points from a query
|
|
126
136
|
# result. You must specify a valid dimension group. Performance
|
|
127
|
-
# Insights
|
|
128
|
-
#
|
|
129
|
-
#
|
|
130
|
-
#
|
|
137
|
+
# Insights returns all dimensions within this group, unless you
|
|
138
|
+
# provide the names of specific dimensions within this group. You can
|
|
139
|
+
# also request that Performance Insights return a limited number of
|
|
140
|
+
# values for a dimension.
|
|
131
141
|
# @return [Types::DimensionGroup]
|
|
132
142
|
#
|
|
133
143
|
# @!attribute [rw] partition_by
|
|
@@ -222,6 +232,12 @@ module Aws::PI
|
|
|
222
232
|
# the following dimensions: `db.sql.id`, `db.sql.db_id`,
|
|
223
233
|
# `db.sql.statement`, and `db.sql.tokenized_id`.
|
|
224
234
|
#
|
|
235
|
+
# <note markdown="1"> Each response element returns a maximum of 500 bytes. For larger
|
|
236
|
+
# elements, such as SQL statements, only the first 500 bytes are
|
|
237
|
+
# returned.
|
|
238
|
+
#
|
|
239
|
+
# </note>
|
|
240
|
+
#
|
|
225
241
|
# @note When making an API call, you may pass DimensionGroup
|
|
226
242
|
# data as a hash:
|
|
227
243
|
#
|
|
@@ -234,17 +250,29 @@ module Aws::PI
|
|
|
234
250
|
# @!attribute [rw] group
|
|
235
251
|
# The name of the dimension group. Valid values are:
|
|
236
252
|
#
|
|
237
|
-
# * `db
|
|
253
|
+
# * `db` - The name of the database to which the client is connected
|
|
254
|
+
# (only Aurora PostgreSQL, RDS PostgreSQL, Aurora MySQL, RDS MySQL,
|
|
255
|
+
# and MariaDB)
|
|
256
|
+
#
|
|
257
|
+
# * `db.application` - The name of the application that is connected
|
|
258
|
+
# to the database (only Aurora PostgreSQL and RDS PostgreSQL)
|
|
259
|
+
#
|
|
260
|
+
# * `db.host` - The host name of the connected client (all engines)
|
|
261
|
+
#
|
|
262
|
+
# * `db.session_type` - The type of the current session (only Aurora
|
|
263
|
+
# PostgreSQL and RDS PostgreSQL)
|
|
238
264
|
#
|
|
239
|
-
# * `db.
|
|
265
|
+
# * `db.sql` - The SQL that is currently executing (all engines)
|
|
240
266
|
#
|
|
241
|
-
# * `db.
|
|
267
|
+
# * `db.sql_tokenized` - The SQL digest (all engines)
|
|
242
268
|
#
|
|
243
|
-
# * `db.
|
|
269
|
+
# * `db.wait_event` - The event for which the database backend is
|
|
270
|
+
# waiting (all engines)
|
|
244
271
|
#
|
|
245
|
-
# * `db.
|
|
272
|
+
# * `db.wait_event_type` - The type of event for which the database
|
|
273
|
+
# backend is waiting (all engines)
|
|
246
274
|
#
|
|
247
|
-
# * `db.
|
|
275
|
+
# * `db.user` - The user logged in to the database (all engines)
|
|
248
276
|
# @return [String]
|
|
249
277
|
#
|
|
250
278
|
# @!attribute [rw] dimensions
|
|
@@ -255,33 +283,55 @@ module Aws::PI
|
|
|
255
283
|
#
|
|
256
284
|
# Valid values for elements in the `Dimensions` array are:
|
|
257
285
|
#
|
|
258
|
-
# * db.
|
|
286
|
+
# * `db.application.name` - The name of the application that is
|
|
287
|
+
# connected to the database (only Aurora PostgreSQL and RDS
|
|
288
|
+
# PostgreSQL)
|
|
289
|
+
#
|
|
290
|
+
# * `db.host.id` - The host ID of the connected client (all engines)
|
|
291
|
+
#
|
|
292
|
+
# * `db.host.name` - The host name of the connected client (all
|
|
293
|
+
# engines)
|
|
294
|
+
#
|
|
295
|
+
# * `db.name` - The name of the database to which the client is
|
|
296
|
+
# connected (only Aurora PostgreSQL, RDS PostgreSQL, Aurora MySQL,
|
|
297
|
+
# RDS MySQL, and MariaDB)
|
|
259
298
|
#
|
|
260
|
-
# * db.
|
|
299
|
+
# * `db.session_type.name` - The type of the current session (only
|
|
300
|
+
# Aurora PostgreSQL and RDS PostgreSQL)
|
|
261
301
|
#
|
|
262
|
-
# * db.
|
|
302
|
+
# * `db.sql.id` - The SQL ID generated by Performance Insights (all
|
|
303
|
+
# engines)
|
|
263
304
|
#
|
|
264
|
-
# * db.
|
|
305
|
+
# * `db.sql.db_id` - The SQL ID generated by the database (all
|
|
306
|
+
# engines)
|
|
265
307
|
#
|
|
266
|
-
# * db.sql.
|
|
308
|
+
# * `db.sql.statement` - The SQL text that is being executed (all
|
|
309
|
+
# engines)
|
|
267
310
|
#
|
|
268
|
-
# * db.sql.
|
|
311
|
+
# * `db.sql.tokenized_id`
|
|
269
312
|
#
|
|
270
|
-
# * db.
|
|
313
|
+
# * `db.sql_tokenized.id` - The SQL digest ID generated by Performance
|
|
314
|
+
# Insights (all engines)
|
|
271
315
|
#
|
|
272
|
-
# * db.
|
|
316
|
+
# * `db.sql_tokenized.db_id` - SQL digest ID generated by the database
|
|
317
|
+
# (all engines)
|
|
273
318
|
#
|
|
274
|
-
# * db.
|
|
319
|
+
# * `db.sql_tokenized.statement` - The SQL digest text (all engines)
|
|
275
320
|
#
|
|
276
|
-
# * db.
|
|
321
|
+
# * `db.user.id` - The ID of the user logged in to the database (all
|
|
322
|
+
# engines)
|
|
277
323
|
#
|
|
278
|
-
# * db.
|
|
324
|
+
# * `db.user.name` - The name of the user logged in to the database
|
|
325
|
+
# (all engines)
|
|
279
326
|
#
|
|
280
|
-
# * db.
|
|
327
|
+
# * `db.wait_event.name` - The event for which the backend is waiting
|
|
328
|
+
# (all engines)
|
|
281
329
|
#
|
|
282
|
-
# * db.
|
|
330
|
+
# * `db.wait_event.type` - The type of event for which the backend is
|
|
331
|
+
# waiting (all engines)
|
|
283
332
|
#
|
|
284
|
-
# * db.
|
|
333
|
+
# * `db.wait_event_type.name` - The name of the event type for which
|
|
334
|
+
# the backend is waiting (all engines)
|
|
285
335
|
# @return [Array<String>]
|
|
286
336
|
#
|
|
287
337
|
# @!attribute [rw] limit
|
|
@@ -352,16 +402,16 @@ module Aws::PI
|
|
|
352
402
|
# }
|
|
353
403
|
#
|
|
354
404
|
# @!attribute [rw] service_type
|
|
355
|
-
# The AWS service for which Performance Insights
|
|
356
|
-
#
|
|
405
|
+
# The AWS service for which Performance Insights returns metrics. The
|
|
406
|
+
# only valid value for *ServiceType* is `RDS`.
|
|
357
407
|
# @return [String]
|
|
358
408
|
#
|
|
359
409
|
# @!attribute [rw] identifier
|
|
360
410
|
# An immutable, AWS Region-unique identifier for a data source.
|
|
361
411
|
# Performance Insights gathers metrics from this data source.
|
|
362
412
|
#
|
|
363
|
-
# To use
|
|
364
|
-
#
|
|
413
|
+
# To use a DB instance as a data source, specify its `DbiResourceId`
|
|
414
|
+
# value. For example, specify `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`.
|
|
365
415
|
# @return [String]
|
|
366
416
|
#
|
|
367
417
|
# @!attribute [rw] metric_queries
|
|
@@ -381,7 +431,7 @@ module Aws::PI
|
|
|
381
431
|
# @return [Time]
|
|
382
432
|
#
|
|
383
433
|
# @!attribute [rw] end_time
|
|
384
|
-
# The date and time
|
|
434
|
+
# The date and time specifying the end of the requested time series
|
|
385
435
|
# data. The value specified is *exclusive* - data points less than
|
|
386
436
|
# (but not equal to) `EndTime` will be returned.
|
|
387
437
|
#
|
|
@@ -455,7 +505,7 @@ module Aws::PI
|
|
|
455
505
|
# An immutable, AWS Region-unique identifier for a data source.
|
|
456
506
|
# Performance Insights gathers metrics from this data source.
|
|
457
507
|
#
|
|
458
|
-
# To use
|
|
508
|
+
# To use a DB instance as a data source, you specify its
|
|
459
509
|
# `DbiResourceId` value - for example: `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`
|
|
460
510
|
# @return [String]
|
|
461
511
|
#
|
|
@@ -508,7 +558,7 @@ module Aws::PI
|
|
|
508
558
|
include Aws::Structure
|
|
509
559
|
end
|
|
510
560
|
|
|
511
|
-
# A time-ordered series of data points,
|
|
561
|
+
# A time-ordered series of data points, corresponding to a dimension of
|
|
512
562
|
# a Performance Insights metric.
|
|
513
563
|
#
|
|
514
564
|
# @!attribute [rw] key
|
|
@@ -560,6 +610,15 @@ module Aws::PI
|
|
|
560
610
|
#
|
|
561
611
|
# * `db.sampledload.avg` - the raw number of active sessions for the
|
|
562
612
|
# database engine.
|
|
613
|
+
#
|
|
614
|
+
# If the number of active sessions is less than an internal
|
|
615
|
+
# Performance Insights threshold, `db.load.avg` and
|
|
616
|
+
# `db.sampledload.avg` are the same value. If the number of active
|
|
617
|
+
# sessions is greater than the internal threshold, Performance
|
|
618
|
+
# Insights samples the active sessions, with `db.load.avg` showing the
|
|
619
|
+
# scaled values, `db.sampledload.avg` showing the raw values, and
|
|
620
|
+
# `db.sampledload.avg` less than `db.load.avg`. For most use cases,
|
|
621
|
+
# you can query `db.load.avg` only.
|
|
563
622
|
# @return [String]
|
|
564
623
|
#
|
|
565
624
|
# @!attribute [rw] group_by
|
|
@@ -632,6 +691,15 @@ module Aws::PI
|
|
|
632
691
|
#
|
|
633
692
|
# * `db.sampledload.avg` - the raw number of active sessions for the
|
|
634
693
|
# database engine.
|
|
694
|
+
#
|
|
695
|
+
# If the number of active sessions is less than an internal
|
|
696
|
+
# Performance Insights threshold, `db.load.avg` and
|
|
697
|
+
# `db.sampledload.avg` are the same value. If the number of active
|
|
698
|
+
# sessions is greater than the internal threshold, Performance
|
|
699
|
+
# Insights samples the active sessions, with `db.load.avg` showing the
|
|
700
|
+
# scaled values, `db.sampledload.avg` showing the raw values, and
|
|
701
|
+
# `db.sampledload.avg` less than `db.load.avg`. For most use cases,
|
|
702
|
+
# you can query `db.load.avg` only.
|
|
635
703
|
# @return [String]
|
|
636
704
|
#
|
|
637
705
|
# @!attribute [rw] dimensions
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-pi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.26.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:
|
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.112.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.112.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|