aws-sdk-inspector 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,1047 +1,1045 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module Inspector
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- AccessDeniedErrorCode = Shapes::StringShape.new(name: 'AccessDeniedErrorCode')
16
- AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
- AddAttributesToFindingsRequest = Shapes::StructureShape.new(name: 'AddAttributesToFindingsRequest')
18
- AddAttributesToFindingsResponse = Shapes::StructureShape.new(name: 'AddAttributesToFindingsResponse')
19
- AddRemoveAttributesFindingArnList = Shapes::ListShape.new(name: 'AddRemoveAttributesFindingArnList')
20
- AgentAlreadyRunningAssessment = Shapes::StructureShape.new(name: 'AgentAlreadyRunningAssessment')
21
- AgentAlreadyRunningAssessmentList = Shapes::ListShape.new(name: 'AgentAlreadyRunningAssessmentList')
22
- AgentFilter = Shapes::StructureShape.new(name: 'AgentFilter')
23
- AgentHealth = Shapes::StringShape.new(name: 'AgentHealth')
24
- AgentHealthCode = Shapes::StringShape.new(name: 'AgentHealthCode')
25
- AgentHealthCodeList = Shapes::ListShape.new(name: 'AgentHealthCodeList')
26
- AgentHealthList = Shapes::ListShape.new(name: 'AgentHealthList')
27
- AgentId = Shapes::StringShape.new(name: 'AgentId')
28
- AgentIdList = Shapes::ListShape.new(name: 'AgentIdList')
29
- AgentPreview = Shapes::StructureShape.new(name: 'AgentPreview')
30
- AgentPreviewList = Shapes::ListShape.new(name: 'AgentPreviewList')
31
- AgentsAlreadyRunningAssessmentException = Shapes::StructureShape.new(name: 'AgentsAlreadyRunningAssessmentException')
32
- AmiId = Shapes::StringShape.new(name: 'AmiId')
33
- Arn = Shapes::StringShape.new(name: 'Arn')
34
- AssessmentRulesPackageArnList = Shapes::ListShape.new(name: 'AssessmentRulesPackageArnList')
35
- AssessmentRun = Shapes::StructureShape.new(name: 'AssessmentRun')
36
- AssessmentRunAgent = Shapes::StructureShape.new(name: 'AssessmentRunAgent')
37
- AssessmentRunAgentList = Shapes::ListShape.new(name: 'AssessmentRunAgentList')
38
- AssessmentRunDuration = Shapes::IntegerShape.new(name: 'AssessmentRunDuration')
39
- AssessmentRunFilter = Shapes::StructureShape.new(name: 'AssessmentRunFilter')
40
- AssessmentRunInProgressArnList = Shapes::ListShape.new(name: 'AssessmentRunInProgressArnList')
41
- AssessmentRunInProgressException = Shapes::StructureShape.new(name: 'AssessmentRunInProgressException')
42
- AssessmentRunList = Shapes::ListShape.new(name: 'AssessmentRunList')
43
- AssessmentRunName = Shapes::StringShape.new(name: 'AssessmentRunName')
44
- AssessmentRunNotification = Shapes::StructureShape.new(name: 'AssessmentRunNotification')
45
- AssessmentRunNotificationList = Shapes::ListShape.new(name: 'AssessmentRunNotificationList')
46
- AssessmentRunNotificationSnsStatusCode = Shapes::StringShape.new(name: 'AssessmentRunNotificationSnsStatusCode')
47
- AssessmentRunState = Shapes::StringShape.new(name: 'AssessmentRunState')
48
- AssessmentRunStateChange = Shapes::StructureShape.new(name: 'AssessmentRunStateChange')
49
- AssessmentRunStateChangeList = Shapes::ListShape.new(name: 'AssessmentRunStateChangeList')
50
- AssessmentRunStateList = Shapes::ListShape.new(name: 'AssessmentRunStateList')
51
- AssessmentTarget = Shapes::StructureShape.new(name: 'AssessmentTarget')
52
- AssessmentTargetFilter = Shapes::StructureShape.new(name: 'AssessmentTargetFilter')
53
- AssessmentTargetList = Shapes::ListShape.new(name: 'AssessmentTargetList')
54
- AssessmentTargetName = Shapes::StringShape.new(name: 'AssessmentTargetName')
55
- AssessmentTemplate = Shapes::StructureShape.new(name: 'AssessmentTemplate')
56
- AssessmentTemplateFilter = Shapes::StructureShape.new(name: 'AssessmentTemplateFilter')
57
- AssessmentTemplateList = Shapes::ListShape.new(name: 'AssessmentTemplateList')
58
- AssessmentTemplateName = Shapes::StringShape.new(name: 'AssessmentTemplateName')
59
- AssessmentTemplateRulesPackageArnList = Shapes::ListShape.new(name: 'AssessmentTemplateRulesPackageArnList')
60
- AssetAttributes = Shapes::StructureShape.new(name: 'AssetAttributes')
61
- AssetType = Shapes::StringShape.new(name: 'AssetType')
62
- Attribute = Shapes::StructureShape.new(name: 'Attribute')
63
- AttributeKey = Shapes::StringShape.new(name: 'AttributeKey')
64
- AttributeList = Shapes::ListShape.new(name: 'AttributeList')
65
- AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
66
- AutoScalingGroup = Shapes::StringShape.new(name: 'AutoScalingGroup')
67
- AutoScalingGroupList = Shapes::ListShape.new(name: 'AutoScalingGroupList')
68
- BatchDescribeArnList = Shapes::ListShape.new(name: 'BatchDescribeArnList')
69
- Bool = Shapes::BooleanShape.new(name: 'Bool')
70
- CreateAssessmentTargetRequest = Shapes::StructureShape.new(name: 'CreateAssessmentTargetRequest')
71
- CreateAssessmentTargetResponse = Shapes::StructureShape.new(name: 'CreateAssessmentTargetResponse')
72
- CreateAssessmentTemplateRequest = Shapes::StructureShape.new(name: 'CreateAssessmentTemplateRequest')
73
- CreateAssessmentTemplateResponse = Shapes::StructureShape.new(name: 'CreateAssessmentTemplateResponse')
74
- CreateResourceGroupRequest = Shapes::StructureShape.new(name: 'CreateResourceGroupRequest')
75
- CreateResourceGroupResponse = Shapes::StructureShape.new(name: 'CreateResourceGroupResponse')
76
- DeleteAssessmentRunRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentRunRequest')
77
- DeleteAssessmentTargetRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentTargetRequest')
78
- DeleteAssessmentTemplateRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentTemplateRequest')
79
- DescribeAssessmentRunsRequest = Shapes::StructureShape.new(name: 'DescribeAssessmentRunsRequest')
80
- DescribeAssessmentRunsResponse = Shapes::StructureShape.new(name: 'DescribeAssessmentRunsResponse')
81
- DescribeAssessmentTargetsRequest = Shapes::StructureShape.new(name: 'DescribeAssessmentTargetsRequest')
82
- DescribeAssessmentTargetsResponse = Shapes::StructureShape.new(name: 'DescribeAssessmentTargetsResponse')
83
- DescribeAssessmentTemplatesRequest = Shapes::StructureShape.new(name: 'DescribeAssessmentTemplatesRequest')
84
- DescribeAssessmentTemplatesResponse = Shapes::StructureShape.new(name: 'DescribeAssessmentTemplatesResponse')
85
- DescribeCrossAccountAccessRoleResponse = Shapes::StructureShape.new(name: 'DescribeCrossAccountAccessRoleResponse')
86
- DescribeFindingsRequest = Shapes::StructureShape.new(name: 'DescribeFindingsRequest')
87
- DescribeFindingsResponse = Shapes::StructureShape.new(name: 'DescribeFindingsResponse')
88
- DescribeResourceGroupsRequest = Shapes::StructureShape.new(name: 'DescribeResourceGroupsRequest')
89
- DescribeResourceGroupsResponse = Shapes::StructureShape.new(name: 'DescribeResourceGroupsResponse')
90
- DescribeRulesPackagesRequest = Shapes::StructureShape.new(name: 'DescribeRulesPackagesRequest')
91
- DescribeRulesPackagesResponse = Shapes::StructureShape.new(name: 'DescribeRulesPackagesResponse')
92
- DurationRange = Shapes::StructureShape.new(name: 'DurationRange')
93
- ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
94
- EventSubscription = Shapes::StructureShape.new(name: 'EventSubscription')
95
- EventSubscriptionList = Shapes::ListShape.new(name: 'EventSubscriptionList')
96
- FailedItemDetails = Shapes::StructureShape.new(name: 'FailedItemDetails')
97
- FailedItemErrorCode = Shapes::StringShape.new(name: 'FailedItemErrorCode')
98
- FailedItems = Shapes::MapShape.new(name: 'FailedItems')
99
- FilterRulesPackageArnList = Shapes::ListShape.new(name: 'FilterRulesPackageArnList')
100
- Finding = Shapes::StructureShape.new(name: 'Finding')
101
- FindingFilter = Shapes::StructureShape.new(name: 'FindingFilter')
102
- FindingId = Shapes::StringShape.new(name: 'FindingId')
103
- FindingList = Shapes::ListShape.new(name: 'FindingList')
104
- GetTelemetryMetadataRequest = Shapes::StructureShape.new(name: 'GetTelemetryMetadataRequest')
105
- GetTelemetryMetadataResponse = Shapes::StructureShape.new(name: 'GetTelemetryMetadataResponse')
106
- Hostname = Shapes::StringShape.new(name: 'Hostname')
107
- InspectorEvent = Shapes::StringShape.new(name: 'InspectorEvent')
108
- InspectorServiceAttributes = Shapes::StructureShape.new(name: 'InspectorServiceAttributes')
109
- InternalException = Shapes::StructureShape.new(name: 'InternalException')
110
- InvalidCrossAccountRoleErrorCode = Shapes::StringShape.new(name: 'InvalidCrossAccountRoleErrorCode')
111
- InvalidCrossAccountRoleException = Shapes::StructureShape.new(name: 'InvalidCrossAccountRoleException')
112
- InvalidInputErrorCode = Shapes::StringShape.new(name: 'InvalidInputErrorCode')
113
- InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
114
- IocConfidence = Shapes::IntegerShape.new(name: 'IocConfidence')
115
- Ipv4Address = Shapes::StringShape.new(name: 'Ipv4Address')
116
- Ipv4AddressList = Shapes::ListShape.new(name: 'Ipv4AddressList')
117
- LimitExceededErrorCode = Shapes::StringShape.new(name: 'LimitExceededErrorCode')
118
- LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
119
- ListAssessmentRunAgentsRequest = Shapes::StructureShape.new(name: 'ListAssessmentRunAgentsRequest')
120
- ListAssessmentRunAgentsResponse = Shapes::StructureShape.new(name: 'ListAssessmentRunAgentsResponse')
121
- ListAssessmentRunsRequest = Shapes::StructureShape.new(name: 'ListAssessmentRunsRequest')
122
- ListAssessmentRunsResponse = Shapes::StructureShape.new(name: 'ListAssessmentRunsResponse')
123
- ListAssessmentTargetsRequest = Shapes::StructureShape.new(name: 'ListAssessmentTargetsRequest')
124
- ListAssessmentTargetsResponse = Shapes::StructureShape.new(name: 'ListAssessmentTargetsResponse')
125
- ListAssessmentTemplatesRequest = Shapes::StructureShape.new(name: 'ListAssessmentTemplatesRequest')
126
- ListAssessmentTemplatesResponse = Shapes::StructureShape.new(name: 'ListAssessmentTemplatesResponse')
127
- ListEventSubscriptionsMaxResults = Shapes::IntegerShape.new(name: 'ListEventSubscriptionsMaxResults')
128
- ListEventSubscriptionsRequest = Shapes::StructureShape.new(name: 'ListEventSubscriptionsRequest')
129
- ListEventSubscriptionsResponse = Shapes::StructureShape.new(name: 'ListEventSubscriptionsResponse')
130
- ListFindingsRequest = Shapes::StructureShape.new(name: 'ListFindingsRequest')
131
- ListFindingsResponse = Shapes::StructureShape.new(name: 'ListFindingsResponse')
132
- ListMaxResults = Shapes::IntegerShape.new(name: 'ListMaxResults')
133
- ListParentArnList = Shapes::ListShape.new(name: 'ListParentArnList')
134
- ListReturnedArnList = Shapes::ListShape.new(name: 'ListReturnedArnList')
135
- ListRulesPackagesRequest = Shapes::StructureShape.new(name: 'ListRulesPackagesRequest')
136
- ListRulesPackagesResponse = Shapes::StructureShape.new(name: 'ListRulesPackagesResponse')
137
- ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
138
- ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
139
- Locale = Shapes::StringShape.new(name: 'Locale')
140
- Long = Shapes::IntegerShape.new(name: 'Long')
141
- Message = Shapes::StringShape.new(name: 'Message')
142
- MessageType = Shapes::StringShape.new(name: 'MessageType')
143
- NamePattern = Shapes::StringShape.new(name: 'NamePattern')
144
- NoSuchEntityErrorCode = Shapes::StringShape.new(name: 'NoSuchEntityErrorCode')
145
- NoSuchEntityException = Shapes::StructureShape.new(name: 'NoSuchEntityException')
146
- NumericSeverity = Shapes::FloatShape.new(name: 'NumericSeverity')
147
- NumericVersion = Shapes::IntegerShape.new(name: 'NumericVersion')
148
- PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
149
- PreviewAgentsMaxResults = Shapes::IntegerShape.new(name: 'PreviewAgentsMaxResults')
150
- PreviewAgentsRequest = Shapes::StructureShape.new(name: 'PreviewAgentsRequest')
151
- PreviewAgentsResponse = Shapes::StructureShape.new(name: 'PreviewAgentsResponse')
152
- ProviderName = Shapes::StringShape.new(name: 'ProviderName')
153
- RegisterCrossAccountAccessRoleRequest = Shapes::StructureShape.new(name: 'RegisterCrossAccountAccessRoleRequest')
154
- RemoveAttributesFromFindingsRequest = Shapes::StructureShape.new(name: 'RemoveAttributesFromFindingsRequest')
155
- RemoveAttributesFromFindingsResponse = Shapes::StructureShape.new(name: 'RemoveAttributesFromFindingsResponse')
156
- ResourceGroup = Shapes::StructureShape.new(name: 'ResourceGroup')
157
- ResourceGroupList = Shapes::ListShape.new(name: 'ResourceGroupList')
158
- ResourceGroupTag = Shapes::StructureShape.new(name: 'ResourceGroupTag')
159
- ResourceGroupTags = Shapes::ListShape.new(name: 'ResourceGroupTags')
160
- RuleName = Shapes::StringShape.new(name: 'RuleName')
161
- RuleNameList = Shapes::ListShape.new(name: 'RuleNameList')
162
- RulesPackage = Shapes::StructureShape.new(name: 'RulesPackage')
163
- RulesPackageList = Shapes::ListShape.new(name: 'RulesPackageList')
164
- RulesPackageName = Shapes::StringShape.new(name: 'RulesPackageName')
165
- ServiceName = Shapes::StringShape.new(name: 'ServiceName')
166
- SetTagsForResourceRequest = Shapes::StructureShape.new(name: 'SetTagsForResourceRequest')
167
- Severity = Shapes::StringShape.new(name: 'Severity')
168
- SeverityList = Shapes::ListShape.new(name: 'SeverityList')
169
- StartAssessmentRunRequest = Shapes::StructureShape.new(name: 'StartAssessmentRunRequest')
170
- StartAssessmentRunResponse = Shapes::StructureShape.new(name: 'StartAssessmentRunResponse')
171
- StopAssessmentRunRequest = Shapes::StructureShape.new(name: 'StopAssessmentRunRequest')
172
- SubscribeToEventRequest = Shapes::StructureShape.new(name: 'SubscribeToEventRequest')
173
- Subscription = Shapes::StructureShape.new(name: 'Subscription')
174
- SubscriptionList = Shapes::ListShape.new(name: 'SubscriptionList')
175
- Tag = Shapes::StructureShape.new(name: 'Tag')
176
- TagKey = Shapes::StringShape.new(name: 'TagKey')
177
- TagList = Shapes::ListShape.new(name: 'TagList')
178
- TagValue = Shapes::StringShape.new(name: 'TagValue')
179
- TelemetryMetadata = Shapes::StructureShape.new(name: 'TelemetryMetadata')
180
- TelemetryMetadataList = Shapes::ListShape.new(name: 'TelemetryMetadataList')
181
- Text = Shapes::StringShape.new(name: 'Text')
182
- Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
183
- TimestampRange = Shapes::StructureShape.new(name: 'TimestampRange')
184
- UnsubscribeFromEventRequest = Shapes::StructureShape.new(name: 'UnsubscribeFromEventRequest')
185
- UpdateAssessmentTargetRequest = Shapes::StructureShape.new(name: 'UpdateAssessmentTargetRequest')
186
- UserAttributeKeyList = Shapes::ListShape.new(name: 'UserAttributeKeyList')
187
- UserAttributeList = Shapes::ListShape.new(name: 'UserAttributeList')
188
- Version = Shapes::StringShape.new(name: 'Version')
189
-
190
- AddAttributesToFindingsRequest.add_member(:finding_arns, Shapes::ShapeRef.new(shape: AddRemoveAttributesFindingArnList, required: true, location_name: "findingArns"))
191
- AddAttributesToFindingsRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "attributes"))
192
- AddAttributesToFindingsRequest.struct_class = Types::AddAttributesToFindingsRequest
193
-
194
- AddAttributesToFindingsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
195
- AddAttributesToFindingsResponse.struct_class = Types::AddAttributesToFindingsResponse
196
-
197
- AddRemoveAttributesFindingArnList.member = Shapes::ShapeRef.new(shape: Arn)
198
-
199
- AgentAlreadyRunningAssessment.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location_name: "agentId"))
200
- AgentAlreadyRunningAssessment.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
201
- AgentAlreadyRunningAssessment.struct_class = Types::AgentAlreadyRunningAssessment
202
-
203
- AgentAlreadyRunningAssessmentList.member = Shapes::ShapeRef.new(shape: AgentAlreadyRunningAssessment)
204
-
205
- AgentFilter.add_member(:agent_healths, Shapes::ShapeRef.new(shape: AgentHealthList, required: true, location_name: "agentHealths"))
206
- AgentFilter.add_member(:agent_health_codes, Shapes::ShapeRef.new(shape: AgentHealthCodeList, required: true, location_name: "agentHealthCodes"))
207
- AgentFilter.struct_class = Types::AgentFilter
208
-
209
- AgentHealthCodeList.member = Shapes::ShapeRef.new(shape: AgentHealthCode)
210
-
211
- AgentHealthList.member = Shapes::ShapeRef.new(shape: AgentHealth)
212
-
213
- AgentIdList.member = Shapes::ShapeRef.new(shape: AgentId)
214
-
215
- AgentPreview.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location_name: "agentId"))
216
- AgentPreview.add_member(:auto_scaling_group, Shapes::ShapeRef.new(shape: AutoScalingGroup, location_name: "autoScalingGroup"))
217
- AgentPreview.struct_class = Types::AgentPreview
218
-
219
- AgentPreviewList.member = Shapes::ShapeRef.new(shape: AgentPreview)
220
-
221
- AssessmentRulesPackageArnList.member = Shapes::ShapeRef.new(shape: Arn)
222
-
223
- AssessmentRun.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
224
- AssessmentRun.add_member(:name, Shapes::ShapeRef.new(shape: AssessmentRunName, required: true, location_name: "name"))
225
- AssessmentRun.add_member(:assessment_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTemplateArn"))
226
- AssessmentRun.add_member(:state, Shapes::ShapeRef.new(shape: AssessmentRunState, required: true, location_name: "state"))
227
- AssessmentRun.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, required: true, location_name: "durationInSeconds"))
228
- AssessmentRun.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: AssessmentRulesPackageArnList, required: true, location_name: "rulesPackageArns"))
229
- AssessmentRun.add_member(:user_attributes_for_findings, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "userAttributesForFindings"))
230
- AssessmentRun.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
231
- AssessmentRun.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
232
- AssessmentRun.add_member(:completed_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedAt"))
233
- AssessmentRun.add_member(:state_changed_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "stateChangedAt"))
234
- AssessmentRun.add_member(:data_collected, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "dataCollected"))
235
- AssessmentRun.add_member(:state_changes, Shapes::ShapeRef.new(shape: AssessmentRunStateChangeList, required: true, location_name: "stateChanges"))
236
- AssessmentRun.add_member(:notifications, Shapes::ShapeRef.new(shape: AssessmentRunNotificationList, required: true, location_name: "notifications"))
237
- AssessmentRun.struct_class = Types::AssessmentRun
238
-
239
- AssessmentRunAgent.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location_name: "agentId"))
240
- AssessmentRunAgent.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
241
- AssessmentRunAgent.add_member(:agent_health, Shapes::ShapeRef.new(shape: AgentHealth, required: true, location_name: "agentHealth"))
242
- AssessmentRunAgent.add_member(:agent_health_code, Shapes::ShapeRef.new(shape: AgentHealthCode, required: true, location_name: "agentHealthCode"))
243
- AssessmentRunAgent.add_member(:agent_health_details, Shapes::ShapeRef.new(shape: Message, location_name: "agentHealthDetails"))
244
- AssessmentRunAgent.add_member(:auto_scaling_group, Shapes::ShapeRef.new(shape: AutoScalingGroup, location_name: "autoScalingGroup"))
245
- AssessmentRunAgent.add_member(:telemetry_metadata, Shapes::ShapeRef.new(shape: TelemetryMetadataList, required: true, location_name: "telemetryMetadata"))
246
- AssessmentRunAgent.struct_class = Types::AssessmentRunAgent
247
-
248
- AssessmentRunAgentList.member = Shapes::ShapeRef.new(shape: AssessmentRunAgent)
249
-
250
- AssessmentRunFilter.add_member(:name_pattern, Shapes::ShapeRef.new(shape: NamePattern, location_name: "namePattern"))
251
- AssessmentRunFilter.add_member(:states, Shapes::ShapeRef.new(shape: AssessmentRunStateList, location_name: "states"))
252
- AssessmentRunFilter.add_member(:duration_range, Shapes::ShapeRef.new(shape: DurationRange, location_name: "durationRange"))
253
- AssessmentRunFilter.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: FilterRulesPackageArnList, location_name: "rulesPackageArns"))
254
- AssessmentRunFilter.add_member(:start_time_range, Shapes::ShapeRef.new(shape: TimestampRange, location_name: "startTimeRange"))
255
- AssessmentRunFilter.add_member(:completion_time_range, Shapes::ShapeRef.new(shape: TimestampRange, location_name: "completionTimeRange"))
256
- AssessmentRunFilter.add_member(:state_change_time_range, Shapes::ShapeRef.new(shape: TimestampRange, location_name: "stateChangeTimeRange"))
257
- AssessmentRunFilter.struct_class = Types::AssessmentRunFilter
258
-
259
- AssessmentRunInProgressArnList.member = Shapes::ShapeRef.new(shape: Arn)
260
-
261
- AssessmentRunList.member = Shapes::ShapeRef.new(shape: AssessmentRun)
262
-
263
- AssessmentRunNotification.add_member(:date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "date"))
264
- AssessmentRunNotification.add_member(:event, Shapes::ShapeRef.new(shape: InspectorEvent, required: true, location_name: "event"))
265
- AssessmentRunNotification.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
266
- AssessmentRunNotification.add_member(:error, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "error"))
267
- AssessmentRunNotification.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "snsTopicArn"))
268
- AssessmentRunNotification.add_member(:sns_publish_status_code, Shapes::ShapeRef.new(shape: AssessmentRunNotificationSnsStatusCode, location_name: "snsPublishStatusCode"))
269
- AssessmentRunNotification.struct_class = Types::AssessmentRunNotification
270
-
271
- AssessmentRunNotificationList.member = Shapes::ShapeRef.new(shape: AssessmentRunNotification)
272
-
273
- AssessmentRunStateChange.add_member(:state_changed_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "stateChangedAt"))
274
- AssessmentRunStateChange.add_member(:state, Shapes::ShapeRef.new(shape: AssessmentRunState, required: true, location_name: "state"))
275
- AssessmentRunStateChange.struct_class = Types::AssessmentRunStateChange
276
-
277
- AssessmentRunStateChangeList.member = Shapes::ShapeRef.new(shape: AssessmentRunStateChange)
8
+ module Aws::Inspector
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccessDeniedErrorCode = Shapes::StringShape.new(name: 'AccessDeniedErrorCode')
15
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
+ AddAttributesToFindingsRequest = Shapes::StructureShape.new(name: 'AddAttributesToFindingsRequest')
17
+ AddAttributesToFindingsResponse = Shapes::StructureShape.new(name: 'AddAttributesToFindingsResponse')
18
+ AddRemoveAttributesFindingArnList = Shapes::ListShape.new(name: 'AddRemoveAttributesFindingArnList')
19
+ AgentAlreadyRunningAssessment = Shapes::StructureShape.new(name: 'AgentAlreadyRunningAssessment')
20
+ AgentAlreadyRunningAssessmentList = Shapes::ListShape.new(name: 'AgentAlreadyRunningAssessmentList')
21
+ AgentFilter = Shapes::StructureShape.new(name: 'AgentFilter')
22
+ AgentHealth = Shapes::StringShape.new(name: 'AgentHealth')
23
+ AgentHealthCode = Shapes::StringShape.new(name: 'AgentHealthCode')
24
+ AgentHealthCodeList = Shapes::ListShape.new(name: 'AgentHealthCodeList')
25
+ AgentHealthList = Shapes::ListShape.new(name: 'AgentHealthList')
26
+ AgentId = Shapes::StringShape.new(name: 'AgentId')
27
+ AgentIdList = Shapes::ListShape.new(name: 'AgentIdList')
28
+ AgentPreview = Shapes::StructureShape.new(name: 'AgentPreview')
29
+ AgentPreviewList = Shapes::ListShape.new(name: 'AgentPreviewList')
30
+ AgentsAlreadyRunningAssessmentException = Shapes::StructureShape.new(name: 'AgentsAlreadyRunningAssessmentException')
31
+ AmiId = Shapes::StringShape.new(name: 'AmiId')
32
+ Arn = Shapes::StringShape.new(name: 'Arn')
33
+ AssessmentRulesPackageArnList = Shapes::ListShape.new(name: 'AssessmentRulesPackageArnList')
34
+ AssessmentRun = Shapes::StructureShape.new(name: 'AssessmentRun')
35
+ AssessmentRunAgent = Shapes::StructureShape.new(name: 'AssessmentRunAgent')
36
+ AssessmentRunAgentList = Shapes::ListShape.new(name: 'AssessmentRunAgentList')
37
+ AssessmentRunDuration = Shapes::IntegerShape.new(name: 'AssessmentRunDuration')
38
+ AssessmentRunFilter = Shapes::StructureShape.new(name: 'AssessmentRunFilter')
39
+ AssessmentRunInProgressArnList = Shapes::ListShape.new(name: 'AssessmentRunInProgressArnList')
40
+ AssessmentRunInProgressException = Shapes::StructureShape.new(name: 'AssessmentRunInProgressException')
41
+ AssessmentRunList = Shapes::ListShape.new(name: 'AssessmentRunList')
42
+ AssessmentRunName = Shapes::StringShape.new(name: 'AssessmentRunName')
43
+ AssessmentRunNotification = Shapes::StructureShape.new(name: 'AssessmentRunNotification')
44
+ AssessmentRunNotificationList = Shapes::ListShape.new(name: 'AssessmentRunNotificationList')
45
+ AssessmentRunNotificationSnsStatusCode = Shapes::StringShape.new(name: 'AssessmentRunNotificationSnsStatusCode')
46
+ AssessmentRunState = Shapes::StringShape.new(name: 'AssessmentRunState')
47
+ AssessmentRunStateChange = Shapes::StructureShape.new(name: 'AssessmentRunStateChange')
48
+ AssessmentRunStateChangeList = Shapes::ListShape.new(name: 'AssessmentRunStateChangeList')
49
+ AssessmentRunStateList = Shapes::ListShape.new(name: 'AssessmentRunStateList')
50
+ AssessmentTarget = Shapes::StructureShape.new(name: 'AssessmentTarget')
51
+ AssessmentTargetFilter = Shapes::StructureShape.new(name: 'AssessmentTargetFilter')
52
+ AssessmentTargetList = Shapes::ListShape.new(name: 'AssessmentTargetList')
53
+ AssessmentTargetName = Shapes::StringShape.new(name: 'AssessmentTargetName')
54
+ AssessmentTemplate = Shapes::StructureShape.new(name: 'AssessmentTemplate')
55
+ AssessmentTemplateFilter = Shapes::StructureShape.new(name: 'AssessmentTemplateFilter')
56
+ AssessmentTemplateList = Shapes::ListShape.new(name: 'AssessmentTemplateList')
57
+ AssessmentTemplateName = Shapes::StringShape.new(name: 'AssessmentTemplateName')
58
+ AssessmentTemplateRulesPackageArnList = Shapes::ListShape.new(name: 'AssessmentTemplateRulesPackageArnList')
59
+ AssetAttributes = Shapes::StructureShape.new(name: 'AssetAttributes')
60
+ AssetType = Shapes::StringShape.new(name: 'AssetType')
61
+ Attribute = Shapes::StructureShape.new(name: 'Attribute')
62
+ AttributeKey = Shapes::StringShape.new(name: 'AttributeKey')
63
+ AttributeList = Shapes::ListShape.new(name: 'AttributeList')
64
+ AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
65
+ AutoScalingGroup = Shapes::StringShape.new(name: 'AutoScalingGroup')
66
+ AutoScalingGroupList = Shapes::ListShape.new(name: 'AutoScalingGroupList')
67
+ BatchDescribeArnList = Shapes::ListShape.new(name: 'BatchDescribeArnList')
68
+ Bool = Shapes::BooleanShape.new(name: 'Bool')
69
+ CreateAssessmentTargetRequest = Shapes::StructureShape.new(name: 'CreateAssessmentTargetRequest')
70
+ CreateAssessmentTargetResponse = Shapes::StructureShape.new(name: 'CreateAssessmentTargetResponse')
71
+ CreateAssessmentTemplateRequest = Shapes::StructureShape.new(name: 'CreateAssessmentTemplateRequest')
72
+ CreateAssessmentTemplateResponse = Shapes::StructureShape.new(name: 'CreateAssessmentTemplateResponse')
73
+ CreateResourceGroupRequest = Shapes::StructureShape.new(name: 'CreateResourceGroupRequest')
74
+ CreateResourceGroupResponse = Shapes::StructureShape.new(name: 'CreateResourceGroupResponse')
75
+ DeleteAssessmentRunRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentRunRequest')
76
+ DeleteAssessmentTargetRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentTargetRequest')
77
+ DeleteAssessmentTemplateRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentTemplateRequest')
78
+ DescribeAssessmentRunsRequest = Shapes::StructureShape.new(name: 'DescribeAssessmentRunsRequest')
79
+ DescribeAssessmentRunsResponse = Shapes::StructureShape.new(name: 'DescribeAssessmentRunsResponse')
80
+ DescribeAssessmentTargetsRequest = Shapes::StructureShape.new(name: 'DescribeAssessmentTargetsRequest')
81
+ DescribeAssessmentTargetsResponse = Shapes::StructureShape.new(name: 'DescribeAssessmentTargetsResponse')
82
+ DescribeAssessmentTemplatesRequest = Shapes::StructureShape.new(name: 'DescribeAssessmentTemplatesRequest')
83
+ DescribeAssessmentTemplatesResponse = Shapes::StructureShape.new(name: 'DescribeAssessmentTemplatesResponse')
84
+ DescribeCrossAccountAccessRoleResponse = Shapes::StructureShape.new(name: 'DescribeCrossAccountAccessRoleResponse')
85
+ DescribeFindingsRequest = Shapes::StructureShape.new(name: 'DescribeFindingsRequest')
86
+ DescribeFindingsResponse = Shapes::StructureShape.new(name: 'DescribeFindingsResponse')
87
+ DescribeResourceGroupsRequest = Shapes::StructureShape.new(name: 'DescribeResourceGroupsRequest')
88
+ DescribeResourceGroupsResponse = Shapes::StructureShape.new(name: 'DescribeResourceGroupsResponse')
89
+ DescribeRulesPackagesRequest = Shapes::StructureShape.new(name: 'DescribeRulesPackagesRequest')
90
+ DescribeRulesPackagesResponse = Shapes::StructureShape.new(name: 'DescribeRulesPackagesResponse')
91
+ DurationRange = Shapes::StructureShape.new(name: 'DurationRange')
92
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
93
+ EventSubscription = Shapes::StructureShape.new(name: 'EventSubscription')
94
+ EventSubscriptionList = Shapes::ListShape.new(name: 'EventSubscriptionList')
95
+ FailedItemDetails = Shapes::StructureShape.new(name: 'FailedItemDetails')
96
+ FailedItemErrorCode = Shapes::StringShape.new(name: 'FailedItemErrorCode')
97
+ FailedItems = Shapes::MapShape.new(name: 'FailedItems')
98
+ FilterRulesPackageArnList = Shapes::ListShape.new(name: 'FilterRulesPackageArnList')
99
+ Finding = Shapes::StructureShape.new(name: 'Finding')
100
+ FindingFilter = Shapes::StructureShape.new(name: 'FindingFilter')
101
+ FindingId = Shapes::StringShape.new(name: 'FindingId')
102
+ FindingList = Shapes::ListShape.new(name: 'FindingList')
103
+ GetTelemetryMetadataRequest = Shapes::StructureShape.new(name: 'GetTelemetryMetadataRequest')
104
+ GetTelemetryMetadataResponse = Shapes::StructureShape.new(name: 'GetTelemetryMetadataResponse')
105
+ Hostname = Shapes::StringShape.new(name: 'Hostname')
106
+ InspectorEvent = Shapes::StringShape.new(name: 'InspectorEvent')
107
+ InspectorServiceAttributes = Shapes::StructureShape.new(name: 'InspectorServiceAttributes')
108
+ InternalException = Shapes::StructureShape.new(name: 'InternalException')
109
+ InvalidCrossAccountRoleErrorCode = Shapes::StringShape.new(name: 'InvalidCrossAccountRoleErrorCode')
110
+ InvalidCrossAccountRoleException = Shapes::StructureShape.new(name: 'InvalidCrossAccountRoleException')
111
+ InvalidInputErrorCode = Shapes::StringShape.new(name: 'InvalidInputErrorCode')
112
+ InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
113
+ IocConfidence = Shapes::IntegerShape.new(name: 'IocConfidence')
114
+ Ipv4Address = Shapes::StringShape.new(name: 'Ipv4Address')
115
+ Ipv4AddressList = Shapes::ListShape.new(name: 'Ipv4AddressList')
116
+ LimitExceededErrorCode = Shapes::StringShape.new(name: 'LimitExceededErrorCode')
117
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
118
+ ListAssessmentRunAgentsRequest = Shapes::StructureShape.new(name: 'ListAssessmentRunAgentsRequest')
119
+ ListAssessmentRunAgentsResponse = Shapes::StructureShape.new(name: 'ListAssessmentRunAgentsResponse')
120
+ ListAssessmentRunsRequest = Shapes::StructureShape.new(name: 'ListAssessmentRunsRequest')
121
+ ListAssessmentRunsResponse = Shapes::StructureShape.new(name: 'ListAssessmentRunsResponse')
122
+ ListAssessmentTargetsRequest = Shapes::StructureShape.new(name: 'ListAssessmentTargetsRequest')
123
+ ListAssessmentTargetsResponse = Shapes::StructureShape.new(name: 'ListAssessmentTargetsResponse')
124
+ ListAssessmentTemplatesRequest = Shapes::StructureShape.new(name: 'ListAssessmentTemplatesRequest')
125
+ ListAssessmentTemplatesResponse = Shapes::StructureShape.new(name: 'ListAssessmentTemplatesResponse')
126
+ ListEventSubscriptionsMaxResults = Shapes::IntegerShape.new(name: 'ListEventSubscriptionsMaxResults')
127
+ ListEventSubscriptionsRequest = Shapes::StructureShape.new(name: 'ListEventSubscriptionsRequest')
128
+ ListEventSubscriptionsResponse = Shapes::StructureShape.new(name: 'ListEventSubscriptionsResponse')
129
+ ListFindingsRequest = Shapes::StructureShape.new(name: 'ListFindingsRequest')
130
+ ListFindingsResponse = Shapes::StructureShape.new(name: 'ListFindingsResponse')
131
+ ListMaxResults = Shapes::IntegerShape.new(name: 'ListMaxResults')
132
+ ListParentArnList = Shapes::ListShape.new(name: 'ListParentArnList')
133
+ ListReturnedArnList = Shapes::ListShape.new(name: 'ListReturnedArnList')
134
+ ListRulesPackagesRequest = Shapes::StructureShape.new(name: 'ListRulesPackagesRequest')
135
+ ListRulesPackagesResponse = Shapes::StructureShape.new(name: 'ListRulesPackagesResponse')
136
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
137
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
138
+ Locale = Shapes::StringShape.new(name: 'Locale')
139
+ Long = Shapes::IntegerShape.new(name: 'Long')
140
+ Message = Shapes::StringShape.new(name: 'Message')
141
+ MessageType = Shapes::StringShape.new(name: 'MessageType')
142
+ NamePattern = Shapes::StringShape.new(name: 'NamePattern')
143
+ NoSuchEntityErrorCode = Shapes::StringShape.new(name: 'NoSuchEntityErrorCode')
144
+ NoSuchEntityException = Shapes::StructureShape.new(name: 'NoSuchEntityException')
145
+ NumericSeverity = Shapes::FloatShape.new(name: 'NumericSeverity')
146
+ NumericVersion = Shapes::IntegerShape.new(name: 'NumericVersion')
147
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
148
+ PreviewAgentsMaxResults = Shapes::IntegerShape.new(name: 'PreviewAgentsMaxResults')
149
+ PreviewAgentsRequest = Shapes::StructureShape.new(name: 'PreviewAgentsRequest')
150
+ PreviewAgentsResponse = Shapes::StructureShape.new(name: 'PreviewAgentsResponse')
151
+ ProviderName = Shapes::StringShape.new(name: 'ProviderName')
152
+ RegisterCrossAccountAccessRoleRequest = Shapes::StructureShape.new(name: 'RegisterCrossAccountAccessRoleRequest')
153
+ RemoveAttributesFromFindingsRequest = Shapes::StructureShape.new(name: 'RemoveAttributesFromFindingsRequest')
154
+ RemoveAttributesFromFindingsResponse = Shapes::StructureShape.new(name: 'RemoveAttributesFromFindingsResponse')
155
+ ResourceGroup = Shapes::StructureShape.new(name: 'ResourceGroup')
156
+ ResourceGroupList = Shapes::ListShape.new(name: 'ResourceGroupList')
157
+ ResourceGroupTag = Shapes::StructureShape.new(name: 'ResourceGroupTag')
158
+ ResourceGroupTags = Shapes::ListShape.new(name: 'ResourceGroupTags')
159
+ RuleName = Shapes::StringShape.new(name: 'RuleName')
160
+ RuleNameList = Shapes::ListShape.new(name: 'RuleNameList')
161
+ RulesPackage = Shapes::StructureShape.new(name: 'RulesPackage')
162
+ RulesPackageList = Shapes::ListShape.new(name: 'RulesPackageList')
163
+ RulesPackageName = Shapes::StringShape.new(name: 'RulesPackageName')
164
+ ServiceName = Shapes::StringShape.new(name: 'ServiceName')
165
+ SetTagsForResourceRequest = Shapes::StructureShape.new(name: 'SetTagsForResourceRequest')
166
+ Severity = Shapes::StringShape.new(name: 'Severity')
167
+ SeverityList = Shapes::ListShape.new(name: 'SeverityList')
168
+ StartAssessmentRunRequest = Shapes::StructureShape.new(name: 'StartAssessmentRunRequest')
169
+ StartAssessmentRunResponse = Shapes::StructureShape.new(name: 'StartAssessmentRunResponse')
170
+ StopAssessmentRunRequest = Shapes::StructureShape.new(name: 'StopAssessmentRunRequest')
171
+ SubscribeToEventRequest = Shapes::StructureShape.new(name: 'SubscribeToEventRequest')
172
+ Subscription = Shapes::StructureShape.new(name: 'Subscription')
173
+ SubscriptionList = Shapes::ListShape.new(name: 'SubscriptionList')
174
+ Tag = Shapes::StructureShape.new(name: 'Tag')
175
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
176
+ TagList = Shapes::ListShape.new(name: 'TagList')
177
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
178
+ TelemetryMetadata = Shapes::StructureShape.new(name: 'TelemetryMetadata')
179
+ TelemetryMetadataList = Shapes::ListShape.new(name: 'TelemetryMetadataList')
180
+ Text = Shapes::StringShape.new(name: 'Text')
181
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
182
+ TimestampRange = Shapes::StructureShape.new(name: 'TimestampRange')
183
+ UnsubscribeFromEventRequest = Shapes::StructureShape.new(name: 'UnsubscribeFromEventRequest')
184
+ UpdateAssessmentTargetRequest = Shapes::StructureShape.new(name: 'UpdateAssessmentTargetRequest')
185
+ UserAttributeKeyList = Shapes::ListShape.new(name: 'UserAttributeKeyList')
186
+ UserAttributeList = Shapes::ListShape.new(name: 'UserAttributeList')
187
+ Version = Shapes::StringShape.new(name: 'Version')
188
+
189
+ AddAttributesToFindingsRequest.add_member(:finding_arns, Shapes::ShapeRef.new(shape: AddRemoveAttributesFindingArnList, required: true, location_name: "findingArns"))
190
+ AddAttributesToFindingsRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "attributes"))
191
+ AddAttributesToFindingsRequest.struct_class = Types::AddAttributesToFindingsRequest
192
+
193
+ AddAttributesToFindingsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
194
+ AddAttributesToFindingsResponse.struct_class = Types::AddAttributesToFindingsResponse
195
+
196
+ AddRemoveAttributesFindingArnList.member = Shapes::ShapeRef.new(shape: Arn)
197
+
198
+ AgentAlreadyRunningAssessment.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location_name: "agentId"))
199
+ AgentAlreadyRunningAssessment.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
200
+ AgentAlreadyRunningAssessment.struct_class = Types::AgentAlreadyRunningAssessment
201
+
202
+ AgentAlreadyRunningAssessmentList.member = Shapes::ShapeRef.new(shape: AgentAlreadyRunningAssessment)
203
+
204
+ AgentFilter.add_member(:agent_healths, Shapes::ShapeRef.new(shape: AgentHealthList, required: true, location_name: "agentHealths"))
205
+ AgentFilter.add_member(:agent_health_codes, Shapes::ShapeRef.new(shape: AgentHealthCodeList, required: true, location_name: "agentHealthCodes"))
206
+ AgentFilter.struct_class = Types::AgentFilter
207
+
208
+ AgentHealthCodeList.member = Shapes::ShapeRef.new(shape: AgentHealthCode)
209
+
210
+ AgentHealthList.member = Shapes::ShapeRef.new(shape: AgentHealth)
211
+
212
+ AgentIdList.member = Shapes::ShapeRef.new(shape: AgentId)
213
+
214
+ AgentPreview.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location_name: "agentId"))
215
+ AgentPreview.add_member(:auto_scaling_group, Shapes::ShapeRef.new(shape: AutoScalingGroup, location_name: "autoScalingGroup"))
216
+ AgentPreview.struct_class = Types::AgentPreview
217
+
218
+ AgentPreviewList.member = Shapes::ShapeRef.new(shape: AgentPreview)
219
+
220
+ AssessmentRulesPackageArnList.member = Shapes::ShapeRef.new(shape: Arn)
221
+
222
+ AssessmentRun.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
223
+ AssessmentRun.add_member(:name, Shapes::ShapeRef.new(shape: AssessmentRunName, required: true, location_name: "name"))
224
+ AssessmentRun.add_member(:assessment_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTemplateArn"))
225
+ AssessmentRun.add_member(:state, Shapes::ShapeRef.new(shape: AssessmentRunState, required: true, location_name: "state"))
226
+ AssessmentRun.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, required: true, location_name: "durationInSeconds"))
227
+ AssessmentRun.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: AssessmentRulesPackageArnList, required: true, location_name: "rulesPackageArns"))
228
+ AssessmentRun.add_member(:user_attributes_for_findings, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "userAttributesForFindings"))
229
+ AssessmentRun.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
230
+ AssessmentRun.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
231
+ AssessmentRun.add_member(:completed_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedAt"))
232
+ AssessmentRun.add_member(:state_changed_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "stateChangedAt"))
233
+ AssessmentRun.add_member(:data_collected, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "dataCollected"))
234
+ AssessmentRun.add_member(:state_changes, Shapes::ShapeRef.new(shape: AssessmentRunStateChangeList, required: true, location_name: "stateChanges"))
235
+ AssessmentRun.add_member(:notifications, Shapes::ShapeRef.new(shape: AssessmentRunNotificationList, required: true, location_name: "notifications"))
236
+ AssessmentRun.struct_class = Types::AssessmentRun
237
+
238
+ AssessmentRunAgent.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location_name: "agentId"))
239
+ AssessmentRunAgent.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
240
+ AssessmentRunAgent.add_member(:agent_health, Shapes::ShapeRef.new(shape: AgentHealth, required: true, location_name: "agentHealth"))
241
+ AssessmentRunAgent.add_member(:agent_health_code, Shapes::ShapeRef.new(shape: AgentHealthCode, required: true, location_name: "agentHealthCode"))
242
+ AssessmentRunAgent.add_member(:agent_health_details, Shapes::ShapeRef.new(shape: Message, location_name: "agentHealthDetails"))
243
+ AssessmentRunAgent.add_member(:auto_scaling_group, Shapes::ShapeRef.new(shape: AutoScalingGroup, location_name: "autoScalingGroup"))
244
+ AssessmentRunAgent.add_member(:telemetry_metadata, Shapes::ShapeRef.new(shape: TelemetryMetadataList, required: true, location_name: "telemetryMetadata"))
245
+ AssessmentRunAgent.struct_class = Types::AssessmentRunAgent
246
+
247
+ AssessmentRunAgentList.member = Shapes::ShapeRef.new(shape: AssessmentRunAgent)
248
+
249
+ AssessmentRunFilter.add_member(:name_pattern, Shapes::ShapeRef.new(shape: NamePattern, location_name: "namePattern"))
250
+ AssessmentRunFilter.add_member(:states, Shapes::ShapeRef.new(shape: AssessmentRunStateList, location_name: "states"))
251
+ AssessmentRunFilter.add_member(:duration_range, Shapes::ShapeRef.new(shape: DurationRange, location_name: "durationRange"))
252
+ AssessmentRunFilter.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: FilterRulesPackageArnList, location_name: "rulesPackageArns"))
253
+ AssessmentRunFilter.add_member(:start_time_range, Shapes::ShapeRef.new(shape: TimestampRange, location_name: "startTimeRange"))
254
+ AssessmentRunFilter.add_member(:completion_time_range, Shapes::ShapeRef.new(shape: TimestampRange, location_name: "completionTimeRange"))
255
+ AssessmentRunFilter.add_member(:state_change_time_range, Shapes::ShapeRef.new(shape: TimestampRange, location_name: "stateChangeTimeRange"))
256
+ AssessmentRunFilter.struct_class = Types::AssessmentRunFilter
257
+
258
+ AssessmentRunInProgressArnList.member = Shapes::ShapeRef.new(shape: Arn)
259
+
260
+ AssessmentRunList.member = Shapes::ShapeRef.new(shape: AssessmentRun)
261
+
262
+ AssessmentRunNotification.add_member(:date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "date"))
263
+ AssessmentRunNotification.add_member(:event, Shapes::ShapeRef.new(shape: InspectorEvent, required: true, location_name: "event"))
264
+ AssessmentRunNotification.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
265
+ AssessmentRunNotification.add_member(:error, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "error"))
266
+ AssessmentRunNotification.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "snsTopicArn"))
267
+ AssessmentRunNotification.add_member(:sns_publish_status_code, Shapes::ShapeRef.new(shape: AssessmentRunNotificationSnsStatusCode, location_name: "snsPublishStatusCode"))
268
+ AssessmentRunNotification.struct_class = Types::AssessmentRunNotification
269
+
270
+ AssessmentRunNotificationList.member = Shapes::ShapeRef.new(shape: AssessmentRunNotification)
271
+
272
+ AssessmentRunStateChange.add_member(:state_changed_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "stateChangedAt"))
273
+ AssessmentRunStateChange.add_member(:state, Shapes::ShapeRef.new(shape: AssessmentRunState, required: true, location_name: "state"))
274
+ AssessmentRunStateChange.struct_class = Types::AssessmentRunStateChange
275
+
276
+ AssessmentRunStateChangeList.member = Shapes::ShapeRef.new(shape: AssessmentRunStateChange)
277
+
278
+ AssessmentRunStateList.member = Shapes::ShapeRef.new(shape: AssessmentRunState)
279
+
280
+ AssessmentTarget.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
281
+ AssessmentTarget.add_member(:name, Shapes::ShapeRef.new(shape: AssessmentTargetName, required: true, location_name: "name"))
282
+ AssessmentTarget.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceGroupArn"))
283
+ AssessmentTarget.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
284
+ AssessmentTarget.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
285
+ AssessmentTarget.struct_class = Types::AssessmentTarget
286
+
287
+ AssessmentTargetFilter.add_member(:assessment_target_name_pattern, Shapes::ShapeRef.new(shape: NamePattern, location_name: "assessmentTargetNamePattern"))
288
+ AssessmentTargetFilter.struct_class = Types::AssessmentTargetFilter
289
+
290
+ AssessmentTargetList.member = Shapes::ShapeRef.new(shape: AssessmentTarget)
291
+
292
+ AssessmentTemplate.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
293
+ AssessmentTemplate.add_member(:name, Shapes::ShapeRef.new(shape: AssessmentTemplateName, required: true, location_name: "name"))
294
+ AssessmentTemplate.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
295
+ AssessmentTemplate.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, required: true, location_name: "durationInSeconds"))
296
+ AssessmentTemplate.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: AssessmentTemplateRulesPackageArnList, required: true, location_name: "rulesPackageArns"))
297
+ AssessmentTemplate.add_member(:user_attributes_for_findings, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "userAttributesForFindings"))
298
+ AssessmentTemplate.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
299
+ AssessmentTemplate.struct_class = Types::AssessmentTemplate
300
+
301
+ AssessmentTemplateFilter.add_member(:name_pattern, Shapes::ShapeRef.new(shape: NamePattern, location_name: "namePattern"))
302
+ AssessmentTemplateFilter.add_member(:duration_range, Shapes::ShapeRef.new(shape: DurationRange, location_name: "durationRange"))
303
+ AssessmentTemplateFilter.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: FilterRulesPackageArnList, location_name: "rulesPackageArns"))
304
+ AssessmentTemplateFilter.struct_class = Types::AssessmentTemplateFilter
305
+
306
+ AssessmentTemplateList.member = Shapes::ShapeRef.new(shape: AssessmentTemplate)
307
+
308
+ AssessmentTemplateRulesPackageArnList.member = Shapes::ShapeRef.new(shape: Arn)
309
+
310
+ AssetAttributes.add_member(:schema_version, Shapes::ShapeRef.new(shape: NumericVersion, required: true, location_name: "schemaVersion"))
311
+ AssetAttributes.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, location_name: "agentId"))
312
+ AssetAttributes.add_member(:auto_scaling_group, Shapes::ShapeRef.new(shape: AutoScalingGroup, location_name: "autoScalingGroup"))
313
+ AssetAttributes.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "amiId"))
314
+ AssetAttributes.add_member(:hostname, Shapes::ShapeRef.new(shape: Hostname, location_name: "hostname"))
315
+ AssetAttributes.add_member(:ipv4_addresses, Shapes::ShapeRef.new(shape: Ipv4AddressList, location_name: "ipv4Addresses"))
316
+ AssetAttributes.struct_class = Types::AssetAttributes
317
+
318
+ Attribute.add_member(:key, Shapes::ShapeRef.new(shape: AttributeKey, required: true, location_name: "key"))
319
+ Attribute.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "value"))
320
+ Attribute.struct_class = Types::Attribute
321
+
322
+ AttributeList.member = Shapes::ShapeRef.new(shape: Attribute)
323
+
324
+ AutoScalingGroupList.member = Shapes::ShapeRef.new(shape: AutoScalingGroup)
278
325
 
