aws-sdk-inspector 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 198263bb1772d3b1a039e0cdd96adf0156856836
4
- data.tar.gz: 9312288d568682717b606483d14a2cabc2a1d9c4
3
+ metadata.gz: dc17f23e67422a166ae95dbe3dd992a8bc7b6b4b
4
+ data.tar.gz: 65d5bf369ae58b62580382228f64ca90335142d2
5
5
  SHA512:
6
- metadata.gz: c340d40031a1a08db3d29002304ef65fe5a3793281f4b0920a3d626a29d27c61364cc3cec84a212139ae4f5b28659d4998b5fb85c6c1c8a9750e3e87221e42fd
7
- data.tar.gz: 63cb63792addb98b0461b388fd37f0d1d505f16231df744bd49226d78f8b3388d884d5e00e879bbbdfa938e02cf39a8699319c89c53702eb314a5a4793f909d1
6
+ metadata.gz: ea0c153ffe99b884696a6ce7ef5041086c0ab5216cd98b4a188520c459e82a8972742fd5a799cdf932fd02d3a4e4f1423d867cc1f23ddea8deadf2f70e89a801
7
+ data.tar.gz: 145e624556ec53c086e215a68f765591b3470f6c1d6f30e4a80ed42325defb85dbc5ce8ba078bf28c778e2e852ecfb534eff973392fd5d2b1909b829d4dbb656
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-inspector/customizations'
42
42
  # @service
43
43
  module Aws::Inspector
44
44
 
45
- GEM_VERSION = '1.18.0'
45
+ GEM_VERSION = '1.19.0'
46
46
 
47
47
  end
@@ -2900,7 +2900,7 @@ module Aws::Inspector
2900
2900
  params: params,
2901
2901
  config: config)
2902
2902
  context[:gem_name] = 'aws-sdk-inspector'
2903
- context[:gem_version] = '1.18.0'
2903
+ context[:gem_version] = '1.19.0'
2904
2904
  Seahorse::Client::Request.new(handlers, context)
2905
2905
  end
2906
2906
 
@@ -229,6 +229,11 @@ module Aws::Inspector
229
229
  UserAttributeList = Shapes::ListShape.new(name: 'UserAttributeList')
230
230
  Version = Shapes::StringShape.new(name: 'Version')
231
231
 
232
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
233
+ AccessDeniedException.add_member(:error_code, Shapes::ShapeRef.new(shape: AccessDeniedErrorCode, required: true, location_name: "errorCode"))
234
+ AccessDeniedException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
235
+ AccessDeniedException.struct_class = Types::AccessDeniedException
236
+
232
237
  AddAttributesToFindingsRequest.add_member(:finding_arns, Shapes::ShapeRef.new(shape: AddRemoveAttributesFindingArnList, required: true, location_name: "findingArns"))
233
238
  AddAttributesToFindingsRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "attributes"))
234
239
  AddAttributesToFindingsRequest.struct_class = Types::AddAttributesToFindingsRequest
@@ -266,6 +271,12 @@ module Aws::Inspector
266
271
 
267
272
  AgentPreviewList.member = Shapes::ShapeRef.new(shape: AgentPreview)
268
273
 
274
+ AgentsAlreadyRunningAssessmentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
275
+ AgentsAlreadyRunningAssessmentException.add_member(:agents, Shapes::ShapeRef.new(shape: AgentAlreadyRunningAssessmentList, required: true, location_name: "agents"))
276
+ AgentsAlreadyRunningAssessmentException.add_member(:agents_truncated, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "agentsTruncated"))
277
+ AgentsAlreadyRunningAssessmentException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
278
+ AgentsAlreadyRunningAssessmentException.struct_class = Types::AgentsAlreadyRunningAssessmentException
279
+
269
280
  AssessmentRulesPackageArnList.member = Shapes::ShapeRef.new(shape: Arn)
270
281
 
271
282
  AssessmentRun.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
@@ -310,6 +321,12 @@ module Aws::Inspector
310
321
 
311
322
  AssessmentRunInProgressArnList.member = Shapes::ShapeRef.new(shape: Arn)
312
323
 
324
+ AssessmentRunInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
325
+ AssessmentRunInProgressException.add_member(:assessment_run_arns, Shapes::ShapeRef.new(shape: AssessmentRunInProgressArnList, required: true, location_name: "assessmentRunArns"))
326
+ AssessmentRunInProgressException.add_member(:assessment_run_arns_truncated, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "assessmentRunArnsTruncated"))
327
+ AssessmentRunInProgressException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
328
+ AssessmentRunInProgressException.struct_class = Types::AssessmentRunInProgressException
329
+
313
330
  AssessmentRunList.member = Shapes::ShapeRef.new(shape: AssessmentRun)
314
331
 
315
332
  AssessmentRunNotification.add_member(:date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "date"))
@@ -582,10 +599,29 @@ module Aws::Inspector
582
599
  InspectorServiceAttributes.add_member(:rules_package_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "rulesPackageArn"))
583
600
  InspectorServiceAttributes.struct_class = Types::InspectorServiceAttributes
584
601
 
602
+ InternalException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
603
+ InternalException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
604
+ InternalException.struct_class = Types::InternalException
605
+
606
+ InvalidCrossAccountRoleException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
607
+ InvalidCrossAccountRoleException.add_member(:error_code, Shapes::ShapeRef.new(shape: InvalidCrossAccountRoleErrorCode, required: true, location_name: "errorCode"))
608
+ InvalidCrossAccountRoleException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
609
+ InvalidCrossAccountRoleException.struct_class = Types::InvalidCrossAccountRoleException
610
+
611
+ InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
612
+ InvalidInputException.add_member(:error_code, Shapes::ShapeRef.new(shape: InvalidInputErrorCode, required: true, location_name: "errorCode"))
613
+ InvalidInputException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
614
+ InvalidInputException.struct_class = Types::InvalidInputException
615
+
585
616
  Ipv4AddressList.member = Shapes::ShapeRef.new(shape: Ipv4Address)
586
617
 
587
618
  Ipv6Addresses.member = Shapes::ShapeRef.new(shape: Text)
588
619
 
620
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
621
+ LimitExceededException.add_member(:error_code, Shapes::ShapeRef.new(shape: LimitExceededErrorCode, required: true, location_name: "errorCode"))
622
+ LimitExceededException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
623
+ LimitExceededException.struct_class = Types::LimitExceededException
624
+
589
625
  ListAssessmentRunAgentsRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
590
626
  ListAssessmentRunAgentsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AgentFilter, location_name: "filter"))
591
627
  ListAssessmentRunAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -685,6 +721,11 @@ module Aws::Inspector
685
721
 
686
722
  NetworkInterfaces.member = Shapes::ShapeRef.new(shape: NetworkInterface)
687
723
 
724
+ NoSuchEntityException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
725
+ NoSuchEntityException.add_member(:error_code, Shapes::ShapeRef.new(shape: NoSuchEntityErrorCode, required: true, location_name: "errorCode"))
726
+ NoSuchEntityException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
727
+ NoSuchEntityException.struct_class = Types::NoSuchEntityException
728
+
688
729
  PreviewAgentsRequest.add_member(:preview_agents_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "previewAgentsArn"))
689
730
  PreviewAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
690
731
  PreviewAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PreviewAgentsMaxResults, location_name: "maxResults"))
@@ -694,6 +735,9 @@ module Aws::Inspector
694
735
  PreviewAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
695
736
  PreviewAgentsResponse.struct_class = Types::PreviewAgentsResponse
696
737
 
738
+ PreviewGenerationInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
739
+ PreviewGenerationInProgressException.struct_class = Types::PreviewGenerationInProgressException
740
+
697
741
  PrivateIp.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: Text, location_name: "privateDnsName"))
698
742
  PrivateIp.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: Text, location_name: "privateIpAddress"))
699
743
  PrivateIp.struct_class = Types::PrivateIp
@@ -746,6 +790,10 @@ module Aws::Inspector
746
790
 
747
791
  SecurityGroups.member = Shapes::ShapeRef.new(shape: SecurityGroup)
748
792
 
793
+ ServiceTemporarilyUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
794
+ ServiceTemporarilyUnavailableException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
795
+ ServiceTemporarilyUnavailableException.struct_class = Types::ServiceTemporarilyUnavailableException
796
+
749
797
  SetTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
750
798
  SetTagsForResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
751
799
  SetTagsForResourceRequest.struct_class = Types::SetTagsForResourceRequest
@@ -799,6 +847,10 @@ module Aws::Inspector
799
847
  UnsubscribeFromEventRequest.add_member(:topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "topicArn"))
800
848
  UnsubscribeFromEventRequest.struct_class = Types::UnsubscribeFromEventRequest
801
849
 
850
+ UnsupportedFeatureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
851
+ UnsupportedFeatureException.add_member(:can_retry, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "canRetry"))
852
+ UnsupportedFeatureException.struct_class = Types::UnsupportedFeatureException
853
+
802
854
  UpdateAssessmentTargetRequest.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
803
855
  UpdateAssessmentTargetRequest.add_member(:assessment_target_name, Shapes::ShapeRef.new(shape: AssessmentTargetName, required: true, location_name: "assessmentTargetName"))
804
856
  UpdateAssessmentTargetRequest.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceGroupArn"))
@@ -10,5 +10,276 @@ module Aws::Inspector
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Inspector::Types::AccessDeniedException] 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
+ # @return [String]
28
+ def error_code
29
+ @data[:error_code]
30
+ end
31
+
32
+ # @return [String]
33
+ def can_retry
34
+ @data[:can_retry]
35
+ end
36
+
37
+ end
38
+
39
+ class AgentsAlreadyRunningAssessmentException < ServiceError
40
+
41
+ # @param [Seahorse::Client::RequestContext] context
42
+ # @param [String] message
43
+ # @param [Aws::Inspector::Types::AgentsAlreadyRunningAssessmentException] data
44
+ def initialize(context, message, data = Aws::EmptyStructure.new)
45
+ super(context, message, data)
46
+ end
47
+
48
+ # @return [String]
49
+ def message
50
+ @message || @data[:message]
51
+ end
52
+
53
+ # @return [String]
54
+ def agents
55
+ @data[:agents]
56
+ end
57
+
58
+ # @return [String]
59
+ def agents_truncated
60
+ @data[:agents_truncated]
61
+ end
62
+
63
+ # @return [String]
64
+ def can_retry
65
+ @data[:can_retry]
66
+ end
67
+
68
+ end
69
+
70
+ class AssessmentRunInProgressException < ServiceError
71
+
72
+ # @param [Seahorse::Client::RequestContext] context
73
+ # @param [String] message
74
+ # @param [Aws::Inspector::Types::AssessmentRunInProgressException] data
75
+ def initialize(context, message, data = Aws::EmptyStructure.new)
76
+ super(context, message, data)
77
+ end
78
+
79
+ # @return [String]
80
+ def message
81
+ @message || @data[:message]
82
+ end
83
+
84
+ # @return [String]
85
+ def assessment_run_arns
86
+ @data[:assessment_run_arns]
87
+ end
88
+
89
+ # @return [String]
90
+ def assessment_run_arns_truncated
91
+ @data[:assessment_run_arns_truncated]
92
+ end
93
+
94
+ # @return [String]
95
+ def can_retry
96
+ @data[:can_retry]
97
+ end
98
+
99
+ end
100
+
101
+ class InternalException < ServiceError
102
+
103
+ # @param [Seahorse::Client::RequestContext] context
104
+ # @param [String] message
105
+ # @param [Aws::Inspector::Types::InternalException] data
106
+ def initialize(context, message, data = Aws::EmptyStructure.new)
107
+ super(context, message, data)
108
+ end
109
+
110
+ # @return [String]
111
+ def message
112
+ @message || @data[:message]
113
+ end
114
+
115
+ # @return [String]
116
+ def can_retry
117
+ @data[:can_retry]
118
+ end
119
+
120
+ end
121
+
122
+ class InvalidCrossAccountRoleException < ServiceError
123
+
124
+ # @param [Seahorse::Client::RequestContext] context
125
+ # @param [String] message
126
+ # @param [Aws::Inspector::Types::InvalidCrossAccountRoleException] data
127
+ def initialize(context, message, data = Aws::EmptyStructure.new)
128
+ super(context, message, data)
129
+ end
130
+
131
+ # @return [String]
132
+ def message
133
+ @message || @data[:message]
134
+ end
135
+
136
+ # @return [String]
137
+ def error_code
138
+ @data[:error_code]
139
+ end
140
+
141
+ # @return [String]
142
+ def can_retry
143
+ @data[:can_retry]
144
+ end
145
+
146
+ end
147
+
148
+ class InvalidInputException < ServiceError
149
+
150
+ # @param [Seahorse::Client::RequestContext] context
151
+ # @param [String] message
152
+ # @param [Aws::Inspector::Types::InvalidInputException] data
153
+ def initialize(context, message, data = Aws::EmptyStructure.new)
154
+ super(context, message, data)
155
+ end
156
+
157
+ # @return [String]
158
+ def message
159
+ @message || @data[:message]
160
+ end
161
+
162
+ # @return [String]
163
+ def error_code
164
+ @data[:error_code]
165
+ end
166
+
167
+ # @return [String]
168
+ def can_retry
169
+ @data[:can_retry]
170
+ end
171
+
172
+ end
173
+
174
+ class LimitExceededException < ServiceError
175
+
176
+ # @param [Seahorse::Client::RequestContext] context
177
+ # @param [String] message
178
+ # @param [Aws::Inspector::Types::LimitExceededException] data
179
+ def initialize(context, message, data = Aws::EmptyStructure.new)
180
+ super(context, message, data)
181
+ end
182
+
183
+ # @return [String]
184
+ def message
185
+ @message || @data[:message]
186
+ end
187
+
188
+ # @return [String]
189
+ def error_code
190
+ @data[:error_code]
191
+ end
192
+
193
+ # @return [String]
194
+ def can_retry
195
+ @data[:can_retry]
196
+ end
197
+
198
+ end
199
+
200
+ class NoSuchEntityException < ServiceError
201
+
202
+ # @param [Seahorse::Client::RequestContext] context
203
+ # @param [String] message
204
+ # @param [Aws::Inspector::Types::NoSuchEntityException] data
205
+ def initialize(context, message, data = Aws::EmptyStructure.new)
206
+ super(context, message, data)
207
+ end
208
+
209
+ # @return [String]
210
+ def message
211
+ @message || @data[:message]
212
+ end
213
+
214
+ # @return [String]
215
+ def error_code
216
+ @data[:error_code]
217
+ end
218
+
219
+ # @return [String]
220
+ def can_retry
221
+ @data[:can_retry]
222
+ end
223
+
224
+ end
225
+
226
+ class PreviewGenerationInProgressException < ServiceError
227
+
228
+ # @param [Seahorse::Client::RequestContext] context
229
+ # @param [String] message
230
+ # @param [Aws::Inspector::Types::PreviewGenerationInProgressException] data
231
+ def initialize(context, message, data = Aws::EmptyStructure.new)
232
+ super(context, message, data)
233
+ end
234
+
235
+ # @return [String]
236
+ def message
237
+ @message || @data[:message]
238
+ end
239
+
240
+ end
241
+
242
+ class ServiceTemporarilyUnavailableException < ServiceError
243
+
244
+ # @param [Seahorse::Client::RequestContext] context
245
+ # @param [String] message
246
+ # @param [Aws::Inspector::Types::ServiceTemporarilyUnavailableException] data
247
+ def initialize(context, message, data = Aws::EmptyStructure.new)
248
+ super(context, message, data)
249
+ end
250
+
251
+ # @return [String]
252
+ def message
253
+ @message || @data[:message]
254
+ end
255
+
256
+ # @return [String]
257
+ def can_retry
258
+ @data[:can_retry]
259
+ end
260
+
261
+ end
262
+
263
+ class UnsupportedFeatureException < ServiceError
264
+
265
+ # @param [Seahorse::Client::RequestContext] context
266
+ # @param [String] message
267
+ # @param [Aws::Inspector::Types::UnsupportedFeatureException] data
268
+ def initialize(context, message, data = Aws::EmptyStructure.new)
269
+ super(context, message, data)
270
+ end
271
+
272
+ # @return [String]
273
+ def message
274
+ @message || @data[:message]
275
+ end
276
+
277
+ # @return [String]
278
+ def can_retry
279
+ @data[:can_retry]
280
+ end
281
+
282
+ end
283
+
13
284
  end
