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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a0960b8e9ea00e3d28f585b60e05a6dbef6e8d72
4
- data.tar.gz: 0fcd241ab2d11309756680cade459b9b9cd0ad38
3
+ metadata.gz: 7de67f7239ce4834398203f949c3d8671aa56445
4
+ data.tar.gz: bafd8674e4b7c3b41dea9ccd9b7c73907e8fde24
5
5
  SHA512:
6
- metadata.gz: 2233d6f5fda7170c04b850ebce601973dfcaa8831251657b208ce2456aa8ab8ebb6f68dffd50c70061e9c84b99d96b6af9d04ca355b709cf039f919e06c71d24
7
- data.tar.gz: 844ee4a7206c216d0a77c649185622351dd2f2847bbfeb9c1c1ef6400a259f65162c5c7d7a2f2625004b5d83b797d9d0a4255116fb04ec4d510bd118d23d1a3b
6
+ metadata.gz: 3bdff510745e5e5c5938840244fd73d7aab87cca3297047c2b80ee803e840c2e3235c9b91c9f2ca5ad467e9ee88452a4b9f16f890dcf8c304beb5b16825f4ed3
7
+ data.tar.gz: efebbae99bfeb7d78fc1c158b6b570a21e6633ce59dd291b7739ddaf1cd5945081643164b4de450861b0cdccc0b91cdba1bc29e071c66c11c720f715dd179556
data/lib/aws-sdk-pi.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-pi/customizations'
42
42
  # @service
43
43
  module Aws::PI
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -545,7 +545,7 @@ module Aws::PI
545
545
  params: params,
546
546
  config: config)
547
547
  context[:gem_name] = 'aws-sdk-pi'
548
- context[:gem_version] = '1.11.0'
548
+ context[:gem_version] = '1.12.0'
549
549
  Seahorse::Client::Request.new(handlers, context)
550
550
  end
551
551
 
@@ -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
 
@@ -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
@@ -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.11.0
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-15 00:00:00.000000000 Z
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.52.1
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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement