aws-sdk-pi 1.11.0 → 1.12.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 +1 -1
- data/lib/aws-sdk-pi/client.rb +1 -1
- data/lib/aws-sdk-pi/client_api.rb +9 -0
- data/lib/aws-sdk-pi/errors.rb +48 -0
- data/lib/aws-sdk-pi/types.rb +36 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7de67f7239ce4834398203f949c3d8671aa56445
|
4
|
+
data.tar.gz: bafd8674e4b7c3b41dea9ccd9b7c73907e8fde24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bdff510745e5e5c5938840244fd73d7aab87cca3297047c2b80ee803e840c2e3235c9b91c9f2ca5ad467e9ee88452a4b9f16f890dcf8c304beb5b16825f4ed3
|
7
|
+
data.tar.gz: efebbae99bfeb7d78fc1c158b6b570a21e6633ce59dd291b7739ddaf1cd5945081643164b4de450861b0cdccc0b91cdba1bc29e071c66c11c720f715dd179556
|
data/lib/aws-sdk-pi.rb
CHANGED
data/lib/aws-sdk-pi/client.rb
CHANGED
@@ -100,6 +100,12 @@ module Aws::PI
|
|
100
100
|
GetResourceMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
101
101
|
GetResourceMetricsResponse.struct_class = Types::GetResourceMetricsResponse
|
102
102
|
|
103
|
+
InternalServiceError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
104
|
+
InternalServiceError.struct_class = Types::InternalServiceError
|
105
|
+
|
106
|
+
InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
107
|
+
InvalidArgumentException.struct_class = Types::InvalidArgumentException
|
108
|
+
|
103
109
|
MetricKeyDataPoints.add_member(:key, Shapes::ShapeRef.new(shape: ResponseResourceMetricKey, location_name: "Key"))
|
104
110
|
MetricKeyDataPoints.add_member(:data_points, Shapes::ShapeRef.new(shape: DataPointsList, location_name: "DataPoints"))
|
105
111
|
MetricKeyDataPoints.struct_class = Types::MetricKeyDataPoints
|
@@ -118,6 +124,9 @@ module Aws::PI
|
|
118
124
|
|
119
125
|
MetricValuesList.member = Shapes::ShapeRef.new(shape: Double)
|
120
126
|
|
127
|
+
NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
128
|
+
NotAuthorizedException.struct_class = Types::NotAuthorizedException
|
129
|
+
|
121
130
|
ResponsePartitionKey.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionMap, required: true, location_name: "Dimensions"))
|
122
131
|
ResponsePartitionKey.struct_class = Types::ResponsePartitionKey
|
123
132
|
|
data/lib/aws-sdk-pi/errors.rb
CHANGED
@@ -10,5 +10,53 @@ module Aws::PI
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class InternalServiceError < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::PI::Types::InternalServiceError] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class InvalidArgumentException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::PI::Types::InvalidArgumentException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class NotAuthorizedException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::PI::Types::NotAuthorizedException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
13
61
|
end
|
14
62
|
end
|
data/lib/aws-sdk-pi/types.rb
CHANGED
@@ -473,6 +473,30 @@ module Aws::PI
|
|
473
473
|
include Aws::Structure
|
474
474
|
end
|
475
475
|
|
476
|
+
# The request failed due to an unknown error.
|
477
|
+
#
|
478
|
+
# @!attribute [rw] message
|
479
|
+
# @return [String]
|
480
|
+
#
|
481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/InternalServiceError AWS API Documentation
|
482
|
+
#
|
483
|
+
class InternalServiceError < Struct.new(
|
484
|
+
:message)
|
485
|
+
include Aws::Structure
|
486
|
+
end
|
487
|
+
|
488
|
+
# One of the arguments provided is invalid for this request.
|
489
|
+
#
|
490
|
+
# @!attribute [rw] message
|
491
|
+
# @return [String]
|
492
|
+
#
|
493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/InvalidArgumentException AWS API Documentation
|
494
|
+
#
|
495
|
+
class InvalidArgumentException < Struct.new(
|
496
|
+
:message)
|
497
|
+
include Aws::Structure
|
498
|
+
end
|
499
|
+
|
476
500
|
# A time-ordered series of data points, correpsonding to a dimension of
|
477
501
|
# a Performance Insights metric.
|
478
502
|
#
|
@@ -553,6 +577,18 @@ module Aws::PI
|
|
553
577
|
include Aws::Structure
|
554
578
|
end
|
555
579
|
|
580
|
+
# The user is not authorized to perform this request.
|
581
|
+
#
|
582
|
+
# @!attribute [rw] message
|
583
|
+
# @return [String]
|
584
|
+
#
|
585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/NotAuthorizedException AWS API Documentation
|
586
|
+
#
|
587
|
+
class NotAuthorizedException < Struct.new(
|
588
|
+
:message)
|
589
|
+
include Aws::Structure
|
590
|
+
end
|
591
|
+
|
556
592
|
# If `PartitionBy` was specified in a `DescribeDimensionKeys` request,
|
557
593
|
# the dimensions are returned in an array. Each element in the array
|
558
594
|
# specifies one dimension.
|
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.12.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: 2019-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|