279
- AssessmentRunStateList.member = Shapes::ShapeRef.new(shape: AssessmentRunState)
326
+ BatchDescribeArnList.member = Shapes::ShapeRef.new(shape: Arn)
280
327
 
281
- AssessmentTarget.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
282
- AssessmentTarget.add_member(:name, Shapes::ShapeRef.new(shape: AssessmentTargetName, required: true, location_name: "name"))
283
- AssessmentTarget.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceGroupArn"))
284
- AssessmentTarget.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
285
- AssessmentTarget.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
286
- AssessmentTarget.struct_class = Types::AssessmentTarget
328
+ CreateAssessmentTargetRequest.add_member(:assessment_target_name, Shapes::ShapeRef.new(shape: AssessmentTargetName, required: true, location_name: "assessmentTargetName"))
329
+ CreateAssessmentTargetRequest.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceGroupArn"))
330
+ CreateAssessmentTargetRequest.struct_class = Types::CreateAssessmentTargetRequest
287
331
 
288
- AssessmentTargetFilter.add_member(:assessment_target_name_pattern, Shapes::ShapeRef.new(shape: NamePattern, location_name: "assessmentTargetNamePattern"))
289
- AssessmentTargetFilter.struct_class = Types::AssessmentTargetFilter
332
+ CreateAssessmentTargetResponse.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
333
+ CreateAssessmentTargetResponse.struct_class = Types::CreateAssessmentTargetResponse
290
334
 
