aws-sdk-resourcegroups 1.16.0 → 1.17.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: 1428b9f58023e098b7feb180d588f4acb83de979
4
- data.tar.gz: c54015abe7b63a878daf34daf7dac2a4e91e1c3c
3
+ metadata.gz: 8914b330b6af6eef3cb8ff49703fd0b8047de669
4
+ data.tar.gz: 6d223a0b231b0ece1154e6b11ad38dbfd6b9bdf9
5
5
  SHA512:
6
- metadata.gz: afb2e6b556eec20d2c4cee551b5a9dedf69a01c962e2059ceb994133d33bbeca88cdb7608295b15c43c0132959d2a33a0c815ad27938bc5a383ff9687c4b36b3
7
- data.tar.gz: 7fe8acfa0e2d1784f172cfe570b5c355a3b42cb13e9571c30bf448af0f91f8635f664d71e27689483845b02934f0b7b677196e1ca93d6beb1844b8e83283c845
6
+ metadata.gz: 9bef9679e0e63655f27839a2a02c573dfbcfc43088a850cf1f15fa92a05c6cc5efc770cfd6ed874f8e7e39b3d3ae9a539493c93f2c6c48c3334f27c2b72baeda
7
+ data.tar.gz: cfb37c9c040042b02df45a0588c7dadca951a10c7c41f0d286fcdaa7513bff5958646c86cbcbc5a580647d9ef84a1b202fe60939dcdb357ab223df083c352692
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-resourcegroups/customizations'
42
42
  # @service
43
43
  module Aws::ResourceGroups
44
44
 
45
- GEM_VERSION = '1.16.0'
45
+ GEM_VERSION = '1.17.0'
46
46
 
47
47
  end
@@ -785,7 +785,7 @@ module Aws::ResourceGroups
785
785
  params: params,
786
786
  config: config)
787
787
  context[:gem_name] = 'aws-sdk-resourcegroups'
788
- context[:gem_version] = '1.16.0'
788
+ context[:gem_version] = '1.17.0'
789
789
  Seahorse::Client::Request.new(handlers, context)
790
790
  end
791
791
 
@@ -79,6 +79,9 @@ module Aws::ResourceGroups
79
79
  UpdateGroupQueryInput = Shapes::StructureShape.new(name: 'UpdateGroupQueryInput')
80
80
  UpdateGroupQueryOutput = Shapes::StructureShape.new(name: 'UpdateGroupQueryOutput')
81
81
 
82
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
83
+ BadRequestException.struct_class = Types::BadRequestException
84
+
82
85
  CreateGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "Name"))
83
86
  CreateGroupInput.add_member(:description, Shapes::ShapeRef.new(shape: GroupDescription, location_name: "Description"))
84
87
  CreateGroupInput.add_member(:resource_query, Shapes::ShapeRef.new(shape: ResourceQuery, required: true, location_name: "ResourceQuery"))
@@ -96,6 +99,9 @@ module Aws::ResourceGroups
96
99
  DeleteGroupOutput.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
97
100
  DeleteGroupOutput.struct_class = Types::DeleteGroupOutput
98
101
 
102
+ ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
103
+ ForbiddenException.struct_class = Types::ForbiddenException
104
+
99
105
  GetGroupInput.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location: "uri", location_name: "GroupName"))
100
106
  GetGroupInput.struct_class = Types::GetGroupInput
101
107
 
@@ -140,6 +146,9 @@ module Aws::ResourceGroups
140
146
  GroupQuery.add_member(:resource_query, Shapes::ShapeRef.new(shape: ResourceQuery, required: true, location_name: "ResourceQuery"))
141
147
  GroupQuery.struct_class = Types::GroupQuery
142
148
 
149
+ InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
150
+ InternalServerErrorException.struct_class = Types::InternalServerErrorException
151
+
143
152
  ListGroupResourcesInput.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location: "uri", location_name: "GroupName"))
144
153
  ListGroupResourcesInput.add_member(:filters, Shapes::ShapeRef.new(shape: ResourceFilterList, location_name: "Filters"))
145
154
  ListGroupResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -161,6 +170,12 @@ module Aws::ResourceGroups
161
170
  ListGroupsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
162
171
  ListGroupsOutput.struct_class = Types::ListGroupsOutput
163
172
 
173
+ MethodNotAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
174
+ MethodNotAllowedException.struct_class = Types::MethodNotAllowedException
175
+
176
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
177
+ NotFoundException.struct_class = Types::NotFoundException
178
+
164
179
  QueryError.add_member(:error_code, Shapes::ShapeRef.new(shape: QueryErrorCode, location_name: "ErrorCode"))
165
180
  QueryError.add_member(:message, Shapes::ShapeRef.new(shape: QueryErrorMessage, location_name: "Message"))
166
181
  QueryError.struct_class = Types::QueryError
@@ -208,6 +223,12 @@ module Aws::ResourceGroups
208
223
  Tags.key = Shapes::ShapeRef.new(shape: TagKey)
