aws-sdk-inspector 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1047 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
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)
278
+
279
+ AssessmentRunStateList.member = Shapes::ShapeRef.new(shape: AssessmentRunState)
280
+
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
287
+
288
+ AssessmentTargetFilter.add_member(:assessment_target_name_pattern, Shapes::ShapeRef.new(shape: NamePattern, location_name: "assessmentTargetNamePattern"))
289
+ AssessmentTargetFilter.struct_class = Types::AssessmentTargetFilter
290
+
291
+ AssessmentTargetList.member = Shapes::ShapeRef.new(shape: AssessmentTarget)
292
+
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
301
+
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
306
+
307
+ AssessmentTemplateList.member = Shapes::ShapeRef.new(shape: AssessmentTemplate)
308
+
309
+ AssessmentTemplateRulesPackageArnList.member = Shapes::ShapeRef.new(shape: Arn)
310
+
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
318
+
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)
326
+
327
+ BatchDescribeArnList.member = Shapes::ShapeRef.new(shape: Arn)
328
+
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
332
+
333
+ CreateAssessmentTargetResponse.add_member(:assessment_target_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTargetArn"))
334
+ CreateAssessmentTargetResponse.struct_class = Types::CreateAssessmentTargetResponse
335
+
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
342
+
343
+ CreateAssessmentTemplateResponse.add_member(:assessment_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentTemplateArn"))
344
+ CreateAssessmentTemplateResponse.struct_class = Types::CreateAssessmentTemplateResponse
345
+
346
+ CreateResourceGroupRequest.add_member(:resource_group_tags, Shapes::ShapeRef.new(shape: ResourceGroupTags, required: true, location_name: "resourceGroupTags"))
347
+ CreateResourceGroupRequest.struct_class = Types::CreateResourceGroupRequest
348
+
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
360
+
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
367
+
368
+ DescribeAssessmentTargetsRequest.add_member(:assessment_target_arns, Shapes::ShapeRef.new(shape: BatchDescribeArnList, required: true, location_name: "assessmentTargetArns"))
369
+ DescribeAssessmentTargetsRequest.struct_class = Types::DescribeAssessmentTargetsRequest
370
+
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
374
+
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
539
+
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
543
+
544
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
545
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
546
+
547
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
548
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
549
+
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
554
+
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
558
+
559
+ RegisterCrossAccountAccessRoleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
560
+ RegisterCrossAccountAccessRoleRequest.struct_class = Types::RegisterCrossAccountAccessRoleRequest
561
+
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
565
+
566
+ RemoveAttributesFromFindingsResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: FailedItems, required: true, location_name: "failedItems"))
567
+ RemoveAttributesFromFindingsResponse.struct_class = Types::RemoveAttributesFromFindingsResponse
568
+
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
573
+
574
+ ResourceGroupList.member = Shapes::ShapeRef.new(shape: ResourceGroup)
575
+
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
579
+
580
+ ResourceGroupTags.member = Shapes::ShapeRef.new(shape: ResourceGroupTag)
581
+
582
+ RuleNameList.member = Shapes::ShapeRef.new(shape: RuleName)
583
+
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)
592
+
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
1044
+
1045
+ end
1046
+ end
1047
+ end