291
- AssessmentTargetList.member = Shapes::ShapeRef.new(shape: AssessmentTarget)
335
+ CreateAssessmentTemplateRequest.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
336
+ CreateAssessmentTemplateRequest.add_member(:assessment_template_name, Shapes::ShapeRef.new(shape: AssessmentTemplateName, required: true, location_name: "assessmentTemplateName"))
337
+ CreateAssessmentTemplateRequest.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, required: true, location_name: "durationInSeconds"))
338
+ CreateAssessmentTemplateRequest.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: AssessmentTemplateRulesPackageArnList, required: true, location_name: "rulesPackageArns"))
339
+ CreateAssessmentTemplateRequest.add_member(:user_attributes_for_findings, Shapes::ShapeRef.new(shape: UserAttributeList, location_name: "userAttributesForFindings"))
340
+ CreateAssessmentTemplateRequest.struct_class = Types::CreateAssessmentTemplateRequest
292
341
 
293
- AssessmentTemplate.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
294
- AssessmentTemplate.add_member(:name, Shapes::ShapeRef.new(shape: AssessmentTemplateName, required: true, location_name: "name"))
295
- AssessmentTemplate.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
296
- AssessmentTemplate.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, required: true, location_name: "durationInSeconds"))
297
- AssessmentTemplate.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: AssessmentTemplateRulesPackageArnList, required: true, location_name: "rulesPackageArns"))
298
- AssessmentTemplate.add_member(:user_attributes_for_findings, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "userAttributesForFindings"))
299
- AssessmentTemplate.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
300
- AssessmentTemplate.struct_class = Types::AssessmentTemplate
342
+ CreateAssessmentTemplateResponse.add_member(:assessment_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTemplateArn"))
343
+ CreateAssessmentTemplateResponse.struct_class = Types::CreateAssessmentTemplateResponse
301
344
 
302
- AssessmentTemplateFilter.add_member(:name_pattern, Shapes::ShapeRef.new(shape: NamePattern, location_name: "namePattern"))
303
- AssessmentTemplateFilter.add_member(:duration_range, Shapes::ShapeRef.new(shape: DurationRange, location_name: "durationRange"))
304
- AssessmentTemplateFilter.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: FilterRulesPackageArnList, location_name: "rulesPackageArns"))
305
- AssessmentTemplateFilter.struct_class = Types::AssessmentTemplateFilter
345
+ CreateResourceGroupRequest.add_member(:resource_group_tags, Shapes::ShapeRef.new(shape: ResourceGroupTags, required: true, location_name: "resourceGroupTags"))
346
+ CreateResourceGroupRequest.struct_class = Types::CreateResourceGroupRequest
306
347
 
307
- AssessmentTemplateList.member = Shapes::ShapeRef.new(shape: AssessmentTemplate)
348
+ CreateResourceGroupResponse.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceGroupArn"))
349
+ CreateResourceGroupResponse.struct_class = Types::CreateResourceGroupResponse
350
+
351
+ DeleteAssessmentRunRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
352
+ DeleteAssessmentRunRequest.struct_class = Types::DeleteAssessmentRunRequest
353
+
354
+ DeleteAssessmentTargetRequest.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
355
+ DeleteAssessmentTargetRequest.struct_class = Types::DeleteAssessmentTargetRequest
356
+
357
+ DeleteAssessmentTemplateRequest.add_member(:assessment_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTemplateArn"))
358
+ DeleteAssessmentTemplateRequest.struct_class = Types::DeleteAssessmentTemplateRequest
308
359
 
309
- AssessmentTemplateRulesPackageArnList.member = Shapes::ShapeRef.new(shape: Arn)
360
+ DescribeAssessmentRunsRequest.add_member(:assessment_run_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "assessmentRunArns"))
361
+ DescribeAssessmentRunsRequest.struct_class = Types::DescribeAssessmentRunsRequest
362
+
363
+ DescribeAssessmentRunsResponse.add_member(:assessment_runs, Shapes::ShapeRef.new(shape: AssessmentRunList, required: true, location_name: "assessmentRuns"))
364
+ DescribeAssessmentRunsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
365
+ DescribeAssessmentRunsResponse.struct_class = Types::DescribeAssessmentRunsResponse
310
366
 
311
- AssetAttributes.add_member(:schema_version, Shapes::ShapeRef.new(shape: NumericVersion, required: true, location_name: "schemaVersion"))
312
- AssetAttributes.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, location_name: "agentId"))
313
- AssetAttributes.add_member(:auto_scaling_group, Shapes::ShapeRef.new(shape: AutoScalingGroup, location_name: "autoScalingGroup"))
314
- AssetAttributes.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "amiId"))
315
- AssetAttributes.add_member(:hostname, Shapes::ShapeRef.new(shape: Hostname, location_name: "hostname"))
316
- AssetAttributes.add_member(:ipv4_addresses, Shapes::ShapeRef.new(shape: Ipv4AddressList, location_name: "ipv4Addresses"))
317
- AssetAttributes.struct_class = Types::AssetAttributes
367
+ DescribeAssessmentTargetsRequest.add_member(:assessment_target_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "assessmentTargetArns"))
368
+ DescribeAssessmentTargetsRequest.struct_class = Types::DescribeAssessmentTargetsRequest
318
369
 
319
- Attribute.add_member(:key, Shapes::ShapeRef.new(shape: AttributeKey, required: true, location_name: "key"))
320
- Attribute.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "value"))
321
- Attribute.struct_class = Types::Attribute
322
-
323
- AttributeList.member = Shapes::ShapeRef.new(shape: Attribute)
324
-
325
- AutoScalingGroupList.member = Shapes::ShapeRef.new(shape: AutoScalingGroup)
370
+ DescribeAssessmentTargetsResponse.add_member(:assessment_targets, Shapes::ShapeRef.new(shape: AssessmentTargetList, required: true, location_name: "assessmentTargets"))
371
+ DescribeAssessmentTargetsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
372
+ DescribeAssessmentTargetsResponse.struct_class = Types::DescribeAssessmentTargetsResponse
326
373
 