209
224
  Tags.value = Shapes::ShapeRef.new(shape: TagValue)
210
225
 
226
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
227
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
228
+
229
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
230
+ UnauthorizedException.struct_class = Types::UnauthorizedException
231
+
211
232
  UntagInput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, required: true, location: "uri", location_name: "Arn"))
212
233
  UntagInput.add_member(:keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "Keys"))
213
234
  UntagInput.struct_class = Types::UntagInput
@@ -10,5 +10,117 @@ module Aws::ResourceGroups
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class BadRequestException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::ResourceGroups::Types::BadRequestException] 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 ForbiddenException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::ResourceGroups::Types::ForbiddenException] 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 InternalServerErrorException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::ResourceGroups::Types::InternalServerErrorException] 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
+
61
+ class MethodNotAllowedException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::ResourceGroups::Types::MethodNotAllowedException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class NotFoundException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::ResourceGroups::Types::NotFoundException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class TooManyRequestsException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::ResourceGroups::Types::TooManyRequestsException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class UnauthorizedException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::ResourceGroups::Types::UnauthorizedException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
13
125
  end
14
126
  end
@@ -8,6 +8,19 @@
8
8
  module Aws::ResourceGroups
9
9
  module Types
10
10
 
11
+ # The request does not comply with validation rules that are defined for
12
+ # the request parameters.
13
+ #
14
+ # @!attribute [rw] message
15
+ # @return [String]
16
+ #
17
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/BadRequestException AWS API Documentation
18
+ #
19
+ class BadRequestException < Struct.new(
20
+ :message)
21
+ include Aws::Structure
22
+ end
23
+
11
24
  # @note When making an API call, you may pass CreateGroupInput
12
25
  # data as a hash:
13
26
  #
@@ -110,6 +123,18 @@ module Aws::ResourceGroups
110
123
  include Aws::Structure
111
124
  end
112
125
 
126
+ # The caller is not authorized to make the request.
127
+ #
128
+ # @!attribute [rw] message
129
+ # @return [String]
130
+ #
131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ForbiddenException AWS API Documentation
132
+ #
133
+ class ForbiddenException < Struct.new(
134
+ :message)
135
+ include Aws::Structure
136
+ end
137
+
113
138
  # @note When making an API call, you may pass GetGroupInput
114
139
  # data as a hash:
115
140
  #
@@ -293,6 +318,18 @@ module Aws::ResourceGroups
293
318
  include Aws::Structure
294
319
  end
295
320
 
321
+ # An internal error occurred while processing the request.
322
+ #
323
+ # @!attribute [rw] message
324
+ # @return [String]
325
+ #
326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/InternalServerErrorException AWS API Documentation
327
+ #
328
+ class InternalServerErrorException < Struct.new(
329
+ :message)
330
+ include Aws::Structure
331
+ end
332
+
296
333
  # @note When making an API call, you may pass ListGroupResourcesInput
297
334
  # data as a hash:
298
335
  #
@@ -440,6 +477,31 @@ module Aws::ResourceGroups
440
477
  include Aws::Structure
441
478
  end
442
479
 
480
+ # The request uses an HTTP method which is not allowed for the specified
481
+ # resource.
482
+ #
483
+ # @!attribute [rw] message
484
+ # @return [String]
485
+ #
486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/MethodNotAllowedException AWS API Documentation
487
+ #
488
+ class MethodNotAllowedException < Struct.new(
489
+ :message)
490
+ include Aws::Structure
491
+ end
492
+
493
+ # One or more resources specified in the request do not exist.
494
+ #
495
+ # @!attribute [rw] message
496
+ # @return [String]
497
+ #
498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/NotFoundException AWS API Documentation
499
+ #
500
+ class NotFoundException < Struct.new(
501
+ :message)
502
+ include Aws::Structure
503
+ end
504
+
443
505
  # A two-part error structure that can occur in `ListGroupResources` or
444
506
  # `SearchResources` operations on CloudFormation stack-based queries.
445
507
  # The error occurs if the CloudFormation stack on which the query is
@@ -695,6 +757,31 @@ module Aws::ResourceGroups
695
757
  include Aws::Structure
696
758
  end
697
759
 
760
+ # The caller has exceeded throttling limits.
761
+ #
762
+ # @!attribute [rw] message
763
+ # @return [String]
764
+ #
765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/TooManyRequestsException AWS API Documentation
766
+ #
767
+ class TooManyRequestsException < Struct.new(
768
+ :message)
769
+ include Aws::Structure
770
+ end
771
+
772
+ # The request has not been applied because it lacks valid authentication
773
+ # credentials for the target resource.
774
+ #
775
+ # @!attribute [rw] message
776
+ # @return [String]
777
+ #
778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UnauthorizedException AWS API Documentation
779
+ #
780
+ class UnauthorizedException < Struct.new(
781
+ :message)
782
+ include Aws::Structure
783
+ end
784
+
698
785
  # @note When making an API call, you may pass UntagInput
699
786
  # data as a hash:
700
787
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-resourcegroups
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.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