14
285
  end
@@ -8,6 +8,29 @@
8
8
  module Aws::Inspector
9
9
  module Types
10
10
 
11
+ # You do not have required permissions to access the requested resource.
12
+ #
13
+ # @!attribute [rw] message
14
+ # Details of the exception error.
15
+ # @return [String]
16
+ #
17
+ # @!attribute [rw] error_code
18
+ # Code that indicates the type of error that is generated.
19
+ # @return [String]
20
+ #
21
+ # @!attribute [rw] can_retry
22
+ # You can immediately retry your request.
23
+ # @return [Boolean]
24
+ #
25
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AccessDeniedException AWS API Documentation
26
+ #
27
+ class AccessDeniedException < Struct.new(
28
+ :message,
29
+ :error_code,
30
+ :can_retry)
31
+ include Aws::Structure
32
+ end
33
+
11
34
  # @note When making an API call, you may pass AddAttributesToFindingsRequest
12
35
  # data as a hash:
13
36
  #
@@ -155,6 +178,33 @@ module Aws::Inspector
155
178
  include Aws::Structure
156
179
  end
157
180
 
181
+ # You started an assessment run, but one of the instances is already
182
+ # participating in another assessment run.
183
+ #
184
+ # @!attribute [rw] message
185
+ # Details of the exception error.
186
+ # @return [String]
187
+ #
188
+ # @!attribute [rw] agents
189
+ # @return [Array<Types::AgentAlreadyRunningAssessment>]
190
+ #
191
+ # @!attribute [rw] agents_truncated
192
+ # @return [Boolean]
193
+ #
194
+ # @!attribute [rw] can_retry
195
+ # You can immediately retry your request.
196
+ # @return [Boolean]
197
+ #
198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentsAlreadyRunningAssessmentException AWS API Documentation
199
+ #
200
+ class AgentsAlreadyRunningAssessmentException < Struct.new(
201
+ :message,
202
+ :agents,
203
+ :agents_truncated,
204
+ :can_retry)
205
+ include Aws::Structure
206
+ end
207
+
158
208
  # A snapshot of an Amazon Inspector assessment run that contains the
159
209
  # findings of the assessment run .
160
210
  #
@@ -379,6 +429,36 @@ module Aws::Inspector
379
429
  include Aws::Structure
380
430
  end
381
431
 
432
+ # You cannot perform a specified action if an assessment run is
433
+ # currently in progress.
434
+ #
435
+ # @!attribute [rw] message
436
+ # Details of the exception error.
437
+ # @return [String]
438
+ #
439
+ # @!attribute [rw] assessment_run_arns
440
+ # The ARNs of the assessment runs that are currently in progress.
441
+ # @return [Array<String>]
442
+ #
443
+ # @!attribute [rw] assessment_run_arns_truncated
444
+ # Boolean value that indicates whether the ARN list of the assessment
445
+ # runs is truncated.
446
+ # @return [Boolean]
447
+ #
448
+ # @!attribute [rw] can_retry
449
+ # You can immediately retry your request.
450
+ # @return [Boolean]
451
+ #
452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunInProgressException AWS API Documentation
453
+ #
454
+ class AssessmentRunInProgressException < Struct.new(
455
+ :message,
456
+ :assessment_run_arns,
457
+ :assessment_run_arns_truncated,
458
+ :can_retry)
459
+ include Aws::Structure
460
+ end
461
+
382
462
  # Used as one of the elements of the AssessmentRun data type.