327
- BatchDescribeArnList.member = Shapes::ShapeRef.new(shape: Arn)
374
+ DescribeAssessmentTemplatesRequest.add_member(:assessment_template_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "assessmentTemplateArns"))
375
+ DescribeAssessmentTemplatesRequest.struct_class = Types::DescribeAssessmentTemplatesRequest
376
+
377
+ DescribeAssessmentTemplatesResponse.add_member(:assessment_templates, Shapes::ShapeRef.new(shape: AssessmentTemplateList, required: true, location_name: "assessmentTemplates"))
378
+ DescribeAssessmentTemplatesResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
379
+ DescribeAssessmentTemplatesResponse.struct_class = Types::DescribeAssessmentTemplatesResponse
380
+
381
+ DescribeCrossAccountAccessRoleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
382
+ DescribeCrossAccountAccessRoleResponse.add_member(:valid, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "valid"))
383
+ DescribeCrossAccountAccessRoleResponse.add_member(:registered_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "registeredAt"))
384
+ DescribeCrossAccountAccessRoleResponse.struct_class = Types::DescribeCrossAccountAccessRoleResponse
385
+
386
+ DescribeFindingsRequest.add_member(:finding_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "findingArns"))
387
+ DescribeFindingsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "locale"))
388
+ DescribeFindingsRequest.struct_class = Types::DescribeFindingsRequest
389
+
390
+ DescribeFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: FindingList, required: true, location_name: "findings"))
391
+ DescribeFindingsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
392
+ DescribeFindingsResponse.struct_class = Types::DescribeFindingsResponse
393
+
394
+ DescribeResourceGroupsRequest.add_member(:resource_group_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "resourceGroupArns"))
395
+ DescribeResourceGroupsRequest.struct_class = Types::DescribeResourceGroupsRequest
396
+
397
+ DescribeResourceGroupsResponse.add_member(:resource_groups, Shapes::ShapeRef.new(shape: ResourceGroupList, required: true, location_name: "resourceGroups"))
398
+ DescribeResourceGroupsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
399
+ DescribeResourceGroupsResponse.struct_class = Types::DescribeResourceGroupsResponse
400
+
401
+ DescribeRulesPackagesRequest.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "rulesPackageArns"))
402
+ DescribeRulesPackagesRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "locale"))
403
+ DescribeRulesPackagesRequest.struct_class = Types::DescribeRulesPackagesRequest
404
+
405
+ DescribeRulesPackagesResponse.add_member(:rules_packages, Shapes::ShapeRef.new(shape: RulesPackageList, required: true, location_name: "rulesPackages"))
406
+ DescribeRulesPackagesResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
407
+ DescribeRulesPackagesResponse.struct_class = Types::DescribeRulesPackagesResponse
408
+
409
+ DurationRange.add_member(:min_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, location_name: "minSeconds"))
410
+ DurationRange.add_member(:max_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, location_name: "maxSeconds"))
411
+ DurationRange.struct_class = Types::DurationRange
412
+
413
+ EventSubscription.add_member(:event, Shapes::ShapeRef.new(shape: InspectorEvent, required: true, location_name: "event"))
414
+ EventSubscription.add_member(:subscribed_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "subscribedAt"))
415
+ EventSubscription.struct_class = Types::EventSubscription
416
+
417
+ EventSubscriptionList.member = Shapes::ShapeRef.new(shape: EventSubscription)
418
+
419
+ FailedItemDetails.add_member(:failure_code, Shapes::ShapeRef.new(shape: FailedItemErrorCode, required: true, location_name: "failureCode"))
420
+ FailedItemDetails.add_member(:retryable, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "retryable"))
421
+ FailedItemDetails.struct_class = Types::FailedItemDetails
422
+
423
+ FailedItems.key = Shapes::ShapeRef.new(shape: Arn)
424
+ FailedItems.value = Shapes::ShapeRef.new(shape: FailedItemDetails)
425
+
426
+ FilterRulesPackageArnList.member = Shapes::ShapeRef.new(shape: Arn)
427
+
428
+ Finding.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
429
+ Finding.add_member(:schema_version, Shapes::ShapeRef.new(shape: NumericVersion, location_name: "schemaVersion"))
430
+ Finding.add_member(:service, Shapes::ShapeRef.new(shape: ServiceName, location_name: "service"))
431
+ Finding.add_member(:service_attributes, Shapes::ShapeRef.new(shape: InspectorServiceAttributes, location_name: "serviceAttributes"))
432
+ Finding.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "assetType"))
433
+ Finding.add_member(:asset_attributes, Shapes::ShapeRef.new(shape: AssetAttributes, location_name: "assetAttributes"))
434
+ Finding.add_member(:id, Shapes::ShapeRef.new(shape: FindingId, location_name: "id"))
435
+ Finding.add_member(:title, Shapes::ShapeRef.new(shape: Text, location_name: "title"))
436
+ Finding.add_member(:description, Shapes::ShapeRef.new(shape: Text, location_name: "description"))
437
+ Finding.add_member(:recommendation, Shapes::ShapeRef.new(shape: Text, location_name: "recommendation"))
438
+ Finding.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "severity"))
439
+ Finding.add_member(:numeric_severity, Shapes::ShapeRef.new(shape: NumericSeverity, location_name: "numericSeverity"))
440
+ Finding.add_member(:confidence, Shapes::ShapeRef.new(shape: IocConfidence, location_name: "confidence"))
441
+ Finding.add_member(:indicator_of_compromise, Shapes::ShapeRef.new(shape: Bool, location_name: "indicatorOfCompromise"))
442
+ Finding.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, required: true, location_name: "attributes"))
443
+ Finding.add_member(:user_attributes, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "userAttributes"))
444
+ Finding.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
445
+ Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
446
+ Finding.struct_class = Types::Finding
447
+
448
+ FindingFilter.add_member(:agent_ids, Shapes::ShapeRef.new(shape: AgentIdList, location_name: "agentIds"))
449
+ FindingFilter.add_member(:auto_scaling_groups, Shapes::ShapeRef.new(shape: AutoScalingGroupList, location_name: "autoScalingGroups"))
450
+ FindingFilter.add_member(:rule_names, Shapes::ShapeRef.new(shape: RuleNameList, location_name: "ruleNames"))
451
+ FindingFilter.add_member(:severities, Shapes::ShapeRef.new(shape: SeverityList, location_name: "severities"))
452
+ FindingFilter.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: FilterRulesPackageArnList, location_name: "rulesPackageArns"))
453
+ FindingFilter.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "attributes"))
454
+ FindingFilter.add_member(:user_attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "userAttributes"))
455
+ FindingFilter.add_member(:creation_time_range, Shapes::ShapeRef.new(shape: TimestampRange, location_name: "creationTimeRange"))
456
+ FindingFilter.struct_class = Types::FindingFilter
457
+
458
+ FindingList.member = Shapes::ShapeRef.new(shape: Finding)
459
+
460
+ GetTelemetryMetadataRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
461
+ GetTelemetryMetadataRequest.struct_class = Types::GetTelemetryMetadataRequest
462
+
463
+ GetTelemetryMetadataResponse.add_member(:telemetry_metadata, Shapes::ShapeRef.new(shape: TelemetryMetadataList, required: true, location_name: "telemetryMetadata"))
464
+ GetTelemetryMetadataResponse.struct_class = Types::GetTelemetryMetadataResponse
465
+
466
+ InspectorServiceAttributes.add_member(:schema_version, Shapes::ShapeRef.new(shape: NumericVersion, required: true, location_name: "schemaVersion"))
467
+ InspectorServiceAttributes.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "assessmentRunArn"))
468
+ InspectorServiceAttributes.add_member(:rules_package_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "rulesPackageArn"))
469
+ InspectorServiceAttributes.struct_class = Types::InspectorServiceAttributes
470
+
471
+ Ipv4AddressList.member = Shapes::ShapeRef.new(shape: Ipv4Address)
472
+
473
+ ListAssessmentRunAgentsRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
474
+ ListAssessmentRunAgentsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AgentFilter, location_name: "filter"))
475
+ ListAssessmentRunAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
476
+ ListAssessmentRunAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
477
+ ListAssessmentRunAgentsRequest.struct_class = Types::ListAssessmentRunAgentsRequest
478
+
479
+ ListAssessmentRunAgentsResponse.add_member(:assessment_run_agents, Shapes::ShapeRef.new(shape: AssessmentRunAgentList, required: true, location_name: "assessmentRunAgents"))
480
+ ListAssessmentRunAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
481
+ ListAssessmentRunAgentsResponse.struct_class = Types::ListAssessmentRunAgentsResponse
482
+
483
+ ListAssessmentRunsRequest.add_member(:assessment_template_arns, Shapes::ShapeRef.new(shape: ListParentArnList, location_name: "assessmentTemplateArns"))
484
+ ListAssessmentRunsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AssessmentRunFilter, location_name: "filter"))
485
+ ListAssessmentRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
486
+ ListAssessmentRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
487
+ ListAssessmentRunsRequest.struct_class = Types::ListAssessmentRunsRequest
488
+
489
+ ListAssessmentRunsResponse.add_member(:assessment_run_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "assessmentRunArns"))
490
+ ListAssessmentRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
491
+ ListAssessmentRunsResponse.struct_class = Types::ListAssessmentRunsResponse
492
+
493
+ ListAssessmentTargetsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AssessmentTargetFilter, location_name: "filter"))
494
+ ListAssessmentTargetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
495
+ ListAssessmentTargetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
496
+ ListAssessmentTargetsRequest.struct_class = Types::ListAssessmentTargetsRequest
497
+
498
+ ListAssessmentTargetsResponse.add_member(:assessment_target_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "assessmentTargetArns"))
499
+ ListAssessmentTargetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
500
+ ListAssessmentTargetsResponse.struct_class = Types::ListAssessmentTargetsResponse
501
+
502
+ ListAssessmentTemplatesRequest.add_member(:assessment_target_arns, Shapes::ShapeRef.new(shape: ListParentArnList, location_name: "assessmentTargetArns"))
503
+ ListAssessmentTemplatesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AssessmentTemplateFilter, location_name: "filter"))
504
+ ListAssessmentTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
505
+ ListAssessmentTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
506
+ ListAssessmentTemplatesRequest.struct_class = Types::ListAssessmentTemplatesRequest
507
+
508
+ ListAssessmentTemplatesResponse.add_member(:assessment_template_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "assessmentTemplateArns"))
509
+ ListAssessmentTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
510
+ ListAssessmentTemplatesResponse.struct_class = Types::ListAssessmentTemplatesResponse
511
+
512
+ ListEventSubscriptionsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
513
+ ListEventSubscriptionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
514
+ ListEventSubscriptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEventSubscriptionsMaxResults, location_name: "maxResults"))
515
+ ListEventSubscriptionsRequest.struct_class = Types::ListEventSubscriptionsRequest
516
+
517
+ ListEventSubscriptionsResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, required: true, location_name: "subscriptions"))
518
+ ListEventSubscriptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
519
+ ListEventSubscriptionsResponse.struct_class = Types::ListEventSubscriptionsResponse
520
+
521
+ ListFindingsRequest.add_member(:assessment_run_arns, Shapes::ShapeRef.new(shape: ListParentArnList, location_name: "assessmentRunArns"))
522
+ ListFindingsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FindingFilter, location_name: "filter"))
523
+ ListFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
524
+ ListFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
525
+ ListFindingsRequest.struct_class = Types::ListFindingsRequest
526
+
527
+ ListFindingsResponse.add_member(:finding_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "findingArns"))
528
+ ListFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
529
+ ListFindingsResponse.struct_class = Types::ListFindingsResponse
530
+
531
+ ListParentArnList.member = Shapes::ShapeRef.new(shape: Arn)
532
+
533
+ ListReturnedArnList.member = Shapes::ShapeRef.new(shape: Arn)
534
+
535
+ ListRulesPackagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
536
+ ListRulesPackagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
537
+ ListRulesPackagesRequest.struct_class = Types::ListRulesPackagesRequest
328
538
 
329
- CreateAssessmentTargetRequest.add_member(:assessment_target_name, Shapes::ShapeRef.new(shape: AssessmentTargetName, required: true, location_name: "assessmentTargetName"))
330
- CreateAssessmentTargetRequest.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceGroupArn"))
331
- CreateAssessmentTargetRequest.struct_class = Types::CreateAssessmentTargetRequest
539
+ ListRulesPackagesResponse.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "rulesPackageArns"))
540
+ ListRulesPackagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
541
+ ListRulesPackagesResponse.struct_class = Types::ListRulesPackagesResponse
332
542
 
333
- CreateAssessmentTargetResponse.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
334
- CreateAssessmentTargetResponse.struct_class = Types::CreateAssessmentTargetResponse
543
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
544
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
335
545
 
336
- CreateAssessmentTemplateRequest.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
337
- CreateAssessmentTemplateRequest.add_member(:assessment_template_name, Shapes::ShapeRef.new(shape: AssessmentTemplateName, required: true, location_name: "assessmentTemplateName"))
338
- CreateAssessmentTemplateRequest.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, required: true, location_name: "durationInSeconds"))
339
- CreateAssessmentTemplateRequest.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: AssessmentTemplateRulesPackageArnList, required: true, location_name: "rulesPackageArns"))
340
- CreateAssessmentTemplateRequest.add_member(:user_attributes_for_findings, Shapes::ShapeRef.new(shape: UserAttributeList, location_name: "userAttributesForFindings"))
341
- CreateAssessmentTemplateRequest.struct_class = Types::CreateAssessmentTemplateRequest
546
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
547
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
342
548
 
343
- CreateAssessmentTemplateResponse.add_member(:assessment_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTemplateArn"))
344
- CreateAssessmentTemplateResponse.struct_class = Types::CreateAssessmentTemplateResponse
549
+ PreviewAgentsRequest.add_member(:preview_agents_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "previewAgentsArn"))
550
+ PreviewAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
551
+ PreviewAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PreviewAgentsMaxResults, location_name: "maxResults"))
552
+ PreviewAgentsRequest.struct_class = Types::PreviewAgentsRequest
345
553
 
346
- CreateResourceGroupRequest.add_member(:resource_group_tags, Shapes::ShapeRef.new(shape: ResourceGroupTags, required: true, location_name: "resourceGroupTags"))
347
- CreateResourceGroupRequest.struct_class = Types::CreateResourceGroupRequest
554
+ PreviewAgentsResponse.add_member(:agent_previews, Shapes::ShapeRef.new(shape: AgentPreviewList, required: true, location_name: "agentPreviews"))
555
+ PreviewAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
556
+ PreviewAgentsResponse.struct_class = Types::PreviewAgentsResponse
348
557
 
349
- CreateResourceGroupResponse.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceGroupArn"))
350
- CreateResourceGroupResponse.struct_class = Types::CreateResourceGroupResponse
351
-
352
- DeleteAssessmentRunRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
353
- DeleteAssessmentRunRequest.struct_class = Types::DeleteAssessmentRunRequest
354
-
355
- DeleteAssessmentTargetRequest.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
356
- DeleteAssessmentTargetRequest.struct_class = Types::DeleteAssessmentTargetRequest
357
-
358
- DeleteAssessmentTemplateRequest.add_member(:assessment_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTemplateArn"))
359
- DeleteAssessmentTemplateRequest.struct_class = Types::DeleteAssessmentTemplateRequest
558
+ RegisterCrossAccountAccessRoleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
559
+ RegisterCrossAccountAccessRoleRequest.struct_class = Types::RegisterCrossAccountAccessRoleRequest
360
560
 
361
- DescribeAssessmentRunsRequest.add_member(:assessment_run_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "assessmentRunArns"))
362
- DescribeAssessmentRunsRequest.struct_class = Types::DescribeAssessmentRunsRequest
363
-
364
- DescribeAssessmentRunsResponse.add_member(:assessment_runs, Shapes::ShapeRef.new(shape: AssessmentRunList, required: true, location_name: "assessmentRuns"))
365
- DescribeAssessmentRunsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
366
- DescribeAssessmentRunsResponse.struct_class = Types::DescribeAssessmentRunsResponse
561
+ RemoveAttributesFromFindingsRequest.add_member(:finding_arns, Shapes::ShapeRef.new(shape: AddRemoveAttributesFindingArnList, required: true, location_name: "findingArns"))
562
+ RemoveAttributesFromFindingsRequest.add_member(:attribute_keys, Shapes::ShapeRef.new(shape: UserAttributeKeyList, required: true, location_name: "attributeKeys"))
563
+ RemoveAttributesFromFindingsRequest.struct_class = Types::RemoveAttributesFromFindingsRequest
367
564
 
368
- DescribeAssessmentTargetsRequest.add_member(:assessment_target_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "assessmentTargetArns"))
369
- DescribeAssessmentTargetsRequest.struct_class = Types::DescribeAssessmentTargetsRequest
565
+ RemoveAttributesFromFindingsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
566
+ RemoveAttributesFromFindingsResponse.struct_class = Types::RemoveAttributesFromFindingsResponse
370
567
 
371
- DescribeAssessmentTargetsResponse.add_member(:assessment_targets, Shapes::ShapeRef.new(shape: AssessmentTargetList, required: true, location_name: "assessmentTargets"))
372
- DescribeAssessmentTargetsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
373
- DescribeAssessmentTargetsResponse.struct_class = Types::DescribeAssessmentTargetsResponse
568
+ ResourceGroup.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
569
+ ResourceGroup.add_member(:tags, Shapes::ShapeRef.new(shape: ResourceGroupTags, required: true, location_name: "tags"))
570
+ ResourceGroup.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
571
+ ResourceGroup.struct_class = Types::ResourceGroup
374
572
 
