aws-sdk-pi 1.20.1 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-pi.rb +5 -2
- data/lib/aws-sdk-pi/client.rb +64 -26
- data/lib/aws-sdk-pi/client_api.rb +2 -0
- data/lib/aws-sdk-pi/errors.rb +2 -0
- data/lib/aws-sdk-pi/resource.rb +2 -0
- data/lib/aws-sdk-pi/types.rb +124 -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: a945b3299f248a4de467e0235c9780c1ab428c4bf37cc45f1b6feb5ce18f6f64
|
4
|
+
data.tar.gz: 278b7bf031a88d17dbfd4ac15fd58c9c7e8eaae8c28b0c2e5f938fb7221bf46c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0399f4e5b882a6917fb57bfc48444eec243f895abff49a54e9a7a67d25c22cd3678789910cfbd96ed2b2e05df4ea82261a777d9abe11e3052ff8c57b59e2b530'
|
7
|
+
data.tar.gz: bb27d84a1481208ea3c8858c40754ea2c62fa10112d17c0df036f83f9da26bd4c5b7ebc2e21c4199bb207eecd6212c223997f9f19cec1742d5e391a3954e4a2b
|
data/lib/aws-sdk-pi.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-pi/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::PI
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.25.0'
|
49
52
|
|
50
53
|
end
|
data/lib/aws-sdk-pi/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::PI
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
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
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::PI
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# 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.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -323,30 +340,37 @@ module Aws::PI
|
|
323
340
|
# For a specific time period, retrieve the top `N` dimension keys for a
|
324
341
|
# metric.
|
325
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
|
+
#
|
326
349
|
# @option params [required, String] :service_type
|
327
350
|
# The AWS service for which Performance Insights will return metrics.
|
328
|
-
# The only valid value for *ServiceType* is
|
351
|
+
# The only valid value for *ServiceType* is `RDS`.
|
329
352
|
#
|
330
353
|
# @option params [required, String] :identifier
|
331
354
|
# An immutable, AWS Region-unique identifier for a data source.
|
332
355
|
# Performance Insights gathers metrics from this data source.
|
333
356
|
#
|
334
357
|
# To use an Amazon RDS instance as a data source, you specify its
|
335
|
-
# `DbiResourceId` value
|
358
|
+
# `DbiResourceId` value. For example, specify
|
359
|
+
# `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`
|
336
360
|
#
|
337
361
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
338
362
|
# The date and time specifying the beginning of the requested time
|
339
|
-
# series data. You
|
340
|
-
#
|
341
|
-
# 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.
|
342
366
|
#
|
343
367
|
# The value for `StartTime` must be earlier than the value for
|
344
368
|
# `EndTime`.
|
345
369
|
#
|
346
370
|
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
347
371
|
# The date and time specifying the end of the requested time series
|
348
|
-
# data. The value specified is *exclusive
|
349
|
-
# 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.
|
350
374
|
#
|
351
375
|
# The value for `EndTime` must be later than the value for `StartTime`.
|
352
376
|
#
|
@@ -361,6 +385,14 @@ module Aws::PI
|
|
361
385
|
# * `db.sampledload.avg` - the raw number of active sessions for the
|
362
386
|
# database engine.
|
363
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
|
+
#
|
364
396
|
# @option params [Integer] :period_in_seconds
|
365
397
|
# The granularity, in seconds, of the data points returned from
|
366
398
|
# Performance Insights. A period can be as short as one second, or as
|
@@ -377,16 +409,16 @@ module Aws::PI
|
|
377
409
|
# * `86400` (twenty-four hours)
|
378
410
|
#
|
379
411
|
# If you don't specify `PeriodInSeconds`, then Performance Insights
|
380
|
-
#
|
381
|
-
#
|
412
|
+
# chooses a value for you, with a goal of returning roughly 100-200 data
|
413
|
+
# points in the response.
|
382
414
|
#
|
383
415
|
# @option params [required, Types::DimensionGroup] :group_by
|
384
416
|
# A specification for how to aggregate the data points from a query
|
385
417
|
# result. You must specify a valid dimension group. Performance Insights
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
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.
|
390
422
|
#
|
391
423
|
# @option params [Types::DimensionGroup] :partition_by
|
392
424
|
# For each dimension specified in `GroupBy`, specify a secondary
|
@@ -474,16 +506,22 @@ module Aws::PI
|
|
474
506
|
# dimensions, and provide aggregation and filtering criteria for each
|
475
507
|
# group.
|
476
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
|
+
#
|
477
515
|
# @option params [required, String] :service_type
|
478
|
-
# The AWS service for which Performance Insights
|
479
|
-
#
|
516
|
+
# The AWS service for which Performance Insights returns metrics. The
|
517
|
+
# only valid value for *ServiceType* is `RDS`.
|
480
518
|
#
|
481
519
|
# @option params [required, String] :identifier
|
482
520
|
# An immutable, AWS Region-unique identifier for a data source.
|
483
521
|
# Performance Insights gathers metrics from this data source.
|
484
522
|
#
|
485
|
-
# To use
|
486
|
-
#
|
523
|
+
# To use a DB instance as a data source, specify its `DbiResourceId`
|
524
|
+
# value. For example, specify `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`.
|
487
525
|
#
|
488
526
|
# @option params [required, Array<Types::MetricQuery>] :metric_queries
|
489
527
|
# An array of one or more queries to perform. Each query must specify a
|
@@ -500,7 +538,7 @@ module Aws::PI
|
|
500
538
|
# `EndTime`.
|
501
539
|
#
|
502
540
|
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
503
|
-
# The date and time
|
541
|
+
# The date and time specifying the end of the requested time series
|
504
542
|
# data. The value specified is *exclusive* - data points less than (but
|
505
543
|
# not equal to) `EndTime` will be returned.
|
506
544
|
#
|
@@ -605,7 +643,7 @@ module Aws::PI
|
|
605
643
|
params: params,
|
606
644
|
config: config)
|
607
645
|
context[:gem_name] = 'aws-sdk-pi'
|
608
|
-
context[:gem_version] = '1.
|
646
|
+
context[:gem_version] = '1.25.0'
|
609
647
|
Seahorse::Client::Request.new(handlers, context)
|
610
648
|
end
|
611
649
|
|
data/lib/aws-sdk-pi/errors.rb
CHANGED
data/lib/aws-sdk-pi/resource.rb
CHANGED
data/lib/aws-sdk-pi/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ module Aws::PI
|
|
24
26
|
class DataPoint < Struct.new(
|
25
27
|
:timestamp,
|
26
28
|
:value)
|
29
|
+
SENSITIVE = []
|
27
30
|
include Aws::Structure
|
28
31
|
end
|
29
32
|
|
@@ -56,7 +59,7 @@ module Aws::PI
|
|
56
59
|
#
|
57
60
|
# @!attribute [rw] service_type
|
58
61
|
# The AWS service for which Performance Insights will return metrics.
|
59
|
-
# The only valid value for *ServiceType* is
|
62
|
+
# The only valid value for *ServiceType* is `RDS`.
|
60
63
|
# @return [String]
|
61
64
|
#
|
62
65
|
# @!attribute [rw] identifier
|
@@ -64,14 +67,15 @@ module Aws::PI
|
|
64
67
|
# Performance Insights gathers metrics from this data source.
|
65
68
|
#
|
66
69
|
# To use an Amazon RDS instance as a data source, you specify its
|
67
|
-
# `DbiResourceId` value
|
70
|
+
# `DbiResourceId` value. For example, specify
|
71
|
+
# `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`
|
68
72
|
# @return [String]
|
69
73
|
#
|
70
74
|
# @!attribute [rw] start_time
|
71
75
|
# The date and time specifying the beginning of the requested time
|
72
|
-
# series data. You
|
73
|
-
#
|
74
|
-
# 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.
|
75
79
|
#
|
76
80
|
# The value for `StartTime` must be earlier than the value for
|
77
81
|
# `EndTime`.
|
@@ -79,8 +83,8 @@ module Aws::PI
|
|
79
83
|
#
|
80
84
|
# @!attribute [rw] end_time
|
81
85
|
# The date and time specifying the end of the requested time series
|
82
|
-
# data. The value specified is *exclusive
|
83
|
-
# (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.
|
84
88
|
#
|
85
89
|
# The value for `EndTime` must be later than the value for
|
86
90
|
# `StartTime`.
|
@@ -96,6 +100,15 @@ module Aws::PI
|
|
96
100
|
#
|
97
101
|
# * `db.sampledload.avg` - the raw number of active sessions for the
|
98
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.
|
99
112
|
# @return [String]
|
100
113
|
#
|
101
114
|
# @!attribute [rw] period_in_seconds
|
@@ -114,17 +127,17 @@ module Aws::PI
|
|
114
127
|
# * `86400` (twenty-four hours)
|
115
128
|
#
|
116
129
|
# If you don't specify `PeriodInSeconds`, then Performance Insights
|
117
|
-
#
|
118
|
-
#
|
130
|
+
# chooses a value for you, with a goal of returning roughly 100-200
|
131
|
+
# data points in the response.
|
119
132
|
# @return [Integer]
|
120
133
|
#
|
121
134
|
# @!attribute [rw] group_by
|
122
135
|
# A specification for how to aggregate the data points from a query
|
123
136
|
# result. You must specify a valid dimension group. Performance
|
124
|
-
# Insights
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
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.
|
128
141
|
# @return [Types::DimensionGroup]
|
129
142
|
#
|
130
143
|
# @!attribute [rw] partition_by
|
@@ -168,6 +181,7 @@ module Aws::PI
|
|
168
181
|
:filter,
|
169
182
|
:max_results,
|
170
183
|
:next_token)
|
184
|
+
SENSITIVE = []
|
171
185
|
include Aws::Structure
|
172
186
|
end
|
173
187
|
|
@@ -209,6 +223,7 @@ module Aws::PI
|
|
209
223
|
:partition_keys,
|
210
224
|
:keys,
|
211
225
|
:next_token)
|
226
|
+
SENSITIVE = []
|
212
227
|
include Aws::Structure
|
213
228
|
end
|
214
229
|
|
@@ -217,6 +232,12 @@ module Aws::PI
|
|
217
232
|
# the following dimensions: `db.sql.id`, `db.sql.db_id`,
|
218
233
|
# `db.sql.statement`, and `db.sql.tokenized_id`.
|
219
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
|
+
#
|
220
241
|
# @note When making an API call, you may pass DimensionGroup
|
221
242
|
# data as a hash:
|
222
243
|
#
|
@@ -229,17 +250,29 @@ module Aws::PI
|
|
229
250
|
# @!attribute [rw] group
|
230
251
|
# The name of the dimension group. Valid values are:
|
231
252
|
#
|
232
|
-
# * `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)
|
233
264
|
#
|
234
|
-
# * `db.
|
265
|
+
# * `db.sql` - The SQL that is currently executing (all engines)
|
235
266
|
#
|
236
|
-
# * `db.
|
267
|
+
# * `db.sql_tokenized` - The SQL digest (all engines)
|
237
268
|
#
|
238
|
-
# * `db.
|
269
|
+
# * `db.wait_event` - The event for which the database backend is
|
270
|
+
# waiting (all engines)
|
239
271
|
#
|
240
|
-
# * `db.
|
272
|
+
# * `db.wait_event_type` - The type of event for which the database
|
273
|
+
# backend is waiting (all engines)
|
241
274
|
#
|
242
|
-
# * `db.
|
275
|
+
# * `db.user` - The user logged in to the database (all engines)
|
243
276
|
# @return [String]
|
244
277
|
#
|
245
278
|
# @!attribute [rw] dimensions
|
@@ -250,33 +283,55 @@ module Aws::PI
|
|
250
283
|
#
|
251
284
|
# Valid values for elements in the `Dimensions` array are:
|
252
285
|
#
|
253
|
-
# * 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)
|
254
298
|
#
|
255
|
-
# * db.
|
299
|
+
# * `db.session_type.name` - The type of the current session (only
|
300
|
+
# Aurora PostgreSQL and RDS PostgreSQL)
|
256
301
|
#
|
257
|
-
# * db.
|
302
|
+
# * `db.sql.id` - The SQL ID generated by Performance Insights (all
|
303
|
+
# engines)
|
258
304
|
#
|
259
|
-
# * db.
|
305
|
+
# * `db.sql.db_id` - The SQL ID generated by the database (all
|
306
|
+
# engines)
|
260
307
|
#
|
261
|
-
# * db.sql.
|
308
|
+
# * `db.sql.statement` - The SQL text that is being executed (all
|
309
|
+
# engines)
|
262
310
|
#
|
263
|
-
# * db.sql.
|
311
|
+
# * `db.sql.tokenized_id`
|
264
312
|
#
|
265
|
-
# * db.
|
313
|
+
# * `db.sql_tokenized.id` - The SQL digest ID generated by Performance
|
314
|
+
# Insights (all engines)
|
266
315
|
#
|
267
|
-
# * db.
|
316
|
+
# * `db.sql_tokenized.db_id` - SQL digest ID generated by the database
|
317
|
+
# (all engines)
|
268
318
|
#
|
269
|
-
# * db.
|
319
|
+
# * `db.sql_tokenized.statement` - The SQL digest text (all engines)
|
270
320
|
#
|
271
|
-
# * db.
|
321
|
+
# * `db.user.id` - The ID of the user logged in to the database (all
|
322
|
+
# engines)
|
272
323
|
#
|
273
|
-
# * db.
|
324
|
+
# * `db.user.name` - The name of the user logged in to the database
|
325
|
+
# (all engines)
|
274
326
|
#
|
275
|
-
# * db.
|
327
|
+
# * `db.wait_event.name` - The event for which the backend is waiting
|
328
|
+
# (all engines)
|
276
329
|
#
|
277
|
-
# * db.
|
330
|
+
# * `db.wait_event.type` - The type of event for which the backend is
|
331
|
+
# waiting (all engines)
|
278
332
|
#
|
279
|
-
# * db.
|
333
|
+
# * `db.wait_event_type.name` - The name of the event type for which
|
334
|
+
# the backend is waiting (all engines)
|
280
335
|
# @return [Array<String>]
|
281
336
|
#
|
282
337
|
# @!attribute [rw] limit
|
@@ -289,6 +344,7 @@ module Aws::PI
|
|
289
344
|
:group,
|
290
345
|
:dimensions,
|
291
346
|
:limit)
|
347
|
+
SENSITIVE = []
|
292
348
|
include Aws::Structure
|
293
349
|
end
|
294
350
|
|
@@ -315,6 +371,7 @@ module Aws::PI
|
|
315
371
|
:dimensions,
|
316
372
|
:total,
|
317
373
|
:partitions)
|
374
|
+
SENSITIVE = []
|
318
375
|
include Aws::Structure
|
319
376
|
end
|
320
377
|
|
@@ -345,16 +402,16 @@ module Aws::PI
|
|
345
402
|
# }
|
346
403
|
#
|
347
404
|
# @!attribute [rw] service_type
|
348
|
-
# The AWS service for which Performance Insights
|
349
|
-
#
|
405
|
+
# The AWS service for which Performance Insights returns metrics. The
|
406
|
+
# only valid value for *ServiceType* is `RDS`.
|
350
407
|
# @return [String]
|
351
408
|
#
|
352
409
|
# @!attribute [rw] identifier
|
353
410
|
# An immutable, AWS Region-unique identifier for a data source.
|
354
411
|
# Performance Insights gathers metrics from this data source.
|
355
412
|
#
|
356
|
-
# To use
|
357
|
-
#
|
413
|
+
# To use a DB instance as a data source, specify its `DbiResourceId`
|
414
|
+
# value. For example, specify `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`.
|
358
415
|
# @return [String]
|
359
416
|
#
|
360
417
|
# @!attribute [rw] metric_queries
|
@@ -374,7 +431,7 @@ module Aws::PI
|
|
374
431
|
# @return [Time]
|
375
432
|
#
|
376
433
|
# @!attribute [rw] end_time
|
377
|
-
# The date and time
|
434
|
+
# The date and time specifying the end of the requested time series
|
378
435
|
# data. The value specified is *exclusive* - data points less than
|
379
436
|
# (but not equal to) `EndTime` will be returned.
|
380
437
|
#
|
@@ -426,6 +483,7 @@ module Aws::PI
|
|
426
483
|
:period_in_seconds,
|
427
484
|
:max_results,
|
428
485
|
:next_token)
|
486
|
+
SENSITIVE = []
|
429
487
|
include Aws::Structure
|
430
488
|
end
|
431
489
|
|
@@ -447,7 +505,7 @@ module Aws::PI
|
|
447
505
|
# An immutable, AWS Region-unique identifier for a data source.
|
448
506
|
# Performance Insights gathers metrics from this data source.
|
449
507
|
#
|
450
|
-
# To use
|
508
|
+
# To use a DB instance as a data source, you specify its
|
451
509
|
# `DbiResourceId` value - for example: `db-FAIHNTYBKTGAUSUZQYPDS2GW4A`
|
452
510
|
# @return [String]
|
453
511
|
#
|
@@ -470,6 +528,7 @@ module Aws::PI
|
|
470
528
|
:identifier,
|
471
529
|
:metric_list,
|
472
530
|
:next_token)
|
531
|
+
SENSITIVE = []
|
473
532
|
include Aws::Structure
|
474
533
|
end
|
475
534
|
|
@@ -482,6 +541,7 @@ module Aws::PI
|
|
482
541
|
#
|
483
542
|
class InternalServiceError < Struct.new(
|
484
543
|
:message)
|
544
|
+
SENSITIVE = []
|
485
545
|
include Aws::Structure
|
486
546
|
end
|
487
547
|
|
@@ -494,10 +554,11 @@ module Aws::PI
|
|
494
554
|
#
|
495
555
|
class InvalidArgumentException < Struct.new(
|
496
556
|
:message)
|
557
|
+
SENSITIVE = []
|
497
558
|
include Aws::Structure
|
498
559
|
end
|
499
560
|
|
500
|
-
# A time-ordered series of data points,
|
561
|
+
# A time-ordered series of data points, corresponding to a dimension of
|
501
562
|
# a Performance Insights metric.
|
502
563
|
#
|
503
564
|
# @!attribute [rw] key
|
@@ -514,6 +575,7 @@ module Aws::PI
|
|
514
575
|
class MetricKeyDataPoints < Struct.new(
|
515
576
|
:key,
|
516
577
|
:data_points)
|
578
|
+
SENSITIVE = []
|
517
579
|
include Aws::Structure
|
518
580
|
end
|
519
581
|
|
@@ -548,6 +610,15 @@ module Aws::PI
|
|
548
610
|
#
|
549
611
|
# * `db.sampledload.avg` - the raw number of active sessions for the
|
550
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.
|
551
622
|
# @return [String]
|
552
623
|
#
|
553
624
|
# @!attribute [rw] group_by
|
@@ -574,6 +645,7 @@ module Aws::PI
|
|
574
645
|
:metric,
|
575
646
|
:group_by,
|
576
647
|
:filter)
|
648
|
+
SENSITIVE = []
|
577
649
|
include Aws::Structure
|
578
650
|
end
|
579
651
|
|
@@ -586,6 +658,7 @@ module Aws::PI
|
|
586
658
|
#
|
587
659
|
class NotAuthorizedException < Struct.new(
|
588
660
|
:message)
|
661
|
+
SENSITIVE = []
|
589
662
|
include Aws::Structure
|
590
663
|
end
|
591
664
|
|
@@ -601,6 +674,7 @@ module Aws::PI
|
|
601
674
|
#
|
602
675
|
class ResponsePartitionKey < Struct.new(
|
603
676
|
:dimensions)
|
677
|
+
SENSITIVE = []
|
604
678
|
include Aws::Structure
|
605
679
|
end
|
606
680
|
|
@@ -617,6 +691,15 @@ module Aws::PI
|
|
617
691
|
#
|
618
692
|
# * `db.sampledload.avg` - the raw number of active sessions for the
|
619
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.
|
620
703
|
# @return [String]
|
621
704
|
#
|
622
705
|
# @!attribute [rw] dimensions
|
@@ -628,6 +711,7 @@ module Aws::PI
|
|
628
711
|
class ResponseResourceMetricKey < Struct.new(
|
629
712
|
:metric,
|
630
713
|
:dimensions)
|
714
|
+
SENSITIVE = []
|
631
715
|
include Aws::Structure
|
632
716
|
end
|
633
717
|
|
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.25.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: 2020-
|
11
|
+
date: 2020-12-11 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|