383
463
  #
384
464
  # @!attribute [rw] date
@@ -1720,6 +1800,97 @@ module Aws::Inspector
1720
1800
  include Aws::Structure
1721
1801
  end
1722
1802
 
1803
+ # Internal server error.
1804
+ #
1805
+ # @!attribute [rw] message
1806
+ # Details of the exception error.
1807
+ # @return [String]
1808
+ #
1809
+ # @!attribute [rw] can_retry
1810
+ # You can immediately retry your request.
1811
+ # @return [Boolean]
1812
+ #
1813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/InternalException AWS API Documentation
1814
+ #
1815
+ class InternalException < Struct.new(
1816
+ :message,
1817
+ :can_retry)
1818
+ include Aws::Structure
1819
+ end
1820
+
1821
+ # Amazon Inspector cannot assume the cross-account role that it needs to
1822
+ # list your EC2 instances during the assessment run.
1823
+ #
1824
+ # @!attribute [rw] message
1825
+ # Details of the exception error.
1826
+ # @return [String]
1827
+ #
1828
+ # @!attribute [rw] error_code
1829
+ # Code that indicates the type of error that is generated.
1830
+ # @return [String]
1831
+ #
1832
+ # @!attribute [rw] can_retry
1833
+ # You can immediately retry your request.
1834
+ # @return [Boolean]
1835
+ #
1836
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/InvalidCrossAccountRoleException AWS API Documentation
1837
+ #
1838
+ class InvalidCrossAccountRoleException < Struct.new(
1839
+ :message,
1840
+ :error_code,
1841
+ :can_retry)
1842
+ include Aws::Structure
1843
+ end
1844
+
1845
+ # The request was rejected because an invalid or out-of-range value was
1846
+ # supplied for an input parameter.
1847
+ #
1848
+ # @!attribute [rw] message
1849
+ # Details of the exception error.
1850
+ # @return [String]
1851
+ #
1852
+ # @!attribute [rw] error_code
1853
+ # Code that indicates the type of error that is generated.
1854
+ # @return [String]
1855
+ #
1856
+ # @!attribute [rw] can_retry
1857
+ # You can immediately retry your request.
1858
+ # @return [Boolean]
1859
+ #
1860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/InvalidInputException AWS API Documentation
1861
+ #
1862
+ class InvalidInputException < Struct.new(
1863
+ :message,
1864
+ :error_code,
1865
+ :can_retry)
1866
+ include Aws::Structure
1867
+ end
1868
+
1869
+ # The request was rejected because it attempted to create resources
1870
+ # beyond the current AWS account limits. The error code describes the
1871
+ # limit exceeded.
1872
+ #
1873
+ # @!attribute [rw] message
1874
+ # Details of the exception error.
1875
+ # @return [String]
1876
+ #
1877
+ # @!attribute [rw] error_code
1878
+ # Code that indicates the type of error that is generated.
1879
+ # @return [String]
1880
+ #
1881
+ # @!attribute [rw] can_retry
1882
+ # You can immediately retry your request.
1883
+ # @return [Boolean]
1884
+ #
1885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/LimitExceededException AWS API Documentation
1886
+ #
1887
+ class LimitExceededException < Struct.new(
1888
+ :message,
1889
+ :error_code,
1890
+ :can_retry)
1891
+ include Aws::Structure
1892
+ end
1893
+
1723
1894
  # @note When making an API call, you may pass ListAssessmentRunAgentsRequest