375
- DescribeAssessmentTemplatesRequest.add_member(:assessment_template_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "assessmentTemplateArns"))
376
- DescribeAssessmentTemplatesRequest.struct_class = Types::DescribeAssessmentTemplatesRequest
377
-
378
- DescribeAssessmentTemplatesResponse.add_member(:assessment_templates, Shapes::ShapeRef.new(shape: AssessmentTemplateList, required: true, location_name: "assessmentTemplates"))
379
- DescribeAssessmentTemplatesResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
380
- DescribeAssessmentTemplatesResponse.struct_class = Types::DescribeAssessmentTemplatesResponse
381
-
382
- DescribeCrossAccountAccessRoleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
383
- DescribeCrossAccountAccessRoleResponse.add_member(:valid, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "valid"))
384
- DescribeCrossAccountAccessRoleResponse.add_member(:registered_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "registeredAt"))
385
- DescribeCrossAccountAccessRoleResponse.struct_class = Types::DescribeCrossAccountAccessRoleResponse
386
-
387
- DescribeFindingsRequest.add_member(:finding_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "findingArns"))
388
- DescribeFindingsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "locale"))
389
- DescribeFindingsRequest.struct_class = Types::DescribeFindingsRequest
390
-
391
- DescribeFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: FindingList, required: true, location_name: "findings"))
392
- DescribeFindingsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
393
- DescribeFindingsResponse.struct_class = Types::DescribeFindingsResponse
394
-
395
- DescribeResourceGroupsRequest.add_member(:resource_group_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "resourceGroupArns"))
396
- DescribeResourceGroupsRequest.struct_class = Types::DescribeResourceGroupsRequest
397
-
398
- DescribeResourceGroupsResponse.add_member(:resource_groups, Shapes::ShapeRef.new(shape: ResourceGroupList, required: true, location_name: "resourceGroups"))
399
- DescribeResourceGroupsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
400
- DescribeResourceGroupsResponse.struct_class = Types::DescribeResourceGroupsResponse
401
-
402
- DescribeRulesPackagesRequest.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "rulesPackageArns"))
403
- DescribeRulesPackagesRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "locale"))
404
- DescribeRulesPackagesRequest.struct_class = Types::DescribeRulesPackagesRequest
405
-
406
- DescribeRulesPackagesResponse.add_member(:rules_packages, Shapes::ShapeRef.new(shape: RulesPackageList, required: true, location_name: "rulesPackages"))
407
- DescribeRulesPackagesResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
408
- DescribeRulesPackagesResponse.struct_class = Types::DescribeRulesPackagesResponse
409
-
410
- DurationRange.add_member(:min_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, location_name: "minSeconds"))
411
- DurationRange.add_member(:max_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, location_name: "maxSeconds"))
412
- DurationRange.struct_class = Types::DurationRange
413
-
414
- EventSubscription.add_member(:event, Shapes::ShapeRef.new(shape: InspectorEvent, required: true, location_name: "event"))
415
- EventSubscription.add_member(:subscribed_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "subscribedAt"))
416
- EventSubscription.struct_class = Types::EventSubscription
417
-
418
- EventSubscriptionList.member = Shapes::ShapeRef.new(shape: EventSubscription)
419
-
420
- FailedItemDetails.add_member(:failure_code, Shapes::ShapeRef.new(shape: FailedItemErrorCode, required: true, location_name: "failureCode"))
421
- FailedItemDetails.add_member(:retryable, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "retryable"))
422
- FailedItemDetails.struct_class = Types::FailedItemDetails
423
-
424
- FailedItems.key = Shapes::ShapeRef.new(shape: Arn)
425
- FailedItems.value = Shapes::ShapeRef.new(shape: FailedItemDetails)
426
-
427
- FilterRulesPackageArnList.member = Shapes::ShapeRef.new(shape: Arn)
428
-
429
- Finding.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
430
- Finding.add_member(:schema_version, Shapes::ShapeRef.new(shape: NumericVersion, location_name: "schemaVersion"))
431
- Finding.add_member(:service, Shapes::ShapeRef.new(shape: ServiceName, location_name: "service"))
432
- Finding.add_member(:service_attributes, Shapes::ShapeRef.new(shape: InspectorServiceAttributes, location_name: "serviceAttributes"))
433
- Finding.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "assetType"))
434
- Finding.add_member(:asset_attributes, Shapes::ShapeRef.new(shape: AssetAttributes, location_name: "assetAttributes"))
435
- Finding.add_member(:id, Shapes::ShapeRef.new(shape: FindingId, location_name: "id"))
436
- Finding.add_member(:title, Shapes::ShapeRef.new(shape: Text, location_name: "title"))
437
- Finding.add_member(:description, Shapes::ShapeRef.new(shape: Text, location_name: "description"))
438
- Finding.add_member(:recommendation, Shapes::ShapeRef.new(shape: Text, location_name: "recommendation"))
439
- Finding.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "severity"))
440
- Finding.add_member(:numeric_severity, Shapes::ShapeRef.new(shape: NumericSeverity, location_name: "numericSeverity"))
441
- Finding.add_member(:confidence, Shapes::ShapeRef.new(shape: IocConfidence, location_name: "confidence"))
442
- Finding.add_member(:indicator_of_compromise, Shapes::ShapeRef.new(shape: Bool, location_name: "indicatorOfCompromise"))
443
- Finding.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, required: true, location_name: "attributes"))
444
- Finding.add_member(:user_attributes, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "userAttributes"))
445
- Finding.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
446
- Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
447
- Finding.struct_class = Types::Finding
448
-
449
- FindingFilter.add_member(:agent_ids, Shapes::ShapeRef.new(shape: AgentIdList, location_name: "agentIds"))
450
- FindingFilter.add_member(:auto_scaling_groups, Shapes::ShapeRef.new(shape: AutoScalingGroupList, location_name: "autoScalingGroups"))
451
- FindingFilter.add_member(:rule_names, Shapes::ShapeRef.new(shape: RuleNameList, location_name: "ruleNames"))
452
- FindingFilter.add_member(:severities, Shapes::ShapeRef.new(shape: SeverityList, location_name: "severities"))
453
- FindingFilter.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: FilterRulesPackageArnList, location_name: "rulesPackageArns"))
454
- FindingFilter.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "attributes"))
455
- FindingFilter.add_member(:user_attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "userAttributes"))
456
- FindingFilter.add_member(:creation_time_range, Shapes::ShapeRef.new(shape: TimestampRange, location_name: "creationTimeRange"))
457
- FindingFilter.struct_class = Types::FindingFilter
458
-
459
- FindingList.member = Shapes::ShapeRef.new(shape: Finding)
460
-
461
- GetTelemetryMetadataRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
462
- GetTelemetryMetadataRequest.struct_class = Types::GetTelemetryMetadataRequest
463
-
464
- GetTelemetryMetadataResponse.add_member(:telemetry_metadata, Shapes::ShapeRef.new(shape: TelemetryMetadataList, required: true, location_name: "telemetryMetadata"))
465
- GetTelemetryMetadataResponse.struct_class = Types::GetTelemetryMetadataResponse
466
-
467
- InspectorServiceAttributes.add_member(:schema_version, Shapes::ShapeRef.new(shape: NumericVersion, required: true, location_name: "schemaVersion"))
468
- InspectorServiceAttributes.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "assessmentRunArn"))
469
- InspectorServiceAttributes.add_member(:rules_package_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "rulesPackageArn"))
470
- InspectorServiceAttributes.struct_class = Types::InspectorServiceAttributes
471
-
472
- Ipv4AddressList.member = Shapes::ShapeRef.new(shape: Ipv4Address)
473
-
474
- ListAssessmentRunAgentsRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
475
- ListAssessmentRunAgentsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AgentFilter, location_name: "filter"))
476
- ListAssessmentRunAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
477
- ListAssessmentRunAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
478
- ListAssessmentRunAgentsRequest.struct_class = Types::ListAssessmentRunAgentsRequest
479
-
480
- ListAssessmentRunAgentsResponse.add_member(:assessment_run_agents, Shapes::ShapeRef.new(shape: AssessmentRunAgentList, required: true, location_name: "assessmentRunAgents"))
481
- ListAssessmentRunAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
482
- ListAssessmentRunAgentsResponse.struct_class = Types::ListAssessmentRunAgentsResponse
483
-
484
- ListAssessmentRunsRequest.add_member(:assessment_template_arns, Shapes::ShapeRef.new(shape: ListParentArnList, location_name: "assessmentTemplateArns"))
485
- ListAssessmentRunsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AssessmentRunFilter, location_name: "filter"))
486
- ListAssessmentRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
487
- ListAssessmentRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
488
- ListAssessmentRunsRequest.struct_class = Types::ListAssessmentRunsRequest
489
-
490
- ListAssessmentRunsResponse.add_member(:assessment_run_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "assessmentRunArns"))
491
- ListAssessmentRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
492
- ListAssessmentRunsResponse.struct_class = Types::ListAssessmentRunsResponse
493
-
494
- ListAssessmentTargetsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AssessmentTargetFilter, location_name: "filter"))
495
- ListAssessmentTargetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
496
- ListAssessmentTargetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
497
- ListAssessmentTargetsRequest.struct_class = Types::ListAssessmentTargetsRequest
498
-
499
- ListAssessmentTargetsResponse.add_member(:assessment_target_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "assessmentTargetArns"))
500
- ListAssessmentTargetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
501
- ListAssessmentTargetsResponse.struct_class = Types::ListAssessmentTargetsResponse
502
-
503
- ListAssessmentTemplatesRequest.add_member(:assessment_target_arns, Shapes::ShapeRef.new(shape: ListParentArnList, location_name: "assessmentTargetArns"))
504
- ListAssessmentTemplatesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AssessmentTemplateFilter, location_name: "filter"))
505
- ListAssessmentTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
506
- ListAssessmentTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
507
- ListAssessmentTemplatesRequest.struct_class = Types::ListAssessmentTemplatesRequest
508
-
509
- ListAssessmentTemplatesResponse.add_member(:assessment_template_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "assessmentTemplateArns"))
510
- ListAssessmentTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
511
- ListAssessmentTemplatesResponse.struct_class = Types::ListAssessmentTemplatesResponse
512
-
513
- ListEventSubscriptionsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
514
- ListEventSubscriptionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
515
- ListEventSubscriptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEventSubscriptionsMaxResults, location_name: "maxResults"))
516
- ListEventSubscriptionsRequest.struct_class = Types::ListEventSubscriptionsRequest
517
-
518
- ListEventSubscriptionsResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, required: true, location_name: "subscriptions"))
519
- ListEventSubscriptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
520
- ListEventSubscriptionsResponse.struct_class = Types::ListEventSubscriptionsResponse
521
-
522
- ListFindingsRequest.add_member(:assessment_run_arns, Shapes::ShapeRef.new(shape: ListParentArnList, location_name: "assessmentRunArns"))
523
- ListFindingsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FindingFilter, location_name: "filter"))
524
- ListFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
525
- ListFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
526
- ListFindingsRequest.struct_class = Types::ListFindingsRequest
527
-
528
- ListFindingsResponse.add_member(:finding_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "findingArns"))
529
- ListFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
530
- ListFindingsResponse.struct_class = Types::ListFindingsResponse
531
-
532
- ListParentArnList.member = Shapes::ShapeRef.new(shape: Arn)
533
-
534
- ListReturnedArnList.member = Shapes::ShapeRef.new(shape: Arn)
535
-
536
- ListRulesPackagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
537
- ListRulesPackagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMaxResults, location_name: "maxResults"))
538
- ListRulesPackagesRequest.struct_class = Types::ListRulesPackagesRequest
573
+ ResourceGroupList.member = Shapes::ShapeRef.new(shape: ResourceGroup)
539
574
 
540
- ListRulesPackagesResponse.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: ListReturnedArnList, required: true, location_name: "rulesPackageArns"))
541
- ListRulesPackagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
542
- ListRulesPackagesResponse.struct_class = Types::ListRulesPackagesResponse
575
+ ResourceGroupTag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
576
+ ResourceGroupTag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
577
+ ResourceGroupTag.struct_class = Types::ResourceGroupTag
543
578
 
544
- ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
545
- ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
579
+ ResourceGroupTags.member = Shapes::ShapeRef.new(shape: ResourceGroupTag)
546
580
 
547
- ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
548
- ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
581
+ RuleNameList.member = Shapes::ShapeRef.new(shape: RuleName)
549
582
 
550
- PreviewAgentsRequest.add_member(:preview_agents_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "previewAgentsArn"))
551
- PreviewAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
552
- PreviewAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PreviewAgentsMaxResults, location_name: "maxResults"))
553
- PreviewAgentsRequest.struct_class = Types::PreviewAgentsRequest
583
+ RulesPackage.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
584
+ RulesPackage.add_member(:name, Shapes::ShapeRef.new(shape: RulesPackageName, required: true, location_name: "name"))
585
+ RulesPackage.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
586
+ RulesPackage.add_member(:provider, Shapes::ShapeRef.new(shape: ProviderName, required: true, location_name: "provider"))
587
+ RulesPackage.add_member(:description, Shapes::ShapeRef.new(shape: Text, location_name: "description"))
588
+ RulesPackage.struct_class = Types::RulesPackage
554
589
 
555
- PreviewAgentsResponse.add_member(:agent_previews, Shapes::ShapeRef.new(shape: AgentPreviewList, required: true, location_name: "agentPreviews"))
556
- PreviewAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
557
- PreviewAgentsResponse.struct_class = Types::PreviewAgentsResponse
590
+ RulesPackageList.member = Shapes::ShapeRef.new(shape: RulesPackage)
558
591
 
559
- RegisterCrossAccountAccessRoleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
560
- RegisterCrossAccountAccessRoleRequest.struct_class = Types::RegisterCrossAccountAccessRoleRequest
592
+ SetTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
593
+ SetTagsForResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
594
+ SetTagsForResourceRequest.struct_class = Types::SetTagsForResourceRequest
561
595
 
562
- RemoveAttributesFromFindingsRequest.add_member(:finding_arns, Shapes::ShapeRef.new(shape: AddRemoveAttributesFindingArnList, required: true, location_name: "findingArns"))
563
- RemoveAttributesFromFindingsRequest.add_member(:attribute_keys, Shapes::ShapeRef.new(shape: UserAttributeKeyList, required: true, location_name: "attributeKeys"))
564
- RemoveAttributesFromFindingsRequest.struct_class = Types::RemoveAttributesFromFindingsRequest
596
+ SeverityList.member = Shapes::ShapeRef.new(shape: Severity)
565
597
 
566
- RemoveAttributesFromFindingsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
567
- RemoveAttributesFromFindingsResponse.struct_class = Types::RemoveAttributesFromFindingsResponse
598
+ StartAssessmentRunRequest.add_member(:assessment_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTemplateArn"))
599
+ StartAssessmentRunRequest.add_member(:assessment_run_name, Shapes::ShapeRef.new(shape: AssessmentRunName, location_name: "assessmentRunName"))
600
+ StartAssessmentRunRequest.struct_class = Types::StartAssessmentRunRequest
568
601
 
569
- ResourceGroup.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
570
- ResourceGroup.add_member(:tags, Shapes::ShapeRef.new(shape: ResourceGroupTags, required: true, location_name: "tags"))
571
- ResourceGroup.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
572
- ResourceGroup.struct_class = Types::ResourceGroup
602
+ StartAssessmentRunResponse.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
603
+ StartAssessmentRunResponse.struct_class = Types::StartAssessmentRunResponse
573
604
 
574
- ResourceGroupList.member = Shapes::ShapeRef.new(shape: ResourceGroup)
605
+ StopAssessmentRunRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
606
+ StopAssessmentRunRequest.struct_class = Types::StopAssessmentRunRequest
575
607
 
576
- ResourceGroupTag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
577
- ResourceGroupTag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
578
- ResourceGroupTag.struct_class = Types::ResourceGroupTag
608
+ SubscribeToEventRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
609
+ SubscribeToEventRequest.add_member(:event, Shapes::ShapeRef.new(shape: InspectorEvent, required: true, location_name: "event"))
610
+ SubscribeToEventRequest.add_member(:topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "topicArn"))
611
+ SubscribeToEventRequest.struct_class = Types::SubscribeToEventRequest
579
612
 
580
- ResourceGroupTags.member = Shapes::ShapeRef.new(shape: ResourceGroupTag)
613
+ Subscription.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
614
+ Subscription.add_member(:topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "topicArn"))
615
+ Subscription.add_member(:event_subscriptions, Shapes::ShapeRef.new(shape: EventSubscriptionList, required: true, location_name: "eventSubscriptions"))
616
+ Subscription.struct_class = Types::Subscription
581
617
 
582
- RuleNameList.member = Shapes::ShapeRef.new(shape: RuleName)
618
+ SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
583
619
 
584
- RulesPackage.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
585
- RulesPackage.add_member(:name, Shapes::ShapeRef.new(shape: RulesPackageName, required: true, location_name: "name"))
586
- RulesPackage.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
587
- RulesPackage.add_member(:provider, Shapes::ShapeRef.new(shape: ProviderName, required: true, location_name: "provider"))
588
- RulesPackage.add_member(:description, Shapes::ShapeRef.new(shape: Text, location_name: "description"))
589
- RulesPackage.struct_class = Types::RulesPackage
590
-
591
- RulesPackageList.member = Shapes::ShapeRef.new(shape: RulesPackage)
620
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
621
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
622
+ Tag.struct_class = Types::Tag
592
623
 
593
- SetTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
594
- SetTagsForResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
595
- SetTagsForResourceRequest.struct_class = Types::SetTagsForResourceRequest
596
-
597
- SeverityList.member = Shapes::ShapeRef.new(shape: Severity)
598
-
599
- StartAssessmentRunRequest.add_member(:assessment_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTemplateArn"))
600
- StartAssessmentRunRequest.add_member(:assessment_run_name, Shapes::ShapeRef.new(shape: AssessmentRunName, location_name: "assessmentRunName"))
601
- StartAssessmentRunRequest.struct_class = Types::StartAssessmentRunRequest
602
-
603
- StartAssessmentRunResponse.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
604
- StartAssessmentRunResponse.struct_class = Types::StartAssessmentRunResponse
605
-
606
- StopAssessmentRunRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
607
- StopAssessmentRunRequest.struct_class = Types::StopAssessmentRunRequest
608
-
609
- SubscribeToEventRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
610
- SubscribeToEventRequest.add_member(:event, Shapes::ShapeRef.new(shape: InspectorEvent, required: true, location_name: "event"))
611
- SubscribeToEventRequest.add_member(:topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "topicArn"))
612
- SubscribeToEventRequest.struct_class = Types::SubscribeToEventRequest
613
-
614
- Subscription.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
615
- Subscription.add_member(:topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "topicArn"))
616
- Subscription.add_member(:event_subscriptions, Shapes::ShapeRef.new(shape: EventSubscriptionList, required: true, location_name: "eventSubscriptions"))
617
- Subscription.struct_class = Types::Subscription
618
-
619
- SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
620
-
621
- Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
622
- Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
623
- Tag.struct_class = Types::Tag
624
-
625
- TagList.member = Shapes::ShapeRef.new(shape: Tag)
626
-
627
- TelemetryMetadata.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, required: true, location_name: "messageType"))
628
- TelemetryMetadata.add_member(:count, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "count"))
629
- TelemetryMetadata.add_member(:data_size, Shapes::ShapeRef.new(shape: Long, location_name: "dataSize"))
630
- TelemetryMetadata.struct_class = Types::TelemetryMetadata
631
-
632
- TelemetryMetadataList.member = Shapes::ShapeRef.new(shape: TelemetryMetadata)
633
-
634
- TimestampRange.add_member(:begin_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "beginDate"))
635
- TimestampRange.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
636
- TimestampRange.struct_class = Types::TimestampRange
637
-
638
- UnsubscribeFromEventRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
639
- UnsubscribeFromEventRequest.add_member(:event, Shapes::ShapeRef.new(shape: InspectorEvent, required: true, location_name: "event"))
640
- UnsubscribeFromEventRequest.add_member(:topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "topicArn"))
641
- UnsubscribeFromEventRequest.struct_class = Types::UnsubscribeFromEventRequest
642
-
643
- UpdateAssessmentTargetRequest.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
644
- UpdateAssessmentTargetRequest.add_member(:assessment_target_name, Shapes::ShapeRef.new(shape: AssessmentTargetName, required: true, location_name: "assessmentTargetName"))
645
- UpdateAssessmentTargetRequest.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceGroupArn"))
646
- UpdateAssessmentTargetRequest.struct_class = Types::UpdateAssessmentTargetRequest
647
-
648
- UserAttributeKeyList.member = Shapes::ShapeRef.new(shape: AttributeKey)
649
-
650
- UserAttributeList.member = Shapes::ShapeRef.new(shape: Attribute)
651
-
652
-
653
- # @api private
654
- API = Seahorse::Model::Api.new.tap do |api|
655
-
656
- api.version = "2016-02-16"
657
-
658
- api.metadata = {
659
- "endpointPrefix" => "inspector",
660
- "jsonVersion" => "1.1",
661
- "protocol" => "json",
662
- "serviceFullName" => "Amazon Inspector",
663
- "signatureVersion" => "v4",
664
- "targetPrefix" => "InspectorService",
665
- }
666
-
667
- api.add_operation(:add_attributes_to_findings, Seahorse::Model::Operation.new.tap do |o|
668
- o.name = "AddAttributesToFindings"
669
- o.http_method = "POST"
670
- o.http_request_uri = "/"
671
- o.input = Shapes::ShapeRef.new(shape: AddAttributesToFindingsRequest)
672
- o.output = Shapes::ShapeRef.new(shape: AddAttributesToFindingsResponse)
673
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
674
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
675
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
676
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
677
- end)
678
-
679
- api.add_operation(:create_assessment_target, Seahorse::Model::Operation.new.tap do |o|
680
- o.name = "CreateAssessmentTarget"
681
- o.http_method = "POST"
682
- o.http_request_uri = "/"
683
- o.input = Shapes::ShapeRef.new(shape: CreateAssessmentTargetRequest)
684
- o.output = Shapes::ShapeRef.new(shape: CreateAssessmentTargetResponse)
685
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
686
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
687
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
688
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
689
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
690
- end)
691
-
692
- api.add_operation(:create_assessment_template, Seahorse::Model::Operation.new.tap do |o|
693
- o.name = "CreateAssessmentTemplate"
694
- o.http_method = "POST"
695
- o.http_request_uri = "/"
696
- o.input = Shapes::ShapeRef.new(shape: CreateAssessmentTemplateRequest)
697
- o.output = Shapes::ShapeRef.new(shape: CreateAssessmentTemplateResponse)
698
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
699
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
700
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
701
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
702
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
703
- end)
704
-
705
- api.add_operation(:create_resource_group, Seahorse::Model::Operation.new.tap do |o|
706
- o.name = "CreateResourceGroup"
707
- o.http_method = "POST"
708
- o.http_request_uri = "/"
709
- o.input = Shapes::ShapeRef.new(shape: CreateResourceGroupRequest)
710
- o.output = Shapes::ShapeRef.new(shape: CreateResourceGroupResponse)
711
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
712
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
713
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
714
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
715
- end)
716
-
717
- api.add_operation(:delete_assessment_run, Seahorse::Model::Operation.new.tap do |o|
718
- o.name = "DeleteAssessmentRun"
719
- o.http_method = "POST"
720
- o.http_request_uri = "/"
721
- o.input = Shapes::ShapeRef.new(shape: DeleteAssessmentRunRequest)
722
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
723
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
724
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
725
- o.errors << Shapes::ShapeRef.new(shape: AssessmentRunInProgressException)
726
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
727
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
728
- end)
729
-
730
- api.add_operation(:delete_assessment_target, Seahorse::Model::Operation.new.tap do |o|
731
- o.name = "DeleteAssessmentTarget"
732
- o.http_method = "POST"
733
- o.http_request_uri = "/"
734
- o.input = Shapes::ShapeRef.new(shape: DeleteAssessmentTargetRequest)
735
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
736
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
737
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
738
- o.errors << Shapes::ShapeRef.new(shape: AssessmentRunInProgressException)
739
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
740
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
741
- end)
742
-
743
- api.add_operation(:delete_assessment_template, Seahorse::Model::Operation.new.tap do |o|
744
- o.name = "DeleteAssessmentTemplate"
745
- o.http_method = "POST"
746
- o.http_request_uri = "/"
747
- o.input = Shapes::ShapeRef.new(shape: DeleteAssessmentTemplateRequest)
748
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
749
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
750
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
751
- o.errors << Shapes::ShapeRef.new(shape: AssessmentRunInProgressException)
752
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
753
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
754
- end)
755
-
756
- api.add_operation(:describe_assessment_runs, Seahorse::Model::Operation.new.tap do |o|
757
- o.name = "DescribeAssessmentRuns"
758
- o.http_method = "POST"
759
- o.http_request_uri = "/"
760
- o.input = Shapes::ShapeRef.new(shape: DescribeAssessmentRunsRequest)
761
- o.output = Shapes::ShapeRef.new(shape: DescribeAssessmentRunsResponse)
762
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
763
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
764
- end)
765
-
766
- api.add_operation(:describe_assessment_targets, Seahorse::Model::Operation.new.tap do |o|
767
- o.name = "DescribeAssessmentTargets"
768
- o.http_method = "POST"
769
- o.http_request_uri = "/"
770
- o.input = Shapes::ShapeRef.new(shape: DescribeAssessmentTargetsRequest)
771
- o.output = Shapes::ShapeRef.new(shape: DescribeAssessmentTargetsResponse)
772
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
773
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
774
- end)
775
-
776
- api.add_operation(:describe_assessment_templates, Seahorse::Model::Operation.new.tap do |o|
777
- o.name = "DescribeAssessmentTemplates"
778
- o.http_method = "POST"
779
- o.http_request_uri = "/"
780
- o.input = Shapes::ShapeRef.new(shape: DescribeAssessmentTemplatesRequest)
781
- o.output = Shapes::ShapeRef.new(shape: DescribeAssessmentTemplatesResponse)
782
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
783
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
784
- end)
785
-
786
- api.add_operation(:describe_cross_account_access_role, Seahorse::Model::Operation.new.tap do |o|
787
- o.name = "DescribeCrossAccountAccessRole"
788
- o.http_method = "POST"
789
- o.http_request_uri = "/"
790
- o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
791
- o.output = Shapes::ShapeRef.new(shape: DescribeCrossAccountAccessRoleResponse)
792
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
793
- end)
794
-
795
- api.add_operation(:describe_findings, Seahorse::Model::Operation.new.tap do |o|
796
- o.name = "DescribeFindings"
797
- o.http_method = "POST"
798
- o.http_request_uri = "/"
799
- o.input = Shapes::ShapeRef.new(shape: DescribeFindingsRequest)
800
- o.output = Shapes::ShapeRef.new(shape: DescribeFindingsResponse)
801
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
802
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
803
- end)
804
-
805
- api.add_operation(:describe_resource_groups, Seahorse::Model::Operation.new.tap do |o|
806
- o.name = "DescribeResourceGroups"
807
- o.http_method = "POST"
808
- o.http_request_uri = "/"
809
- o.input = Shapes::ShapeRef.new(shape: DescribeResourceGroupsRequest)
810
- o.output = Shapes::ShapeRef.new(shape: DescribeResourceGroupsResponse)
811
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
812
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
813
- end)
814
-
815
- api.add_operation(:describe_rules_packages, Seahorse::Model::Operation.new.tap do |o|
816
- o.name = "DescribeRulesPackages"
817
- o.http_method = "POST"
818
- o.http_request_uri = "/"
819
- o.input = Shapes::ShapeRef.new(shape: DescribeRulesPackagesRequest)
820
- o.output = Shapes::ShapeRef.new(shape: DescribeRulesPackagesResponse)
821
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
822
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
823
- end)
824
-
825
- api.add_operation(:get_telemetry_metadata, Seahorse::Model::Operation.new.tap do |o|
826
- o.name = "GetTelemetryMetadata"
827
- o.http_method = "POST"
828
- o.http_request_uri = "/"
829
- o.input = Shapes::ShapeRef.new(shape: GetTelemetryMetadataRequest)
830
- o.output = Shapes::ShapeRef.new(shape: GetTelemetryMetadataResponse)
831
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
832
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
833
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
834
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
835
- end)
836
-
837
- api.add_operation(:list_assessment_run_agents, Seahorse::Model::Operation.new.tap do |o|
838
- o.name = "ListAssessmentRunAgents"
839
- o.http_method = "POST"
840
- o.http_request_uri = "/"
841
- o.input = Shapes::ShapeRef.new(shape: ListAssessmentRunAgentsRequest)
842
- o.output = Shapes::ShapeRef.new(shape: ListAssessmentRunAgentsResponse)
843
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
844
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
845
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
846
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
847
- end)
848
-
849
- api.add_operation(:list_assessment_runs, Seahorse::Model::Operation.new.tap do |o|
850
- o.name = "ListAssessmentRuns"
851
- o.http_method = "POST"
852
- o.http_request_uri = "/"
853
- o.input = Shapes::ShapeRef.new(shape: ListAssessmentRunsRequest)
854
- o.output = Shapes::ShapeRef.new(shape: ListAssessmentRunsResponse)
855
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
856
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
857
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
858
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
859
- end)
860
-
861
- api.add_operation(:list_assessment_targets, Seahorse::Model::Operation.new.tap do |o|
862
- o.name = "ListAssessmentTargets"
863
- o.http_method = "POST"
864
- o.http_request_uri = "/"
865
- o.input = Shapes::ShapeRef.new(shape: ListAssessmentTargetsRequest)
866
- o.output = Shapes::ShapeRef.new(shape: ListAssessmentTargetsResponse)
867
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
868
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
869
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
870
- end)
871
-
872
- api.add_operation(:list_assessment_templates, Seahorse::Model::Operation.new.tap do |o|
873
- o.name = "ListAssessmentTemplates"
874
- o.http_method = "POST"
875
- o.http_request_uri = "/"
876
- o.input = Shapes::ShapeRef.new(shape: ListAssessmentTemplatesRequest)
877
- o.output = Shapes::ShapeRef.new(shape: ListAssessmentTemplatesResponse)
878
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
879
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
880
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
881
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
882
- end)
883
-
884
- api.add_operation(:list_event_subscriptions, Seahorse::Model::Operation.new.tap do |o|
885
- o.name = "ListEventSubscriptions"
886
- o.http_method = "POST"
887
- o.http_request_uri = "/"
888
- o.input = Shapes::ShapeRef.new(shape: ListEventSubscriptionsRequest)
889
- o.output = Shapes::ShapeRef.new(shape: ListEventSubscriptionsResponse)
890
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
891
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
892
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
893
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
894
- end)
895
-
896
- api.add_operation(:list_findings, Seahorse::Model::Operation.new.tap do |o|
897
- o.name = "ListFindings"
898
- o.http_method = "POST"
899
- o.http_request_uri = "/"
900
- o.input = Shapes::ShapeRef.new(shape: ListFindingsRequest)
901
- o.output = Shapes::ShapeRef.new(shape: ListFindingsResponse)
902
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
903
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
904
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
905
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
906
- end)
907
-
908
- api.add_operation(:list_rules_packages, Seahorse::Model::Operation.new.tap do |o|
909
- o.name = "ListRulesPackages"
910
- o.http_method = "POST"
911
- o.http_request_uri = "/"
912
- o.input = Shapes::ShapeRef.new(shape: ListRulesPackagesRequest)
913
- o.output = Shapes::ShapeRef.new(shape: ListRulesPackagesResponse)
914
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
915
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
916
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
917
- end)
918
-
919
- api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
920
- o.name = "ListTagsForResource"
921
- o.http_method = "POST"
922
- o.http_request_uri = "/"
923
- o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
924
- o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
925
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
926
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
927
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
928
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
929
- end)
930
-
931
- api.add_operation(:preview_agents, Seahorse::Model::Operation.new.tap do |o|
932
- o.name = "PreviewAgents"
933
- o.http_method = "POST"
934
- o.http_request_uri = "/"
935
- o.input = Shapes::ShapeRef.new(shape: PreviewAgentsRequest)
936
- o.output = Shapes::ShapeRef.new(shape: PreviewAgentsResponse)
937
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
938
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
939
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
940
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
941
- o.errors << Shapes::ShapeRef.new(shape: InvalidCrossAccountRoleException)
942
- end)
943
-
944
- api.add_operation(:register_cross_account_access_role, Seahorse::Model::Operation.new.tap do |o|
945
- o.name = "RegisterCrossAccountAccessRole"
946
- o.http_method = "POST"
947
- o.http_request_uri = "/"
948
- o.input = Shapes::ShapeRef.new(shape: RegisterCrossAccountAccessRoleRequest)
949
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
950
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
951
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
952
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
953
- o.errors << Shapes::ShapeRef.new(shape: InvalidCrossAccountRoleException)
954
- end)
955
-
956
- api.add_operation(:remove_attributes_from_findings, Seahorse::Model::Operation.new.tap do |o|
957
- o.name = "RemoveAttributesFromFindings"
958
- o.http_method = "POST"
959
- o.http_request_uri = "/"
960
- o.input = Shapes::ShapeRef.new(shape: RemoveAttributesFromFindingsRequest)
961
- o.output = Shapes::ShapeRef.new(shape: RemoveAttributesFromFindingsResponse)
962
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
963
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
964
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
965
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
966
- end)
967
-
968
- api.add_operation(:set_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
969
- o.name = "SetTagsForResource"
970
- o.http_method = "POST"
971
- o.http_request_uri = "/"
972
- o.input = Shapes::ShapeRef.new(shape: SetTagsForResourceRequest)
973
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
974
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
975
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
976
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
977
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
978
- end)
979
-
980
- api.add_operation(:start_assessment_run, Seahorse::Model::Operation.new.tap do |o|
981
- o.name = "StartAssessmentRun"
982
- o.http_method = "POST"
983
- o.http_request_uri = "/"
984
- o.input = Shapes::ShapeRef.new(shape: StartAssessmentRunRequest)
985
- o.output = Shapes::ShapeRef.new(shape: StartAssessmentRunResponse)
986
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
987
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
988
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
989
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
990
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
991
- o.errors << Shapes::ShapeRef.new(shape: InvalidCrossAccountRoleException)
992
- o.errors << Shapes::ShapeRef.new(shape: AgentsAlreadyRunningAssessmentException)
993
- end)
994
-
995
- api.add_operation(:stop_assessment_run, Seahorse::Model::Operation.new.tap do |o|
996
- o.name = "StopAssessmentRun"
997
- o.http_method = "POST"
998
- o.http_request_uri = "/"
999
- o.input = Shapes::ShapeRef.new(shape: StopAssessmentRunRequest)
1000
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1001
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
1002
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1003
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1004
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
1005
- end)
1006
-
1007
- api.add_operation(:subscribe_to_event, Seahorse::Model::Operation.new.tap do |o|
1008
- o.name = "SubscribeToEvent"
1009
- o.http_method = "POST"
1010
- o.http_request_uri = "/"
1011
- o.input = Shapes::ShapeRef.new(shape: SubscribeToEventRequest)
1012
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1013
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
1014
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1015
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1016
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1017
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
1018
- end)
1019
-
1020
- api.add_operation(:unsubscribe_from_event, Seahorse::Model::Operation.new.tap do |o|
1021
- o.name = "UnsubscribeFromEvent"
1022
- o.http_method = "POST"
1023
- o.http_request_uri = "/"
1024
- o.input = Shapes::ShapeRef.new(shape: UnsubscribeFromEventRequest)
1025
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1026
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
1027
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1028
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1029
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
1030
- end)
1031
-
1032
- api.add_operation(:update_assessment_target, Seahorse::Model::Operation.new.tap do |o|
1033
- o.name = "UpdateAssessmentTarget"
1034
- o.http_method = "POST"
1035
- o.http_request_uri = "/"
1036
- o.input = Shapes::ShapeRef.new(shape: UpdateAssessmentTargetRequest)
1037
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1038
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
1039
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1040
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1041
- o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
1042
- end)
1043
- end
624
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
1044
625
 