1724
1895
  # data as a hash:
1725
1896
  #
@@ -2367,6 +2538,30 @@ module Aws::Inspector
2367
2538
  include Aws::Structure
2368
2539
  end
2369
2540
 
2541
+ # The request was rejected because it referenced an entity that does not
2542
+ # exist. The error code describes the entity.
2543
+ #
2544
+ # @!attribute [rw] message
2545
+ # Details of the exception error.
2546
+ # @return [String]
2547
+ #
2548
+ # @!attribute [rw] error_code
2549
+ # Code that indicates the type of error that is generated.
2550
+ # @return [String]
2551
+ #
2552
+ # @!attribute [rw] can_retry
2553
+ # You can immediately retry your request.
2554
+ # @return [Boolean]
2555
+ #
2556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/NoSuchEntityException AWS API Documentation
2557
+ #
2558
+ class NoSuchEntityException < Struct.new(
2559
+ :message,
2560
+ :error_code,
2561
+ :can_retry)
2562
+ include Aws::Structure
2563
+ end
2564
+
2370
2565
  # @note When making an API call, you may pass PreviewAgentsRequest
2371
2566
  # data as a hash:
2372
2567
  #
@@ -2423,6 +2618,19 @@ module Aws::Inspector
2423
2618
  include Aws::Structure
2424
2619
  end
2425
2620
 
2621
+ # The request is rejected. The specified assessment template is
2622
+ # currently generating an exclusions preview.
2623
+ #
2624
+ # @!attribute [rw] message
2625
+ # @return [String]
2626
+ #
2627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewGenerationInProgressException AWS API Documentation
2628
+ #
2629
+ class PreviewGenerationInProgressException < Struct.new(
2630
+ :message)
2631
+ include Aws::Structure
2632
+ end
2633
+
2426
2634
  # Contains information about a private IP address associated with a
2427
2635
  # network interface. This data type is used as a response element in the
2428
2636
  # DescribeFindings action.
@@ -2628,6 +2836,24 @@ module Aws::Inspector
2628
2836
  include Aws::Structure
2629
2837
  end
2630
2838
 
2839
+ # The serice is temporary unavailable.
2840
+ #
2841
+ # @!attribute [rw] message
2842
+ # Details of the exception error.
2843
+ # @return [String]
2844
+ #
2845
+ # @!attribute [rw] can_retry
2846
+ # You can wait and then retry your request.
2847
+ # @return [Boolean]
2848
+ #
2849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ServiceTemporarilyUnavailableException AWS API Documentation
2850
+ #
2851
+ class ServiceTemporarilyUnavailableException < Struct.new(
2852
+ :message,
2853
+ :can_retry)
2854
+ include Aws::Structure
2855
+ end
2856
+
2631
2857
  # @note When making an API call, you may pass SetTagsForResourceRequest
2632
2858
  # data as a hash:
2633
2859
  #
@@ -2893,6 +3119,26 @@ module Aws::Inspector
2893
3119
  include Aws::Structure
2894
3120
  end
2895
3121
 
3122
+ # Used by the GetAssessmentReport API. The request was rejected because
3123
+ # you tried to generate a report for an assessment run that existed
3124
+ # before reporting was supported in Amazon Inspector. You can only
3125
+ # generate reports for assessment runs that took place or will take
3126
+ # place after generating reports in Amazon Inspector became available.
3127
+ #
3128
+ # @!attribute [rw] message
3129
+ # @return [String]
3130
+ #
3131
+ # @!attribute [rw] can_retry
3132
+ # @return [Boolean]
3133
+ #
3134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsupportedFeatureException AWS API Documentation
3135
+ #
3136
+ class UnsupportedFeatureException < Struct.new(
3137
+ :message,
3138
+ :can_retry)
3139
+ include Aws::Structure
3140
+ end
3141
+
2896
3142
  # @note When making an API call, you may pass UpdateAssessmentTargetRequest
2897
3143
  # data as a hash:
2898
3144
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-inspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.19.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