626
+ TelemetryMetadata.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, required: true, location_name: "messageType"))
627
+ TelemetryMetadata.add_member(:count, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "count"))
628
+ TelemetryMetadata.add_member(:data_size, Shapes::ShapeRef.new(shape: Long, location_name: "dataSize"))
629
+ TelemetryMetadata.struct_class = Types::TelemetryMetadata
630
+
631
+ TelemetryMetadataList.member = Shapes::ShapeRef.new(shape: TelemetryMetadata)
632
+
633
+ TimestampRange.add_member(:begin_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "beginDate"))
634
+ TimestampRange.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
635
+ TimestampRange.struct_class = Types::TimestampRange
636
+
637
+ UnsubscribeFromEventRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
638
+ UnsubscribeFromEventRequest.add_member(:event, Shapes::ShapeRef.new(shape: InspectorEvent, required: true, location_name: "event"))
639
+ UnsubscribeFromEventRequest.add_member(:topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "topicArn"))
640
+ UnsubscribeFromEventRequest.struct_class = Types::UnsubscribeFromEventRequest
641
+
642
+ UpdateAssessmentTargetRequest.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
643
+ UpdateAssessmentTargetRequest.add_member(:assessment_target_name, Shapes::ShapeRef.new(shape: AssessmentTargetName, required: true, location_name: "assessmentTargetName"))
644
+ UpdateAssessmentTargetRequest.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceGroupArn"))
645
+ UpdateAssessmentTargetRequest.struct_class = Types::UpdateAssessmentTargetRequest
646
+
647
+ UserAttributeKeyList.member = Shapes::ShapeRef.new(shape: AttributeKey)
648
+
649
+ UserAttributeList.member = Shapes::ShapeRef.new(shape: Attribute)
650
+
651
+
652
+ # @api private
653
+ API = Seahorse::Model::Api.new.tap do |api|
654
+
655
+ api.version = "2016-02-16"
656
+
657
+ api.metadata = {
658
+ "endpointPrefix" => "inspector",
659
+ "jsonVersion" => "1.1",
660
+ "protocol" => "json",
661
+ "serviceFullName" => "Amazon Inspector",
662
+ "signatureVersion" => "v4",
663
+ "targetPrefix" => "InspectorService",
664
+ }
665
+
666
+ api.add_operation(:add_attributes_to_findings, Seahorse::Model::Operation.new.tap do |o|
667
+ o.name = "AddAttributesToFindings"
668
+ o.http_method = "POST"
669
+ o.http_request_uri = "/"
670
+ o.input = Shapes::ShapeRef.new(shape: AddAttributesToFindingsRequest)
671
+ o.output = Shapes::ShapeRef.new(shape: AddAttributesToFindingsResponse)
672
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
673
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
674
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
675
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
676
+ end)
677
+
678
+ api.add_operation(:create_assessment_target, Seahorse::Model::Operation.new.tap do |o|
679
+ o.name = "CreateAssessmentTarget"
680
+ o.http_method = "POST"
681
+ o.http_request_uri = "/"
682
+ o.input = Shapes::ShapeRef.new(shape: CreateAssessmentTargetRequest)
683
+ o.output = Shapes::ShapeRef.new(shape: CreateAssessmentTargetResponse)
684
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
685
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
686
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
687
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
688
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
689
+ end)
690
+
691
+ api.add_operation(:create_assessment_template, Seahorse::Model::Operation.new.tap do |o|
692
+ o.name = "CreateAssessmentTemplate"
693
+ o.http_method = "POST"
694
+ o.http_request_uri = "/"
695
+ o.input = Shapes::ShapeRef.new(shape: CreateAssessmentTemplateRequest)
696
+ o.output = Shapes::ShapeRef.new(shape: CreateAssessmentTemplateResponse)
697
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
698
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
699
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
700
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
701
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
702
+ end)
703
+
704
+ api.add_operation(:create_resource_group, Seahorse::Model::Operation.new.tap do |o|
705
+ o.name = "CreateResourceGroup"
706
+ o.http_method = "POST"
707
+ o.http_request_uri = "/"
708
+ o.input = Shapes::ShapeRef.new(shape: CreateResourceGroupRequest)
709
+ o.output = Shapes::ShapeRef.new(shape: CreateResourceGroupResponse)
710
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
711
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
712
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
713
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
714
+ end)
715
+
716
+ api.add_operation(:delete_assessment_run, Seahorse::Model::Operation.new.tap do |o|
717
+ o.name = "DeleteAssessmentRun"
718
+ o.http_method = "POST"
719
+ o.http_request_uri = "/"
720
+ o.input = Shapes::ShapeRef.new(shape: DeleteAssessmentRunRequest)
721
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
722
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
723
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
724
+ o.errors << Shapes::ShapeRef.new(shape: AssessmentRunInProgressException)
725
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
726
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
727
+ end)
728
+
729
+ api.add_operation(:delete_assessment_target, Seahorse::Model::Operation.new.tap do |o|
730
+ o.name = "DeleteAssessmentTarget"
731
+ o.http_method = "POST"
732
+ o.http_request_uri = "/"
733
+ o.input = Shapes::ShapeRef.new(shape: DeleteAssessmentTargetRequest)
734
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
735
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
736
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
737
+ o.errors << Shapes::ShapeRef.new(shape: AssessmentRunInProgressException)
738
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
739
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
740
+ end)
741
+
742
+ api.add_operation(:delete_assessment_template, Seahorse::Model::Operation.new.tap do |o|
743
+ o.name = "DeleteAssessmentTemplate"
744
+ o.http_method = "POST"
745
+ o.http_request_uri = "/"
746
+ o.input = Shapes::ShapeRef.new(shape: DeleteAssessmentTemplateRequest)
747
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
748
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
749
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
750
+ o.errors << Shapes::ShapeRef.new(shape: AssessmentRunInProgressException)
751
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
752
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
753
+ end)
754
+
755
+ api.add_operation(:describe_assessment_runs, Seahorse::Model::Operation.new.tap do |o|
756
+ o.name = "DescribeAssessmentRuns"
757
+ o.http_method = "POST"
758
+ o.http_request_uri = "/"
759
+ o.input = Shapes::ShapeRef.new(shape: DescribeAssessmentRunsRequest)
760
+ o.output = Shapes::ShapeRef.new(shape: DescribeAssessmentRunsResponse)
761
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
762
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
763
+ end)
764
+
765
+ api.add_operation(:describe_assessment_targets, Seahorse::Model::Operation.new.tap do |o|
766
+ o.name = "DescribeAssessmentTargets"
767
+ o.http_method = "POST"
768
+ o.http_request_uri = "/"
769
+ o.input = Shapes::ShapeRef.new(shape: DescribeAssessmentTargetsRequest)
770
+ o.output = Shapes::ShapeRef.new(shape: DescribeAssessmentTargetsResponse)
771
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
772
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
773
+ end)
774
+
775
+ api.add_operation(:describe_assessment_templates, Seahorse::Model::Operation.new.tap do |o|
776
+ o.name = "DescribeAssessmentTemplates"
777
+ o.http_method = "POST"
778
+ o.http_request_uri = "/"
779
+ o.input = Shapes::ShapeRef.new(shape: DescribeAssessmentTemplatesRequest)
780
+ o.output = Shapes::ShapeRef.new(shape: DescribeAssessmentTemplatesResponse)
781
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
782
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
783
+ end)
784
+
785
+ api.add_operation(:describe_cross_account_access_role, Seahorse::Model::Operation.new.tap do |o|
786
+ o.name = "DescribeCrossAccountAccessRole"
787
+ o.http_method = "POST"
788
+ o.http_request_uri = "/"
789
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
790
+ o.output = Shapes::ShapeRef.new(shape: DescribeCrossAccountAccessRoleResponse)
791
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
792
+ end)
793
+
794
+ api.add_operation(:describe_findings, Seahorse::Model::Operation.new.tap do |o|
795
+ o.name = "DescribeFindings"
796
+ o.http_method = "POST"
797
+ o.http_request_uri = "/"
798
+ o.input = Shapes::ShapeRef.new(shape: DescribeFindingsRequest)
799
+ o.output = Shapes::ShapeRef.new(shape: DescribeFindingsResponse)
800
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
801
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
802
+ end)
803
+
804
+ api.add_operation(:describe_resource_groups, Seahorse::Model::Operation.new.tap do |o|
805
+ o.name = "DescribeResourceGroups"
806
+ o.http_method = "POST"
807
+ o.http_request_uri = "/"
808
+ o.input = Shapes::ShapeRef.new(shape: DescribeResourceGroupsRequest)
809
+ o.output = Shapes::ShapeRef.new(shape: DescribeResourceGroupsResponse)
810
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
811
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
812
+ end)
813
+
814
+ api.add_operation(:describe_rules_packages, Seahorse::Model::Operation.new.tap do |o|
815
+ o.name = "DescribeRulesPackages"
816
+ o.http_method = "POST"
817
+ o.http_request_uri = "/"
818
+ o.input = Shapes::ShapeRef.new(shape: DescribeRulesPackagesRequest)
819
+ o.output = Shapes::ShapeRef.new(shape: DescribeRulesPackagesResponse)
820
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
821
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
822
+ end)
823
+
824
+ api.add_operation(:get_telemetry_metadata, Seahorse::Model::Operation.new.tap do |o|
825
+ o.name = "GetTelemetryMetadata"
826
+ o.http_method = "POST"
827
+ o.http_request_uri = "/"
828
+ o.input = Shapes::ShapeRef.new(shape: GetTelemetryMetadataRequest)
829
+ o.output = Shapes::ShapeRef.new(shape: GetTelemetryMetadataResponse)
830
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
831
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
832
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
833
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
834
+ end)
835
+
836
+ api.add_operation(:list_assessment_run_agents, Seahorse::Model::Operation.new.tap do |o|
837
+ o.name = "ListAssessmentRunAgents"
838
+ o.http_method = "POST"
839
+ o.http_request_uri = "/"
840
+ o.input = Shapes::ShapeRef.new(shape: ListAssessmentRunAgentsRequest)
841
+ o.output = Shapes::ShapeRef.new(shape: ListAssessmentRunAgentsResponse)
842
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
843
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
844
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
845
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
846
+ end)
847
+
848
+ api.add_operation(:list_assessment_runs, Seahorse::Model::Operation.new.tap do |o|
849
+ o.name = "ListAssessmentRuns"
850
+ o.http_method = "POST"
851
+ o.http_request_uri = "/"
852
+ o.input = Shapes::ShapeRef.new(shape: ListAssessmentRunsRequest)
853
+ o.output = Shapes::ShapeRef.new(shape: ListAssessmentRunsResponse)
854
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
855
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
856
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
857
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
858
+ end)
859
+
860
+ api.add_operation(:list_assessment_targets, Seahorse::Model::Operation.new.tap do |o|
861
+ o.name = "ListAssessmentTargets"
862
+ o.http_method = "POST"
863
+ o.http_request_uri = "/"
864
+ o.input = Shapes::ShapeRef.new(shape: ListAssessmentTargetsRequest)
865
+ o.output = Shapes::ShapeRef.new(shape: ListAssessmentTargetsResponse)
866
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
867
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
868
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
869
+ end)
870
+
871
+ api.add_operation(:list_assessment_templates, Seahorse::Model::Operation.new.tap do |o|
872
+ o.name = "ListAssessmentTemplates"
873
+ o.http_method = "POST"
874
+ o.http_request_uri = "/"
875
+ o.input = Shapes::ShapeRef.new(shape: ListAssessmentTemplatesRequest)
876
+ o.output = Shapes::ShapeRef.new(shape: ListAssessmentTemplatesResponse)
877
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
878
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
879
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
880
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
881
+ end)
882
+
883
+ api.add_operation(:list_event_subscriptions, Seahorse::Model::Operation.new.tap do |o|
884
+ o.name = "ListEventSubscriptions"
885
+ o.http_method = "POST"
886
+ o.http_request_uri = "/"
887
+ o.input = Shapes::ShapeRef.new(shape: ListEventSubscriptionsRequest)
888
+ o.output = Shapes::ShapeRef.new(shape: ListEventSubscriptionsResponse)
889
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
890
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
891
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
892
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
893
+ end)
894
+
895
+ api.add_operation(:list_findings, Seahorse::Model::Operation.new.tap do |o|
896
+ o.name = "ListFindings"
897
+ o.http_method = "POST"
898
+ o.http_request_uri = "/"
899
+ o.input = Shapes::ShapeRef.new(shape: ListFindingsRequest)
900
+ o.output = Shapes::ShapeRef.new(shape: ListFindingsResponse)
901
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
902
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
903
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
904
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
905
+ end)
906
+
907
+ api.add_operation(:list_rules_packages, Seahorse::Model::Operation.new.tap do |o|
908
+ o.name = "ListRulesPackages"
909
+ o.http_method = "POST"
910
+ o.http_request_uri = "/"
911
+ o.input = Shapes::ShapeRef.new(shape: ListRulesPackagesRequest)
912
+ o.output = Shapes::ShapeRef.new(shape: ListRulesPackagesResponse)
913
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
914
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
915
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
916
+ end)
917
+
918
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
919
+ o.name = "ListTagsForResource"
920
+ o.http_method = "POST"
921
+ o.http_request_uri = "/"
922
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
923
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
924
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
925
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
926
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
927
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
928
+ end)
929
+
930
+ api.add_operation(:preview_agents, Seahorse::Model::Operation.new.tap do |o|
931
+ o.name = "PreviewAgents"
932
+ o.http_method = "POST"
933
+ o.http_request_uri = "/"
934
+ o.input = Shapes::ShapeRef.new(shape: PreviewAgentsRequest)
935
+ o.output = Shapes::ShapeRef.new(shape: PreviewAgentsResponse)
936
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
937
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
938
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
939
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
940
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCrossAccountRoleException)
941
+ end)
942
+
943
+ api.add_operation(:register_cross_account_access_role, Seahorse::Model::Operation.new.tap do |o|
944
+ o.name = "RegisterCrossAccountAccessRole"
945
+ o.http_method = "POST"
946
+ o.http_request_uri = "/"
947
+ o.input = Shapes::ShapeRef.new(shape: RegisterCrossAccountAccessRoleRequest)
948
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
949
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
950
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
951
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
952
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCrossAccountRoleException)
953
+ end)
954
+
955
+ api.add_operation(:remove_attributes_from_findings, Seahorse::Model::Operation.new.tap do |o|
956
+ o.name = "RemoveAttributesFromFindings"
957
+ o.http_method = "POST"
958
+ o.http_request_uri = "/"
959
+ o.input = Shapes::ShapeRef.new(shape: RemoveAttributesFromFindingsRequest)
960
+ o.output = Shapes::ShapeRef.new(shape: RemoveAttributesFromFindingsResponse)
961
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
962
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
963
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
964
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
965
+ end)
966
+
967
+ api.add_operation(:set_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
968
+ o.name = "SetTagsForResource"
969
+ o.http_method = "POST"
970
+ o.http_request_uri = "/"
971
+ o.input = Shapes::ShapeRef.new(shape: SetTagsForResourceRequest)
972
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
973
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
974
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
975
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
976
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
977
+ end)
978
+
979
+ api.add_operation(:start_assessment_run, Seahorse::Model::Operation.new.tap do |o|
980
+ o.name = "StartAssessmentRun"
981
+ o.http_method = "POST"
982
+ o.http_request_uri = "/"
983
+ o.input = Shapes::ShapeRef.new(shape: StartAssessmentRunRequest)
984
+ o.output = Shapes::ShapeRef.new(shape: StartAssessmentRunResponse)
985
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
986
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
987
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
988
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
989
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
990
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCrossAccountRoleException)
991
+ o.errors << Shapes::ShapeRef.new(shape: AgentsAlreadyRunningAssessmentException)
992
+ end)
993
+
994
+ api.add_operation(:stop_assessment_run, Seahorse::Model::Operation.new.tap do |o|
995
+ o.name = "StopAssessmentRun"
996
+ o.http_method = "POST"
997
+ o.http_request_uri = "/"
998
+ o.input = Shapes::ShapeRef.new(shape: StopAssessmentRunRequest)
999
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1000
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1001
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1002
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1003
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
1004
+ end)
1005
+
1006
+ api.add_operation(:subscribe_to_event, Seahorse::Model::Operation.new.tap do |o|
1007
+ o.name = "SubscribeToEvent"
1008
+ o.http_method = "POST"
1009
+ o.http_request_uri = "/"
1010
+ o.input = Shapes::ShapeRef.new(shape: SubscribeToEventRequest)
1011
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1012
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1013
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1014
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1015
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1016
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
1017
+ end)
1018
+
1019
+ api.add_operation(:unsubscribe_from_event, Seahorse::Model::Operation.new.tap do |o|
1020
+ o.name = "UnsubscribeFromEvent"
1021
+ o.http_method = "POST"
1022
+ o.http_request_uri = "/"
1023
+ o.input = Shapes::ShapeRef.new(shape: UnsubscribeFromEventRequest)
1024
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1025
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1026
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1027
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1028
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
1029
+ end)
1030
+
1031
+ api.add_operation(:update_assessment_target, Seahorse::Model::Operation.new.tap do |o|
1032
+ o.name = "UpdateAssessmentTarget"
1033
+ o.http_method = "POST"
1034
+ o.http_request_uri = "/"
1035
+ o.input = Shapes::ShapeRef.new(shape: UpdateAssessmentTargetRequest)
1036
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1037
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1038
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
1041
+ end)
1045
1042
  end
1043
+
1046
1044
  end
1047
1045
  end